]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
SWIG-1.3.29
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d14a1e28
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
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d14a1e28
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d14a1e28 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
093d3ff1 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d14a1e28 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
c9c7117a 96
093d3ff1 97#include <Python.h>
d14a1e28
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d14a1e28 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d14a1e28
RD
104 *
105 ************************************************************************/
106
093d3ff1
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d14a1e28 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
093d3ff1 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
32fe5131 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
135#endif
136
32fe5131
RD
137#include <string.h>
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
32fe5131 146/* Structure to store inforomation on one type */
d14a1e28 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d14a1e28
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
093d3ff1
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
093d3ff1
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
093d3ff1
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
093d3ff1 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
32fe5131 229 return equiv;
093d3ff1
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
093d3ff1
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
093d3ff1
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
093d3ff1
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
093d3ff1 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
093d3ff1 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
093d3ff1 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
32fe5131 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
093d3ff1 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
093d3ff1
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
093d3ff1
RD
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
093d3ff1
RD
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
d14a1e28 505
093d3ff1
RD
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
d14a1e28
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d14a1e28 526
093d3ff1
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c32bde28 530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d14a1e28 534
093d3ff1 535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
093d3ff1 537#endif
d14a1e28 538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 541#endif
d14a1e28 542
093d3ff1
RD
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
d14a1e28 562
093d3ff1
RD
563/* Constant Types */
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
d14a1e28 579
c32bde28 580
093d3ff1
RD
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
c32bde28
RD
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 587
994141e6 588#ifdef __cplusplus
093d3ff1
RD
589}
590#endif
994141e6 591
15afbcd0 592
093d3ff1
RD
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
15afbcd0 602
093d3ff1
RD
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
994141e6 608
093d3ff1
RD
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 612
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
994141e6 616
093d3ff1
RD
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
994141e6 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d14a1e28 632
4d5c3d91 633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
093d3ff1
RD
639#ifdef __cplusplus
640extern "C" {
641#endif
4d5c3d91 642
093d3ff1
RD
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
093d3ff1
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
15afbcd0 649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
093d3ff1
RD
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
15afbcd0 673
093d3ff1
RD
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
679
680/* Declarations for objects of type PySwigObject */
681
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
15afbcd0 684{
093d3ff1 685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
093d3ff1
RD
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
15afbcd0 692 }
093d3ff1
RD
693}
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
697{
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
15afbcd0
RD
701}
702
093d3ff1
RD
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
705{
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709}
15afbcd0 710
093d3ff1
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
15afbcd0 713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
093d3ff1
RD
731}
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
735{
32fe5131 736 return PySwigObject_format("%o",v);
15afbcd0
RD
737}
738
093d3ff1
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
32fe5131 742 return PySwigObject_format("%x",v);
093d3ff1 743}
15afbcd0 744
093d3ff1
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
c32bde28 751 } else {
093d3ff1
RD
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c32bde28 755 }
994141e6 756}
093d3ff1
RD
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
c32bde28 760{
32fe5131 761 PyObject_Del(self);
c32bde28 762}
093d3ff1
RD
763
764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1
RD
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
093d3ff1 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
093d3ff1
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
093d3ff1
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
15afbcd0 839#endif
093d3ff1
RD
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1
RD
849 type_init = 1;
850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
093d3ff1
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
093d3ff1
RD
863 return (PyObject *)self;
864}
865
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
871
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
877
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
883
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
093d3ff1
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919}
920
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
093d3ff1
RD
929 }
930}
931
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1
RD
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944}
945
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
32fe5131 950 PyObject_Del(self);
093d3ff1
RD
951}
952
953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
093d3ff1
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
093d3ff1
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
093d3ff1
RD
1028 }
1029}
1030
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
1045
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
1051
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
093d3ff1
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
32fe5131 1096 Py_XDECREF(str);
093d3ff1
RD
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104}
1105
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
1115
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
1140
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
093d3ff1
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
1153
1154
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
093d3ff1
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
093d3ff1
RD
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210#endif
1211
1212type_check:
093d3ff1
RD
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
093d3ff1
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
093d3ff1
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
1249
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262}
1263
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
093d3ff1
RD
1268 const char *c = 0;
1269
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
093d3ff1
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
093d3ff1
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
093d3ff1
RD
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
093d3ff1 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1
RD
1381}
1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
093d3ff1 1412}
32fe5131 1413#endif
093d3ff1 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
093d3ff1
RD
1426
1427#ifdef __cplusplus
1428}
1429#endif
1430
1431
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
32fe5131
RD
1434#define SWIGTYPE_p_bool swig_types[0]
1435#define SWIGTYPE_p_char swig_types[1]
1436#define SWIGTYPE_p_form_ops_t swig_types[2]
1437#define SWIGTYPE_p_int swig_types[3]
1438#define SWIGTYPE_p_long swig_types[4]
1439#define SWIGTYPE_p_unsigned_char swig_types[5]
1440#define SWIGTYPE_p_unsigned_int swig_types[6]
1441#define SWIGTYPE_p_unsigned_long swig_types[7]
1442#define SWIGTYPE_p_void swig_types[8]
1443#define SWIGTYPE_p_wxANIHandler swig_types[9]
1444#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445#define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446#define SWIGTYPE_p_wxArrayInt swig_types[12]
1447#define SWIGTYPE_p_wxArrayString swig_types[13]
1448#define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449#define SWIGTYPE_p_wxBitmap swig_types[15]
1450#define SWIGTYPE_p_wxBitmapButton swig_types[16]
1451#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1452#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1453#define SWIGTYPE_p_wxBoxSizer swig_types[19]
1454#define SWIGTYPE_p_wxButton swig_types[20]
1455#define SWIGTYPE_p_wxCURHandler swig_types[21]
1456#define SWIGTYPE_p_wxCheckBox swig_types[22]
1457#define SWIGTYPE_p_wxCheckListBox swig_types[23]
1458#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1459#define SWIGTYPE_p_wxChoice swig_types[25]
1460#define SWIGTYPE_p_wxChoicebook swig_types[26]
1461#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1462#define SWIGTYPE_p_wxCloseEvent swig_types[28]
1463#define SWIGTYPE_p_wxColour swig_types[29]
1464#define SWIGTYPE_p_wxComboBox swig_types[30]
1465#define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466#define SWIGTYPE_p_wxContextHelp swig_types[32]
1467#define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468#define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469#define SWIGTYPE_p_wxControl swig_types[35]
1470#define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471#define SWIGTYPE_p_wxCursor swig_types[37]
1472#define SWIGTYPE_p_wxDC swig_types[38]
1473#define SWIGTYPE_p_wxDateEvent swig_types[39]
1474#define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1475#define SWIGTYPE_p_wxDateTime swig_types[41]
1476#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1477#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1478#define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1479#define SWIGTYPE_p_wxDuplexMode swig_types[45]
1480#define SWIGTYPE_p_wxEraseEvent swig_types[46]
1481#define SWIGTYPE_p_wxEvent swig_types[47]
1482#define SWIGTYPE_p_wxEvtHandler swig_types[48]
1483#define SWIGTYPE_p_wxFSFile swig_types[49]
1484#define SWIGTYPE_p_wxFileSystem swig_types[50]
1485#define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1486#define SWIGTYPE_p_wxFocusEvent swig_types[52]
1487#define SWIGTYPE_p_wxFont swig_types[53]
1488#define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1489#define SWIGTYPE_p_wxGIFHandler swig_types[55]
1490#define SWIGTYPE_p_wxGauge swig_types[56]
1491#define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1492#define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1493#define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1494#define SWIGTYPE_p_wxGridSizer swig_types[60]
1495#define SWIGTYPE_p_wxHelpEvent swig_types[61]
1496#define SWIGTYPE_p_wxHelpProvider swig_types[62]
1497#define SWIGTYPE_p_wxICOHandler swig_types[63]
1498#define SWIGTYPE_p_wxIcon swig_types[64]
1499#define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1500#define SWIGTYPE_p_wxIdleEvent swig_types[66]
1501#define SWIGTYPE_p_wxImage swig_types[67]
1502#define SWIGTYPE_p_wxImageHandler swig_types[68]
1503#define SWIGTYPE_p_wxImageList swig_types[69]
1504#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1505#define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1506#define SWIGTYPE_p_wxItemContainer swig_types[72]
1507#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508#define SWIGTYPE_p_wxKeyEvent swig_types[74]
1509#define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1510#define SWIGTYPE_p_wxListBox swig_types[76]
1511#define SWIGTYPE_p_wxListEvent swig_types[77]
1512#define SWIGTYPE_p_wxListItem swig_types[78]
1513#define SWIGTYPE_p_wxListItemAttr swig_types[79]
1514#define SWIGTYPE_p_wxListView swig_types[80]
1515#define SWIGTYPE_p_wxListbook swig_types[81]
1516#define SWIGTYPE_p_wxListbookEvent swig_types[82]
1517#define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1518#define SWIGTYPE_p_wxMemoryDC swig_types[84]
1519#define SWIGTYPE_p_wxMenu swig_types[85]
1520#define SWIGTYPE_p_wxMenuBar swig_types[86]
1521#define SWIGTYPE_p_wxMenuEvent swig_types[87]
1522#define SWIGTYPE_p_wxMenuItem swig_types[88]
1523#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1524#define SWIGTYPE_p_wxMouseEvent swig_types[90]
1525#define SWIGTYPE_p_wxMoveEvent swig_types[91]
1526#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1527#define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1528#define SWIGTYPE_p_wxNotebook swig_types[94]
1529#define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1530#define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1531#define SWIGTYPE_p_wxObject swig_types[97]
1532#define SWIGTYPE_p_wxPCXHandler swig_types[98]
1533#define SWIGTYPE_p_wxPNGHandler swig_types[99]
1534#define SWIGTYPE_p_wxPNMHandler swig_types[100]
1535#define SWIGTYPE_p_wxPaintEvent swig_types[101]
1536#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1537#define SWIGTYPE_p_wxPaperSize swig_types[103]
1538#define SWIGTYPE_p_wxPoint swig_types[104]
1539#define SWIGTYPE_p_wxPyApp swig_types[105]
1540#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1541#define SWIGTYPE_p_wxPyControl swig_types[107]
1542#define SWIGTYPE_p_wxPyEvent swig_types[108]
1543#define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1544#define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1545#define SWIGTYPE_p_wxPySizer swig_types[111]
1546#define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1547#define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1548#define SWIGTYPE_p_wxPyValidator swig_types[114]
1549#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1550#define SWIGTYPE_p_wxRadioBox swig_types[116]
1551#define SWIGTYPE_p_wxRadioButton swig_types[117]
1552#define SWIGTYPE_p_wxRect swig_types[118]
1553#define SWIGTYPE_p_wxScrollBar swig_types[119]
1554#define SWIGTYPE_p_wxScrollEvent swig_types[120]
1555#define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1556#define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1557#define SWIGTYPE_p_wxShowEvent swig_types[123]
1558#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1559#define SWIGTYPE_p_wxSize swig_types[125]
1560#define SWIGTYPE_p_wxSizeEvent swig_types[126]
1561#define SWIGTYPE_p_wxSizer swig_types[127]
1562#define SWIGTYPE_p_wxSizerItem swig_types[128]
1563#define SWIGTYPE_p_wxSlider swig_types[129]
1564#define SWIGTYPE_p_wxSpinButton swig_types[130]
1565#define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1566#define SWIGTYPE_p_wxSpinEvent swig_types[132]
1567#define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1568#define SWIGTYPE_p_wxStaticBox swig_types[134]
1569#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1570#define SWIGTYPE_p_wxStaticLine swig_types[136]
1571#define SWIGTYPE_p_wxStaticText swig_types[137]
1572#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1573#define SWIGTYPE_p_wxString swig_types[139]
1574#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1575#define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1576#define SWIGTYPE_p_wxTextAttr swig_types[142]
1577#define SWIGTYPE_p_wxTextCtrl swig_types[143]
1578#define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1579#define SWIGTYPE_p_wxToggleButton swig_types[145]
1580#define SWIGTYPE_p_wxToolBar swig_types[146]
1581#define SWIGTYPE_p_wxToolBarBase swig_types[147]
1582#define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
7e08d4ef
RD
1583#define SWIGTYPE_p_wxToolbook swig_types[149]
1584#define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1585#define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1586#define SWIGTYPE_p_wxTreeEvent swig_types[152]
1587#define SWIGTYPE_p_wxTreeItemId swig_types[153]
1588#define SWIGTYPE_p_wxTreebook swig_types[154]
1589#define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1590#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1591#define SWIGTYPE_p_wxValidator swig_types[157]
1592#define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1593#define SWIGTYPE_p_wxWindow swig_types[159]
1594#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1595#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1596#define SWIGTYPE_p_wxXPMHandler swig_types[162]
1597#define SWIGTYPE_ptrdiff_t swig_types[163]
1598#define SWIGTYPE_std__ptrdiff_t swig_types[164]
1599#define SWIGTYPE_unsigned_int swig_types[165]
1600static swig_type_info *swig_types[167];
1601static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
32fe5131
RD
1602#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1603#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
1604
1605/* -------- TYPES TABLE (END) -------- */
1606
1607
1608/*-----------------------------------------------
1609 @(target):= _controls_.so
1610 ------------------------------------------------*/
1611#define SWIG_init init_controls_
1612
1613#define SWIG_name "_controls_"
1614
1615#include "wx/wxPython/wxPython.h"
1616#include "wx/wxPython/pyclasses.h"
1617
1618 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1619 static const wxString wxPyEmptyString(wxEmptyString);
1620 static const wxString wxPyControlNameStr(wxControlNameStr);
1621
1622 const wxArrayString wxPyEmptyStringArray;
1623
1624 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1625
32fe5131 1626 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1627#define SWIG_From_int PyInt_FromLong
1628/*@@*/
1629
1630
1631#include <limits.h>
1632
1633
1634SWIGINTERN int
1635 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1636 const char *errmsg)
1637{
1638 if (value < min_value) {
1639 if (errmsg) {
1640 PyErr_Format(PyExc_OverflowError,
1641 "value %ld is less than '%s' minimum %ld",
1642 value, errmsg, min_value);
1643 }
1644 return 0;
1645 } else if (value > max_value) {
1646 if (errmsg) {
1647 PyErr_Format(PyExc_OverflowError,
1648 "value %ld is greater than '%s' maximum %ld",
1649 value, errmsg, max_value);
1650 }
1651 return 0;
1652 }
1653 return 1;
1654}
1655
1656
1657SWIGINTERN int
1658SWIG_AsVal_long(PyObject* obj, long* val)
1659{
1660 if (PyNumber_Check(obj)) {
1661 if (val) *val = PyInt_AsLong(obj);
1662 return 1;
1663 }
1664 else {
7e08d4ef 1665 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
1666 }
1667 return 0;
1668}
1669
1670
1671#if INT_MAX != LONG_MAX
1672SWIGINTERN int
1673 SWIG_AsVal_int(PyObject *obj, int *val)
1674{
1675 const char* errmsg = val ? "int" : (char*)0;
1676 long v;
1677 if (SWIG_AsVal_long(obj, &v)) {
1678 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1679 if (val) *val = static_cast<int >(v);
093d3ff1
RD
1680 return 1;
1681 } else {
1682 return 0;
1683 }
1684 } else {
1685 PyErr_Clear();
1686 }
1687 if (val) {
1688 SWIG_type_error(errmsg, obj);
1689 }
1690 return 0;
1691}
1692#else
32fe5131 1693SWIGINTERNINLINE int
093d3ff1
RD
1694 SWIG_AsVal_int(PyObject *obj, int *val)
1695{
1696 return SWIG_AsVal_long(obj,(long*)val);
1697}
1698#endif
1699
1700
32fe5131 1701SWIGINTERNINLINE int
c32bde28 1702SWIG_As_int(PyObject* obj)
994141e6 1703{
c32bde28
RD
1704 int v;
1705 if (!SWIG_AsVal_int(obj, &v)) {
1706 /*
093d3ff1 1707 this is needed to make valgrind/purify happier.
c32bde28
RD
1708 */
1709 memset((void*)&v, 0, sizeof(int));
15afbcd0 1710 }
c32bde28 1711 return v;
15afbcd0
RD
1712}
1713
1714
32fe5131 1715SWIGINTERNINLINE long
c32bde28 1716SWIG_As_long(PyObject* obj)
15afbcd0 1717{
c32bde28
RD
1718 long v;
1719 if (!SWIG_AsVal_long(obj, &v)) {
1720 /*
093d3ff1 1721 this is needed to make valgrind/purify happier.
c32bde28
RD
1722 */
1723 memset((void*)&v, 0, sizeof(long));
15afbcd0 1724 }
c32bde28 1725 return v;
994141e6
RD
1726}
1727
c32bde28 1728
32fe5131 1729SWIGINTERNINLINE int
c32bde28
RD
1730SWIG_Check_int(PyObject* obj)
1731{
1732 return SWIG_AsVal_int(obj, (int*)0);
1733}
994141e6 1734
c32bde28 1735
32fe5131 1736SWIGINTERNINLINE int
c32bde28 1737SWIG_Check_long(PyObject* obj)
994141e6 1738{
c32bde28 1739 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
1740}
1741
c32bde28 1742 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
15afbcd0 1743
093d3ff1 1744SWIGINTERN int
c32bde28 1745 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 1746{
c32bde28
RD
1747 if (obj == Py_True) {
1748 if (val) *val = true;
1749 return 1;
1750 }
1751 if (obj == Py_False) {
1752 if (val) *val = false;
15afbcd0
RD
1753 return 1;
1754 }
c32bde28
RD
1755 int res = 0;
1756 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1757 if (val) *val = res ? true : false;
c32bde28 1758 return 1;
093d3ff1
RD
1759 } else {
1760 PyErr_Clear();
1761 }
c32bde28 1762 if (val) {
093d3ff1 1763 SWIG_type_error("bool", obj);
c32bde28
RD
1764 }
1765 return 0;
1766}
1767
1768
32fe5131 1769SWIGINTERNINLINE bool
c32bde28
RD
1770SWIG_As_bool(PyObject* obj)
1771{
1772 bool v;
1773 if (!SWIG_AsVal_bool(obj, &v)) {
1774 /*
093d3ff1 1775 this is needed to make valgrind/purify happier.
c32bde28
RD
1776 */
1777 memset((void*)&v, 0, sizeof(bool));
1778 }
1779 return v;
1780}
1781
1782
32fe5131 1783SWIGINTERNINLINE int
c32bde28
RD
1784SWIG_Check_bool(PyObject* obj)
1785{
1786 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
1787}
1788
b2dc1044
RD
1789 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1790 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
093d3ff1 1791
32fe5131 1792 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1793#define SWIG_From_long PyInt_FromLong
1794/*@@*/
1795
b9d6a5f3 1796
7e08d4ef
RD
1797 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1798 {
1799 PyObject* o2;
1800 PyObject* o3;
1801 if (!result) {
1802 result = obj;
1803 } else if (result == Py_None) {
1804 Py_DECREF(result);
1805 result = obj;
1806 } else {
1807 if (!PyTuple_Check(result)) {
1808 o2 = result;
1809 result = PyTuple_New(1);
1810 PyTuple_SET_ITEM(result, 0, o2);
1811 }
1812 o3 = PyTuple_New(1);
1813 PyTuple_SetItem(o3, 0, obj);
1814 o2 = result;
1815 result = PySequence_Concat(o2, o3);
1816 Py_DECREF(o2);
1817 Py_DECREF(o3);
1818 }
1819 return result;
1820 }
b9d6a5f3
RD
1821
1822
b2dc1044
RD
1823 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1824 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1825 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1826 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
1827
1828#include <wx/checklst.h>
1829
d14a1e28 1830
b2dc1044 1831 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1832static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d14a1e28
RD
1833 if (clientData) {
1834 wxPyClientData* data = new wxPyClientData(clientData);
1835 self->Insert(item, pos, data);
1836 } else
1837 self->Insert(item, pos);
1838 }
093d3ff1 1839static PyObject *wxListBox_GetSelections(wxListBox *self){
7e08d4ef
RD
1840 wxArrayInt lst;
1841 self->GetSelections(lst);
1842 PyObject *tup = PyTuple_New(lst.GetCount());
1843 for(size_t i=0; i<lst.GetCount(); i++) {
1844 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1845 }
1846 return tup;
1847 }
093d3ff1 1848static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
1849 #ifdef __WXMSW__
1850 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1851 self->GetItem(item)->SetTextColour(c);
1852 #endif
1853 }
093d3ff1 1854static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
1855 #ifdef __WXMSW__
1856 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1857 self->GetItem(item)->SetBackgroundColour(c);
1858 #endif
1859 }
093d3ff1 1860static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
c3eb6258
RD
1861 #ifdef __WXMSW__
1862 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1863 self->GetItem(item)->SetFont(f);
1864 #endif
1865 }
b2dc1044 1866 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28 1867
093d3ff1 1868SWIGINTERN int
c32bde28 1869SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 1870{
c32bde28
RD
1871 long v = 0;
1872 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1873 SWIG_Python_TypeError("unsigned number", obj);
15afbcd0 1874 }
c32bde28
RD
1875 else if (val)
1876 *val = (unsigned long)v;
1877 return 1;
15afbcd0
RD
1878}
1879
1880
32fe5131 1881SWIGINTERNINLINE unsigned long
c32bde28 1882SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 1883{
c32bde28
RD
1884 unsigned long v;
1885 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1886 /*
093d3ff1 1887 this is needed to make valgrind/purify happier.
c32bde28
RD
1888 */
1889 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 1890 }
c32bde28
RD
1891 return v;
1892}
1893
1894
32fe5131 1895SWIGINTERNINLINE int
c32bde28
RD
1896SWIG_Check_unsigned_SS_long(PyObject* obj)
1897{
1898 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
1899}
1900
093d3ff1 1901static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d14a1e28
RD
1902 self->AppendText(text);
1903 }
093d3ff1 1904static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d14a1e28
RD
1905 return self->GetValue().Mid(from, to - from);
1906 }
b2dc1044
RD
1907 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1908 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 1909 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
1910 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1911 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
093d3ff1
RD
1912static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1913static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1914static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
d14a1e28
RD
1915
1916#include <wx/slider.h>
1917
d14a1e28 1918
b2dc1044 1919 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 1920 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 1921
15afbcd0
RD
1922#if !wxUSE_TOGGLEBTN
1923// implement dummy items for platforms that don't have this class
d14a1e28
RD
1924
1925#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1926
1927class wxToggleButton : public wxControl
1928{
1929public:
1930 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1931 const wxPoint&, const wxSize&, long,
1932 const wxValidator&, const wxString&)
39f61e25 1933 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1934
1935 wxToggleButton()
39f61e25 1936 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1937};
1938#endif
1939
51b83b37 1940 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
994141e6 1941
32fe5131 1942SWIGINTERNINLINE PyObject*
c32bde28 1943 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 1944{
15afbcd0
RD
1945 return (value > LONG_MAX) ?
1946 PyLong_FromUnsignedLong(value)
32fe5131 1947 : PyInt_FromLong(static_cast<long >(value));
994141e6
RD
1948}
1949
7e08d4ef
RD
1950
1951#if UINT_MAX < LONG_MAX
1952/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1953#define SWIG_From_unsigned_SS_int SWIG_From_long
1954/*@@*/
1955#else
1956/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1957#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1958/*@@*/
1959#endif
1960
1961
1962SWIGINTERNINLINE int
1963 SWIG_CheckUnsignedLongInRange(unsigned long value,
1964 unsigned long max_value,
1965 const char *errmsg)
1966{
1967 if (value > max_value) {
1968 if (errmsg) {
1969 PyErr_Format(PyExc_OverflowError,
1970 "value %lu is greater than '%s' minimum %lu",
1971 value, errmsg, max_value);
1972 }
1973 return 0;
1974 }
1975 return 1;
1976 }
1977
1978
1979#if UINT_MAX != ULONG_MAX
1980SWIGINTERN int
1981 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1982{
1983 const char* errmsg = val ? "unsigned int" : (char*)0;
1984 unsigned long v;
1985 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1986 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1987 if (val) *val = static_cast<unsigned int >(v);
1988 return 1;
1989 }
1990 } else {
1991 PyErr_Clear();
1992 }
1993 if (val) {
1994 SWIG_type_error(errmsg, obj);
1995 }
1996 return 0;
1997}
1998#else
1999SWIGINTERNINLINE unsigned int
2000 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2001{
2002 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2003}
2004#endif
2005
2006
2007SWIGINTERNINLINE unsigned int
2008SWIG_As_unsigned_SS_int(PyObject* obj)
2009{
2010 unsigned int v;
2011 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2012 /*
2013 this is needed to make valgrind/purify happier.
2014 */
2015 memset((void*)&v, 0, sizeof(unsigned int));
2016 }
2017 return v;
2018}
2019
2020
2021SWIGINTERNINLINE int
2022SWIG_Check_unsigned_SS_int(PyObject* obj)
2023{
2024 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2025}
2026
b2dc1044 2027 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 2028static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d14a1e28
RD
2029 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2030 if (udata) {
2031 Py_INCREF(udata->m_obj);
2032 return udata->m_obj;
2033 } else {
2034 Py_INCREF(Py_None);
2035 return Py_None;
2036 }
2037 }
093d3ff1 2038static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d14a1e28
RD
2039 self->SetClientData(new wxPyUserData(clientData));
2040 }
093d3ff1 2041static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d14a1e28
RD
2042 wxPyUserData* udata = NULL;
2043 if (clientData && clientData != Py_None)
2044 udata = new wxPyUserData(clientData);
2045 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2046 shortHelp, longHelp, udata);
2047 }
093d3ff1 2048static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d14a1e28
RD
2049 wxPyUserData* udata = NULL;
2050 if (clientData && clientData != Py_None)
2051 udata = new wxPyUserData(clientData);
2052 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2053 shortHelp, longHelp, udata);
2054 }
093d3ff1 2055static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d14a1e28
RD
2056 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2057 if (udata) {
2058 Py_INCREF(udata->m_obj);
2059 return udata->m_obj;
2060 } else {
2061 Py_INCREF(Py_None);
2062 return Py_None;
2063 }
2064 }
093d3ff1 2065static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d14a1e28
RD
2066 self->SetToolClientData(id, new wxPyUserData(clientData));
2067 }
2068
2069#include <wx/listctrl.h>
2070
7557b9b5 2071 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
093d3ff1 2072static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d14a1e28
RD
2073 // Python aware sorting function for wxPyListCtrl
2074 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
2075 int retval = 0;
2076 PyObject* func = (PyObject*)funcPtr;
5a446332 2077 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2078
2079 PyObject* args = Py_BuildValue("(ii)", item1, item2);
2080 PyObject* result = PyEval_CallObject(func, args);
2081 Py_DECREF(args);
2082 if (result) {
2083 retval = PyInt_AsLong(result);
2084 Py_DECREF(result);
2085 }
2086
4f89f6a3 2087 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2088 return retval;
2089 }
2090
2091 // C++ Version of a Python aware class
2092class wxPyListCtrl : public wxListCtrl {
32fe5131 2093 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d14a1e28
RD
2094public:
2095 wxPyListCtrl() : wxListCtrl() {}
2096 wxPyListCtrl(wxWindow* parent, wxWindowID id,
2097 const wxPoint& pos,
2098 const wxSize& size,
2099 long style,
2100 const wxValidator& validator,
2101 const wxString& name) :
2102 wxListCtrl(parent, id, pos, size, style, validator, name) {}
2103
2104 bool Create(wxWindow* parent, wxWindowID id,
2105 const wxPoint& pos,
2106 const wxSize& size,
2107 long style,
2108 const wxValidator& validator,
2109 const wxString& name) {
2110 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
2111 }
2112
2113 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d14a1e28
RD
2114 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
2115
84f85550
RD
2116 // use the virtual version to avoid a confusing assert in the base class
2117 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 2118 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 2119
d14a1e28
RD
2120 PYPRIVATE;
2121};
2122
2123IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
2124
2125IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d14a1e28 2126IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 2127IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
2128IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
2129
d14a1e28 2130
093d3ff1 2131static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d14a1e28
RD
2132 wxListItem item;
2133 item.SetMask( wxLIST_MASK_STATE |
2134 wxLIST_MASK_TEXT |
2135 wxLIST_MASK_IMAGE |
2136 wxLIST_MASK_DATA |
2137 wxLIST_SET_ITEM |
2138 wxLIST_MASK_WIDTH |
2139 wxLIST_MASK_FORMAT
2140 );
2141 if (self->GetColumn(col, item))
2142 return new wxListItem(item);
2143 else
2144 return NULL;
2145 }
093d3ff1 2146static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d14a1e28
RD
2147 wxListItem* info = new wxListItem;
2148 info->m_itemId = itemId;
2149 info->m_col = col;
2150 info->m_mask = 0xFFFF;
2151 self->GetItem(*info);
2152 return info;
2153 }
093d3ff1 2154static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d14a1e28
RD
2155 wxPoint pos;
2156 self->GetItemPosition(item, pos);
2157 return pos;
2158 }
093d3ff1 2159static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d14a1e28
RD
2160 wxRect rect;
2161 self->GetItemRect(item, rect, code);
2162 return rect;
2163 }
c32bde28 2164
093d3ff1 2165static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d14a1e28 2166 if (!PyCallable_Check(func))
ae8162c8 2167 return false;
d14a1e28
RD
2168 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2169 }
093d3ff1 2170static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d14a1e28
RD
2171
2172
2173
2174 return (wxWindow*)self->m_mainWin;
2175
2176 }
2177
2178#include <wx/treectrl.h>
2179#include "wx/wxPython/pytree.h"
d14a1e28 2180
33b885b9 2181 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
093d3ff1
RD
2182static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
2183static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
2184static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d14a1e28
RD
2185 // C++ version of Python aware wxTreeCtrl
2186class wxPyTreeCtrl : public wxTreeCtrl {
32fe5131 2187 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d14a1e28
RD
2188public:
2189 wxPyTreeCtrl() : wxTreeCtrl() {}
2190 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
2191 const wxPoint& pos,
2192 const wxSize& size,
2193 long style,
2194 const wxValidator& validator,
2195 const wxString& name) :
2196 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
2197
2198 bool Create(wxWindow *parent, wxWindowID id,
2199 const wxPoint& pos,
2200 const wxSize& size,
2201 long style,
2202 const wxValidator& validator,
2203 const wxString& name) {
2204 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
2205 }
2206
2207
2208 int OnCompareItems(const wxTreeItemId& item1,
2209 const wxTreeItemId& item2) {
2210 int rval = 0;
2211 bool found;
5a446332 2212 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2213 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
2214 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
2215 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d14a1e28
RD
2216 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2217 Py_DECREF(o1);
2218 Py_DECREF(o2);
2219 }
4f89f6a3 2220 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2221 if (! found)
2222 rval = wxTreeCtrl::OnCompareItems(item1, item2);
2223 return rval;
2224 }
2225 PYPRIVATE;
2226};
2227
2228IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
2229
2230
093d3ff1 2231static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
2232 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2233 if (data == NULL) {
2234 data = new wxPyTreeItemData();
2235 data->SetId(item); // set the id
2236 self->SetItemData(item, data);
2237 }
2238 return data;
2239 }
093d3ff1 2240static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
2241 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2242 if (data == NULL) {
2243 data = new wxPyTreeItemData();
2244 data->SetId(item); // set the id
2245 self->SetItemData(item, data);
2246 }
2247 return data->GetData();
2248 }
093d3ff1 2249static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d14a1e28
RD
2250 data->SetId(item); // set the id
2251 self->SetItemData(item, data);
2252 }
093d3ff1 2253static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d14a1e28
RD
2254 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2255 if (data == NULL) {
2256 data = new wxPyTreeItemData(obj);
2257 data->SetId(item); // set the id
2258 self->SetItemData(item, data);
2259 } else
2260 data->SetData(obj);
2261 }
093d3ff1 2262static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2263 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2264 PyObject* rval = PyList_New(0);
2265 wxArrayTreeItemIds array;
2266 size_t num, x;
2267 num = self->GetSelections(array);
2268 for (x=0; x < num; x++) {
2269 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 2270 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d14a1e28 2271 PyList_Append(rval, item);
1a10c483 2272 Py_DECREF(item);
d14a1e28 2273 }
4f89f6a3 2274 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2275 return rval;
2276 }
093d3ff1 2277static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
2278 void* cookie = 0;
2279 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2280 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2281 PyObject* tup = PyTuple_New(2);
ae8162c8 2282 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 2283 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 2284 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2285 return tup;
2286 }
093d3ff1 2287static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
58203fa6 2288 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2289 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2290 PyObject* tup = PyTuple_New(2);
ae8162c8 2291 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 2292 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 2293 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2294 return tup;
2295 }
093d3ff1 2296static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d14a1e28
RD
2297 wxRect rect;
2298 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2299 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2300 wxRect* r = new wxRect(rect);
ae8162c8 2301 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
4f89f6a3 2302 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2303 return val;
2304 }
2305 else
2306 RETURN_NONE();
2307 }
b2dc1044 2308 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 2309
32fe5131 2310SWIGINTERNINLINE PyObject*
c32bde28
RD
2311 SWIG_From_bool(bool value)
2312{
2313 PyObject *obj = value ? Py_True : Py_False;
2314 Py_INCREF(obj);
2315 return obj;
2316}
2317
2318
d14a1e28
RD
2319 // C++ version of Python aware wxControl
2320class wxPyControl : public wxControl
2321{
2322 DECLARE_DYNAMIC_CLASS(wxPyControl)
2323public:
2324 wxPyControl() : wxControl() {}
2325 wxPyControl(wxWindow* parent, const wxWindowID id,
2326 const wxPoint& pos = wxDefaultPosition,
2327 const wxSize& size = wxDefaultSize,
2328 long style = 0,
2329 const wxValidator& validator=wxDefaultValidator,
2330 const wxString& name = wxPyControlNameStr)
2331 : wxControl(parent, id, pos, size, style, validator, name) {}
2332
db3e571a 2333 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d14a1e28 2334
976dbff5
RD
2335 bool DoEraseBackground(wxDC* dc) {
2336#ifdef __WXMSW__
2337 return wxWindow::DoEraseBackground(dc->GetHDC());
2338#else
2339 dc->SetBackground(wxBrush(GetBackgroundColour()));
2340 dc->Clear();
2341 return true;
2342#endif
2343 }
2344
d14a1e28
RD
2345 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2346 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2347 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2348 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2349
2350 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2351 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2352 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2353
2354 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2355 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2356
2357 DEC_PYCALLBACK__(InitDialog);
2358 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2359 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2360 DEC_PYCALLBACK_BOOL_(Validate);
2361
2362 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2363 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2364 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2365
2366 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2367 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2368
db3e571a 2369 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 2370 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2371
51b83b37
RD
2372 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2373
8d38bd1d
RD
2374 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2375
d14a1e28
RD
2376 PYPRIVATE;
2377};
2378
2379IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2380
2381IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2382IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2383IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2384IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2385
2386IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2387IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2388IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2389
2390IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2391IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2392
2393IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2394IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2395IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2396IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2397
2398IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2399IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2400IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2401
2402IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2403IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2404
db3e571a 2405IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
db3e571a 2406IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28 2407
51b83b37 2408IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
2409
2410IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2411
d14a1e28
RD
2412
2413
093d3ff1 2414static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
2415
2416#include <wx/generic/dragimgg.h>
2417
53aa7709
RD
2418 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2419static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2420 wxDateTime rv;
2421 self->GetRange(&rv, NULL);
2422 return rv;
2423 }
2424static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2425 wxDateTime rv;
2426 self->GetRange(NULL, &rv);
2427 return rv;
2428 }
d14a1e28
RD
2429#ifdef __cplusplus
2430extern "C" {
2431#endif
c32bde28 2432static int _wrap_ButtonNameStr_set(PyObject *) {
b2dc1044
RD
2433 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2434 return 1;
2435}
2436
2437
093d3ff1 2438static PyObject *_wrap_ButtonNameStr_get(void) {
32fe5131 2439 PyObject *pyobj = NULL;
b2dc1044
RD
2440
2441 {
2442#if wxUSE_UNICODE
2443 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2444#else
2445 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2446#endif
2447 }
2448 return pyobj;
2449}
2450
2451
c32bde28 2452static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2453 PyObject *resultobj = NULL;
d14a1e28 2454 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2455 int arg2 = (int) -1 ;
2456 wxString const &arg3_defvalue = wxPyEmptyString ;
2457 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
2458 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2459 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2460 wxSize const &arg5_defvalue = wxDefaultSize ;
2461 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2462 long arg6 = (long) 0 ;
2463 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2464 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2465 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2466 wxString *arg8 = (wxString *) &arg8_defvalue ;
2467 wxButton *result;
ae8162c8 2468 bool temp3 = false ;
d14a1e28
RD
2469 wxPoint temp4 ;
2470 wxSize temp5 ;
ae8162c8 2471 bool temp8 = false ;
d14a1e28 2472 PyObject * obj0 = 0 ;
994141e6 2473 PyObject * obj1 = 0 ;
d14a1e28
RD
2474 PyObject * obj2 = 0 ;
2475 PyObject * obj3 = 0 ;
2476 PyObject * obj4 = 0 ;
994141e6 2477 PyObject * obj5 = 0 ;
d14a1e28
RD
2478 PyObject * obj6 = 0 ;
2479 PyObject * obj7 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2482 };
2483
248ed943 2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2486 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2487 if (obj1) {
093d3ff1 2488 {
32fe5131 2489 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
2490 if (SWIG_arg_fail(2)) SWIG_fail;
2491 }
248ed943
RD
2492 }
2493 if (obj2) {
2494 {
2495 arg3 = wxString_in_helper(obj2);
2496 if (arg3 == NULL) SWIG_fail;
ae8162c8 2497 temp3 = true;
248ed943 2498 }
d14a1e28
RD
2499 }
2500 if (obj3) {
2501 {
2502 arg4 = &temp4;
2503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2504 }
2505 }
2506 if (obj4) {
2507 {
2508 arg5 = &temp5;
2509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2510 }
2511 }
994141e6 2512 if (obj5) {
093d3ff1 2513 {
32fe5131 2514 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2515 if (SWIG_arg_fail(6)) SWIG_fail;
2516 }
994141e6 2517 }
d14a1e28 2518 if (obj6) {
093d3ff1
RD
2519 {
2520 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2521 if (SWIG_arg_fail(7)) SWIG_fail;
2522 if (arg7 == NULL) {
2523 SWIG_null_ref("wxValidator");
2524 }
2525 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2526 }
2527 }
2528 if (obj7) {
2529 {
2530 arg8 = wxString_in_helper(obj7);
2531 if (arg8 == NULL) SWIG_fail;
ae8162c8 2532 temp8 = true;
d14a1e28
RD
2533 }
2534 }
2535 {
e3b71cb8 2536 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2539
2540 wxPyEndAllowThreads(__tstate);
110da5b0 2541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2542 }
b0f7404b 2543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2544 {
2545 if (temp3)
2546 delete arg3;
2547 }
2548 {
2549 if (temp8)
2550 delete arg8;
2551 }
2552 return resultobj;
2553 fail:
2554 {
2555 if (temp3)
2556 delete arg3;
2557 }
2558 {
2559 if (temp8)
2560 delete arg8;
2561 }
2562 return NULL;
2563}
2564
2565
c32bde28 2566static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2567 PyObject *resultobj = NULL;
d14a1e28
RD
2568 wxButton *result;
2569 char *kwnames[] = {
2570 NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2574 {
e3b71cb8 2575 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2577 result = (wxButton *)new wxButton();
2578
2579 wxPyEndAllowThreads(__tstate);
110da5b0 2580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2581 }
b0f7404b 2582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2583 return resultobj;
2584 fail:
2585 return NULL;
2586}
2587
2588
c32bde28 2589static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2590 PyObject *resultobj = NULL;
d14a1e28
RD
2591 wxButton *arg1 = (wxButton *) 0 ;
2592 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2593 int arg3 = (int) -1 ;
2594 wxString const &arg4_defvalue = wxPyEmptyString ;
2595 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
2596 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2597 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2598 wxSize const &arg6_defvalue = wxDefaultSize ;
2599 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2600 long arg7 = (long) 0 ;
2601 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2602 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2603 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2604 wxString *arg9 = (wxString *) &arg9_defvalue ;
2605 bool result;
ae8162c8 2606 bool temp4 = false ;
d14a1e28
RD
2607 wxPoint temp5 ;
2608 wxSize temp6 ;
ae8162c8 2609 bool temp9 = false ;
d14a1e28
RD
2610 PyObject * obj0 = 0 ;
2611 PyObject * obj1 = 0 ;
994141e6 2612 PyObject * obj2 = 0 ;
d14a1e28
RD
2613 PyObject * obj3 = 0 ;
2614 PyObject * obj4 = 0 ;
2615 PyObject * obj5 = 0 ;
994141e6 2616 PyObject * obj6 = 0 ;
d14a1e28
RD
2617 PyObject * obj7 = 0 ;
2618 PyObject * obj8 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2621 };
2622
248ed943 2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2625 if (SWIG_arg_fail(1)) SWIG_fail;
2626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2627 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2628 if (obj2) {
093d3ff1 2629 {
32fe5131 2630 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
2631 if (SWIG_arg_fail(3)) SWIG_fail;
2632 }
248ed943
RD
2633 }
2634 if (obj3) {
2635 {
2636 arg4 = wxString_in_helper(obj3);
2637 if (arg4 == NULL) SWIG_fail;
ae8162c8 2638 temp4 = true;
248ed943 2639 }
d14a1e28
RD
2640 }
2641 if (obj4) {
2642 {
2643 arg5 = &temp5;
2644 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2645 }
2646 }
2647 if (obj5) {
2648 {
2649 arg6 = &temp6;
2650 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2651 }
2652 }
994141e6 2653 if (obj6) {
093d3ff1 2654 {
32fe5131 2655 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
2656 if (SWIG_arg_fail(7)) SWIG_fail;
2657 }
994141e6 2658 }
d14a1e28 2659 if (obj7) {
093d3ff1
RD
2660 {
2661 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2662 if (SWIG_arg_fail(8)) SWIG_fail;
2663 if (arg8 == NULL) {
2664 SWIG_null_ref("wxValidator");
2665 }
2666 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
2667 }
2668 }
2669 if (obj8) {
2670 {
2671 arg9 = wxString_in_helper(obj8);
2672 if (arg9 == NULL) SWIG_fail;
ae8162c8 2673 temp9 = true;
d14a1e28
RD
2674 }
2675 }
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
4f89f6a3
RD
2683 {
2684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2685 }
d14a1e28
RD
2686 {
2687 if (temp4)
2688 delete arg4;
2689 }
2690 {
2691 if (temp9)
2692 delete arg9;
2693 }
2694 return resultobj;
2695 fail:
2696 {
2697 if (temp4)
2698 delete arg4;
2699 }
2700 {
2701 if (temp9)
2702 delete arg9;
2703 }
2704 return NULL;
2705}
2706
2707
c32bde28 2708static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2709 PyObject *resultobj = NULL;
d14a1e28
RD
2710 wxButton *arg1 = (wxButton *) 0 ;
2711 PyObject * obj0 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->SetDefault();
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730}
2731
2732
c32bde28 2733static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2734 PyObject *resultobj = NULL;
d14a1e28
RD
2735 wxSize result;
2736 char *kwnames[] = {
2737 NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2741 {
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = wxButton::GetDefaultSize();
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 {
2749 wxSize * resultptr;
32fe5131 2750 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 2751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2752 }
2753 return resultobj;
2754 fail:
2755 return NULL;
2756}
2757
2758
c32bde28 2759static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2760 PyObject *resultobj = NULL;
093d3ff1 2761 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
2762 wxVisualAttributes result;
2763 PyObject * obj0 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "variant", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2769 if (obj0) {
093d3ff1 2770 {
32fe5131 2771 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
2772 if (SWIG_arg_fail(1)) SWIG_fail;
2773 }
22bfe96c
RD
2774 }
2775 {
110da5b0 2776 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 2778 result = wxButton::GetClassDefaultAttributes(arg1);
22bfe96c
RD
2779
2780 wxPyEndAllowThreads(__tstate);
dfbb5885 2781 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2782 }
2783 {
2784 wxVisualAttributes * resultptr;
32fe5131 2785 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
2786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2787 }
2788 return resultobj;
2789 fail:
2790 return NULL;
2791}
2792
2793
c32bde28 2794static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2795 PyObject *obj;
2796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2797 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2798 Py_INCREF(obj);
2799 return Py_BuildValue((char *)"");
2800}
c32bde28 2801static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2802 PyObject *resultobj = NULL;
d14a1e28 2803 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2804 int arg2 = (int) -1 ;
2805 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2806 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
2807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2809 wxSize const &arg5_defvalue = wxDefaultSize ;
2810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2811 long arg6 = (long) wxBU_AUTODRAW ;
2812 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2813 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2814 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2815 wxString *arg8 = (wxString *) &arg8_defvalue ;
2816 wxBitmapButton *result;
2817 wxPoint temp4 ;
2818 wxSize temp5 ;
ae8162c8 2819 bool temp8 = false ;
d14a1e28 2820 PyObject * obj0 = 0 ;
994141e6 2821 PyObject * obj1 = 0 ;
d14a1e28
RD
2822 PyObject * obj2 = 0 ;
2823 PyObject * obj3 = 0 ;
2824 PyObject * obj4 = 0 ;
994141e6 2825 PyObject * obj5 = 0 ;
d14a1e28
RD
2826 PyObject * obj6 = 0 ;
2827 PyObject * obj7 = 0 ;
2828 char *kwnames[] = {
2829 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2830 };
2831
248ed943 2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2834 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2835 if (obj1) {
093d3ff1 2836 {
32fe5131 2837 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
2838 if (SWIG_arg_fail(2)) SWIG_fail;
2839 }
248ed943
RD
2840 }
2841 if (obj2) {
093d3ff1
RD
2842 {
2843 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2844 if (SWIG_arg_fail(3)) SWIG_fail;
2845 if (arg3 == NULL) {
2846 SWIG_null_ref("wxBitmap");
2847 }
2848 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2849 }
d14a1e28
RD
2850 }
2851 if (obj3) {
2852 {
2853 arg4 = &temp4;
2854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2855 }
2856 }
2857 if (obj4) {
2858 {
2859 arg5 = &temp5;
2860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2861 }
2862 }
994141e6 2863 if (obj5) {
093d3ff1 2864 {
32fe5131 2865 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2866 if (SWIG_arg_fail(6)) SWIG_fail;
2867 }
994141e6 2868 }
d14a1e28 2869 if (obj6) {
093d3ff1
RD
2870 {
2871 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2872 if (SWIG_arg_fail(7)) SWIG_fail;
2873 if (arg7 == NULL) {
2874 SWIG_null_ref("wxValidator");
2875 }
2876 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2877 }
2878 }
2879 if (obj7) {
2880 {
2881 arg8 = wxString_in_helper(obj7);
2882 if (arg8 == NULL) SWIG_fail;
ae8162c8 2883 temp8 = true;
d14a1e28
RD
2884 }
2885 }
2886 {
e3b71cb8 2887 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2890
2891 wxPyEndAllowThreads(__tstate);
110da5b0 2892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2893 }
b0f7404b 2894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2895 {
2896 if (temp8)
2897 delete arg8;
2898 }
2899 return resultobj;
2900 fail:
2901 {
2902 if (temp8)
2903 delete arg8;
2904 }
2905 return NULL;
2906}
2907
2908
c32bde28 2909static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2910 PyObject *resultobj = NULL;
d14a1e28
RD
2911 wxBitmapButton *result;
2912 char *kwnames[] = {
2913 NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2917 {
e3b71cb8 2918 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (wxBitmapButton *)new wxBitmapButton();
2921
2922 wxPyEndAllowThreads(__tstate);
110da5b0 2923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2924 }
b0f7404b 2925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2926 return resultobj;
2927 fail:
2928 return NULL;
2929}
2930
2931
c32bde28 2932static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2933 PyObject *resultobj = NULL;
d14a1e28
RD
2934 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2935 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2936 int arg3 = (int) -1 ;
2937 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2938 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
2939 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2940 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2941 wxSize const &arg6_defvalue = wxDefaultSize ;
2942 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2943 long arg7 = (long) wxBU_AUTODRAW ;
2944 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2945 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2946 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2947 wxString *arg9 = (wxString *) &arg9_defvalue ;
2948 bool result;
2949 wxPoint temp5 ;
2950 wxSize temp6 ;
ae8162c8 2951 bool temp9 = false ;
d14a1e28
RD
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
994141e6 2954 PyObject * obj2 = 0 ;
d14a1e28
RD
2955 PyObject * obj3 = 0 ;
2956 PyObject * obj4 = 0 ;
2957 PyObject * obj5 = 0 ;
994141e6 2958 PyObject * obj6 = 0 ;
d14a1e28
RD
2959 PyObject * obj7 = 0 ;
2960 PyObject * obj8 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2963 };
2964
248ed943 2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2967 if (SWIG_arg_fail(1)) SWIG_fail;
2968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2970 if (obj2) {
093d3ff1 2971 {
32fe5131 2972 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
2973 if (SWIG_arg_fail(3)) SWIG_fail;
2974 }
248ed943
RD
2975 }
2976 if (obj3) {
093d3ff1
RD
2977 {
2978 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2979 if (SWIG_arg_fail(4)) SWIG_fail;
2980 if (arg4 == NULL) {
2981 SWIG_null_ref("wxBitmap");
2982 }
2983 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2984 }
d14a1e28
RD
2985 }
2986 if (obj4) {
2987 {
2988 arg5 = &temp5;
2989 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2990 }
2991 }
2992 if (obj5) {
2993 {
2994 arg6 = &temp6;
2995 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2996 }
2997 }
994141e6 2998 if (obj6) {
093d3ff1 2999 {
32fe5131 3000 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
3001 if (SWIG_arg_fail(7)) SWIG_fail;
3002 }
994141e6 3003 }
d14a1e28 3004 if (obj7) {
093d3ff1
RD
3005 {
3006 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3007 if (SWIG_arg_fail(8)) SWIG_fail;
3008 if (arg8 == NULL) {
3009 SWIG_null_ref("wxValidator");
3010 }
3011 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
3012 }
3013 }
3014 if (obj8) {
3015 {
3016 arg9 = wxString_in_helper(obj8);
3017 if (arg9 == NULL) SWIG_fail;
ae8162c8 3018 temp9 = true;
d14a1e28
RD
3019 }
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
4f89f6a3
RD
3028 {
3029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3030 }
d14a1e28
RD
3031 {
3032 if (temp9)
3033 delete arg9;
3034 }
3035 return resultobj;
3036 fail:
3037 {
3038 if (temp9)
3039 delete arg9;
3040 }
3041 return NULL;
3042}
3043
3044
c32bde28 3045static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3046 PyObject *resultobj = NULL;
d14a1e28
RD
3047 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3048 wxBitmap result;
3049 PyObject * obj0 = 0 ;
3050 char *kwnames[] = {
3051 (char *) "self", NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
3055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 result = (arg1)->GetBitmapLabel();
3060
3061 wxPyEndAllowThreads(__tstate);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 {
3065 wxBitmap * resultptr;
32fe5131 3066 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 3067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3068 }
3069 return resultobj;
3070 fail:
3071 return NULL;
3072}
3073
3074
c32bde28 3075static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3076 PyObject *resultobj = NULL;
d14a1e28
RD
3077 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3078 wxBitmap result;
3079 PyObject * obj0 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
3085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3087 {
3088 PyThreadState* __tstate = wxPyBeginAllowThreads();
3089 result = (arg1)->GetBitmapDisabled();
3090
3091 wxPyEndAllowThreads(__tstate);
3092 if (PyErr_Occurred()) SWIG_fail;
3093 }
3094 {
3095 wxBitmap * resultptr;
32fe5131 3096 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 3097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3098 }
3099 return resultobj;
3100 fail:
3101 return NULL;
3102}
3103
3104
c32bde28 3105static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3106 PyObject *resultobj = NULL;
d14a1e28
RD
3107 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3108 wxBitmap result;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
3115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3116 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 result = (arg1)->GetBitmapFocus();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 {
3125 wxBitmap * resultptr;
32fe5131 3126 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 3127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3128 }
3129 return resultobj;
3130 fail:
3131 return NULL;
3132}
3133
3134
c32bde28 3135static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3136 PyObject *resultobj = NULL;
d14a1e28
RD
3137 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3138 wxBitmap result;
3139 PyObject * obj0 = 0 ;
3140 char *kwnames[] = {
3141 (char *) "self", NULL
3142 };
3143
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
3145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3146 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 result = (arg1)->GetBitmapSelected();
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 {
3155 wxBitmap * resultptr;
32fe5131 3156 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 3157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3158 }
3159 return resultobj;
3160 fail:
3161 return NULL;
3162}
3163
3164
b1fcee84
RD
3165static PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj = NULL;
3167 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3168 wxBitmap result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapHover",kwnames,&obj0)) goto fail;
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (arg1)->GetBitmapHover();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 {
3185 wxBitmap * resultptr;
3186 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3188 }
3189 return resultobj;
3190 fail:
3191 return NULL;
3192}
3193
3194
c32bde28 3195static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3196 PyObject *resultobj = NULL;
d14a1e28
RD
3197 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3198 wxBitmap *arg2 = 0 ;
3199 PyObject * obj0 = 0 ;
3200 PyObject * obj1 = 0 ;
3201 char *kwnames[] = {
3202 (char *) "self",(char *) "bitmap", NULL
3203 };
3204
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3207 if (SWIG_arg_fail(1)) SWIG_fail;
3208 {
3209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3210 if (SWIG_arg_fail(2)) SWIG_fail;
3211 if (arg2 == NULL) {
3212 SWIG_null_ref("wxBitmap");
3213 }
3214 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3215 }
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227}
3228
3229
c32bde28 3230static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3231 PyObject *resultobj = NULL;
d14a1e28
RD
3232 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3233 wxBitmap *arg2 = 0 ;
3234 PyObject * obj0 = 0 ;
3235 PyObject * obj1 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self",(char *) "bitmap", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3242 if (SWIG_arg_fail(1)) SWIG_fail;
3243 {
3244 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3245 if (SWIG_arg_fail(2)) SWIG_fail;
3246 if (arg2 == NULL) {
3247 SWIG_null_ref("wxBitmap");
3248 }
3249 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3250 }
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 Py_INCREF(Py_None); resultobj = Py_None;
3259 return resultobj;
3260 fail:
3261 return NULL;
3262}
3263
3264
c32bde28 3265static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3266 PyObject *resultobj = NULL;
d14a1e28
RD
3267 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3268 wxBitmap *arg2 = 0 ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "bitmap", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3277 if (SWIG_arg_fail(1)) SWIG_fail;
3278 {
3279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(2)) SWIG_fail;
3281 if (arg2 == NULL) {
3282 SWIG_null_ref("wxBitmap");
3283 }
3284 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3285 }
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 Py_INCREF(Py_None); resultobj = Py_None;
3294 return resultobj;
3295 fail:
3296 return NULL;
3297}
3298
3299
c32bde28 3300static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3301 PyObject *resultobj = NULL;
d14a1e28
RD
3302 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3303 wxBitmap *arg2 = 0 ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj1 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self",(char *) "bitmap", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail;
3313 {
3314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3315 if (SWIG_arg_fail(2)) SWIG_fail;
3316 if (arg2 == NULL) {
3317 SWIG_null_ref("wxBitmap");
3318 }
3319 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3320 }
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332}
3333
3334
b1fcee84
RD
3335static PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj = NULL;
3337 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3338 wxBitmap *arg2 = 0 ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3341 char *kwnames[] = {
3342 (char *) "self",(char *) "hover", NULL
3343 };
3344
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) goto fail;
3346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail;
3348 {
3349 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3350 if (SWIG_arg_fail(2)) SWIG_fail;
3351 if (arg2 == NULL) {
3352 SWIG_null_ref("wxBitmap");
3353 }
3354 if (SWIG_arg_fail(2)) SWIG_fail;
3355 }
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 Py_INCREF(Py_None); resultobj = Py_None;
3364 return resultobj;
3365 fail:
3366 return NULL;
3367}
3368
3369
c32bde28 3370static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3371 PyObject *resultobj = NULL;
d14a1e28
RD
3372 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3373 int arg2 ;
3374 int arg3 ;
3375 PyObject * obj0 = 0 ;
994141e6
RD
3376 PyObject * obj1 = 0 ;
3377 PyObject * obj2 = 0 ;
d14a1e28
RD
3378 char *kwnames[] = {
3379 (char *) "self",(char *) "x",(char *) "y", NULL
3380 };
3381
994141e6 3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3384 if (SWIG_arg_fail(1)) SWIG_fail;
3385 {
32fe5131 3386 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3387 if (SWIG_arg_fail(2)) SWIG_fail;
3388 }
3389 {
32fe5131 3390 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3391 if (SWIG_arg_fail(3)) SWIG_fail;
3392 }
d14a1e28
RD
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 (arg1)->SetMargins(arg2,arg3);
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 Py_INCREF(Py_None); resultobj = Py_None;
3401 return resultobj;
3402 fail:
3403 return NULL;
3404}
3405
3406
c32bde28 3407static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3408 PyObject *resultobj = NULL;
d14a1e28
RD
3409 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3410 int result;
3411 PyObject * obj0 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
093d3ff1 3426 {
32fe5131 3427 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3428 }
d14a1e28
RD
3429 return resultobj;
3430 fail:
3431 return NULL;
3432}
3433
3434
c32bde28 3435static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3436 PyObject *resultobj = NULL;
d14a1e28
RD
3437 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3438 int result;
3439 PyObject * obj0 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
093d3ff1 3454 {
32fe5131 3455 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3456 }
d14a1e28
RD
3457 return resultobj;
3458 fail:
3459 return NULL;
3460}
3461
3462
c32bde28 3463static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3464 PyObject *obj;
3465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3466 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3467 Py_INCREF(obj);
3468 return Py_BuildValue((char *)"");
3469}
c32bde28 3470static int _wrap_CheckBoxNameStr_set(PyObject *) {
b2dc1044
RD
3471 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3472 return 1;
3473}
3474
3475
093d3ff1 3476static PyObject *_wrap_CheckBoxNameStr_get(void) {
32fe5131 3477 PyObject *pyobj = NULL;
b2dc1044
RD
3478
3479 {
3480#if wxUSE_UNICODE
3481 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3482#else
3483 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3484#endif
3485 }
3486 return pyobj;
3487}
3488
3489
c32bde28 3490static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3491 PyObject *resultobj = NULL;
d14a1e28 3492 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3493 int arg2 = (int) -1 ;
3494 wxString const &arg3_defvalue = wxPyEmptyString ;
3495 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
3496 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3497 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3498 wxSize const &arg5_defvalue = wxDefaultSize ;
3499 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3500 long arg6 = (long) 0 ;
3501 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3502 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3503 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3504 wxString *arg8 = (wxString *) &arg8_defvalue ;
3505 wxCheckBox *result;
ae8162c8 3506 bool temp3 = false ;
d14a1e28
RD
3507 wxPoint temp4 ;
3508 wxSize temp5 ;
ae8162c8 3509 bool temp8 = false ;
d14a1e28 3510 PyObject * obj0 = 0 ;
994141e6 3511 PyObject * obj1 = 0 ;
d14a1e28
RD
3512 PyObject * obj2 = 0 ;
3513 PyObject * obj3 = 0 ;
3514 PyObject * obj4 = 0 ;
994141e6 3515 PyObject * obj5 = 0 ;
d14a1e28
RD
3516 PyObject * obj6 = 0 ;
3517 PyObject * obj7 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3520 };
3521
248ed943 3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3524 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3525 if (obj1) {
093d3ff1 3526 {
32fe5131 3527 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3528 if (SWIG_arg_fail(2)) SWIG_fail;
3529 }
248ed943
RD
3530 }
3531 if (obj2) {
3532 {
3533 arg3 = wxString_in_helper(obj2);
3534 if (arg3 == NULL) SWIG_fail;
ae8162c8 3535 temp3 = true;
248ed943 3536 }
d14a1e28
RD
3537 }
3538 if (obj3) {
3539 {
3540 arg4 = &temp4;
3541 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3542 }
3543 }
3544 if (obj4) {
3545 {
3546 arg5 = &temp5;
3547 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3548 }
3549 }
994141e6 3550 if (obj5) {
093d3ff1 3551 {
32fe5131 3552 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
3553 if (SWIG_arg_fail(6)) SWIG_fail;
3554 }
994141e6 3555 }
d14a1e28 3556 if (obj6) {
093d3ff1
RD
3557 {
3558 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3559 if (SWIG_arg_fail(7)) SWIG_fail;
3560 if (arg7 == NULL) {
3561 SWIG_null_ref("wxValidator");
3562 }
3563 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
3564 }
3565 }
3566 if (obj7) {
3567 {
3568 arg8 = wxString_in_helper(obj7);
3569 if (arg8 == NULL) SWIG_fail;
ae8162c8 3570 temp8 = true;
d14a1e28
RD
3571 }
3572 }
3573 {
e3b71cb8 3574 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3577
3578 wxPyEndAllowThreads(__tstate);
110da5b0 3579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3580 }
15afbcd0 3581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3582 {
3583 if (temp3)
3584 delete arg3;
3585 }
3586 {
3587 if (temp8)
3588 delete arg8;
3589 }
3590 return resultobj;
3591 fail:
3592 {
3593 if (temp3)
3594 delete arg3;
3595 }
3596 {
3597 if (temp8)
3598 delete arg8;
3599 }
3600 return NULL;
3601}
3602
3603
c32bde28 3604static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3605 PyObject *resultobj = NULL;
d14a1e28
RD
3606 wxCheckBox *result;
3607 char *kwnames[] = {
3608 NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3612 {
e3b71cb8 3613 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (wxCheckBox *)new wxCheckBox();
3616
3617 wxPyEndAllowThreads(__tstate);
110da5b0 3618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3619 }
15afbcd0 3620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3621 return resultobj;
3622 fail:
3623 return NULL;
3624}
3625
3626
c32bde28 3627static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3628 PyObject *resultobj = NULL;
d14a1e28
RD
3629 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3630 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3631 int arg3 = (int) -1 ;
3632 wxString const &arg4_defvalue = wxPyEmptyString ;
3633 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
3634 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3635 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3636 wxSize const &arg6_defvalue = wxDefaultSize ;
3637 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3638 long arg7 = (long) 0 ;
3639 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3640 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3641 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3642 wxString *arg9 = (wxString *) &arg9_defvalue ;
3643 bool result;
ae8162c8 3644 bool temp4 = false ;
d14a1e28
RD
3645 wxPoint temp5 ;
3646 wxSize temp6 ;
ae8162c8 3647 bool temp9 = false ;
d14a1e28
RD
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
994141e6 3650 PyObject * obj2 = 0 ;
d14a1e28
RD
3651 PyObject * obj3 = 0 ;
3652 PyObject * obj4 = 0 ;
3653 PyObject * obj5 = 0 ;
994141e6 3654 PyObject * obj6 = 0 ;
d14a1e28
RD
3655 PyObject * obj7 = 0 ;
3656 PyObject * obj8 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3659 };
3660
248ed943 3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail;
3664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3665 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3666 if (obj2) {
093d3ff1 3667 {
32fe5131 3668 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3669 if (SWIG_arg_fail(3)) SWIG_fail;
3670 }
248ed943
RD
3671 }
3672 if (obj3) {
3673 {
3674 arg4 = wxString_in_helper(obj3);
3675 if (arg4 == NULL) SWIG_fail;
ae8162c8 3676 temp4 = true;
248ed943 3677 }
d14a1e28
RD
3678 }
3679 if (obj4) {
3680 {
3681 arg5 = &temp5;
3682 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3683 }
3684 }
3685 if (obj5) {
3686 {
3687 arg6 = &temp6;
3688 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3689 }
3690 }
994141e6 3691 if (obj6) {
093d3ff1 3692 {
32fe5131 3693 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
3694 if (SWIG_arg_fail(7)) SWIG_fail;
3695 }
994141e6 3696 }
d14a1e28 3697 if (obj7) {
093d3ff1
RD
3698 {
3699 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3700 if (SWIG_arg_fail(8)) SWIG_fail;
3701 if (arg8 == NULL) {
3702 SWIG_null_ref("wxValidator");
3703 }
3704 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
3705 }
3706 }
3707 if (obj8) {
3708 {
3709 arg9 = wxString_in_helper(obj8);
3710 if (arg9 == NULL) SWIG_fail;
ae8162c8 3711 temp9 = true;
d14a1e28
RD
3712 }
3713 }
3714 {
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
4f89f6a3
RD
3721 {
3722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3723 }
d14a1e28
RD
3724 {
3725 if (temp4)
3726 delete arg4;
3727 }
3728 {
3729 if (temp9)
3730 delete arg9;
3731 }
3732 return resultobj;
3733 fail:
3734 {
3735 if (temp4)
3736 delete arg4;
3737 }
3738 {
3739 if (temp9)
3740 delete arg9;
3741 }
3742 return NULL;
3743}
3744
3745
c32bde28 3746static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3747 PyObject *resultobj = NULL;
d14a1e28
RD
3748 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3749 bool result;
3750 PyObject * obj0 = 0 ;
3751 char *kwnames[] = {
3752 (char *) "self", NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 result = (bool)(arg1)->GetValue();
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
4f89f6a3
RD
3765 {
3766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3767 }
d14a1e28
RD
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
c32bde28 3774static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3775 PyObject *resultobj = NULL;
d14a1e28
RD
3776 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3777 bool result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3785 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (bool)(arg1)->IsChecked();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
4f89f6a3
RD
3793 {
3794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3795 }
d14a1e28
RD
3796 return resultobj;
3797 fail:
3798 return NULL;
3799}
3800
3801
c32bde28 3802static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3803 PyObject *resultobj = NULL;
d14a1e28
RD
3804 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3805 bool arg2 ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self",(char *) "state", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail;
3815 {
32fe5131 3816 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
093d3ff1
RD
3817 if (SWIG_arg_fail(2)) SWIG_fail;
3818 }
d14a1e28
RD
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->SetValue(arg2);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
c32bde28 3833static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3834 PyObject *resultobj = NULL;
d14a1e28 3835 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3836 wxCheckBoxState result;
d14a1e28
RD
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3844 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3847 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d14a1e28
RD
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
093d3ff1 3852 resultobj = SWIG_From_int((result));
d14a1e28
RD
3853 return resultobj;
3854 fail:
3855 return NULL;
3856}
3857
3858
c32bde28 3859static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3860 PyObject *resultobj = NULL;
d14a1e28 3861 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3862 wxCheckBoxState arg2 ;
d14a1e28 3863 PyObject * obj0 = 0 ;
994141e6 3864 PyObject * obj1 = 0 ;
d14a1e28
RD
3865 char *kwnames[] = {
3866 (char *) "self",(char *) "state", NULL
3867 };
3868
994141e6 3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3871 if (SWIG_arg_fail(1)) SWIG_fail;
3872 {
32fe5131 3873 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
093d3ff1
RD
3874 if (SWIG_arg_fail(2)) SWIG_fail;
3875 }
d14a1e28
RD
3876 {
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3878 (arg1)->Set3StateValue(arg2);
d14a1e28
RD
3879
3880 wxPyEndAllowThreads(__tstate);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 Py_INCREF(Py_None); resultobj = Py_None;
3884 return resultobj;
3885 fail:
3886 return NULL;
3887}
3888
3889
c32bde28 3890static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3891 PyObject *resultobj = NULL;
d14a1e28
RD
3892 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3893 bool result;
3894 PyObject * obj0 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
4f89f6a3
RD
3909 {
3910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3911 }
d14a1e28
RD
3912 return resultobj;
3913 fail:
3914 return NULL;
3915}
3916
3917
c32bde28 3918static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3919 PyObject *resultobj = NULL;
d14a1e28
RD
3920 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3921 bool result;
3922 PyObject * obj0 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3929 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
4f89f6a3
RD
3937 {
3938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3939 }
d14a1e28
RD
3940 return resultobj;
3941 fail:
3942 return NULL;
3943}
3944
3945
c32bde28 3946static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3947 PyObject *resultobj = NULL;
093d3ff1 3948 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3949 wxVisualAttributes result;
3950 PyObject * obj0 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "variant", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3956 if (obj0) {
093d3ff1 3957 {
32fe5131 3958 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
3959 if (SWIG_arg_fail(1)) SWIG_fail;
3960 }
22bfe96c
RD
3961 }
3962 {
110da5b0 3963 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3965 result = wxCheckBox::GetClassDefaultAttributes(arg1);
22bfe96c
RD
3966
3967 wxPyEndAllowThreads(__tstate);
dfbb5885 3968 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3969 }
3970 {
3971 wxVisualAttributes * resultptr;
32fe5131 3972 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
3973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3974 }
3975 return resultobj;
3976 fail:
3977 return NULL;
3978}
3979
3980
c32bde28 3981static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3982 PyObject *obj;
3983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3984 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3985 Py_INCREF(obj);
3986 return Py_BuildValue((char *)"");
3987}
c32bde28 3988static int _wrap_ChoiceNameStr_set(PyObject *) {
b2dc1044
RD
3989 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3990 return 1;
3991}
3992
3993
093d3ff1 3994static PyObject *_wrap_ChoiceNameStr_get(void) {
32fe5131 3995 PyObject *pyobj = NULL;
b2dc1044
RD
3996
3997 {
3998#if wxUSE_UNICODE
3999 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
4000#else
4001 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
4002#endif
4003 }
4004 return pyobj;
4005}
4006
4007
c32bde28 4008static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4009 PyObject *resultobj = NULL;
d14a1e28 4010 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 4011 int arg2 = (int) -1 ;
d14a1e28
RD
4012 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4013 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4014 wxSize const &arg4_defvalue = wxDefaultSize ;
4015 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
4016 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4017 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4018 long arg6 = (long) 0 ;
4019 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4020 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4021 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
4022 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
4023 wxChoice *result;
4024 wxPoint temp3 ;
4025 wxSize temp4 ;
ae8162c8
RD
4026 bool temp5 = false ;
4027 bool temp8 = false ;
d14a1e28 4028 PyObject * obj0 = 0 ;
994141e6 4029 PyObject * obj1 = 0 ;
d14a1e28
RD
4030 PyObject * obj2 = 0 ;
4031 PyObject * obj3 = 0 ;
4032 PyObject * obj4 = 0 ;
994141e6 4033 PyObject * obj5 = 0 ;
d14a1e28
RD
4034 PyObject * obj6 = 0 ;
4035 PyObject * obj7 = 0 ;
4036 char *kwnames[] = {
4037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4038 };
4039
a95a7133 4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4042 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 4043 if (obj1) {
093d3ff1 4044 {
32fe5131 4045 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4046 if (SWIG_arg_fail(2)) SWIG_fail;
4047 }
a95a7133 4048 }
d14a1e28
RD
4049 if (obj2) {
4050 {
4051 arg3 = &temp3;
4052 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4053 }
4054 }
4055 if (obj3) {
4056 {
4057 arg4 = &temp4;
4058 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4059 }
4060 }
4061 if (obj4) {
4062 {
4d5c3d91
RD
4063 if (! PySequence_Check(obj4)) {
4064 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4065 SWIG_fail;
4066 }
4067 arg5 = new wxArrayString;
ae8162c8 4068 temp5 = true;
4d5c3d91
RD
4069 int i, len=PySequence_Length(obj4);
4070 for (i=0; i<len; i++) {
4071 PyObject* item = PySequence_GetItem(obj4, i);
71237536 4072 wxString* s = wxString_in_helper(item);
74a57fcd 4073 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4074 arg5->Add(*s);
4075 delete s;
4d5c3d91 4076 Py_DECREF(item);
4d5c3d91 4077 }
d14a1e28
RD
4078 }
4079 }
994141e6 4080 if (obj5) {
093d3ff1 4081 {
32fe5131 4082 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
4083 if (SWIG_arg_fail(6)) SWIG_fail;
4084 }
994141e6 4085 }
d14a1e28 4086 if (obj6) {
093d3ff1
RD
4087 {
4088 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4089 if (SWIG_arg_fail(7)) SWIG_fail;
4090 if (arg7 == NULL) {
4091 SWIG_null_ref("wxValidator");
4092 }
4093 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
4094 }
4095 }
4096 if (obj7) {
4097 {
4d5c3d91
RD
4098 arg8 = wxString_in_helper(obj7);
4099 if (arg8 == NULL) SWIG_fail;
ae8162c8 4100 temp8 = true;
d14a1e28
RD
4101 }
4102 }
4103 {
e3b71cb8 4104 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4106 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
4107
4108 wxPyEndAllowThreads(__tstate);
110da5b0 4109 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4110 }
15afbcd0 4111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 4112 {
3adfb63b 4113 if (temp5) delete arg5;
d14a1e28
RD
4114 }
4115 {
4116 if (temp8)
4d5c3d91 4117 delete arg8;
d14a1e28
RD
4118 }
4119 return resultobj;
4120 fail:
4121 {
3adfb63b 4122 if (temp5) delete arg5;
d14a1e28
RD
4123 }
4124 {
4125 if (temp8)
4d5c3d91 4126 delete arg8;
d14a1e28
RD
4127 }
4128 return NULL;
4129}
4130
4131
c32bde28 4132static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4133 PyObject *resultobj = NULL;
d14a1e28
RD
4134 wxChoice *result;
4135 char *kwnames[] = {
4136 NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
4140 {
e3b71cb8 4141 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxChoice *)new wxChoice();
4144
4145 wxPyEndAllowThreads(__tstate);
110da5b0 4146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4147 }
15afbcd0 4148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
4149 return resultobj;
4150 fail:
4151 return NULL;
4152}
4153
4154
c32bde28 4155static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4156 PyObject *resultobj = NULL;
d14a1e28
RD
4157 wxChoice *arg1 = (wxChoice *) 0 ;
4158 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 4159 int arg3 = (int) -1 ;
d14a1e28
RD
4160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4162 wxSize const &arg5_defvalue = wxDefaultSize ;
4163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
4164 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4165 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4166 long arg7 = (long) 0 ;
4167 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4168 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4169 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
4170 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
4171 bool result;
4172 wxPoint temp4 ;
4173 wxSize temp5 ;
ae8162c8
RD
4174 bool temp6 = false ;
4175 bool temp9 = false ;
d14a1e28
RD
4176 PyObject * obj0 = 0 ;
4177 PyObject * obj1 = 0 ;
994141e6 4178 PyObject * obj2 = 0 ;
d14a1e28
RD
4179 PyObject * obj3 = 0 ;
4180 PyObject * obj4 = 0 ;
4181 PyObject * obj5 = 0 ;
994141e6 4182 PyObject * obj6 = 0 ;
d14a1e28
RD
4183 PyObject * obj7 = 0 ;
4184 PyObject * obj8 = 0 ;
4185 char *kwnames[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4187 };
4188
a95a7133 4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4191 if (SWIG_arg_fail(1)) SWIG_fail;
4192 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4193 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 4194 if (obj2) {
093d3ff1 4195 {
32fe5131 4196 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4197 if (SWIG_arg_fail(3)) SWIG_fail;
4198 }
a95a7133 4199 }
d14a1e28
RD
4200 if (obj3) {
4201 {
4202 arg4 = &temp4;
4203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4204 }
4205 }
4206 if (obj4) {
4207 {
4208 arg5 = &temp5;
4209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4210 }
4211 }
4212 if (obj5) {
4213 {
4d5c3d91
RD
4214 if (! PySequence_Check(obj5)) {
4215 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4216 SWIG_fail;
4217 }
4218 arg6 = new wxArrayString;
ae8162c8 4219 temp6 = true;
4d5c3d91
RD
4220 int i, len=PySequence_Length(obj5);
4221 for (i=0; i<len; i++) {
4222 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4223 wxString* s = wxString_in_helper(item);
74a57fcd 4224 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4225 arg6->Add(*s);
4226 delete s;
4d5c3d91 4227 Py_DECREF(item);
4d5c3d91 4228 }
d14a1e28
RD
4229 }
4230 }
994141e6 4231 if (obj6) {
093d3ff1 4232 {
32fe5131 4233 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
4234 if (SWIG_arg_fail(7)) SWIG_fail;
4235 }
994141e6 4236 }
d14a1e28 4237 if (obj7) {
093d3ff1
RD
4238 {
4239 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4240 if (SWIG_arg_fail(8)) SWIG_fail;
4241 if (arg8 == NULL) {
4242 SWIG_null_ref("wxValidator");
4243 }
4244 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
4245 }
4246 }
4247 if (obj8) {
4248 {
4d5c3d91
RD
4249 arg9 = wxString_in_helper(obj8);
4250 if (arg9 == NULL) SWIG_fail;
ae8162c8 4251 temp9 = true;
d14a1e28
RD
4252 }
4253 }
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4256 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4f89f6a3
RD
4261 {
4262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4263 }
d14a1e28 4264 {
3adfb63b 4265 if (temp6) delete arg6;
d14a1e28
RD
4266 }
4267 {
4268 if (temp9)
4d5c3d91 4269 delete arg9;
d14a1e28
RD
4270 }
4271 return resultobj;
4272 fail:
4273 {
3adfb63b 4274 if (temp6) delete arg6;
d14a1e28
RD
4275 }
4276 {
4277 if (temp9)
4d5c3d91 4278 delete arg9;
d14a1e28
RD
4279 }
4280 return NULL;
4281}
4282
4283
943e8dfd 4284static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4285 PyObject *resultobj = NULL;
943e8dfd
RD
4286 wxChoice *arg1 = (wxChoice *) 0 ;
4287 int result;
4288 PyObject * obj0 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
4294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail;
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 {
32fe5131 4304 resultobj = SWIG_From_int(static_cast<int >(result));
943e8dfd
RD
4305 }
4306 return resultobj;
4307 fail:
4308 return NULL;
4309}
4310
4311
c32bde28 4312static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4313 PyObject *resultobj = NULL;
093d3ff1 4314 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
4315 wxVisualAttributes result;
4316 PyObject * obj0 = 0 ;
4317 char *kwnames[] = {
4318 (char *) "variant", NULL
4319 };
4320
4321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4322 if (obj0) {
093d3ff1 4323 {
32fe5131 4324 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
4325 if (SWIG_arg_fail(1)) SWIG_fail;
4326 }
22bfe96c
RD
4327 }
4328 {
110da5b0 4329 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4331 result = wxChoice::GetClassDefaultAttributes(arg1);
22bfe96c
RD
4332
4333 wxPyEndAllowThreads(__tstate);
dfbb5885 4334 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4335 }
4336 {
4337 wxVisualAttributes * resultptr;
32fe5131 4338 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
4339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4340 }
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
c32bde28 4347static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4348 PyObject *obj;
4349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4350 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4351 Py_INCREF(obj);
4352 return Py_BuildValue((char *)"");
4353}
c32bde28 4354static int _wrap_ComboBoxNameStr_set(PyObject *) {
b2dc1044
RD
4355 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4356 return 1;
4357}
4358
4359
093d3ff1 4360static PyObject *_wrap_ComboBoxNameStr_get(void) {
32fe5131 4361 PyObject *pyobj = NULL;
b2dc1044
RD
4362
4363 {
4364#if wxUSE_UNICODE
4365 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4366#else
4367 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4368#endif
4369 }
4370 return pyobj;
4371}
4372
4373
c32bde28 4374static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4375 PyObject *resultobj = NULL;
d14a1e28 4376 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 4377 int arg2 = (int) -1 ;
d14a1e28
RD
4378 wxString const &arg3_defvalue = wxPyEmptyString ;
4379 wxString *arg3 = (wxString *) &arg3_defvalue ;
4380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4382 wxSize const &arg5_defvalue = wxDefaultSize ;
4383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
4384 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4385 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4386 long arg7 = (long) 0 ;
4387 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4388 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4389 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4390 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 4391 wxComboBox *result;
ae8162c8 4392 bool temp3 = false ;
d14a1e28
RD
4393 wxPoint temp4 ;
4394 wxSize temp5 ;
ae8162c8
RD
4395 bool temp6 = false ;
4396 bool temp9 = false ;
d14a1e28 4397 PyObject * obj0 = 0 ;
994141e6 4398 PyObject * obj1 = 0 ;
d14a1e28
RD
4399 PyObject * obj2 = 0 ;
4400 PyObject * obj3 = 0 ;
4401 PyObject * obj4 = 0 ;
4402 PyObject * obj5 = 0 ;
994141e6 4403 PyObject * obj6 = 0 ;
d14a1e28
RD
4404 PyObject * obj7 = 0 ;
4405 PyObject * obj8 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4408 };
4409
a95a7133 4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4412 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 4413 if (obj1) {
093d3ff1 4414 {
32fe5131 4415 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4416 if (SWIG_arg_fail(2)) SWIG_fail;
4417 }
a95a7133 4418 }
d14a1e28
RD
4419 if (obj2) {
4420 {
4421 arg3 = wxString_in_helper(obj2);
4422 if (arg3 == NULL) SWIG_fail;
ae8162c8 4423 temp3 = true;
d14a1e28
RD
4424 }
4425 }
4426 if (obj3) {
4427 {
4428 arg4 = &temp4;
4429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4430 }
4431 }
4432 if (obj4) {
4433 {
4434 arg5 = &temp5;
4435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4436 }
4437 }
4438 if (obj5) {
4439 {
4d5c3d91
RD
4440 if (! PySequence_Check(obj5)) {
4441 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4442 SWIG_fail;
4443 }
4444 arg6 = new wxArrayString;
ae8162c8 4445 temp6 = true;
4d5c3d91
RD
4446 int i, len=PySequence_Length(obj5);
4447 for (i=0; i<len; i++) {
4448 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4449 wxString* s = wxString_in_helper(item);
74a57fcd 4450 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4451 arg6->Add(*s);
4452 delete s;
4d5c3d91 4453 Py_DECREF(item);
4d5c3d91 4454 }
d14a1e28
RD
4455 }
4456 }
994141e6 4457 if (obj6) {
093d3ff1 4458 {
32fe5131 4459 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
4460 if (SWIG_arg_fail(7)) SWIG_fail;
4461 }
994141e6 4462 }
d14a1e28 4463 if (obj7) {
093d3ff1
RD
4464 {
4465 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4466 if (SWIG_arg_fail(8)) SWIG_fail;
4467 if (arg8 == NULL) {
4468 SWIG_null_ref("wxValidator");
4469 }
4470 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
4471 }
4472 }
4473 if (obj8) {
4474 {
4d5c3d91
RD
4475 arg9 = wxString_in_helper(obj8);
4476 if (arg9 == NULL) SWIG_fail;
ae8162c8 4477 temp9 = true;
d14a1e28
RD
4478 }
4479 }
4480 {
e3b71cb8 4481 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4483 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
4484
4485 wxPyEndAllowThreads(__tstate);
110da5b0 4486 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4487 }
15afbcd0 4488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4489 {
4490 if (temp3)
4491 delete arg3;
4492 }
4493 {
3adfb63b 4494 if (temp6) delete arg6;
d14a1e28
RD
4495 }
4496 {
4497 if (temp9)
4d5c3d91 4498 delete arg9;
d14a1e28
RD
4499 }
4500 return resultobj;
4501 fail:
4502 {
4503 if (temp3)
4504 delete arg3;
4505 }
4506 {
3adfb63b 4507 if (temp6) delete arg6;
d14a1e28
RD
4508 }
4509 {
4510 if (temp9)
4d5c3d91 4511 delete arg9;
d14a1e28
RD
4512 }
4513 return NULL;
4514}
4515
4516
c32bde28 4517static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4518 PyObject *resultobj = NULL;
d14a1e28
RD
4519 wxComboBox *result;
4520 char *kwnames[] = {
4521 NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4525 {
e3b71cb8 4526 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 result = (wxComboBox *)new wxComboBox();
4529
4530 wxPyEndAllowThreads(__tstate);
110da5b0 4531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4532 }
15afbcd0 4533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4534 return resultobj;
4535 fail:
4536 return NULL;
4537}
4538
4539
c32bde28 4540static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4541 PyObject *resultobj = NULL;
d14a1e28
RD
4542 wxComboBox *arg1 = (wxComboBox *) 0 ;
4543 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 4544 int arg3 = (int) -1 ;
d14a1e28
RD
4545 wxString const &arg4_defvalue = wxPyEmptyString ;
4546 wxString *arg4 = (wxString *) &arg4_defvalue ;
4547 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4548 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4549 wxSize const &arg6_defvalue = wxDefaultSize ;
4550 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
4551 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4552 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4553 long arg8 = (long) 0 ;
4554 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4555 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 4556 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 4557 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 4558 bool result;
ae8162c8 4559 bool temp4 = false ;
d14a1e28
RD
4560 wxPoint temp5 ;
4561 wxSize temp6 ;
ae8162c8
RD
4562 bool temp7 = false ;
4563 bool temp10 = false ;
d14a1e28
RD
4564 PyObject * obj0 = 0 ;
4565 PyObject * obj1 = 0 ;
994141e6 4566 PyObject * obj2 = 0 ;
d14a1e28
RD
4567 PyObject * obj3 = 0 ;
4568 PyObject * obj4 = 0 ;
4569 PyObject * obj5 = 0 ;
4570 PyObject * obj6 = 0 ;
994141e6 4571 PyObject * obj7 = 0 ;
d14a1e28
RD
4572 PyObject * obj8 = 0 ;
4573 PyObject * obj9 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4576 };
4577
a95a7133 4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
4579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4580 if (SWIG_arg_fail(1)) SWIG_fail;
4581 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4582 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 4583 if (obj2) {
093d3ff1 4584 {
32fe5131 4585 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4586 if (SWIG_arg_fail(3)) SWIG_fail;
4587 }
a95a7133 4588 }
d14a1e28
RD
4589 if (obj3) {
4590 {
4591 arg4 = wxString_in_helper(obj3);
4592 if (arg4 == NULL) SWIG_fail;
ae8162c8 4593 temp4 = true;
d14a1e28
RD
4594 }
4595 }
4596 if (obj4) {
4597 {
4598 arg5 = &temp5;
4599 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4600 }
4601 }
4602 if (obj5) {
4603 {
4604 arg6 = &temp6;
4605 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4606 }
4607 }
4608 if (obj6) {
4609 {
4d5c3d91
RD
4610 if (! PySequence_Check(obj6)) {
4611 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4612 SWIG_fail;
4613 }
4614 arg7 = new wxArrayString;
ae8162c8 4615 temp7 = true;
4d5c3d91
RD
4616 int i, len=PySequence_Length(obj6);
4617 for (i=0; i<len; i++) {
4618 PyObject* item = PySequence_GetItem(obj6, i);
71237536 4619 wxString* s = wxString_in_helper(item);
74a57fcd 4620 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4621 arg7->Add(*s);
4622 delete s;
4d5c3d91 4623 Py_DECREF(item);
4d5c3d91 4624 }
d14a1e28
RD
4625 }
4626 }
994141e6 4627 if (obj7) {
093d3ff1 4628 {
32fe5131 4629 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
4630 if (SWIG_arg_fail(8)) SWIG_fail;
4631 }
994141e6 4632 }
d14a1e28 4633 if (obj8) {
093d3ff1
RD
4634 {
4635 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4636 if (SWIG_arg_fail(9)) SWIG_fail;
4637 if (arg9 == NULL) {
4638 SWIG_null_ref("wxValidator");
4639 }
4640 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
4641 }
4642 }
4643 if (obj9) {
4644 {
4d5c3d91
RD
4645 arg10 = wxString_in_helper(obj9);
4646 if (arg10 == NULL) SWIG_fail;
ae8162c8 4647 temp10 = true;
d14a1e28
RD
4648 }
4649 }
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4652 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
d14a1e28
RD
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4f89f6a3
RD
4657 {
4658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4659 }
d14a1e28
RD
4660 {
4661 if (temp4)
4662 delete arg4;
4663 }
4664 {
3adfb63b 4665 if (temp7) delete arg7;
d14a1e28
RD
4666 }
4667 {
4668 if (temp10)
4d5c3d91 4669 delete arg10;
d14a1e28
RD
4670 }
4671 return resultobj;
4672 fail:
4673 {
4674 if (temp4)
4675 delete arg4;
4676 }
4677 {
3adfb63b 4678 if (temp7) delete arg7;
d14a1e28
RD
4679 }
4680 {
4681 if (temp10)
4d5c3d91 4682 delete arg10;
d14a1e28
RD
4683 }
4684 return NULL;
4685}
4686
4687
c32bde28 4688static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4689 PyObject *resultobj = NULL;
d14a1e28
RD
4690 wxComboBox *arg1 = (wxComboBox *) 0 ;
4691 wxString result;
4692 PyObject * obj0 = 0 ;
4693 char *kwnames[] = {
4694 (char *) "self", NULL
4695 };
4696
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 result = ((wxComboBox const *)arg1)->GetValue();
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 {
4708#if wxUSE_UNICODE
4709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4710#else
4711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4712#endif
4713 }
4714 return resultobj;
4715 fail:
4716 return NULL;
4717}
4718
4719
c32bde28 4720static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4721 PyObject *resultobj = NULL;
d14a1e28
RD
4722 wxComboBox *arg1 = (wxComboBox *) 0 ;
4723 wxString *arg2 = 0 ;
ae8162c8 4724 bool temp2 = false ;
d14a1e28
RD
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 char *kwnames[] = {
4728 (char *) "self",(char *) "value", NULL
4729 };
4730
4731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4733 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4734 {
4735 arg2 = wxString_in_helper(obj1);
4736 if (arg2 == NULL) SWIG_fail;
ae8162c8 4737 temp2 = true;
d14a1e28
RD
4738 }
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->SetValue((wxString const &)*arg2);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 {
4748 if (temp2)
4749 delete arg2;
4750 }
4751 return resultobj;
4752 fail:
4753 {
4754 if (temp2)
4755 delete arg2;
4756 }
4757 return NULL;
4758}
4759
4760
c32bde28 4761static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4762 PyObject *resultobj = NULL;
d14a1e28
RD
4763 wxComboBox *arg1 = (wxComboBox *) 0 ;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4771 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->Copy();
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783}
4784
4785
c32bde28 4786static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4787 PyObject *resultobj = NULL;
d14a1e28
RD
4788 wxComboBox *arg1 = (wxComboBox *) 0 ;
4789 PyObject * obj0 = 0 ;
4790 char *kwnames[] = {
4791 (char *) "self", NULL
4792 };
4793
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4796 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 (arg1)->Cut();
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 Py_INCREF(Py_None); resultobj = Py_None;
4805 return resultobj;
4806 fail:
4807 return NULL;
4808}
4809
4810
c32bde28 4811static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4812 PyObject *resultobj = NULL;
d14a1e28
RD
4813 wxComboBox *arg1 = (wxComboBox *) 0 ;
4814 PyObject * obj0 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4821 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 (arg1)->Paste();
4825
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 Py_INCREF(Py_None); resultobj = Py_None;
4830 return resultobj;
4831 fail:
4832 return NULL;
4833}
4834
4835
c32bde28 4836static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4837 PyObject *resultobj = NULL;
d14a1e28
RD
4838 wxComboBox *arg1 = (wxComboBox *) 0 ;
4839 long arg2 ;
4840 PyObject * obj0 = 0 ;
994141e6 4841 PyObject * obj1 = 0 ;
d14a1e28
RD
4842 char *kwnames[] = {
4843 (char *) "self",(char *) "pos", NULL
4844 };
4845
994141e6 4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4848 if (SWIG_arg_fail(1)) SWIG_fail;
4849 {
32fe5131 4850 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4851 if (SWIG_arg_fail(2)) SWIG_fail;
4852 }
d14a1e28
RD
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 (arg1)->SetInsertionPoint(arg2);
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 Py_INCREF(Py_None); resultobj = Py_None;
4861 return resultobj;
4862 fail:
4863 return NULL;
4864}
4865
4866
c32bde28 4867static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4868 PyObject *resultobj = NULL;
d14a1e28
RD
4869 wxComboBox *arg1 = (wxComboBox *) 0 ;
4870 long result;
4871 PyObject * obj0 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4878 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4879 {
4880 PyThreadState* __tstate = wxPyBeginAllowThreads();
4881 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4882
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
093d3ff1 4886 {
32fe5131 4887 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 4888 }
d14a1e28
RD
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
c32bde28 4895static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4896 PyObject *resultobj = NULL;
d14a1e28
RD
4897 wxComboBox *arg1 = (wxComboBox *) 0 ;
4898 long result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
093d3ff1 4914 {
32fe5131 4915 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 4916 }
d14a1e28
RD
4917 return resultobj;
4918 fail:
4919 return NULL;
4920}
4921
4922
c32bde28 4923static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4924 PyObject *resultobj = NULL;
d14a1e28
RD
4925 wxComboBox *arg1 = (wxComboBox *) 0 ;
4926 long arg2 ;
4927 long arg3 ;
4928 wxString *arg4 = 0 ;
ae8162c8 4929 bool temp4 = false ;
d14a1e28 4930 PyObject * obj0 = 0 ;
994141e6
RD
4931 PyObject * obj1 = 0 ;
4932 PyObject * obj2 = 0 ;
d14a1e28
RD
4933 PyObject * obj3 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4936 };
4937
994141e6 4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail;
4941 {
32fe5131 4942 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4943 if (SWIG_arg_fail(2)) SWIG_fail;
4944 }
4945 {
32fe5131 4946 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
4947 if (SWIG_arg_fail(3)) SWIG_fail;
4948 }
d14a1e28
RD
4949 {
4950 arg4 = wxString_in_helper(obj3);
4951 if (arg4 == NULL) SWIG_fail;
ae8162c8 4952 temp4 = true;
d14a1e28
RD
4953 }
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 Py_INCREF(Py_None); resultobj = Py_None;
4962 {
4963 if (temp4)
4964 delete arg4;
4965 }
4966 return resultobj;
4967 fail:
4968 {
4969 if (temp4)
4970 delete arg4;
4971 }
4972 return NULL;
4973}
4974
4975
c32bde28 4976static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4977 PyObject *resultobj = NULL;
fd3f2efe
RD
4978 wxComboBox *arg1 = (wxComboBox *) 0 ;
4979 int arg2 ;
4980 PyObject * obj0 = 0 ;
994141e6 4981 PyObject * obj1 = 0 ;
fd3f2efe
RD
4982 char *kwnames[] = {
4983 (char *) "self",(char *) "n", NULL
4984 };
4985
994141e6 4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail;
4989 {
32fe5131 4990 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4991 if (SWIG_arg_fail(2)) SWIG_fail;
4992 }
fd3f2efe
RD
4993 {
4994 PyThreadState* __tstate = wxPyBeginAllowThreads();
4995 (arg1)->SetSelection(arg2);
4996
4997 wxPyEndAllowThreads(__tstate);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
5000 Py_INCREF(Py_None); resultobj = Py_None;
5001 return resultobj;
5002 fail:
5003 return NULL;
5004}
5005
5006
c32bde28 5007static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5008 PyObject *resultobj = NULL;
d14a1e28
RD
5009 wxComboBox *arg1 = (wxComboBox *) 0 ;
5010 long arg2 ;
5011 long arg3 ;
5012 PyObject * obj0 = 0 ;
994141e6
RD
5013 PyObject * obj1 = 0 ;
5014 PyObject * obj2 = 0 ;
d14a1e28
RD
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "from",(char *) "to", NULL
5017 };
5018
994141e6 5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail;
5022 {
32fe5131 5023 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5024 if (SWIG_arg_fail(2)) SWIG_fail;
5025 }
5026 {
32fe5131 5027 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5028 if (SWIG_arg_fail(3)) SWIG_fail;
5029 }
d14a1e28
RD
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 (arg1)->SetSelection(arg2,arg3);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 Py_INCREF(Py_None); resultobj = Py_None;
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
b9d6a5f3 5044static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5045 PyObject *resultobj = NULL;
b9d6a5f3
RD
5046 wxComboBox *arg1 = (wxComboBox *) 0 ;
5047 long *arg2 = (long *) 0 ;
5048 long *arg3 = (long *) 0 ;
5049 long temp2 ;
5050 int res2 = 0 ;
5051 long temp3 ;
5052 int res3 = 0 ;
5053 PyObject * obj0 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self", NULL
5056 };
5057
5058 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5059 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
5061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail;
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 (arg1)->GetSelection(arg2,arg3);
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 Py_INCREF(Py_None); resultobj = Py_None;
5071 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5072 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
5073 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5074 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
5075 return resultobj;
5076 fail:
5077 return NULL;
5078}
5079
5080
943e8dfd 5081static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5082 PyObject *resultobj = NULL;
943e8dfd
RD
5083 wxComboBox *arg1 = (wxComboBox *) 0 ;
5084 int result;
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
5091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5092 if (SWIG_arg_fail(1)) SWIG_fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
32fe5131 5101 resultobj = SWIG_From_int(static_cast<int >(result));
943e8dfd
RD
5102 }
5103 return resultobj;
5104 fail:
5105 return NULL;
5106}
5107
5108
c32bde28 5109static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5110 PyObject *resultobj = NULL;
121b9a67
RD
5111 wxComboBox *arg1 = (wxComboBox *) 0 ;
5112 wxString *arg2 = 0 ;
5113 bool result;
ae8162c8 5114 bool temp2 = false ;
121b9a67
RD
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 char *kwnames[] = {
5118 (char *) "self",(char *) "string", NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
5124 {
5125 arg2 = wxString_in_helper(obj1);
5126 if (arg2 == NULL) SWIG_fail;
ae8162c8 5127 temp2 = true;
121b9a67
RD
5128 }
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 {
5137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5138 }
5139 {
5140 if (temp2)
5141 delete arg2;
5142 }
5143 return resultobj;
5144 fail:
5145 {
5146 if (temp2)
5147 delete arg2;
5148 }
5149 return NULL;
5150}
5151
5152
c32bde28 5153static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5154 PyObject *resultobj = NULL;
121b9a67
RD
5155 wxComboBox *arg1 = (wxComboBox *) 0 ;
5156 int arg2 ;
5157 wxString *arg3 = 0 ;
ae8162c8 5158 bool temp3 = false ;
121b9a67
RD
5159 PyObject * obj0 = 0 ;
5160 PyObject * obj1 = 0 ;
5161 PyObject * obj2 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self",(char *) "n",(char *) "string", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail;
5169 {
32fe5131 5170 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5171 if (SWIG_arg_fail(2)) SWIG_fail;
5172 }
121b9a67
RD
5173 {
5174 arg3 = wxString_in_helper(obj2);
5175 if (arg3 == NULL) SWIG_fail;
ae8162c8 5176 temp3 = true;
121b9a67
RD
5177 }
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 (arg1)->SetString(arg2,(wxString const &)*arg3);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 Py_INCREF(Py_None); resultobj = Py_None;
5186 {
5187 if (temp3)
5188 delete arg3;
5189 }
5190 return resultobj;
5191 fail:
5192 {
5193 if (temp3)
5194 delete arg3;
5195 }
5196 return NULL;
5197}
5198
5199
c32bde28 5200static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5201 PyObject *resultobj = NULL;
d14a1e28
RD
5202 wxComboBox *arg1 = (wxComboBox *) 0 ;
5203 bool arg2 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self",(char *) "editable", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5212 if (SWIG_arg_fail(1)) SWIG_fail;
5213 {
32fe5131 5214 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
5215 if (SWIG_arg_fail(2)) SWIG_fail;
5216 }
d14a1e28
RD
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 (arg1)->SetEditable(arg2);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 Py_INCREF(Py_None); resultobj = Py_None;
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
c32bde28 5231static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5232 PyObject *resultobj = NULL;
d14a1e28
RD
5233 wxComboBox *arg1 = (wxComboBox *) 0 ;
5234 PyObject * obj0 = 0 ;
5235 char *kwnames[] = {
5236 (char *) "self", NULL
5237 };
5238
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
5240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5241 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 (arg1)->SetInsertionPointEnd();
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 Py_INCREF(Py_None); resultobj = Py_None;
5250 return resultobj;
5251 fail:
5252 return NULL;
5253}
5254
5255
c32bde28 5256static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5257 PyObject *resultobj = NULL;
d14a1e28
RD
5258 wxComboBox *arg1 = (wxComboBox *) 0 ;
5259 long arg2 ;
5260 long arg3 ;
5261 PyObject * obj0 = 0 ;
994141e6
RD
5262 PyObject * obj1 = 0 ;
5263 PyObject * obj2 = 0 ;
d14a1e28
RD
5264 char *kwnames[] = {
5265 (char *) "self",(char *) "from",(char *) "to", NULL
5266 };
5267
994141e6 5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5270 if (SWIG_arg_fail(1)) SWIG_fail;
5271 {
32fe5131 5272 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5273 if (SWIG_arg_fail(2)) SWIG_fail;
5274 }
5275 {
32fe5131 5276 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5277 if (SWIG_arg_fail(3)) SWIG_fail;
5278 }
d14a1e28
RD
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 (arg1)->Remove(arg2,arg3);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 Py_INCREF(Py_None); resultobj = Py_None;
5287 return resultobj;
5288 fail:
5289 return NULL;
5290}
5291
5292
5cbf236d 5293static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5294 PyObject *resultobj = NULL;
5cbf236d
RD
5295 wxComboBox *arg1 = (wxComboBox *) 0 ;
5296 bool result;
5297 PyObject * obj0 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "self", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5304 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 {
5313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5314 }
5315 return resultobj;
5316 fail:
5317 return NULL;
5318}
5319
5320
5321static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5322 PyObject *resultobj = NULL;
5cbf236d
RD
5323 wxComboBox *arg1 = (wxComboBox *) 0 ;
5324 PyObject * obj0 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 (arg1)->Undo();
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 Py_INCREF(Py_None); resultobj = Py_None;
5340 return resultobj;
5341 fail:
5342 return NULL;
5343}
5344
5345
5346static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5347 PyObject *resultobj = NULL;
5cbf236d
RD
5348 wxComboBox *arg1 = (wxComboBox *) 0 ;
5349 PyObject * obj0 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5356 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 (arg1)->Redo();
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 Py_INCREF(Py_None); resultobj = Py_None;
5365 return resultobj;
5366 fail:
5367 return NULL;
5368}
5369
5370
5371static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5372 PyObject *resultobj = NULL;
5cbf236d
RD
5373 wxComboBox *arg1 = (wxComboBox *) 0 ;
5374 PyObject * obj0 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5381 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 (arg1)->SelectAll();
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 Py_INCREF(Py_None); resultobj = Py_None;
5390 return resultobj;
5391 fail:
5392 return NULL;
5393}
5394
5395
5396static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5397 PyObject *resultobj = NULL;
5cbf236d
RD
5398 wxComboBox *arg1 = (wxComboBox *) 0 ;
5399 bool result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5407 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 {
5416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5417 }
5418 return resultobj;
5419 fail:
5420 return NULL;
5421}
5422
5423
5424static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5425 PyObject *resultobj = NULL;
5cbf236d
RD
5426 wxComboBox *arg1 = (wxComboBox *) 0 ;
5427 bool result;
5428 PyObject * obj0 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (bool)((wxComboBox const *)arg1)->CanCut();
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 {
5444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5445 }
5446 return resultobj;
5447 fail:
5448 return NULL;
5449}
5450
5451
5452static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5453 PyObject *resultobj = NULL;
5cbf236d
RD
5454 wxComboBox *arg1 = (wxComboBox *) 0 ;
5455 bool result;
5456 PyObject * obj0 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5463 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 {
5472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5473 }
5474 return resultobj;
5475 fail:
5476 return NULL;
5477}
5478
5479
5480static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5481 PyObject *resultobj = NULL;
5cbf236d
RD
5482 wxComboBox *arg1 = (wxComboBox *) 0 ;
5483 bool result;
5484 PyObject * obj0 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5491 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 {
5500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5501 }
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
5508static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5509 PyObject *resultobj = NULL;
5cbf236d
RD
5510 wxComboBox *arg1 = (wxComboBox *) 0 ;
5511 bool result;
5512 PyObject * obj0 = 0 ;
5513 char *kwnames[] = {
5514 (char *) "self", NULL
5515 };
5516
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 {
5528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5529 }
5530 return resultobj;
5531 fail:
5532 return NULL;
5533}
5534
5535
c32bde28 5536static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5537 PyObject *resultobj = NULL;
093d3ff1 5538 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5539 wxVisualAttributes result;
5540 PyObject * obj0 = 0 ;
5541 char *kwnames[] = {
5542 (char *) "variant", NULL
5543 };
5544
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5546 if (obj0) {
093d3ff1 5547 {
32fe5131 5548 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
5549 if (SWIG_arg_fail(1)) SWIG_fail;
5550 }
22bfe96c
RD
5551 }
5552 {
110da5b0 5553 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5555 result = wxComboBox::GetClassDefaultAttributes(arg1);
22bfe96c
RD
5556
5557 wxPyEndAllowThreads(__tstate);
dfbb5885 5558 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5559 }
5560 {
5561 wxVisualAttributes * resultptr;
32fe5131 5562 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
5563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5564 }
5565 return resultobj;
5566 fail:
5567 return NULL;
5568}
5569
5570
c32bde28 5571static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5572 PyObject *obj;
5573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5574 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5575 Py_INCREF(obj);
5576 return Py_BuildValue((char *)"");
5577}
c32bde28 5578static int _wrap_GaugeNameStr_set(PyObject *) {
b2dc1044
RD
5579 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5580 return 1;
5581}
5582
5583
093d3ff1 5584static PyObject *_wrap_GaugeNameStr_get(void) {
32fe5131 5585 PyObject *pyobj = NULL;
b2dc1044
RD
5586
5587 {
5588#if wxUSE_UNICODE
5589 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5590#else
5591 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5592#endif
5593 }
5594 return pyobj;
5595}
5596
5597
c32bde28 5598static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5599 PyObject *resultobj = NULL;
d14a1e28 5600 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5601 int arg2 = (int) -1 ;
5602 int arg3 = (int) 100 ;
d14a1e28
RD
5603 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5604 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5605 wxSize const &arg5_defvalue = wxDefaultSize ;
5606 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5607 long arg6 = (long) wxGA_HORIZONTAL ;
5608 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5609 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5610 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5611 wxString *arg8 = (wxString *) &arg8_defvalue ;
5612 wxGauge *result;
5613 wxPoint temp4 ;
5614 wxSize temp5 ;
ae8162c8 5615 bool temp8 = false ;
d14a1e28 5616 PyObject * obj0 = 0 ;
994141e6
RD
5617 PyObject * obj1 = 0 ;
5618 PyObject * obj2 = 0 ;
d14a1e28
RD
5619 PyObject * obj3 = 0 ;
5620 PyObject * obj4 = 0 ;
994141e6 5621 PyObject * obj5 = 0 ;
d14a1e28
RD
5622 PyObject * obj6 = 0 ;
5623 PyObject * obj7 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5626 };
5627
248ed943 5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5630 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5631 if (obj1) {
093d3ff1 5632 {
32fe5131 5633 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5634 if (SWIG_arg_fail(2)) SWIG_fail;
5635 }
248ed943
RD
5636 }
5637 if (obj2) {
093d3ff1 5638 {
32fe5131 5639 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5640 if (SWIG_arg_fail(3)) SWIG_fail;
5641 }
248ed943 5642 }
d14a1e28
RD
5643 if (obj3) {
5644 {
5645 arg4 = &temp4;
5646 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5647 }
5648 }
5649 if (obj4) {
5650 {
5651 arg5 = &temp5;
5652 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5653 }
5654 }
994141e6 5655 if (obj5) {
093d3ff1 5656 {
32fe5131 5657 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
5658 if (SWIG_arg_fail(6)) SWIG_fail;
5659 }
994141e6 5660 }
d14a1e28 5661 if (obj6) {
093d3ff1
RD
5662 {
5663 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5664 if (SWIG_arg_fail(7)) SWIG_fail;
5665 if (arg7 == NULL) {
5666 SWIG_null_ref("wxValidator");
5667 }
5668 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5669 }
5670 }
5671 if (obj7) {
5672 {
5673 arg8 = wxString_in_helper(obj7);
5674 if (arg8 == NULL) SWIG_fail;
ae8162c8 5675 temp8 = true;
d14a1e28
RD
5676 }
5677 }
5678 {
e3b71cb8 5679 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5682
5683 wxPyEndAllowThreads(__tstate);
110da5b0 5684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5685 }
15afbcd0 5686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5687 {
5688 if (temp8)
5689 delete arg8;
5690 }
5691 return resultobj;
5692 fail:
5693 {
5694 if (temp8)
5695 delete arg8;
5696 }
5697 return NULL;
5698}
5699
5700
c32bde28 5701static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5702 PyObject *resultobj = NULL;
d14a1e28
RD
5703 wxGauge *result;
5704 char *kwnames[] = {
5705 NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5709 {
e3b71cb8 5710 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = (wxGauge *)new wxGauge();
5713
5714 wxPyEndAllowThreads(__tstate);
110da5b0 5715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5716 }
15afbcd0 5717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5718 return resultobj;
5719 fail:
5720 return NULL;
5721}
5722
5723
c32bde28 5724static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5725 PyObject *resultobj = NULL;
d14a1e28
RD
5726 wxGauge *arg1 = (wxGauge *) 0 ;
5727 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5728 int arg3 = (int) -1 ;
5729 int arg4 = (int) 100 ;
d14a1e28
RD
5730 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5731 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5732 wxSize const &arg6_defvalue = wxDefaultSize ;
5733 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5734 long arg7 = (long) wxGA_HORIZONTAL ;
5735 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5736 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5737 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5738 wxString *arg9 = (wxString *) &arg9_defvalue ;
5739 bool result;
5740 wxPoint temp5 ;
5741 wxSize temp6 ;
ae8162c8 5742 bool temp9 = false ;
d14a1e28
RD
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
994141e6
RD
5745 PyObject * obj2 = 0 ;
5746 PyObject * obj3 = 0 ;
d14a1e28
RD
5747 PyObject * obj4 = 0 ;
5748 PyObject * obj5 = 0 ;
994141e6 5749 PyObject * obj6 = 0 ;
d14a1e28
RD
5750 PyObject * obj7 = 0 ;
5751 PyObject * obj8 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5754 };
5755
248ed943 5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail;
5759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5760 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5761 if (obj2) {
093d3ff1 5762 {
32fe5131 5763 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5764 if (SWIG_arg_fail(3)) SWIG_fail;
5765 }
248ed943
RD
5766 }
5767 if (obj3) {
093d3ff1 5768 {
32fe5131 5769 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
5770 if (SWIG_arg_fail(4)) SWIG_fail;
5771 }
248ed943 5772 }
d14a1e28
RD
5773 if (obj4) {
5774 {
5775 arg5 = &temp5;
5776 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5777 }
5778 }
5779 if (obj5) {
5780 {
5781 arg6 = &temp6;
5782 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5783 }
5784 }
994141e6 5785 if (obj6) {
093d3ff1 5786 {
32fe5131 5787 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
5788 if (SWIG_arg_fail(7)) SWIG_fail;
5789 }
994141e6 5790 }
d14a1e28 5791 if (obj7) {
093d3ff1
RD
5792 {
5793 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5794 if (SWIG_arg_fail(8)) SWIG_fail;
5795 if (arg8 == NULL) {
5796 SWIG_null_ref("wxValidator");
5797 }
5798 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
5799 }
5800 }
5801 if (obj8) {
5802 {
5803 arg9 = wxString_in_helper(obj8);
5804 if (arg9 == NULL) SWIG_fail;
ae8162c8 5805 temp9 = true;
d14a1e28
RD
5806 }
5807 }
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
4f89f6a3
RD
5815 {
5816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5817 }
d14a1e28
RD
5818 {
5819 if (temp9)
5820 delete arg9;
5821 }
5822 return resultobj;
5823 fail:
5824 {
5825 if (temp9)
5826 delete arg9;
5827 }
5828 return NULL;
5829}
5830
5831
c32bde28 5832static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5833 PyObject *resultobj = NULL;
d14a1e28
RD
5834 wxGauge *arg1 = (wxGauge *) 0 ;
5835 int arg2 ;
5836 PyObject * obj0 = 0 ;
994141e6 5837 PyObject * obj1 = 0 ;
d14a1e28
RD
5838 char *kwnames[] = {
5839 (char *) "self",(char *) "range", NULL
5840 };
5841
994141e6 5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail;
5845 {
32fe5131 5846 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5847 if (SWIG_arg_fail(2)) SWIG_fail;
5848 }
d14a1e28
RD
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 (arg1)->SetRange(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 Py_INCREF(Py_None); resultobj = Py_None;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860}
5861
5862
c32bde28 5863static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5864 PyObject *resultobj = NULL;
d14a1e28
RD
5865 wxGauge *arg1 = (wxGauge *) 0 ;
5866 int result;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5874 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (int)((wxGauge const *)arg1)->GetRange();
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
093d3ff1 5882 {
32fe5131 5883 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5884 }
d14a1e28
RD
5885 return resultobj;
5886 fail:
5887 return NULL;
5888}
5889
5890
c32bde28 5891static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5892 PyObject *resultobj = NULL;
d14a1e28
RD
5893 wxGauge *arg1 = (wxGauge *) 0 ;
5894 int arg2 ;
5895 PyObject * obj0 = 0 ;
994141e6 5896 PyObject * obj1 = 0 ;
d14a1e28
RD
5897 char *kwnames[] = {
5898 (char *) "self",(char *) "pos", NULL
5899 };
5900
994141e6 5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail;
5904 {
32fe5131 5905 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5906 if (SWIG_arg_fail(2)) SWIG_fail;
5907 }
d14a1e28
RD
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 (arg1)->SetValue(arg2);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919}
5920
5921
c32bde28 5922static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5923 PyObject *resultobj = NULL;
d14a1e28
RD
5924 wxGauge *arg1 = (wxGauge *) 0 ;
5925 int result;
5926 PyObject * obj0 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5933 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 result = (int)((wxGauge const *)arg1)->GetValue();
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
093d3ff1 5941 {
32fe5131 5942 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5943 }
d14a1e28
RD
5944 return resultobj;
5945 fail:
5946 return NULL;
5947}
5948
5949
c32bde28 5950static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5951 PyObject *resultobj = NULL;
d14a1e28
RD
5952 wxGauge *arg1 = (wxGauge *) 0 ;
5953 bool result;
5954 PyObject * obj0 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (bool)((wxGauge const *)arg1)->IsVertical();
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
4f89f6a3
RD
5969 {
5970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5971 }
d14a1e28
RD
5972 return resultobj;
5973 fail:
5974 return NULL;
5975}
5976
5977
c32bde28 5978static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5979 PyObject *resultobj = NULL;
d14a1e28
RD
5980 wxGauge *arg1 = (wxGauge *) 0 ;
5981 int arg2 ;
5982 PyObject * obj0 = 0 ;
994141e6 5983 PyObject * obj1 = 0 ;
d14a1e28
RD
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "w", NULL
5986 };
5987
994141e6 5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5990 if (SWIG_arg_fail(1)) SWIG_fail;
5991 {
32fe5131 5992 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5993 if (SWIG_arg_fail(2)) SWIG_fail;
5994 }
d14a1e28
RD
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 (arg1)->SetShadowWidth(arg2);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 Py_INCREF(Py_None); resultobj = Py_None;
6003 return resultobj;
6004 fail:
6005 return NULL;
6006}
6007
6008
c32bde28 6009static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6010 PyObject *resultobj = NULL;
d14a1e28
RD
6011 wxGauge *arg1 = (wxGauge *) 0 ;
6012 int result;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
6019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
093d3ff1 6028 {
32fe5131 6029 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6030 }
d14a1e28
RD
6031 return resultobj;
6032 fail:
6033 return NULL;
6034}
6035
6036
c32bde28 6037static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6038 PyObject *resultobj = NULL;
d14a1e28
RD
6039 wxGauge *arg1 = (wxGauge *) 0 ;
6040 int arg2 ;
6041 PyObject * obj0 = 0 ;
994141e6 6042 PyObject * obj1 = 0 ;
d14a1e28
RD
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "w", NULL
6045 };
6046
994141e6 6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail;
6050 {
32fe5131 6051 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6052 if (SWIG_arg_fail(2)) SWIG_fail;
6053 }
d14a1e28
RD
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->SetBezelFace(arg2);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065}
6066
6067
c32bde28 6068static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6069 PyObject *resultobj = NULL;
d14a1e28
RD
6070 wxGauge *arg1 = (wxGauge *) 0 ;
6071 int result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
6078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 result = (int)((wxGauge const *)arg1)->GetBezelFace();
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
093d3ff1 6087 {
32fe5131 6088 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6089 }
d14a1e28
RD
6090 return resultobj;
6091 fail:
6092 return NULL;
6093}
6094
6095
c32bde28 6096static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6097 PyObject *resultobj = NULL;
093d3ff1 6098 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6099 wxVisualAttributes result;
6100 PyObject * obj0 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "variant", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6106 if (obj0) {
093d3ff1 6107 {
32fe5131 6108 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6109 if (SWIG_arg_fail(1)) SWIG_fail;
6110 }
22bfe96c
RD
6111 }
6112 {
110da5b0 6113 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6115 result = wxGauge::GetClassDefaultAttributes(arg1);
22bfe96c
RD
6116
6117 wxPyEndAllowThreads(__tstate);
dfbb5885 6118 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6119 }
6120 {
6121 wxVisualAttributes * resultptr;
32fe5131 6122 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
6123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6124 }
6125 return resultobj;
6126 fail:
6127 return NULL;
6128}
6129
6130
c32bde28 6131static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6132 PyObject *obj;
6133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6134 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6135 Py_INCREF(obj);
6136 return Py_BuildValue((char *)"");
6137}
c32bde28 6138static int _wrap_StaticBitmapNameStr_set(PyObject *) {
b2dc1044
RD
6139 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6140 return 1;
6141}
6142
6143
093d3ff1 6144static PyObject *_wrap_StaticBitmapNameStr_get(void) {
32fe5131 6145 PyObject *pyobj = NULL;
b2dc1044
RD
6146
6147 {
6148#if wxUSE_UNICODE
6149 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6150#else
6151 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6152#endif
6153 }
6154 return pyobj;
6155}
6156
6157
c32bde28 6158static int _wrap_StaticBoxNameStr_set(PyObject *) {
b2dc1044
RD
6159 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6160 return 1;
6161}
6162
6163
093d3ff1 6164static PyObject *_wrap_StaticBoxNameStr_get(void) {
32fe5131 6165 PyObject *pyobj = NULL;
b2dc1044
RD
6166
6167 {
6168#if wxUSE_UNICODE
6169 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6170#else
6171 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6172#endif
6173 }
6174 return pyobj;
6175}
6176
6177
c32bde28 6178static int _wrap_StaticTextNameStr_set(PyObject *) {
b2dc1044
RD
6179 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6180 return 1;
6181}
6182
6183
093d3ff1 6184static PyObject *_wrap_StaticTextNameStr_get(void) {
32fe5131 6185 PyObject *pyobj = NULL;
b2dc1044
RD
6186
6187 {
6188#if wxUSE_UNICODE
6189 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6190#else
6191 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6192#endif
6193 }
6194 return pyobj;
6195}
6196
6197
c32bde28 6198static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6199 PyObject *resultobj = NULL;
d14a1e28 6200 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6201 int arg2 = (int) -1 ;
6202 wxString const &arg3_defvalue = wxPyEmptyString ;
6203 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6206 wxSize const &arg5_defvalue = wxDefaultSize ;
6207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6208 long arg6 = (long) 0 ;
6209 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6210 wxString *arg7 = (wxString *) &arg7_defvalue ;
6211 wxStaticBox *result;
ae8162c8 6212 bool temp3 = false ;
d14a1e28
RD
6213 wxPoint temp4 ;
6214 wxSize temp5 ;
ae8162c8 6215 bool temp7 = false ;
d14a1e28 6216 PyObject * obj0 = 0 ;
994141e6 6217 PyObject * obj1 = 0 ;
d14a1e28
RD
6218 PyObject * obj2 = 0 ;
6219 PyObject * obj3 = 0 ;
6220 PyObject * obj4 = 0 ;
994141e6 6221 PyObject * obj5 = 0 ;
d14a1e28
RD
6222 PyObject * obj6 = 0 ;
6223 char *kwnames[] = {
6224 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6225 };
6226
248ed943 6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6229 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6230 if (obj1) {
093d3ff1 6231 {
32fe5131 6232 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6233 if (SWIG_arg_fail(2)) SWIG_fail;
6234 }
248ed943
RD
6235 }
6236 if (obj2) {
6237 {
6238 arg3 = wxString_in_helper(obj2);
6239 if (arg3 == NULL) SWIG_fail;
ae8162c8 6240 temp3 = true;
248ed943 6241 }
d14a1e28
RD
6242 }
6243 if (obj3) {
6244 {
6245 arg4 = &temp4;
6246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6247 }
6248 }
6249 if (obj4) {
6250 {
6251 arg5 = &temp5;
6252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6253 }
6254 }
994141e6 6255 if (obj5) {
093d3ff1 6256 {
32fe5131 6257 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6258 if (SWIG_arg_fail(6)) SWIG_fail;
6259 }
994141e6 6260 }
d14a1e28
RD
6261 if (obj6) {
6262 {
6263 arg7 = wxString_in_helper(obj6);
6264 if (arg7 == NULL) SWIG_fail;
ae8162c8 6265 temp7 = true;
d14a1e28
RD
6266 }
6267 }
6268 {
e3b71cb8 6269 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6272
6273 wxPyEndAllowThreads(__tstate);
110da5b0 6274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6275 }
b0f7404b 6276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
6277 {
6278 if (temp3)
6279 delete arg3;
6280 }
6281 {
6282 if (temp7)
6283 delete arg7;
6284 }
6285 return resultobj;
6286 fail:
6287 {
6288 if (temp3)
6289 delete arg3;
6290 }
6291 {
6292 if (temp7)
6293 delete arg7;
6294 }
6295 return NULL;
6296}
6297
6298
c32bde28 6299static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6300 PyObject *resultobj = NULL;
d14a1e28
RD
6301 wxStaticBox *result;
6302 char *kwnames[] = {
6303 NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6307 {
e3b71cb8 6308 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 result = (wxStaticBox *)new wxStaticBox();
6311
6312 wxPyEndAllowThreads(__tstate);
110da5b0 6313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6314 }
b0f7404b 6315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
6316 return resultobj;
6317 fail:
6318 return NULL;
6319}
6320
6321
c32bde28 6322static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6323 PyObject *resultobj = NULL;
d14a1e28
RD
6324 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6325 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6326 int arg3 = (int) -1 ;
6327 wxString const &arg4_defvalue = wxPyEmptyString ;
6328 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6331 wxSize const &arg6_defvalue = wxDefaultSize ;
6332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6333 long arg7 = (long) 0 ;
6334 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6335 wxString *arg8 = (wxString *) &arg8_defvalue ;
6336 bool result;
ae8162c8 6337 bool temp4 = false ;
d14a1e28
RD
6338 wxPoint temp5 ;
6339 wxSize temp6 ;
ae8162c8 6340 bool temp8 = false ;
d14a1e28
RD
6341 PyObject * obj0 = 0 ;
6342 PyObject * obj1 = 0 ;
994141e6 6343 PyObject * obj2 = 0 ;
d14a1e28
RD
6344 PyObject * obj3 = 0 ;
6345 PyObject * obj4 = 0 ;
6346 PyObject * obj5 = 0 ;
994141e6 6347 PyObject * obj6 = 0 ;
d14a1e28
RD
6348 PyObject * obj7 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6351 };
6352
248ed943 6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6355 if (SWIG_arg_fail(1)) SWIG_fail;
6356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6357 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6358 if (obj2) {
093d3ff1 6359 {
32fe5131 6360 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6361 if (SWIG_arg_fail(3)) SWIG_fail;
6362 }
248ed943
RD
6363 }
6364 if (obj3) {
6365 {
6366 arg4 = wxString_in_helper(obj3);
6367 if (arg4 == NULL) SWIG_fail;
ae8162c8 6368 temp4 = true;
248ed943 6369 }
d14a1e28
RD
6370 }
6371 if (obj4) {
6372 {
6373 arg5 = &temp5;
6374 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6375 }
6376 }
6377 if (obj5) {
6378 {
6379 arg6 = &temp6;
6380 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6381 }
6382 }
994141e6 6383 if (obj6) {
093d3ff1 6384 {
32fe5131 6385 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6386 if (SWIG_arg_fail(7)) SWIG_fail;
6387 }
994141e6 6388 }
d14a1e28
RD
6389 if (obj7) {
6390 {
6391 arg8 = wxString_in_helper(obj7);
6392 if (arg8 == NULL) SWIG_fail;
ae8162c8 6393 temp8 = true;
d14a1e28
RD
6394 }
6395 }
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
4f89f6a3
RD
6403 {
6404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6405 }
d14a1e28
RD
6406 {
6407 if (temp4)
6408 delete arg4;
6409 }
6410 {
6411 if (temp8)
6412 delete arg8;
6413 }
6414 return resultobj;
6415 fail:
6416 {
6417 if (temp4)
6418 delete arg4;
6419 }
6420 {
6421 if (temp8)
6422 delete arg8;
6423 }
6424 return NULL;
6425}
6426
6427
c32bde28 6428static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6429 PyObject *resultobj = NULL;
093d3ff1 6430 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6431 wxVisualAttributes result;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "variant", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6438 if (obj0) {
093d3ff1 6439 {
32fe5131 6440 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6441 if (SWIG_arg_fail(1)) SWIG_fail;
6442 }
22bfe96c
RD
6443 }
6444 {
110da5b0 6445 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6447 result = wxStaticBox::GetClassDefaultAttributes(arg1);
22bfe96c
RD
6448
6449 wxPyEndAllowThreads(__tstate);
dfbb5885 6450 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6451 }
6452 {
6453 wxVisualAttributes * resultptr;
32fe5131 6454 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
6455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6456 }
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
c32bde28 6463static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6464 PyObject *obj;
6465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6466 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6467 Py_INCREF(obj);
6468 return Py_BuildValue((char *)"");
6469}
c32bde28 6470static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6471 PyObject *resultobj = NULL;
d14a1e28 6472 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6473 int arg2 = (int) -1 ;
d14a1e28
RD
6474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6476 wxSize const &arg4_defvalue = wxDefaultSize ;
6477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6478 long arg5 = (long) wxLI_HORIZONTAL ;
6479 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6480 wxString *arg6 = (wxString *) &arg6_defvalue ;
6481 wxStaticLine *result;
6482 wxPoint temp3 ;
6483 wxSize temp4 ;
ae8162c8 6484 bool temp6 = false ;
d14a1e28 6485 PyObject * obj0 = 0 ;
994141e6 6486 PyObject * obj1 = 0 ;
d14a1e28
RD
6487 PyObject * obj2 = 0 ;
6488 PyObject * obj3 = 0 ;
994141e6 6489 PyObject * obj4 = 0 ;
d14a1e28
RD
6490 PyObject * obj5 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6493 };
6494
248ed943 6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6498 if (obj1) {
093d3ff1 6499 {
32fe5131 6500 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6501 if (SWIG_arg_fail(2)) SWIG_fail;
6502 }
248ed943 6503 }
d14a1e28
RD
6504 if (obj2) {
6505 {
6506 arg3 = &temp3;
6507 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6508 }
6509 }
6510 if (obj3) {
6511 {
6512 arg4 = &temp4;
6513 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6514 }
6515 }
994141e6 6516 if (obj4) {
093d3ff1 6517 {
32fe5131 6518 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
6519 if (SWIG_arg_fail(5)) SWIG_fail;
6520 }
994141e6 6521 }
d14a1e28
RD
6522 if (obj5) {
6523 {
6524 arg6 = wxString_in_helper(obj5);
6525 if (arg6 == NULL) SWIG_fail;
ae8162c8 6526 temp6 = true;
d14a1e28
RD
6527 }
6528 }
6529 {
e3b71cb8 6530 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6533
6534 wxPyEndAllowThreads(__tstate);
110da5b0 6535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6536 }
15afbcd0 6537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6538 {
6539 if (temp6)
6540 delete arg6;
6541 }
6542 return resultobj;
6543 fail:
6544 {
6545 if (temp6)
6546 delete arg6;
6547 }
6548 return NULL;
6549}
6550
6551
c32bde28 6552static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6553 PyObject *resultobj = NULL;
d14a1e28
RD
6554 wxStaticLine *result;
6555 char *kwnames[] = {
6556 NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6560 {
e3b71cb8 6561 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 result = (wxStaticLine *)new wxStaticLine();
6564
6565 wxPyEndAllowThreads(__tstate);
110da5b0 6566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6567 }
15afbcd0 6568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6569 return resultobj;
6570 fail:
6571 return NULL;
6572}
6573
6574
c32bde28 6575static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6576 PyObject *resultobj = NULL;
d14a1e28
RD
6577 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6578 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6579 int arg3 = (int) -1 ;
d14a1e28
RD
6580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6582 wxSize const &arg5_defvalue = wxDefaultSize ;
6583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6584 long arg6 = (long) wxLI_HORIZONTAL ;
6585 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6586 wxString *arg7 = (wxString *) &arg7_defvalue ;
6587 bool result;
6588 wxPoint temp4 ;
6589 wxSize temp5 ;
ae8162c8 6590 bool temp7 = false ;
d14a1e28
RD
6591 PyObject * obj0 = 0 ;
6592 PyObject * obj1 = 0 ;
994141e6 6593 PyObject * obj2 = 0 ;
d14a1e28
RD
6594 PyObject * obj3 = 0 ;
6595 PyObject * obj4 = 0 ;
994141e6 6596 PyObject * obj5 = 0 ;
d14a1e28
RD
6597 PyObject * obj6 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6600 };
6601
248ed943 6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail;
6605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6606 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6607 if (obj2) {
093d3ff1 6608 {
32fe5131 6609 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6610 if (SWIG_arg_fail(3)) SWIG_fail;
6611 }
248ed943 6612 }
d14a1e28
RD
6613 if (obj3) {
6614 {
6615 arg4 = &temp4;
6616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6617 }
6618 }
6619 if (obj4) {
6620 {
6621 arg5 = &temp5;
6622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6623 }
6624 }
994141e6 6625 if (obj5) {
093d3ff1 6626 {
32fe5131 6627 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6628 if (SWIG_arg_fail(6)) SWIG_fail;
6629 }
994141e6 6630 }
d14a1e28
RD
6631 if (obj6) {
6632 {
6633 arg7 = wxString_in_helper(obj6);
6634 if (arg7 == NULL) SWIG_fail;
ae8162c8 6635 temp7 = true;
d14a1e28
RD
6636 }
6637 }
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
4f89f6a3
RD
6645 {
6646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6647 }
d14a1e28
RD
6648 {
6649 if (temp7)
6650 delete arg7;
6651 }
6652 return resultobj;
6653 fail:
6654 {
6655 if (temp7)
6656 delete arg7;
6657 }
6658 return NULL;
6659}
6660
6661
c32bde28 6662static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6663 PyObject *resultobj = NULL;
d14a1e28
RD
6664 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6665 bool result;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6673 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
4f89f6a3
RD
6681 {
6682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6683 }
d14a1e28
RD
6684 return resultobj;
6685 fail:
6686 return NULL;
6687}
6688
6689
c32bde28 6690static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6691 PyObject *resultobj = NULL;
d14a1e28
RD
6692 int result;
6693 char *kwnames[] = {
6694 NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 result = (int)wxStaticLine::GetDefaultSize();
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
093d3ff1 6705 {
32fe5131 6706 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6707 }
d14a1e28
RD
6708 return resultobj;
6709 fail:
6710 return NULL;
6711}
6712
6713
c32bde28 6714static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6715 PyObject *resultobj = NULL;
093d3ff1 6716 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6717 wxVisualAttributes result;
6718 PyObject * obj0 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "variant", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6724 if (obj0) {
093d3ff1 6725 {
32fe5131 6726 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6727 if (SWIG_arg_fail(1)) SWIG_fail;
6728 }
22bfe96c
RD
6729 }
6730 {
110da5b0 6731 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6733 result = wxStaticLine::GetClassDefaultAttributes(arg1);
22bfe96c
RD
6734
6735 wxPyEndAllowThreads(__tstate);
dfbb5885 6736 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6737 }
6738 {
6739 wxVisualAttributes * resultptr;
32fe5131 6740 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
6741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6742 }
6743 return resultobj;
6744 fail:
6745 return NULL;
6746}
6747
6748
c32bde28 6749static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6750 PyObject *obj;
6751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6752 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6753 Py_INCREF(obj);
6754 return Py_BuildValue((char *)"");
6755}
c32bde28 6756static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6757 PyObject *resultobj = NULL;
d14a1e28 6758 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6759 int arg2 = (int) -1 ;
6760 wxString const &arg3_defvalue = wxPyEmptyString ;
6761 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6764 wxSize const &arg5_defvalue = wxDefaultSize ;
6765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6766 long arg6 = (long) 0 ;
6767 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6768 wxString *arg7 = (wxString *) &arg7_defvalue ;
6769 wxStaticText *result;
ae8162c8 6770 bool temp3 = false ;
d14a1e28
RD
6771 wxPoint temp4 ;
6772 wxSize temp5 ;
ae8162c8 6773 bool temp7 = false ;
d14a1e28 6774 PyObject * obj0 = 0 ;
994141e6 6775 PyObject * obj1 = 0 ;
d14a1e28
RD
6776 PyObject * obj2 = 0 ;
6777 PyObject * obj3 = 0 ;
6778 PyObject * obj4 = 0 ;
994141e6 6779 PyObject * obj5 = 0 ;
d14a1e28
RD
6780 PyObject * obj6 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6783 };
6784
248ed943 6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6788 if (obj1) {
093d3ff1 6789 {
32fe5131 6790 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6791 if (SWIG_arg_fail(2)) SWIG_fail;
6792 }
248ed943
RD
6793 }
6794 if (obj2) {
6795 {
6796 arg3 = wxString_in_helper(obj2);
6797 if (arg3 == NULL) SWIG_fail;
ae8162c8 6798 temp3 = true;
248ed943 6799 }
d14a1e28
RD
6800 }
6801 if (obj3) {
6802 {
6803 arg4 = &temp4;
6804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6805 }
6806 }
6807 if (obj4) {
6808 {
6809 arg5 = &temp5;
6810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6811 }
6812 }
994141e6 6813 if (obj5) {
093d3ff1 6814 {
32fe5131 6815 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6816 if (SWIG_arg_fail(6)) SWIG_fail;
6817 }
994141e6 6818 }
d14a1e28
RD
6819 if (obj6) {
6820 {
6821 arg7 = wxString_in_helper(obj6);
6822 if (arg7 == NULL) SWIG_fail;
ae8162c8 6823 temp7 = true;
d14a1e28
RD
6824 }
6825 }
6826 {
e3b71cb8 6827 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6830
6831 wxPyEndAllowThreads(__tstate);
110da5b0 6832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6833 }
15afbcd0 6834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6835 {
6836 if (temp3)
6837 delete arg3;
6838 }
6839 {
6840 if (temp7)
6841 delete arg7;
6842 }
6843 return resultobj;
6844 fail:
6845 {
6846 if (temp3)
6847 delete arg3;
6848 }
6849 {
6850 if (temp7)
6851 delete arg7;
6852 }
6853 return NULL;
6854}
6855
6856
c32bde28 6857static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6858 PyObject *resultobj = NULL;
d14a1e28
RD
6859 wxStaticText *result;
6860 char *kwnames[] = {
6861 NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6865 {
e3b71cb8 6866 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (wxStaticText *)new wxStaticText();
6869
6870 wxPyEndAllowThreads(__tstate);
110da5b0 6871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6872 }
15afbcd0 6873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
c32bde28 6880static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6881 PyObject *resultobj = NULL;
d14a1e28
RD
6882 wxStaticText *arg1 = (wxStaticText *) 0 ;
6883 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6884 int arg3 = (int) -1 ;
6885 wxString const &arg4_defvalue = wxPyEmptyString ;
6886 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6887 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6888 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6889 wxSize const &arg6_defvalue = wxDefaultSize ;
6890 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6891 long arg7 = (long) 0 ;
6892 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6893 wxString *arg8 = (wxString *) &arg8_defvalue ;
6894 bool result;
ae8162c8 6895 bool temp4 = false ;
d14a1e28
RD
6896 wxPoint temp5 ;
6897 wxSize temp6 ;
ae8162c8 6898 bool temp8 = false ;
d14a1e28
RD
6899 PyObject * obj0 = 0 ;
6900 PyObject * obj1 = 0 ;
994141e6 6901 PyObject * obj2 = 0 ;
d14a1e28
RD
6902 PyObject * obj3 = 0 ;
6903 PyObject * obj4 = 0 ;
6904 PyObject * obj5 = 0 ;
994141e6 6905 PyObject * obj6 = 0 ;
d14a1e28
RD
6906 PyObject * obj7 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6909 };
6910
248ed943 6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail;
6914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6915 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6916 if (obj2) {
093d3ff1 6917 {
32fe5131 6918 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6919 if (SWIG_arg_fail(3)) SWIG_fail;
6920 }
248ed943
RD
6921 }
6922 if (obj3) {
6923 {
6924 arg4 = wxString_in_helper(obj3);
6925 if (arg4 == NULL) SWIG_fail;
ae8162c8 6926 temp4 = true;
248ed943 6927 }
d14a1e28
RD
6928 }
6929 if (obj4) {
6930 {
6931 arg5 = &temp5;
6932 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6933 }
6934 }
6935 if (obj5) {
6936 {
6937 arg6 = &temp6;
6938 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6939 }
6940 }
994141e6 6941 if (obj6) {
093d3ff1 6942 {
32fe5131 6943 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6944 if (SWIG_arg_fail(7)) SWIG_fail;
6945 }
994141e6 6946 }
d14a1e28
RD
6947 if (obj7) {
6948 {
6949 arg8 = wxString_in_helper(obj7);
6950 if (arg8 == NULL) SWIG_fail;
ae8162c8 6951 temp8 = true;
d14a1e28
RD
6952 }
6953 }
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
4f89f6a3
RD
6961 {
6962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6963 }
d14a1e28
RD
6964 {
6965 if (temp4)
6966 delete arg4;
6967 }
6968 {
6969 if (temp8)
6970 delete arg8;
6971 }
6972 return resultobj;
6973 fail:
6974 {
6975 if (temp4)
6976 delete arg4;
6977 }
6978 {
6979 if (temp8)
6980 delete arg8;
6981 }
6982 return NULL;
6983}
6984
6985
943e8dfd 6986static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6987 PyObject *resultobj = NULL;
943e8dfd
RD
6988 wxStaticText *arg1 = (wxStaticText *) 0 ;
6989 int arg2 ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "width", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail;
6999 {
32fe5131 7000 arg2 = static_cast<int >(SWIG_As_int(obj1));
943e8dfd
RD
7001 if (SWIG_arg_fail(2)) SWIG_fail;
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->Wrap(arg2);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014}
7015
7016
c32bde28 7017static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7018 PyObject *resultobj = NULL;
093d3ff1 7019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7020 wxVisualAttributes result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "variant", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7027 if (obj0) {
093d3ff1 7028 {
32fe5131 7029 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
7030 if (SWIG_arg_fail(1)) SWIG_fail;
7031 }
22bfe96c
RD
7032 }
7033 {
110da5b0 7034 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 7036 result = wxStaticText::GetClassDefaultAttributes(arg1);
22bfe96c
RD
7037
7038 wxPyEndAllowThreads(__tstate);
dfbb5885 7039 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7040 }
7041 {
7042 wxVisualAttributes * resultptr;
32fe5131 7043 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
7044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7045 }
7046 return resultobj;
7047 fail:
7048 return NULL;
7049}
7050
7051
c32bde28 7052static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7053 PyObject *obj;
7054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
7056 Py_INCREF(obj);
7057 return Py_BuildValue((char *)"");
7058}
c32bde28 7059static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7060 PyObject *resultobj = NULL;
d14a1e28 7061 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
7062 int arg2 = (int) -1 ;
7063 wxBitmap const &arg3_defvalue = wxNullBitmap ;
7064 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
7065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7067 wxSize const &arg5_defvalue = wxDefaultSize ;
7068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7069 long arg6 = (long) 0 ;
7070 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
7071 wxString *arg7 = (wxString *) &arg7_defvalue ;
7072 wxStaticBitmap *result;
7073 wxPoint temp4 ;
7074 wxSize temp5 ;
ae8162c8 7075 bool temp7 = false ;
d14a1e28 7076 PyObject * obj0 = 0 ;
994141e6 7077 PyObject * obj1 = 0 ;
d14a1e28
RD
7078 PyObject * obj2 = 0 ;
7079 PyObject * obj3 = 0 ;
7080 PyObject * obj4 = 0 ;
994141e6 7081 PyObject * obj5 = 0 ;
d14a1e28
RD
7082 PyObject * obj6 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7085 };
7086
248ed943 7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7089 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7090 if (obj1) {
093d3ff1 7091 {
32fe5131 7092 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7093 if (SWIG_arg_fail(2)) SWIG_fail;
7094 }
248ed943
RD
7095 }
7096 if (obj2) {
093d3ff1
RD
7097 {
7098 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7099 if (SWIG_arg_fail(3)) SWIG_fail;
7100 if (arg3 == NULL) {
7101 SWIG_null_ref("wxBitmap");
7102 }
7103 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 7104 }
d14a1e28
RD
7105 }
7106 if (obj3) {
7107 {
7108 arg4 = &temp4;
7109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7110 }
7111 }
7112 if (obj4) {
7113 {
7114 arg5 = &temp5;
7115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7116 }
7117 }
994141e6 7118 if (obj5) {
093d3ff1 7119 {
32fe5131 7120 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7121 if (SWIG_arg_fail(6)) SWIG_fail;
7122 }
994141e6 7123 }
d14a1e28
RD
7124 if (obj6) {
7125 {
7126 arg7 = wxString_in_helper(obj6);
7127 if (arg7 == NULL) SWIG_fail;
ae8162c8 7128 temp7 = true;
d14a1e28
RD
7129 }
7130 }
7131 {
e3b71cb8 7132 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7135
7136 wxPyEndAllowThreads(__tstate);
110da5b0 7137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7138 }
15afbcd0 7139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
7140 {
7141 if (temp7)
7142 delete arg7;
7143 }
7144 return resultobj;
7145 fail:
7146 {
7147 if (temp7)
7148 delete arg7;
7149 }
7150 return NULL;
7151}
7152
7153
c32bde28 7154static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7155 PyObject *resultobj = NULL;
d14a1e28
RD
7156 wxStaticBitmap *result;
7157 char *kwnames[] = {
7158 NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7162 {
e3b71cb8 7163 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 result = (wxStaticBitmap *)new wxStaticBitmap();
7166
7167 wxPyEndAllowThreads(__tstate);
110da5b0 7168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7169 }
15afbcd0 7170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
7171 return resultobj;
7172 fail:
7173 return NULL;
7174}
7175
7176
c32bde28 7177static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7178 PyObject *resultobj = NULL;
d14a1e28
RD
7179 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7180 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
7181 int arg3 = (int) -1 ;
7182 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7183 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
7184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7186 wxSize const &arg6_defvalue = wxDefaultSize ;
7187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7188 long arg7 = (long) 0 ;
7189 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7190 wxString *arg8 = (wxString *) &arg8_defvalue ;
7191 bool result;
7192 wxPoint temp5 ;
7193 wxSize temp6 ;
ae8162c8 7194 bool temp8 = false ;
d14a1e28
RD
7195 PyObject * obj0 = 0 ;
7196 PyObject * obj1 = 0 ;
994141e6 7197 PyObject * obj2 = 0 ;
d14a1e28
RD
7198 PyObject * obj3 = 0 ;
7199 PyObject * obj4 = 0 ;
7200 PyObject * obj5 = 0 ;
994141e6 7201 PyObject * obj6 = 0 ;
d14a1e28
RD
7202 PyObject * obj7 = 0 ;
7203 char *kwnames[] = {
7204 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7205 };
7206
248ed943 7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7209 if (SWIG_arg_fail(1)) SWIG_fail;
7210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7211 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7212 if (obj2) {
093d3ff1 7213 {
32fe5131 7214 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7215 if (SWIG_arg_fail(3)) SWIG_fail;
7216 }
248ed943
RD
7217 }
7218 if (obj3) {
093d3ff1
RD
7219 {
7220 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7221 if (SWIG_arg_fail(4)) SWIG_fail;
7222 if (arg4 == NULL) {
7223 SWIG_null_ref("wxBitmap");
7224 }
7225 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 7226 }
d14a1e28
RD
7227 }
7228 if (obj4) {
7229 {
7230 arg5 = &temp5;
7231 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7232 }
7233 }
7234 if (obj5) {
7235 {
7236 arg6 = &temp6;
7237 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7238 }
7239 }
994141e6 7240 if (obj6) {
093d3ff1 7241 {
32fe5131 7242 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
7243 if (SWIG_arg_fail(7)) SWIG_fail;
7244 }
994141e6 7245 }
d14a1e28
RD
7246 if (obj7) {
7247 {
7248 arg8 = wxString_in_helper(obj7);
7249 if (arg8 == NULL) SWIG_fail;
ae8162c8 7250 temp8 = true;
d14a1e28
RD
7251 }
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
4f89f6a3
RD
7260 {
7261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7262 }
d14a1e28
RD
7263 {
7264 if (temp8)
7265 delete arg8;
7266 }
7267 return resultobj;
7268 fail:
7269 {
7270 if (temp8)
7271 delete arg8;
7272 }
7273 return NULL;
7274}
7275
7276
c32bde28 7277static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7278 PyObject *resultobj = NULL;
d14a1e28
RD
7279 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7280 wxBitmap result;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
7287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = (arg1)->GetBitmap();
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 {
7297 wxBitmap * resultptr;
32fe5131 7298 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 7299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
7300 }
7301 return resultobj;
7302 fail:
7303 return NULL;
7304}
7305
7306
c32bde28 7307static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7308 PyObject *resultobj = NULL;
d14a1e28
RD
7309 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7310 wxBitmap *arg2 = 0 ;
7311 PyObject * obj0 = 0 ;
7312 PyObject * obj1 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "self",(char *) "bitmap", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail;
7320 {
7321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7322 if (SWIG_arg_fail(2)) SWIG_fail;
7323 if (arg2 == NULL) {
7324 SWIG_null_ref("wxBitmap");
7325 }
7326 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7327 }
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 Py_INCREF(Py_None); resultobj = Py_None;
7336 return resultobj;
7337 fail:
7338 return NULL;
7339}
7340
7341
c32bde28 7342static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7343 PyObject *resultobj = NULL;
d14a1e28
RD
7344 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7345 wxIcon *arg2 = 0 ;
7346 PyObject * obj0 = 0 ;
7347 PyObject * obj1 = 0 ;
7348 char *kwnames[] = {
7349 (char *) "self",(char *) "icon", NULL
7350 };
7351
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7354 if (SWIG_arg_fail(1)) SWIG_fail;
7355 {
7356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7357 if (SWIG_arg_fail(2)) SWIG_fail;
7358 if (arg2 == NULL) {
7359 SWIG_null_ref("wxIcon");
7360 }
7361 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7362 }
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 (arg1)->SetIcon((wxIcon const &)*arg2);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 Py_INCREF(Py_None); resultobj = Py_None;
7371 return resultobj;
7372 fail:
7373 return NULL;
7374}
7375
7376
c32bde28 7377static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7378 PyObject *resultobj = NULL;
093d3ff1 7379 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7380 wxVisualAttributes result;
7381 PyObject * obj0 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "variant", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7387 if (obj0) {
093d3ff1 7388 {
32fe5131 7389 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
7390 if (SWIG_arg_fail(1)) SWIG_fail;
7391 }
22bfe96c
RD
7392 }
7393 {
110da5b0 7394 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 7396 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
22bfe96c
RD
7397
7398 wxPyEndAllowThreads(__tstate);
dfbb5885 7399 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7400 }
7401 {
7402 wxVisualAttributes * resultptr;
32fe5131 7403 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
7404 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7405 }
7406 return resultobj;
7407 fail:
7408 return NULL;
7409}
7410
7411
c32bde28 7412static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7413 PyObject *obj;
7414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7415 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7416 Py_INCREF(obj);
7417 return Py_BuildValue((char *)"");
7418}
c32bde28 7419static int _wrap_ListBoxNameStr_set(PyObject *) {
b2dc1044
RD
7420 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7421 return 1;
7422}
7423
7424
093d3ff1 7425static PyObject *_wrap_ListBoxNameStr_get(void) {
32fe5131 7426 PyObject *pyobj = NULL;
b2dc1044
RD
7427
7428 {
7429#if wxUSE_UNICODE
7430 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7431#else
7432 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7433#endif
7434 }
7435 return pyobj;
7436}
7437
7438
c32bde28 7439static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7440 PyObject *resultobj = NULL;
d14a1e28 7441 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7442 int arg2 = (int) -1 ;
d14a1e28
RD
7443 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7444 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7445 wxSize const &arg4_defvalue = wxDefaultSize ;
7446 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
7447 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7448 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7449 long arg6 = (long) 0 ;
7450 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7451 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7452 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7453 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
7454 wxListBox *result;
7455 wxPoint temp3 ;
7456 wxSize temp4 ;
ae8162c8
RD
7457 bool temp5 = false ;
7458 bool temp8 = false ;
d14a1e28 7459 PyObject * obj0 = 0 ;
994141e6 7460 PyObject * obj1 = 0 ;
d14a1e28
RD
7461 PyObject * obj2 = 0 ;
7462 PyObject * obj3 = 0 ;
7463 PyObject * obj4 = 0 ;
994141e6 7464 PyObject * obj5 = 0 ;
d14a1e28
RD
7465 PyObject * obj6 = 0 ;
7466 PyObject * obj7 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7469 };
7470
248ed943 7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7474 if (obj1) {
093d3ff1 7475 {
32fe5131 7476 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7477 if (SWIG_arg_fail(2)) SWIG_fail;
7478 }
248ed943 7479 }
d14a1e28
RD
7480 if (obj2) {
7481 {
7482 arg3 = &temp3;
7483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7484 }
7485 }
7486 if (obj3) {
7487 {
7488 arg4 = &temp4;
7489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7490 }
7491 }
7492 if (obj4) {
7493 {
4d5c3d91
RD
7494 if (! PySequence_Check(obj4)) {
7495 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7496 SWIG_fail;
7497 }
7498 arg5 = new wxArrayString;
ae8162c8 7499 temp5 = true;
4d5c3d91
RD
7500 int i, len=PySequence_Length(obj4);
7501 for (i=0; i<len; i++) {
7502 PyObject* item = PySequence_GetItem(obj4, i);
71237536 7503 wxString* s = wxString_in_helper(item);
74a57fcd 7504 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7505 arg5->Add(*s);
7506 delete s;
4d5c3d91 7507 Py_DECREF(item);
4d5c3d91 7508 }
d14a1e28
RD
7509 }
7510 }
994141e6 7511 if (obj5) {
093d3ff1 7512 {
32fe5131 7513 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7514 if (SWIG_arg_fail(6)) SWIG_fail;
7515 }
994141e6 7516 }
d14a1e28 7517 if (obj6) {
093d3ff1
RD
7518 {
7519 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7520 if (SWIG_arg_fail(7)) SWIG_fail;
7521 if (arg7 == NULL) {
7522 SWIG_null_ref("wxValidator");
7523 }
7524 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
7525 }
7526 }
7527 if (obj7) {
7528 {
4d5c3d91
RD
7529 arg8 = wxString_in_helper(obj7);
7530 if (arg8 == NULL) SWIG_fail;
ae8162c8 7531 temp8 = true;
d14a1e28
RD
7532 }
7533 }
7534 {
e3b71cb8 7535 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7537 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
7538
7539 wxPyEndAllowThreads(__tstate);
110da5b0 7540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7541 }
15afbcd0 7542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 7543 {
3adfb63b 7544 if (temp5) delete arg5;
d14a1e28
RD
7545 }
7546 {
7547 if (temp8)
4d5c3d91 7548 delete arg8;
d14a1e28
RD
7549 }
7550 return resultobj;
7551 fail:
7552 {
3adfb63b 7553 if (temp5) delete arg5;
d14a1e28
RD
7554 }
7555 {
7556 if (temp8)
4d5c3d91 7557 delete arg8;
d14a1e28
RD
7558 }
7559 return NULL;
7560}
7561
7562
c32bde28 7563static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7564 PyObject *resultobj = NULL;
d14a1e28
RD
7565 wxListBox *result;
7566 char *kwnames[] = {
7567 NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7571 {
e3b71cb8 7572 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = (wxListBox *)new wxListBox();
7575
7576 wxPyEndAllowThreads(__tstate);
110da5b0 7577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7578 }
15afbcd0 7579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
c32bde28 7586static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7587 PyObject *resultobj = NULL;
d14a1e28
RD
7588 wxListBox *arg1 = (wxListBox *) 0 ;
7589 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7590 int arg3 = (int) -1 ;
d14a1e28
RD
7591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7593 wxSize const &arg5_defvalue = wxDefaultSize ;
7594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
7595 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7596 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7597 long arg7 = (long) 0 ;
7598 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7599 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7600 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7601 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
7602 bool result;
7603 wxPoint temp4 ;
7604 wxSize temp5 ;
ae8162c8
RD
7605 bool temp6 = false ;
7606 bool temp9 = false ;
d14a1e28
RD
7607 PyObject * obj0 = 0 ;
7608 PyObject * obj1 = 0 ;
994141e6 7609 PyObject * obj2 = 0 ;
d14a1e28
RD
7610 PyObject * obj3 = 0 ;
7611 PyObject * obj4 = 0 ;
7612 PyObject * obj5 = 0 ;
994141e6 7613 PyObject * obj6 = 0 ;
d14a1e28
RD
7614 PyObject * obj7 = 0 ;
7615 PyObject * obj8 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7618 };
7619
248ed943 7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail;
7623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7625 if (obj2) {
093d3ff1 7626 {
32fe5131 7627 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7628 if (SWIG_arg_fail(3)) SWIG_fail;
7629 }
248ed943 7630 }
d14a1e28
RD
7631 if (obj3) {
7632 {
7633 arg4 = &temp4;
7634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7635 }
7636 }
7637 if (obj4) {
7638 {
7639 arg5 = &temp5;
7640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7641 }
7642 }
7643 if (obj5) {
7644 {
4d5c3d91
RD
7645 if (! PySequence_Check(obj5)) {
7646 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7647 SWIG_fail;
7648 }
7649 arg6 = new wxArrayString;
ae8162c8 7650 temp6 = true;
4d5c3d91
RD
7651 int i, len=PySequence_Length(obj5);
7652 for (i=0; i<len; i++) {
7653 PyObject* item = PySequence_GetItem(obj5, i);
71237536 7654 wxString* s = wxString_in_helper(item);
74a57fcd 7655 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7656 arg6->Add(*s);
7657 delete s;
4d5c3d91 7658 Py_DECREF(item);
4d5c3d91 7659 }
d14a1e28
RD
7660 }
7661 }
994141e6 7662 if (obj6) {
093d3ff1 7663 {
32fe5131 7664 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
7665 if (SWIG_arg_fail(7)) SWIG_fail;
7666 }
994141e6 7667 }
d14a1e28 7668 if (obj7) {
093d3ff1
RD
7669 {
7670 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7671 if (SWIG_arg_fail(8)) SWIG_fail;
7672 if (arg8 == NULL) {
7673 SWIG_null_ref("wxValidator");
7674 }
7675 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
7676 }
7677 }
7678 if (obj8) {
7679 {
4d5c3d91
RD
7680 arg9 = wxString_in_helper(obj8);
7681 if (arg9 == NULL) SWIG_fail;
ae8162c8 7682 temp9 = true;
d14a1e28
RD
7683 }
7684 }
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
4f89f6a3
RD
7692 {
7693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7694 }
d14a1e28 7695 {
3adfb63b 7696 if (temp6) delete arg6;
d14a1e28
RD
7697 }
7698 {
7699 if (temp9)
4d5c3d91 7700 delete arg9;
d14a1e28
RD
7701 }
7702 return resultobj;
7703 fail:
7704 {
3adfb63b 7705 if (temp6) delete arg6;
d14a1e28
RD
7706 }
7707 {
7708 if (temp9)
4d5c3d91 7709 delete arg9;
d14a1e28
RD
7710 }
7711 return NULL;
7712}
7713
7714
c32bde28 7715static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7716 PyObject *resultobj = NULL;
d14a1e28
RD
7717 wxListBox *arg1 = (wxListBox *) 0 ;
7718 wxString *arg2 = 0 ;
7719 int arg3 ;
7720 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7721 bool temp2 = false ;
d14a1e28
RD
7722 PyObject * obj0 = 0 ;
7723 PyObject * obj1 = 0 ;
994141e6 7724 PyObject * obj2 = 0 ;
d14a1e28
RD
7725 PyObject * obj3 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7728 };
7729
994141e6 7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7733 {
7734 arg2 = wxString_in_helper(obj1);
7735 if (arg2 == NULL) SWIG_fail;
ae8162c8 7736 temp2 = true;
d14a1e28 7737 }
093d3ff1 7738 {
32fe5131 7739 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7740 if (SWIG_arg_fail(3)) SWIG_fail;
7741 }
d14a1e28
RD
7742 if (obj3) {
7743 arg4 = obj3;
7744 }
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 Py_INCREF(Py_None); resultobj = Py_None;
7753 {
7754 if (temp2)
7755 delete arg2;
7756 }
7757 return resultobj;
7758 fail:
7759 {
7760 if (temp2)
7761 delete arg2;
7762 }
7763 return NULL;
7764}
7765
7766
c32bde28 7767static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7768 PyObject *resultobj = NULL;
d14a1e28
RD
7769 wxListBox *arg1 = (wxListBox *) 0 ;
7770 wxArrayString *arg2 = 0 ;
7771 int arg3 ;
ae8162c8 7772 bool temp2 = false ;
d14a1e28
RD
7773 PyObject * obj0 = 0 ;
7774 PyObject * obj1 = 0 ;
994141e6 7775 PyObject * obj2 = 0 ;
d14a1e28
RD
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "items",(char *) "pos", NULL
7778 };
7779
994141e6 7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7783 {
7784 if (! PySequence_Check(obj1)) {
7785 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7786 SWIG_fail;
7787 }
7788 arg2 = new wxArrayString;
ae8162c8 7789 temp2 = true;
d14a1e28
RD
7790 int i, len=PySequence_Length(obj1);
7791 for (i=0; i<len; i++) {
7792 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7793 wxString* s = wxString_in_helper(item);
74a57fcd 7794 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7795 arg2->Add(*s);
7796 delete s;
d14a1e28 7797 Py_DECREF(item);
d14a1e28
RD
7798 }
7799 }
093d3ff1 7800 {
32fe5131 7801 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7802 if (SWIG_arg_fail(3)) SWIG_fail;
7803 }
d14a1e28
RD
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 {
3adfb63b 7813 if (temp2) delete arg2;
d14a1e28
RD
7814 }
7815 return resultobj;
7816 fail:
7817 {
3adfb63b 7818 if (temp2) delete arg2;
d14a1e28
RD
7819 }
7820 return NULL;
7821}
7822
7823
c32bde28 7824static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7825 PyObject *resultobj = NULL;
d14a1e28
RD
7826 wxListBox *arg1 = (wxListBox *) 0 ;
7827 wxArrayString *arg2 = 0 ;
ae8162c8 7828 bool temp2 = false ;
d14a1e28
RD
7829 PyObject * obj0 = 0 ;
7830 PyObject * obj1 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self",(char *) "items", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7838 {
7839 if (! PySequence_Check(obj1)) {
7840 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7841 SWIG_fail;
7842 }
7843 arg2 = new wxArrayString;
ae8162c8 7844 temp2 = true;
d14a1e28
RD
7845 int i, len=PySequence_Length(obj1);
7846 for (i=0; i<len; i++) {
7847 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7848 wxString* s = wxString_in_helper(item);
74a57fcd 7849 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7850 arg2->Add(*s);
7851 delete s;
d14a1e28 7852 Py_DECREF(item);
d14a1e28
RD
7853 }
7854 }
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 (arg1)->Set((wxArrayString const &)*arg2);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 {
3adfb63b 7864 if (temp2) delete arg2;
d14a1e28
RD
7865 }
7866 return resultobj;
7867 fail:
7868 {
3adfb63b 7869 if (temp2) delete arg2;
d14a1e28
RD
7870 }
7871 return NULL;
7872}
7873
7874
c32bde28 7875static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7876 PyObject *resultobj = NULL;
d14a1e28
RD
7877 wxListBox *arg1 = (wxListBox *) 0 ;
7878 int arg2 ;
7879 bool result;
7880 PyObject * obj0 = 0 ;
994141e6 7881 PyObject * obj1 = 0 ;
d14a1e28
RD
7882 char *kwnames[] = {
7883 (char *) "self",(char *) "n", NULL
7884 };
7885
994141e6 7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7888 if (SWIG_arg_fail(1)) SWIG_fail;
7889 {
32fe5131 7890 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7891 if (SWIG_arg_fail(2)) SWIG_fail;
7892 }
d14a1e28
RD
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
4f89f6a3
RD
7900 {
7901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7902 }
d14a1e28
RD
7903 return resultobj;
7904 fail:
7905 return NULL;
7906}
7907
7908
c32bde28 7909static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7910 PyObject *resultobj = NULL;
d14a1e28
RD
7911 wxListBox *arg1 = (wxListBox *) 0 ;
7912 int arg2 ;
ae8162c8 7913 bool arg3 = (bool) true ;
d14a1e28 7914 PyObject * obj0 = 0 ;
994141e6 7915 PyObject * obj1 = 0 ;
d14a1e28
RD
7916 PyObject * obj2 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self",(char *) "n",(char *) "select", NULL
7919 };
7920
994141e6 7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail;
7924 {
32fe5131 7925 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7926 if (SWIG_arg_fail(2)) SWIG_fail;
7927 }
d14a1e28 7928 if (obj2) {
093d3ff1 7929 {
32fe5131 7930 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
7931 if (SWIG_arg_fail(3)) SWIG_fail;
7932 }
d14a1e28
RD
7933 }
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 (arg1)->SetSelection(arg2,arg3);
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 Py_INCREF(Py_None); resultobj = Py_None;
7942 return resultobj;
7943 fail:
7944 return NULL;
7945}
7946
7947
c32bde28 7948static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7949 PyObject *resultobj = NULL;
d14a1e28
RD
7950 wxListBox *arg1 = (wxListBox *) 0 ;
7951 int arg2 ;
7952 PyObject * obj0 = 0 ;
994141e6 7953 PyObject * obj1 = 0 ;
d14a1e28
RD
7954 char *kwnames[] = {
7955 (char *) "self",(char *) "n", NULL
7956 };
7957
994141e6 7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail;
7961 {
32fe5131 7962 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7963 if (SWIG_arg_fail(2)) SWIG_fail;
7964 }
d14a1e28
RD
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 (arg1)->Select(arg2);
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 Py_INCREF(Py_None); resultobj = Py_None;
7973 return resultobj;
7974 fail:
7975 return NULL;
7976}
7977
7978
c32bde28 7979static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7980 PyObject *resultobj = NULL;
d14a1e28
RD
7981 wxListBox *arg1 = (wxListBox *) 0 ;
7982 int arg2 ;
7983 PyObject * obj0 = 0 ;
994141e6 7984 PyObject * obj1 = 0 ;
d14a1e28
RD
7985 char *kwnames[] = {
7986 (char *) "self",(char *) "n", NULL
7987 };
7988
994141e6 7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7991 if (SWIG_arg_fail(1)) SWIG_fail;
7992 {
32fe5131 7993 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7994 if (SWIG_arg_fail(2)) SWIG_fail;
7995 }
d14a1e28
RD
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->Deselect(arg2);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007}
8008
8009
c32bde28 8010static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8011 PyObject *resultobj = NULL;
d14a1e28
RD
8012 wxListBox *arg1 = (wxListBox *) 0 ;
8013 int arg2 = (int) -1 ;
8014 PyObject * obj0 = 0 ;
994141e6 8015 PyObject * obj1 = 0 ;
d14a1e28
RD
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "itemToLeaveSelected", NULL
8018 };
8019
994141e6 8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 8023 if (obj1) {
093d3ff1 8024 {
32fe5131 8025 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8026 if (SWIG_arg_fail(2)) SWIG_fail;
8027 }
994141e6 8028 }
d14a1e28
RD
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 (arg1)->DeselectAll(arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 Py_INCREF(Py_None); resultobj = Py_None;
8037 return resultobj;
8038 fail:
8039 return NULL;
8040}
8041
8042
c32bde28 8043static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8044 PyObject *resultobj = NULL;
d14a1e28
RD
8045 wxListBox *arg1 = (wxListBox *) 0 ;
8046 wxString *arg2 = 0 ;
ae8162c8 8047 bool arg3 = (bool) true ;
d14a1e28 8048 bool result;
ae8162c8 8049 bool temp2 = false ;
d14a1e28
RD
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 PyObject * obj2 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self",(char *) "s",(char *) "select", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8060 {
8061 arg2 = wxString_in_helper(obj1);
8062 if (arg2 == NULL) SWIG_fail;
ae8162c8 8063 temp2 = true;
d14a1e28
RD
8064 }
8065 if (obj2) {
093d3ff1 8066 {
32fe5131 8067 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8068 if (SWIG_arg_fail(3)) SWIG_fail;
8069 }
d14a1e28
RD
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
4f89f6a3
RD
8078 {
8079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8080 }
d14a1e28
RD
8081 {
8082 if (temp2)
8083 delete arg2;
8084 }
8085 return resultobj;
8086 fail:
8087 {
8088 if (temp2)
8089 delete arg2;
8090 }
8091 return NULL;
8092}
8093
8094
c32bde28 8095static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8096 PyObject *resultobj = NULL;
d14a1e28
RD
8097 wxListBox *arg1 = (wxListBox *) 0 ;
8098 PyObject *result;
8099 PyObject * obj0 = 0 ;
8100 char *kwnames[] = {
8101 (char *) "self", NULL
8102 };
8103
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
8105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8106 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (PyObject *)wxListBox_GetSelections(arg1);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 resultobj = result;
8115 return resultobj;
8116 fail:
8117 return NULL;
8118}
8119
8120
c32bde28 8121static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8122 PyObject *resultobj = NULL;
d14a1e28
RD
8123 wxListBox *arg1 = (wxListBox *) 0 ;
8124 int arg2 ;
8125 PyObject * obj0 = 0 ;
994141e6 8126 PyObject * obj1 = 0 ;
d14a1e28
RD
8127 char *kwnames[] = {
8128 (char *) "self",(char *) "n", NULL
8129 };
8130
994141e6 8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail;
8134 {
32fe5131 8135 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8136 if (SWIG_arg_fail(2)) SWIG_fail;
8137 }
d14a1e28
RD
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->SetFirstItem(arg2);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 Py_INCREF(Py_None); resultobj = Py_None;
8146 return resultobj;
8147 fail:
8148 return NULL;
8149}
8150
8151
c32bde28 8152static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8153 PyObject *resultobj = NULL;
d14a1e28
RD
8154 wxListBox *arg1 = (wxListBox *) 0 ;
8155 wxString *arg2 = 0 ;
ae8162c8 8156 bool temp2 = false ;
d14a1e28
RD
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self",(char *) "s", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8166 {
8167 arg2 = wxString_in_helper(obj1);
8168 if (arg2 == NULL) SWIG_fail;
ae8162c8 8169 temp2 = true;
d14a1e28
RD
8170 }
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 (arg1)->SetFirstItem((wxString const &)*arg2);
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 Py_INCREF(Py_None); resultobj = Py_None;
8179 {
8180 if (temp2)
8181 delete arg2;
8182 }
8183 return resultobj;
8184 fail:
8185 {
8186 if (temp2)
8187 delete arg2;
8188 }
8189 return NULL;
8190}
8191
8192
c32bde28 8193static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8194 PyObject *resultobj = NULL;
d14a1e28
RD
8195 wxListBox *arg1 = (wxListBox *) 0 ;
8196 int arg2 ;
8197 PyObject * obj0 = 0 ;
994141e6 8198 PyObject * obj1 = 0 ;
d14a1e28
RD
8199 char *kwnames[] = {
8200 (char *) "self",(char *) "n", NULL
8201 };
8202
994141e6 8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail;
8206 {
32fe5131 8207 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8208 if (SWIG_arg_fail(2)) SWIG_fail;
8209 }
d14a1e28
RD
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 (arg1)->EnsureVisible(arg2);
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 Py_INCREF(Py_None); resultobj = Py_None;
8218 return resultobj;
8219 fail:
8220 return NULL;
8221}
8222
8223
c32bde28 8224static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8225 PyObject *resultobj = NULL;
d14a1e28
RD
8226 wxListBox *arg1 = (wxListBox *) 0 ;
8227 wxString *arg2 = 0 ;
ae8162c8 8228 bool temp2 = false ;
d14a1e28
RD
8229 PyObject * obj0 = 0 ;
8230 PyObject * obj1 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self",(char *) "s", NULL
8233 };
8234
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8237 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8238 {
8239 arg2 = wxString_in_helper(obj1);
8240 if (arg2 == NULL) SWIG_fail;
ae8162c8 8241 temp2 = true;
d14a1e28
RD
8242 }
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 Py_INCREF(Py_None); resultobj = Py_None;
8251 {
8252 if (temp2)
8253 delete arg2;
8254 }
8255 return resultobj;
8256 fail:
8257 {
8258 if (temp2)
8259 delete arg2;
8260 }
8261 return NULL;
8262}
8263
8264
c32bde28 8265static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8266 PyObject *resultobj = NULL;
d14a1e28
RD
8267 wxListBox *arg1 = (wxListBox *) 0 ;
8268 bool result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
8275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)((wxListBox const *)arg1)->IsSorted();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
4f89f6a3
RD
8284 {
8285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8286 }
d14a1e28
RD
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
c32bde28 8293static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8294 PyObject *resultobj = NULL;
c3eb6258
RD
8295 wxListBox *arg1 = (wxListBox *) 0 ;
8296 int arg2 ;
8297 wxColour *arg3 = 0 ;
8298 wxColour temp3 ;
8299 PyObject * obj0 = 0 ;
8300 PyObject * obj1 = 0 ;
8301 PyObject * obj2 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self",(char *) "item",(char *) "c", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8308 if (SWIG_arg_fail(1)) SWIG_fail;
8309 {
32fe5131 8310 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8311 if (SWIG_arg_fail(2)) SWIG_fail;
8312 }
c3eb6258
RD
8313 {
8314 arg3 = &temp3;
8315 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 Py_INCREF(Py_None); resultobj = Py_None;
8325 return resultobj;
8326 fail:
8327 return NULL;
8328}
8329
8330
c32bde28 8331static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8332 PyObject *resultobj = NULL;
c3eb6258
RD
8333 wxListBox *arg1 = (wxListBox *) 0 ;
8334 int arg2 ;
8335 wxColour *arg3 = 0 ;
8336 wxColour temp3 ;
8337 PyObject * obj0 = 0 ;
8338 PyObject * obj1 = 0 ;
8339 PyObject * obj2 = 0 ;
8340 char *kwnames[] = {
8341 (char *) "self",(char *) "item",(char *) "c", NULL
8342 };
8343
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8346 if (SWIG_arg_fail(1)) SWIG_fail;
8347 {
32fe5131 8348 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8349 if (SWIG_arg_fail(2)) SWIG_fail;
8350 }
c3eb6258
RD
8351 {
8352 arg3 = &temp3;
8353 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8354 }
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 Py_INCREF(Py_None); resultobj = Py_None;
8363 return resultobj;
8364 fail:
8365 return NULL;
8366}
8367
8368
c32bde28 8369static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8370 PyObject *resultobj = NULL;
c3eb6258
RD
8371 wxListBox *arg1 = (wxListBox *) 0 ;
8372 int arg2 ;
8373 wxFont *arg3 = 0 ;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376 PyObject * obj2 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self",(char *) "item",(char *) "f", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8383 if (SWIG_arg_fail(1)) SWIG_fail;
8384 {
32fe5131 8385 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8386 if (SWIG_arg_fail(2)) SWIG_fail;
8387 }
8388 {
8389 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8390 if (SWIG_arg_fail(3)) SWIG_fail;
8391 if (arg3 == NULL) {
8392 SWIG_null_ref("wxFont");
8393 }
8394 if (SWIG_arg_fail(3)) SWIG_fail;
c3eb6258
RD
8395 }
8396 {
8397 PyThreadState* __tstate = wxPyBeginAllowThreads();
8398 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8399
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 Py_INCREF(Py_None); resultobj = Py_None;
8404 return resultobj;
8405 fail:
8406 return NULL;
8407}
8408
8409
c32bde28 8410static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8411 PyObject *resultobj = NULL;
093d3ff1 8412 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
8413 wxVisualAttributes result;
8414 PyObject * obj0 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "variant", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8420 if (obj0) {
093d3ff1 8421 {
32fe5131 8422 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
8423 if (SWIG_arg_fail(1)) SWIG_fail;
8424 }
74a57fcd
RD
8425 }
8426 {
110da5b0 8427 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd 8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8429 result = wxListBox::GetClassDefaultAttributes(arg1);
74a57fcd
RD
8430
8431 wxPyEndAllowThreads(__tstate);
dfbb5885 8432 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
8433 }
8434 {
8435 wxVisualAttributes * resultptr;
32fe5131 8436 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
74a57fcd
RD
8437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8438 }
8439 return resultobj;
8440 fail:
8441 return NULL;
8442}
8443
8444
c32bde28 8445static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8446 PyObject *obj;
8447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8449 Py_INCREF(obj);
8450 return Py_BuildValue((char *)"");
8451}
c32bde28 8452static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8453 PyObject *resultobj = NULL;
d14a1e28 8454 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8455 int arg2 = (int) -1 ;
d14a1e28
RD
8456 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8457 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8458 wxSize const &arg4_defvalue = wxDefaultSize ;
8459 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
8460 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8461 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8462 long arg6 = (long) 0 ;
8463 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8464 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8465 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8466 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
8467 wxCheckListBox *result;
8468 wxPoint temp3 ;
8469 wxSize temp4 ;
ae8162c8
RD
8470 bool temp5 = false ;
8471 bool temp8 = false ;
d14a1e28 8472 PyObject * obj0 = 0 ;
994141e6 8473 PyObject * obj1 = 0 ;
d14a1e28
RD
8474 PyObject * obj2 = 0 ;
8475 PyObject * obj3 = 0 ;
8476 PyObject * obj4 = 0 ;
994141e6 8477 PyObject * obj5 = 0 ;
d14a1e28
RD
8478 PyObject * obj6 = 0 ;
8479 PyObject * obj7 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8482 };
8483
248ed943 8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8487 if (obj1) {
093d3ff1 8488 {
32fe5131 8489 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8490 if (SWIG_arg_fail(2)) SWIG_fail;
8491 }
248ed943 8492 }
d14a1e28
RD
8493 if (obj2) {
8494 {
8495 arg3 = &temp3;
8496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8497 }
8498 }
8499 if (obj3) {
8500 {
8501 arg4 = &temp4;
8502 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8503 }
8504 }
8505 if (obj4) {
8506 {
4d5c3d91
RD
8507 if (! PySequence_Check(obj4)) {
8508 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8509 SWIG_fail;
8510 }
8511 arg5 = new wxArrayString;
ae8162c8 8512 temp5 = true;
4d5c3d91
RD
8513 int i, len=PySequence_Length(obj4);
8514 for (i=0; i<len; i++) {
8515 PyObject* item = PySequence_GetItem(obj4, i);
71237536 8516 wxString* s = wxString_in_helper(item);
74a57fcd 8517 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8518 arg5->Add(*s);
8519 delete s;
4d5c3d91 8520 Py_DECREF(item);
4d5c3d91 8521 }
d14a1e28
RD
8522 }
8523 }
994141e6 8524 if (obj5) {
093d3ff1 8525 {
32fe5131 8526 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
8527 if (SWIG_arg_fail(6)) SWIG_fail;
8528 }
994141e6 8529 }
d14a1e28 8530 if (obj6) {
093d3ff1
RD
8531 {
8532 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8533 if (SWIG_arg_fail(7)) SWIG_fail;
8534 if (arg7 == NULL) {
8535 SWIG_null_ref("wxValidator");
8536 }
8537 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
8538 }
8539 }
8540 if (obj7) {
8541 {
4d5c3d91
RD
8542 arg8 = wxString_in_helper(obj7);
8543 if (arg8 == NULL) SWIG_fail;
ae8162c8 8544 temp8 = true;
d14a1e28
RD
8545 }
8546 }
8547 {
e3b71cb8 8548 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8550 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
8551
8552 wxPyEndAllowThreads(__tstate);
110da5b0 8553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8554 }
15afbcd0 8555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 8556 {
3adfb63b 8557 if (temp5) delete arg5;
d14a1e28
RD
8558 }
8559 {
8560 if (temp8)
4d5c3d91 8561 delete arg8;
d14a1e28
RD
8562 }
8563 return resultobj;
8564 fail:
8565 {
3adfb63b 8566 if (temp5) delete arg5;
d14a1e28
RD
8567 }
8568 {
8569 if (temp8)
4d5c3d91 8570 delete arg8;
d14a1e28
RD
8571 }
8572 return NULL;
8573}
8574
8575
c32bde28 8576static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8577 PyObject *resultobj = NULL;
d14a1e28
RD
8578 wxCheckListBox *result;
8579 char *kwnames[] = {
8580 NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8584 {
e3b71cb8 8585 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
8587 result = (wxCheckListBox *)new wxCheckListBox();
8588
8589 wxPyEndAllowThreads(__tstate);
110da5b0 8590 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8591 }
15afbcd0 8592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
8593 return resultobj;
8594 fail:
8595 return NULL;
8596}
8597
8598
c32bde28 8599static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8600 PyObject *resultobj = NULL;
d14a1e28
RD
8601 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8602 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8603 int arg3 = (int) -1 ;
d14a1e28
RD
8604 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8605 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8606 wxSize const &arg5_defvalue = wxDefaultSize ;
8607 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
8608 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8609 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8610 long arg7 = (long) 0 ;
8611 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8612 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8613 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8614 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
8615 bool result;
8616 wxPoint temp4 ;
8617 wxSize temp5 ;
ae8162c8
RD
8618 bool temp6 = false ;
8619 bool temp9 = false ;
d14a1e28
RD
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
994141e6 8622 PyObject * obj2 = 0 ;
d14a1e28
RD
8623 PyObject * obj3 = 0 ;
8624 PyObject * obj4 = 0 ;
8625 PyObject * obj5 = 0 ;
994141e6 8626 PyObject * obj6 = 0 ;
d14a1e28
RD
8627 PyObject * obj7 = 0 ;
8628 PyObject * obj8 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8631 };
8632
248ed943 8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8635 if (SWIG_arg_fail(1)) SWIG_fail;
8636 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8637 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8638 if (obj2) {
093d3ff1 8639 {
32fe5131 8640 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8641 if (SWIG_arg_fail(3)) SWIG_fail;
8642 }
248ed943 8643 }
d14a1e28
RD
8644 if (obj3) {
8645 {
8646 arg4 = &temp4;
8647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8648 }
8649 }
8650 if (obj4) {
8651 {
8652 arg5 = &temp5;
8653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8654 }
8655 }
8656 if (obj5) {
8657 {
4d5c3d91
RD
8658 if (! PySequence_Check(obj5)) {
8659 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8660 SWIG_fail;
8661 }
8662 arg6 = new wxArrayString;
ae8162c8 8663 temp6 = true;
4d5c3d91
RD
8664 int i, len=PySequence_Length(obj5);
8665 for (i=0; i<len; i++) {
8666 PyObject* item = PySequence_GetItem(obj5, i);
71237536 8667 wxString* s = wxString_in_helper(item);
74a57fcd 8668 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8669 arg6->Add(*s);
8670 delete s;
4d5c3d91 8671 Py_DECREF(item);
4d5c3d91 8672 }
d14a1e28
RD
8673 }
8674 }
994141e6 8675 if (obj6) {
093d3ff1 8676 {
32fe5131 8677 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
8678 if (SWIG_arg_fail(7)) SWIG_fail;
8679 }
994141e6 8680 }
d14a1e28 8681 if (obj7) {
093d3ff1
RD
8682 {
8683 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8684 if (SWIG_arg_fail(8)) SWIG_fail;
8685 if (arg8 == NULL) {
8686 SWIG_null_ref("wxValidator");
8687 }
8688 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
8689 }
8690 }
8691 if (obj8) {
8692 {
4d5c3d91
RD
8693 arg9 = wxString_in_helper(obj8);
8694 if (arg9 == NULL) SWIG_fail;
ae8162c8 8695 temp9 = true;
d14a1e28
RD
8696 }
8697 }
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8700 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
4f89f6a3
RD
8705 {
8706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8707 }
d14a1e28 8708 {
3adfb63b 8709 if (temp6) delete arg6;
d14a1e28
RD
8710 }
8711 {
8712 if (temp9)
4d5c3d91 8713 delete arg9;
d14a1e28
RD
8714 }
8715 return resultobj;
8716 fail:
8717 {
3adfb63b 8718 if (temp6) delete arg6;
d14a1e28
RD
8719 }
8720 {
8721 if (temp9)
4d5c3d91 8722 delete arg9;
d14a1e28
RD
8723 }
8724 return NULL;
8725}
8726
8727
c32bde28 8728static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8729 PyObject *resultobj = NULL;
d14a1e28
RD
8730 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8731 int arg2 ;
8732 bool result;
8733 PyObject * obj0 = 0 ;
994141e6 8734 PyObject * obj1 = 0 ;
d14a1e28
RD
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "index", NULL
8737 };
8738
994141e6 8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail;
8742 {
32fe5131 8743 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8744 if (SWIG_arg_fail(2)) SWIG_fail;
8745 }
d14a1e28
RD
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (bool)(arg1)->IsChecked(arg2);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
4f89f6a3
RD
8753 {
8754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8755 }
d14a1e28
RD
8756 return resultobj;
8757 fail:
8758 return NULL;
8759}
8760
8761
c32bde28 8762static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8763 PyObject *resultobj = NULL;
d14a1e28
RD
8764 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8765 int arg2 ;
ae8162c8 8766 int arg3 = (int) true ;
d14a1e28 8767 PyObject * obj0 = 0 ;
994141e6
RD
8768 PyObject * obj1 = 0 ;
8769 PyObject * obj2 = 0 ;
d14a1e28
RD
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "index",(char *) "check", NULL
8772 };
8773
994141e6 8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail;
8777 {
32fe5131 8778 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8779 if (SWIG_arg_fail(2)) SWIG_fail;
8780 }
994141e6 8781 if (obj2) {
093d3ff1 8782 {
32fe5131 8783 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8784 if (SWIG_arg_fail(3)) SWIG_fail;
8785 }
994141e6 8786 }
d14a1e28
RD
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 (arg1)->Check(arg2,arg3);
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 Py_INCREF(Py_None); resultobj = Py_None;
8795 return resultobj;
8796 fail:
8797 return NULL;
8798}
8799
8800
c32bde28 8801static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8802 PyObject *resultobj = NULL;
d14a1e28
RD
8803 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8804 int result;
8805 PyObject * obj0 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (int)(arg1)->GetItemHeight();
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
093d3ff1 8820 {
32fe5131 8821 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8822 }
d14a1e28
RD
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
c32bde28 8829static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8830 PyObject *resultobj = NULL;
d14a1e28
RD
8831 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8832 wxPoint *arg2 = 0 ;
8833 int result;
8834 wxPoint temp2 ;
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "pt", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8844 {
8845 arg2 = &temp2;
8846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
093d3ff1 8855 {
32fe5131 8856 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8857 }
d14a1e28
RD
8858 return resultobj;
8859 fail:
8860 return NULL;
8861}
8862
8863
c32bde28 8864static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8865 PyObject *resultobj = NULL;
d14a1e28 8866 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
8867 int arg2 ;
8868 int arg3 ;
d14a1e28
RD
8869 int result;
8870 PyObject * obj0 = 0 ;
994141e6
RD
8871 PyObject * obj1 = 0 ;
8872 PyObject * obj2 = 0 ;
d14a1e28
RD
8873 char *kwnames[] = {
8874 (char *) "self",(char *) "x",(char *) "y", NULL
8875 };
8876
994141e6 8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail;
8880 {
32fe5131 8881 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8882 if (SWIG_arg_fail(2)) SWIG_fail;
8883 }
8884 {
32fe5131 8885 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8886 if (SWIG_arg_fail(3)) SWIG_fail;
8887 }
d14a1e28
RD
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
093d3ff1 8895 {
32fe5131 8896 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8897 }
d14a1e28
RD
8898 return resultobj;
8899 fail:
8900 return NULL;
8901}
8902
8903
c32bde28 8904static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8905 PyObject *obj;
8906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8907 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8908 Py_INCREF(obj);
8909 return Py_BuildValue((char *)"");
8910}
c32bde28 8911static int _wrap_TextCtrlNameStr_set(PyObject *) {
b2dc1044
RD
8912 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8913 return 1;
8914}
8915
8916
093d3ff1 8917static PyObject *_wrap_TextCtrlNameStr_get(void) {
32fe5131 8918 PyObject *pyobj = NULL;
b2dc1044
RD
8919
8920 {
8921#if wxUSE_UNICODE
8922 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8923#else
8924 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8925#endif
8926 }
8927 return pyobj;
8928}
8929
8930
c32bde28 8931static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8932 PyObject *resultobj = NULL;
908b74cd
RD
8933 wxColour const &arg1_defvalue = wxNullColour ;
8934 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d14a1e28
RD
8935 wxColour const &arg2_defvalue = wxNullColour ;
8936 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8937 wxFont const &arg3_defvalue = wxNullFont ;
8938 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8939 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d14a1e28
RD
8940 wxTextAttr *result;
8941 wxColour temp1 ;
8942 wxColour temp2 ;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 PyObject * obj2 = 0 ;
994141e6 8946 PyObject * obj3 = 0 ;
908b74cd
RD
8947 char *kwnames[] = {
8948 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8949 };
d14a1e28 8950
908b74cd
RD
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8952 if (obj0) {
8953 {
8954 arg1 = &temp1;
8955 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8956 }
d14a1e28
RD
8957 }
8958 if (obj1) {
8959 {
8960 arg2 = &temp2;
8961 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8962 }
8963 }
8964 if (obj2) {
093d3ff1
RD
8965 {
8966 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8967 if (SWIG_arg_fail(3)) SWIG_fail;
8968 if (arg3 == NULL) {
8969 SWIG_null_ref("wxFont");
8970 }
8971 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
8972 }
8973 }
994141e6 8974 if (obj3) {
093d3ff1 8975 {
32fe5131 8976 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
093d3ff1
RD
8977 if (SWIG_arg_fail(4)) SWIG_fail;
8978 }
994141e6 8979 }
d14a1e28
RD
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8982 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
d14a1e28
RD
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
15afbcd0 8987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
8988 return resultobj;
8989 fail:
8990 return NULL;
8991}
8992
8993
c32bde28 8994static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8995 PyObject *resultobj = NULL;
d14a1e28
RD
8996 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8997 PyObject * obj0 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self", NULL
9000 };
9001
994141e6 9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
9003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 9007 delete arg1;
d14a1e28
RD
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 Py_INCREF(Py_None); resultobj = Py_None;
9013 return resultobj;
9014 fail:
9015 return NULL;
9016}
9017
9018
c32bde28 9019static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9020 PyObject *resultobj = NULL;
994141e6
RD
9021 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9022 PyObject * obj0 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
9028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 (arg1)->Init();
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 Py_INCREF(Py_None); resultobj = Py_None;
9038 return resultobj;
9039 fail:
9040 return NULL;
9041}
9042
9043
c32bde28 9044static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9045 PyObject *resultobj = NULL;
d14a1e28
RD
9046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9047 wxColour *arg2 = 0 ;
9048 wxColour temp2 ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self",(char *) "colText", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9057 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9058 {
9059 arg2 = &temp2;
9060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9061 }
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 (arg1)->SetTextColour((wxColour const &)*arg2);
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 Py_INCREF(Py_None); resultobj = Py_None;
9070 return resultobj;
9071 fail:
9072 return NULL;
9073}
9074
9075
c32bde28 9076static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9077 PyObject *resultobj = NULL;
d14a1e28
RD
9078 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9079 wxColour *arg2 = 0 ;
9080 wxColour temp2 ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "colBack", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9089 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9090 {
9091 arg2 = &temp2;
9092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9093 }
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 Py_INCREF(Py_None); resultobj = Py_None;
9102 return resultobj;
9103 fail:
9104 return NULL;
9105}
9106
9107
c32bde28 9108static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9109 PyObject *resultobj = NULL;
d14a1e28
RD
9110 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9111 wxFont *arg2 = 0 ;
9112 long arg3 = (long) wxTEXT_ATTR_FONT ;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj1 = 0 ;
994141e6 9115 PyObject * obj2 = 0 ;
d14a1e28
RD
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "font",(char *) "flags", NULL
9118 };
9119
994141e6 9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail;
9123 {
9124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9125 if (SWIG_arg_fail(2)) SWIG_fail;
9126 if (arg2 == NULL) {
9127 SWIG_null_ref("wxFont");
9128 }
9129 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 9130 }
994141e6 9131 if (obj2) {
093d3ff1 9132 {
32fe5131 9133 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
9134 if (SWIG_arg_fail(3)) SWIG_fail;
9135 }
994141e6 9136 }
d14a1e28
RD
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148}
9149
9150
c32bde28 9151static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9152 PyObject *resultobj = NULL;
d14a1e28 9153 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9154 wxTextAttrAlignment arg2 ;
d14a1e28 9155 PyObject * obj0 = 0 ;
994141e6 9156 PyObject * obj1 = 0 ;
d14a1e28
RD
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "alignment", NULL
9159 };
9160
994141e6 9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail;
9164 {
32fe5131 9165 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
093d3ff1
RD
9166 if (SWIG_arg_fail(2)) SWIG_fail;
9167 }
d14a1e28
RD
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9170 (arg1)->SetAlignment(arg2);
d14a1e28
RD
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179}
9180
9181
c32bde28 9182static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9183 PyObject *resultobj = NULL;
d14a1e28
RD
9184 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9185 wxArrayInt *arg2 = 0 ;
ae8162c8 9186 bool temp2 = false ;
d14a1e28
RD
9187 PyObject * obj0 = 0 ;
9188 PyObject * obj1 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self",(char *) "tabs", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9196 {
9197 if (! PySequence_Check(obj1)) {
9198 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9199 SWIG_fail;
9200 }
9201 arg2 = new wxArrayInt;
ae8162c8 9202 temp2 = true;
d14a1e28
RD
9203 int i, len=PySequence_Length(obj1);
9204 for (i=0; i<len; i++) {
9205 PyObject* item = PySequence_GetItem(obj1, i);
9206 PyObject* number = PyNumber_Int(item);
9207 arg2->Add(PyInt_AS_LONG(number));
9208 Py_DECREF(item);
9209 Py_DECREF(number);
9210 }
9211 }
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 Py_INCREF(Py_None); resultobj = Py_None;
9220 {
3adfb63b 9221 if (temp2) delete arg2;
d14a1e28
RD
9222 }
9223 return resultobj;
9224 fail:
9225 {
3adfb63b 9226 if (temp2) delete arg2;
d14a1e28
RD
9227 }
9228 return NULL;
9229}
9230
9231
c32bde28 9232static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9233 PyObject *resultobj = NULL;
d14a1e28
RD
9234 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9235 int arg2 ;
5e4ca4a8 9236 int arg3 = (int) 0 ;
d14a1e28 9237 PyObject * obj0 = 0 ;
994141e6 9238 PyObject * obj1 = 0 ;
5e4ca4a8 9239 PyObject * obj2 = 0 ;
d14a1e28 9240 char *kwnames[] = {
5e4ca4a8 9241 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d14a1e28
RD
9242 };
9243
5e4ca4a8 9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail;
9247 {
32fe5131 9248 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9249 if (SWIG_arg_fail(2)) SWIG_fail;
9250 }
5e4ca4a8 9251 if (obj2) {
093d3ff1 9252 {
32fe5131 9253 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9254 if (SWIG_arg_fail(3)) SWIG_fail;
9255 }
5e4ca4a8 9256 }
d14a1e28
RD
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e4ca4a8 9259 (arg1)->SetLeftIndent(arg2,arg3);
d14a1e28
RD
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
c32bde28 9271static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9272 PyObject *resultobj = NULL;
d14a1e28
RD
9273 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9274 int arg2 ;
9275 PyObject * obj0 = 0 ;
994141e6 9276 PyObject * obj1 = 0 ;
d14a1e28
RD
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "indent", NULL
9279 };
9280
994141e6 9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail;
9284 {
32fe5131 9285 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9286 if (SWIG_arg_fail(2)) SWIG_fail;
9287 }
d14a1e28
RD
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 (arg1)->SetRightIndent(arg2);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 Py_INCREF(Py_None); resultobj = Py_None;
9296 return resultobj;
9297 fail:
9298 return NULL;
9299}
9300
9301
c32bde28 9302static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9303 PyObject *resultobj = NULL;
d14a1e28
RD
9304 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9305 long arg2 ;
9306 PyObject * obj0 = 0 ;
994141e6 9307 PyObject * obj1 = 0 ;
d14a1e28
RD
9308 char *kwnames[] = {
9309 (char *) "self",(char *) "flags", NULL
9310 };
9311
994141e6 9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail;
9315 {
32fe5131 9316 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
9317 if (SWIG_arg_fail(2)) SWIG_fail;
9318 }
d14a1e28
RD
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->SetFlags(arg2);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 return resultobj;
9328 fail:
9329 return NULL;
9330}
9331
9332
c32bde28 9333static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9334 PyObject *resultobj = NULL;
d14a1e28
RD
9335 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9336 bool result;
9337 PyObject * obj0 = 0 ;
9338 char *kwnames[] = {
9339 (char *) "self", NULL
9340 };
9341
9342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
4f89f6a3
RD
9352 {
9353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9354 }
d14a1e28
RD
9355 return resultobj;
9356 fail:
9357 return NULL;
9358}
9359
9360
c32bde28 9361static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9362 PyObject *resultobj = NULL;
d14a1e28
RD
9363 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9364 bool result;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9372 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
4f89f6a3
RD
9380 {
9381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9382 }
d14a1e28
RD
9383 return resultobj;
9384 fail:
9385 return NULL;
9386}
9387
9388
c32bde28 9389static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9390 PyObject *resultobj = NULL;
d14a1e28
RD
9391 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9392 bool result;
9393 PyObject * obj0 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "self", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
4f89f6a3
RD
9408 {
9409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9410 }
d14a1e28
RD
9411 return resultobj;
9412 fail:
9413 return NULL;
9414}
9415
9416
c32bde28 9417static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9418 PyObject *resultobj = NULL;
d14a1e28
RD
9419 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9420 bool result;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
4f89f6a3
RD
9436 {
9437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9438 }
d14a1e28
RD
9439 return resultobj;
9440 fail:
9441 return NULL;
9442}
9443
9444
c32bde28 9445static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9446 PyObject *resultobj = NULL;
d14a1e28
RD
9447 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9448 bool result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
4f89f6a3
RD
9464 {
9465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9466 }
d14a1e28
RD
9467 return resultobj;
9468 fail:
9469 return NULL;
9470}
9471
9472
c32bde28 9473static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9474 PyObject *resultobj = NULL;
d14a1e28
RD
9475 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9476 bool result;
9477 PyObject * obj0 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9485 {
9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
9487 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9488
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
4f89f6a3
RD
9492 {
9493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9494 }
d14a1e28
RD
9495 return resultobj;
9496 fail:
9497 return NULL;
9498}
9499
9500
c32bde28 9501static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9502 PyObject *resultobj = NULL;
d14a1e28
RD
9503 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9504 bool result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
4f89f6a3
RD
9520 {
9521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9522 }
d14a1e28
RD
9523 return resultobj;
9524 fail:
9525 return NULL;
9526}
9527
9528
c32bde28 9529static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9530 PyObject *resultobj = NULL;
d14a1e28
RD
9531 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9532 long arg2 ;
9533 bool result;
9534 PyObject * obj0 = 0 ;
994141e6 9535 PyObject * obj1 = 0 ;
d14a1e28
RD
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "flag", NULL
9538 };
9539
994141e6 9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail;
9543 {
32fe5131 9544 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
9545 if (SWIG_arg_fail(2)) SWIG_fail;
9546 }
d14a1e28
RD
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
4f89f6a3
RD
9554 {
9555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9556 }
d14a1e28
RD
9557 return resultobj;
9558 fail:
9559 return NULL;
9560}
9561
9562
c32bde28 9563static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9564 PyObject *resultobj = NULL;
d14a1e28
RD
9565 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9566 wxColour *result;
9567 PyObject * obj0 = 0 ;
9568 char *kwnames[] = {
9569 (char *) "self", NULL
9570 };
9571
9572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9574 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 {
9578 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9579 result = (wxColour *) &_result_ref;
9580 }
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
15afbcd0 9585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9586 return resultobj;
9587 fail:
9588 return NULL;
9589}
9590
9591
c32bde28 9592static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9593 PyObject *resultobj = NULL;
d14a1e28
RD
9594 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9595 wxColour *result;
9596 PyObject * obj0 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9603 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 {
9607 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9608 result = (wxColour *) &_result_ref;
9609 }
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
15afbcd0 9614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9615 return resultobj;
9616 fail:
9617 return NULL;
9618}
9619
9620
c32bde28 9621static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9622 PyObject *resultobj = NULL;
d14a1e28
RD
9623 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9624 wxFont *result;
9625 PyObject * obj0 = 0 ;
9626 char *kwnames[] = {
9627 (char *) "self", NULL
9628 };
9629
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 {
9636 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9637 result = (wxFont *) &_result_ref;
9638 }
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
4276dc52
RD
9643 {
9644 wxFont* resultptr = new wxFont(*result);
9645 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9646 }
d14a1e28
RD
9647 return resultobj;
9648 fail:
9649 return NULL;
9650}
9651
9652
c32bde28 9653static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9654 PyObject *resultobj = NULL;
d14a1e28 9655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9656 wxTextAttrAlignment result;
d14a1e28
RD
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9667 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d14a1e28
RD
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
093d3ff1 9672 resultobj = SWIG_From_int((result));
d14a1e28
RD
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
c32bde28 9679static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9680 PyObject *resultobj = NULL;
d14a1e28
RD
9681 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9682 wxArrayInt *result;
9683 PyObject * obj0 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9690 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 {
9694 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9695 result = (wxArrayInt *) &_result_ref;
9696 }
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 {
9702 resultobj = PyList_New(0);
9703 size_t idx;
9704 for (idx = 0; idx < result->GetCount(); idx += 1) {
9705 PyObject* val = PyInt_FromLong( result->Item(idx) );
9706 PyList_Append(resultobj, val);
9707 Py_DECREF(val);
9708 }
9709 }
9710 return resultobj;
9711 fail:
9712 return NULL;
9713}
9714
9715
c32bde28 9716static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9717 PyObject *resultobj = NULL;
d14a1e28
RD
9718 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9719 long result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
093d3ff1 9735 {
32fe5131 9736 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9737 }
d14a1e28
RD
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
c32bde28 9744static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9745 PyObject *resultobj = NULL;
5e4ca4a8
RD
9746 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9747 long result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9755 if (SWIG_arg_fail(1)) SWIG_fail;
5e4ca4a8
RD
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
093d3ff1 9763 {
32fe5131 9764 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9765 }
5e4ca4a8
RD
9766 return resultobj;
9767 fail:
9768 return NULL;
9769}
9770
9771
c32bde28 9772static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9773 PyObject *resultobj = NULL;
d14a1e28
RD
9774 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9775 long result;
9776 PyObject * obj0 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "self", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
093d3ff1 9791 {
32fe5131 9792 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9793 }
d14a1e28
RD
9794 return resultobj;
9795 fail:
9796 return NULL;
9797}
9798
9799
c32bde28 9800static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9801 PyObject *resultobj = NULL;
d14a1e28
RD
9802 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9803 long result;
9804 PyObject * obj0 = 0 ;
9805 char *kwnames[] = {
9806 (char *) "self", NULL
9807 };
9808
9809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9811 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
093d3ff1 9819 {
32fe5131 9820 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9821 }
d14a1e28
RD
9822 return resultobj;
9823 fail:
9824 return NULL;
9825}
9826
9827
c32bde28 9828static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9829 PyObject *resultobj = NULL;
d14a1e28
RD
9830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9831 bool result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9839 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
4f89f6a3
RD
9847 {
9848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9849 }
d14a1e28
RD
9850 return resultobj;
9851 fail:
9852 return NULL;
9853}
9854
9855
c32bde28 9856static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9857 PyObject *resultobj = NULL;
d14a1e28
RD
9858 wxTextAttr *arg1 = 0 ;
9859 wxTextAttr *arg2 = 0 ;
9860 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9861 wxTextAttr result;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 PyObject * obj2 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9870 {
9871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9872 if (SWIG_arg_fail(1)) SWIG_fail;
9873 if (arg1 == NULL) {
9874 SWIG_null_ref("wxTextAttr");
9875 }
9876 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9877 }
093d3ff1
RD
9878 {
9879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9880 if (SWIG_arg_fail(2)) SWIG_fail;
9881 if (arg2 == NULL) {
9882 SWIG_null_ref("wxTextAttr");
9883 }
9884 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 9885 }
093d3ff1
RD
9886 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9887 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 {
9896 wxTextAttr * resultptr;
32fe5131 9897 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
15afbcd0 9898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
9899 }
9900 return resultobj;
9901 fail:
9902 return NULL;
9903}
9904
9905
c32bde28 9906static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9907 PyObject *obj;
9908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9909 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9910 Py_INCREF(obj);
9911 return Py_BuildValue((char *)"");
9912}
c32bde28 9913static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9914 PyObject *resultobj = NULL;
d14a1e28 9915 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9916 int arg2 = (int) -1 ;
d14a1e28
RD
9917 wxString const &arg3_defvalue = wxPyEmptyString ;
9918 wxString *arg3 = (wxString *) &arg3_defvalue ;
9919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9921 wxSize const &arg5_defvalue = wxDefaultSize ;
9922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9923 long arg6 = (long) 0 ;
9924 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9925 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9926 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9927 wxString *arg8 = (wxString *) &arg8_defvalue ;
9928 wxTextCtrl *result;
ae8162c8 9929 bool temp3 = false ;
d14a1e28
RD
9930 wxPoint temp4 ;
9931 wxSize temp5 ;
ae8162c8 9932 bool temp8 = false ;
d14a1e28 9933 PyObject * obj0 = 0 ;
994141e6 9934 PyObject * obj1 = 0 ;
d14a1e28
RD
9935 PyObject * obj2 = 0 ;
9936 PyObject * obj3 = 0 ;
9937 PyObject * obj4 = 0 ;
994141e6 9938 PyObject * obj5 = 0 ;
d14a1e28
RD
9939 PyObject * obj6 = 0 ;
9940 PyObject * obj7 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9943 };
9944
248ed943 9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9947 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9948 if (obj1) {
093d3ff1 9949 {
32fe5131 9950 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9951 if (SWIG_arg_fail(2)) SWIG_fail;
9952 }
248ed943 9953 }
d14a1e28
RD
9954 if (obj2) {
9955 {
9956 arg3 = wxString_in_helper(obj2);
9957 if (arg3 == NULL) SWIG_fail;
ae8162c8 9958 temp3 = true;
d14a1e28
RD
9959 }
9960 }
9961 if (obj3) {
9962 {
9963 arg4 = &temp4;
9964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9965 }
9966 }
9967 if (obj4) {
9968 {
9969 arg5 = &temp5;
9970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9971 }
9972 }
994141e6 9973 if (obj5) {
093d3ff1 9974 {
32fe5131 9975 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
9976 if (SWIG_arg_fail(6)) SWIG_fail;
9977 }
994141e6 9978 }
d14a1e28 9979 if (obj6) {
093d3ff1
RD
9980 {
9981 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9982 if (SWIG_arg_fail(7)) SWIG_fail;
9983 if (arg7 == NULL) {
9984 SWIG_null_ref("wxValidator");
9985 }
9986 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
9987 }
9988 }
9989 if (obj7) {
9990 {
9991 arg8 = wxString_in_helper(obj7);
9992 if (arg8 == NULL) SWIG_fail;
ae8162c8 9993 temp8 = true;
d14a1e28
RD
9994 }
9995 }
9996 {
e3b71cb8 9997 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10000
10001 wxPyEndAllowThreads(__tstate);
110da5b0 10002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10003 }
b0f7404b 10004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
10005 {
10006 if (temp3)
10007 delete arg3;
10008 }
10009 {
10010 if (temp8)
10011 delete arg8;
10012 }
10013 return resultobj;
10014 fail:
10015 {
10016 if (temp3)
10017 delete arg3;
10018 }
10019 {
10020 if (temp8)
10021 delete arg8;
10022 }
10023 return NULL;
10024}
10025
10026
c32bde28 10027static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10028 PyObject *resultobj = NULL;
d14a1e28
RD
10029 wxTextCtrl *result;
10030 char *kwnames[] = {
10031 NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
10035 {
e3b71cb8 10036 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (wxTextCtrl *)new wxTextCtrl();
10039
10040 wxPyEndAllowThreads(__tstate);
110da5b0 10041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10042 }
b0f7404b 10043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
10044 return resultobj;
10045 fail:
10046 return NULL;
10047}
10048
10049
c32bde28 10050static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10051 PyObject *resultobj = NULL;
d14a1e28
RD
10052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10053 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10054 int arg3 = (int) -1 ;
d14a1e28
RD
10055 wxString const &arg4_defvalue = wxPyEmptyString ;
10056 wxString *arg4 = (wxString *) &arg4_defvalue ;
10057 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10058 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10059 wxSize const &arg6_defvalue = wxDefaultSize ;
10060 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10061 long arg7 = (long) 0 ;
10062 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10063 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10064 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
10065 wxString *arg9 = (wxString *) &arg9_defvalue ;
10066 bool result;
ae8162c8 10067 bool temp4 = false ;
d14a1e28
RD
10068 wxPoint temp5 ;
10069 wxSize temp6 ;
ae8162c8 10070 bool temp9 = false ;
d14a1e28
RD
10071 PyObject * obj0 = 0 ;
10072 PyObject * obj1 = 0 ;
994141e6 10073 PyObject * obj2 = 0 ;
d14a1e28
RD
10074 PyObject * obj3 = 0 ;
10075 PyObject * obj4 = 0 ;
10076 PyObject * obj5 = 0 ;
994141e6 10077 PyObject * obj6 = 0 ;
d14a1e28
RD
10078 PyObject * obj7 = 0 ;
10079 PyObject * obj8 = 0 ;
10080 char *kwnames[] = {
10081 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10082 };
10083
248ed943 10084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
10085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10086 if (SWIG_arg_fail(1)) SWIG_fail;
10087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10088 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10089 if (obj2) {
093d3ff1 10090 {
32fe5131 10091 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10092 if (SWIG_arg_fail(3)) SWIG_fail;
10093 }
248ed943 10094 }
d14a1e28
RD
10095 if (obj3) {
10096 {
10097 arg4 = wxString_in_helper(obj3);
10098 if (arg4 == NULL) SWIG_fail;
ae8162c8 10099 temp4 = true;
d14a1e28
RD
10100 }
10101 }
10102 if (obj4) {
10103 {
10104 arg5 = &temp5;
10105 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10106 }
10107 }
10108 if (obj5) {
10109 {
10110 arg6 = &temp6;
10111 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10112 }
10113 }
994141e6 10114 if (obj6) {
093d3ff1 10115 {
32fe5131 10116 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
10117 if (SWIG_arg_fail(7)) SWIG_fail;
10118 }
994141e6 10119 }
d14a1e28 10120 if (obj7) {
093d3ff1
RD
10121 {
10122 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
10123 if (SWIG_arg_fail(8)) SWIG_fail;
10124 if (arg8 == NULL) {
10125 SWIG_null_ref("wxValidator");
10126 }
10127 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
10128 }
10129 }
10130 if (obj8) {
10131 {
10132 arg9 = wxString_in_helper(obj8);
10133 if (arg9 == NULL) SWIG_fail;
ae8162c8 10134 temp9 = true;
d14a1e28
RD
10135 }
10136 }
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
4f89f6a3
RD
10144 {
10145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10146 }
d14a1e28
RD
10147 {
10148 if (temp4)
10149 delete arg4;
10150 }
10151 {
10152 if (temp9)
10153 delete arg9;
10154 }
10155 return resultobj;
10156 fail:
10157 {
10158 if (temp4)
10159 delete arg4;
10160 }
10161 {
10162 if (temp9)
10163 delete arg9;
10164 }
10165 return NULL;
10166}
10167
10168
c32bde28 10169static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10170 PyObject *resultobj = NULL;
d14a1e28
RD
10171 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10172 wxString result;
10173 PyObject * obj0 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "self", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
10179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 result = ((wxTextCtrl const *)arg1)->GetValue();
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 {
10189#if wxUSE_UNICODE
10190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10191#else
10192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10193#endif
10194 }
10195 return resultobj;
10196 fail:
10197 return NULL;
10198}
10199
10200
c32bde28 10201static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10202 PyObject *resultobj = NULL;
d14a1e28
RD
10203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10204 wxString *arg2 = 0 ;
ae8162c8 10205 bool temp2 = false ;
d14a1e28
RD
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self",(char *) "value", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10214 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10215 {
10216 arg2 = wxString_in_helper(obj1);
10217 if (arg2 == NULL) SWIG_fail;
ae8162c8 10218 temp2 = true;
d14a1e28
RD
10219 }
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 (arg1)->SetValue((wxString const &)*arg2);
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 {
10229 if (temp2)
10230 delete arg2;
10231 }
10232 return resultobj;
10233 fail:
10234 {
10235 if (temp2)
10236 delete arg2;
10237 }
10238 return NULL;
10239}
10240
10241
c32bde28 10242static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10243 PyObject *resultobj = NULL;
d14a1e28
RD
10244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10245 long arg2 ;
10246 long arg3 ;
10247 wxString result;
10248 PyObject * obj0 = 0 ;
994141e6
RD
10249 PyObject * obj1 = 0 ;
10250 PyObject * obj2 = 0 ;
d14a1e28
RD
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "from",(char *) "to", NULL
10253 };
10254
994141e6 10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail;
10258 {
32fe5131 10259 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10260 if (SWIG_arg_fail(2)) SWIG_fail;
10261 }
10262 {
32fe5131 10263 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10264 if (SWIG_arg_fail(3)) SWIG_fail;
10265 }
d14a1e28
RD
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 {
10274#if wxUSE_UNICODE
10275 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10276#else
10277 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10278#endif
10279 }
10280 return resultobj;
10281 fail:
10282 return NULL;
10283}
10284
10285
c32bde28 10286static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10287 PyObject *resultobj = NULL;
d14a1e28
RD
10288 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10289 long arg2 ;
10290 int result;
10291 PyObject * obj0 = 0 ;
994141e6 10292 PyObject * obj1 = 0 ;
d14a1e28
RD
10293 char *kwnames[] = {
10294 (char *) "self",(char *) "lineNo", NULL
10295 };
10296
994141e6 10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail;
10300 {
32fe5131 10301 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10302 if (SWIG_arg_fail(2)) SWIG_fail;
10303 }
d14a1e28
RD
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
093d3ff1 10311 {
32fe5131 10312 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10313 }
d14a1e28
RD
10314 return resultobj;
10315 fail:
10316 return NULL;
10317}
10318
10319
c32bde28 10320static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10321 PyObject *resultobj = NULL;
d14a1e28
RD
10322 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10323 long arg2 ;
10324 wxString result;
10325 PyObject * obj0 = 0 ;
994141e6 10326 PyObject * obj1 = 0 ;
d14a1e28
RD
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "lineNo", NULL
10329 };
10330
994141e6 10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail;
10334 {
32fe5131 10335 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10336 if (SWIG_arg_fail(2)) SWIG_fail;
10337 }
d14a1e28
RD
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 {
10346#if wxUSE_UNICODE
10347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10348#else
10349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10350#endif
10351 }
10352 return resultobj;
10353 fail:
10354 return NULL;
10355}
10356
10357
c32bde28 10358static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10359 PyObject *resultobj = NULL;
d14a1e28
RD
10360 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10361 int result;
10362 PyObject * obj0 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
093d3ff1 10377 {
32fe5131 10378 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10379 }
d14a1e28
RD
10380 return resultobj;
10381 fail:
10382 return NULL;
10383}
10384
10385
c32bde28 10386static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10387 PyObject *resultobj = NULL;
d14a1e28
RD
10388 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10389 bool result;
10390 PyObject * obj0 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10397 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
4f89f6a3
RD
10405 {
10406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10407 }
d14a1e28
RD
10408 return resultobj;
10409 fail:
10410 return NULL;
10411}
10412
10413
c32bde28 10414static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10415 PyObject *resultobj = NULL;
d14a1e28
RD
10416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10417 bool result;
10418 PyObject * obj0 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
4f89f6a3
RD
10433 {
10434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10435 }
d14a1e28
RD
10436 return resultobj;
10437 fail:
10438 return NULL;
10439}
10440
10441
c32bde28 10442static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10443 PyObject *resultobj = NULL;
d14a1e28
RD
10444 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10445 bool result;
10446 PyObject * obj0 = 0 ;
10447 char *kwnames[] = {
10448 (char *) "self", NULL
10449 };
10450
10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
4f89f6a3
RD
10461 {
10462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10463 }
d14a1e28
RD
10464 return resultobj;
10465 fail:
10466 return NULL;
10467}
10468
10469
c32bde28 10470static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10471 PyObject *resultobj = NULL;
d14a1e28
RD
10472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10473 bool result;
10474 PyObject * obj0 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
4f89f6a3
RD
10489 {
10490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10491 }
d14a1e28
RD
10492 return resultobj;
10493 fail:
10494 return NULL;
10495}
10496
10497
c32bde28 10498static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10499 PyObject *resultobj = NULL;
d14a1e28
RD
10500 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10501 long *arg2 = (long *) 0 ;
10502 long *arg3 = (long *) 0 ;
10503 long temp2 ;
c32bde28 10504 int res2 = 0 ;
d14a1e28 10505 long temp3 ;
c32bde28 10506 int res3 = 0 ;
d14a1e28
RD
10507 PyObject * obj0 = 0 ;
10508 char *kwnames[] = {
10509 (char *) "self", NULL
10510 };
10511
c32bde28
RD
10512 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10513 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10516 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10525 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10526 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10527 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10528 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
c32bde28 10535static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10536 PyObject *resultobj = NULL;
d14a1e28
RD
10537 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10538 wxString result;
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 {
10555#if wxUSE_UNICODE
10556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10557#else
10558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10559#endif
10560 }
10561 return resultobj;
10562 fail:
10563 return NULL;
10564}
10565
10566
c32bde28 10567static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10568 PyObject *resultobj = NULL;
d14a1e28
RD
10569 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10570 PyObject * obj0 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10577 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->Clear();
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589}
10590
10591
c32bde28 10592static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10593 PyObject *resultobj = NULL;
d14a1e28
RD
10594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10595 long arg2 ;
10596 long arg3 ;
10597 wxString *arg4 = 0 ;
ae8162c8 10598 bool temp4 = false ;
d14a1e28 10599 PyObject * obj0 = 0 ;
994141e6
RD
10600 PyObject * obj1 = 0 ;
10601 PyObject * obj2 = 0 ;
d14a1e28
RD
10602 PyObject * obj3 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10605 };
10606
994141e6 10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail;
10610 {
32fe5131 10611 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10612 if (SWIG_arg_fail(2)) SWIG_fail;
10613 }
10614 {
32fe5131 10615 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10616 if (SWIG_arg_fail(3)) SWIG_fail;
10617 }
d14a1e28
RD
10618 {
10619 arg4 = wxString_in_helper(obj3);
10620 if (arg4 == NULL) SWIG_fail;
ae8162c8 10621 temp4 = true;
d14a1e28
RD
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 {
10632 if (temp4)
10633 delete arg4;
10634 }
10635 return resultobj;
10636 fail:
10637 {
10638 if (temp4)
10639 delete arg4;
10640 }
10641 return NULL;
10642}
10643
10644
c32bde28 10645static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10646 PyObject *resultobj = NULL;
d14a1e28
RD
10647 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10648 long arg2 ;
10649 long arg3 ;
10650 PyObject * obj0 = 0 ;
994141e6
RD
10651 PyObject * obj1 = 0 ;
10652 PyObject * obj2 = 0 ;
d14a1e28
RD
10653 char *kwnames[] = {
10654 (char *) "self",(char *) "from",(char *) "to", NULL
10655 };
10656
994141e6 10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail;
10660 {
32fe5131 10661 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10662 if (SWIG_arg_fail(2)) SWIG_fail;
10663 }
10664 {
32fe5131 10665 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10666 if (SWIG_arg_fail(3)) SWIG_fail;
10667 }
d14a1e28
RD
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->Remove(arg2,arg3);
10671
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 Py_INCREF(Py_None); resultobj = Py_None;
10676 return resultobj;
10677 fail:
10678 return NULL;
10679}
10680
10681
c32bde28 10682static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10683 PyObject *resultobj = NULL;
d14a1e28
RD
10684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10685 wxString *arg2 = 0 ;
10686 bool result;
ae8162c8 10687 bool temp2 = false ;
d14a1e28
RD
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self",(char *) "file", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10697 {
10698 arg2 = wxString_in_helper(obj1);
10699 if (arg2 == NULL) SWIG_fail;
ae8162c8 10700 temp2 = true;
d14a1e28
RD
10701 }
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
4f89f6a3
RD
10709 {
10710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10711 }
d14a1e28
RD
10712 {
10713 if (temp2)
10714 delete arg2;
10715 }
10716 return resultobj;
10717 fail:
10718 {
10719 if (temp2)
10720 delete arg2;
10721 }
10722 return NULL;
10723}
10724
10725
c32bde28 10726static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10727 PyObject *resultobj = NULL;
d14a1e28
RD
10728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10729 wxString const &arg2_defvalue = wxPyEmptyString ;
10730 wxString *arg2 = (wxString *) &arg2_defvalue ;
10731 bool result;
ae8162c8 10732 bool temp2 = false ;
d14a1e28
RD
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self",(char *) "file", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10742 if (obj1) {
10743 {
10744 arg2 = wxString_in_helper(obj1);
10745 if (arg2 == NULL) SWIG_fail;
ae8162c8 10746 temp2 = true;
d14a1e28
RD
10747 }
10748 }
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
4f89f6a3
RD
10756 {
10757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10758 }
d14a1e28
RD
10759 {
10760 if (temp2)
10761 delete arg2;
10762 }
10763 return resultobj;
10764 fail:
10765 {
10766 if (temp2)
10767 delete arg2;
10768 }
10769 return NULL;
10770}
10771
10772
c32bde28 10773static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10774 PyObject *resultobj = NULL;
d14a1e28
RD
10775 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10776 PyObject * obj0 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "self", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 (arg1)->MarkDirty();
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 Py_INCREF(Py_None); resultobj = Py_None;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795}
10796
10797
c32bde28 10798static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10799 PyObject *resultobj = NULL;
d14a1e28
RD
10800 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10801 PyObject * obj0 = 0 ;
10802 char *kwnames[] = {
10803 (char *) "self", NULL
10804 };
10805
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 (arg1)->DiscardEdits();
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 Py_INCREF(Py_None); resultobj = Py_None;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820}
10821
10822
c32bde28 10823static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10824 PyObject *resultobj = NULL;
d14a1e28
RD
10825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10826 unsigned long arg2 ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self",(char *) "len", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10835 if (SWIG_arg_fail(1)) SWIG_fail;
10836 {
32fe5131 10837 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
10838 if (SWIG_arg_fail(2)) SWIG_fail;
10839 }
d14a1e28
RD
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 (arg1)->SetMaxLength(arg2);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 Py_INCREF(Py_None); resultobj = Py_None;
10848 return resultobj;
10849 fail:
10850 return NULL;
10851}
10852
10853
c32bde28 10854static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10855 PyObject *resultobj = NULL;
d14a1e28
RD
10856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10857 wxString *arg2 = 0 ;
ae8162c8 10858 bool temp2 = false ;
d14a1e28
RD
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self",(char *) "text", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10868 {
10869 arg2 = wxString_in_helper(obj1);
10870 if (arg2 == NULL) SWIG_fail;
ae8162c8 10871 temp2 = true;
d14a1e28
RD
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->WriteText((wxString const &)*arg2);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 {
10882 if (temp2)
10883 delete arg2;
10884 }
10885 return resultobj;
10886 fail:
10887 {
10888 if (temp2)
10889 delete arg2;
10890 }
10891 return NULL;
10892}
10893
10894
c32bde28 10895static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10896 PyObject *resultobj = NULL;
d14a1e28
RD
10897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10898 wxString *arg2 = 0 ;
ae8162c8 10899 bool temp2 = false ;
d14a1e28
RD
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "text", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10909 {
10910 arg2 = wxString_in_helper(obj1);
10911 if (arg2 == NULL) SWIG_fail;
ae8162c8 10912 temp2 = true;
d14a1e28
RD
10913 }
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 (arg1)->AppendText((wxString const &)*arg2);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 Py_INCREF(Py_None); resultobj = Py_None;
10922 {
10923 if (temp2)
10924 delete arg2;
10925 }
10926 return resultobj;
10927 fail:
10928 {
10929 if (temp2)
10930 delete arg2;
10931 }
10932 return NULL;
10933}
10934
10935
c32bde28 10936static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10937 PyObject *resultobj = NULL;
d14a1e28
RD
10938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10939 wxKeyEvent *arg2 = 0 ;
10940 bool result;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "event", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail;
10950 {
10951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10952 if (SWIG_arg_fail(2)) SWIG_fail;
10953 if (arg2 == NULL) {
10954 SWIG_null_ref("wxKeyEvent");
10955 }
10956 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10957 }
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
4f89f6a3
RD
10965 {
10966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10967 }
d14a1e28
RD
10968 return resultobj;
10969 fail:
10970 return NULL;
10971}
10972
10973
c32bde28 10974static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10975 PyObject *resultobj = NULL;
d14a1e28
RD
10976 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10977 long arg2 ;
10978 long arg3 ;
10979 wxTextAttr *arg4 = 0 ;
10980 bool result;
10981 PyObject * obj0 = 0 ;
994141e6
RD
10982 PyObject * obj1 = 0 ;
10983 PyObject * obj2 = 0 ;
d14a1e28
RD
10984 PyObject * obj3 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10987 };
10988
994141e6 10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail;
10992 {
32fe5131 10993 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10994 if (SWIG_arg_fail(2)) SWIG_fail;
10995 }
10996 {
32fe5131 10997 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10998 if (SWIG_arg_fail(3)) SWIG_fail;
10999 }
11000 {
11001 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11002 if (SWIG_arg_fail(4)) SWIG_fail;
11003 if (arg4 == NULL) {
11004 SWIG_null_ref("wxTextAttr");
11005 }
11006 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
11007 }
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
4f89f6a3
RD
11015 {
11016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11017 }
d14a1e28
RD
11018 return resultobj;
11019 fail:
11020 return NULL;
11021}
11022
11023
c32bde28 11024static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11025 PyObject *resultobj = NULL;
d14a1e28
RD
11026 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11027 long arg2 ;
11028 wxTextAttr *arg3 = 0 ;
11029 bool result;
11030 PyObject * obj0 = 0 ;
994141e6 11031 PyObject * obj1 = 0 ;
d14a1e28
RD
11032 PyObject * obj2 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self",(char *) "position",(char *) "style", NULL
11035 };
11036
994141e6 11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11039 if (SWIG_arg_fail(1)) SWIG_fail;
11040 {
32fe5131 11041 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11042 if (SWIG_arg_fail(2)) SWIG_fail;
11043 }
11044 {
11045 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11046 if (SWIG_arg_fail(3)) SWIG_fail;
11047 if (arg3 == NULL) {
11048 SWIG_null_ref("wxTextAttr");
11049 }
11050 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
11051 }
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = (bool)(arg1)->GetStyle(arg2,*arg3);
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
4f89f6a3
RD
11059 {
11060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11061 }
d14a1e28
RD
11062 return resultobj;
11063 fail:
11064 return NULL;
11065}
11066
11067
c32bde28 11068static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11069 PyObject *resultobj = NULL;
d14a1e28
RD
11070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11071 wxTextAttr *arg2 = 0 ;
11072 bool result;
11073 PyObject * obj0 = 0 ;
11074 PyObject * obj1 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "style", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail;
11082 {
11083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11084 if (SWIG_arg_fail(2)) SWIG_fail;
11085 if (arg2 == NULL) {
11086 SWIG_null_ref("wxTextAttr");
11087 }
11088 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11089 }
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
4f89f6a3
RD
11097 {
11098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11099 }
d14a1e28
RD
11100 return resultobj;
11101 fail:
11102 return NULL;
11103}
11104
11105
c32bde28 11106static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11107 PyObject *resultobj = NULL;
d14a1e28
RD
11108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11109 wxTextAttr *result;
11110 PyObject * obj0 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
11116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 {
11121 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
11122 result = (wxTextAttr *) &_result_ref;
11123 }
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
15afbcd0 11128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
11129 return resultobj;
11130 fail:
11131 return NULL;
11132}
11133
11134
c32bde28 11135static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11136 PyObject *resultobj = NULL;
d14a1e28
RD
11137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11138 long arg2 ;
11139 long arg3 ;
11140 long result;
11141 PyObject * obj0 = 0 ;
994141e6
RD
11142 PyObject * obj1 = 0 ;
11143 PyObject * obj2 = 0 ;
d14a1e28
RD
11144 char *kwnames[] = {
11145 (char *) "self",(char *) "x",(char *) "y", NULL
11146 };
11147
994141e6 11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11150 if (SWIG_arg_fail(1)) SWIG_fail;
11151 {
32fe5131 11152 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11153 if (SWIG_arg_fail(2)) SWIG_fail;
11154 }
11155 {
32fe5131 11156 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11157 if (SWIG_arg_fail(3)) SWIG_fail;
11158 }
d14a1e28
RD
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
093d3ff1 11166 {
32fe5131 11167 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11168 }
d14a1e28
RD
11169 return resultobj;
11170 fail:
11171 return NULL;
11172}
11173
11174
c32bde28 11175static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11176 PyObject *resultobj = NULL;
d14a1e28
RD
11177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11178 long arg2 ;
11179 long *arg3 = (long *) 0 ;
11180 long *arg4 = (long *) 0 ;
11181 long temp3 ;
c32bde28 11182 int res3 = 0 ;
d14a1e28 11183 long temp4 ;
c32bde28 11184 int res4 = 0 ;
d14a1e28 11185 PyObject * obj0 = 0 ;
994141e6 11186 PyObject * obj1 = 0 ;
d14a1e28
RD
11187 char *kwnames[] = {
11188 (char *) "self",(char *) "pos", NULL
11189 };
11190
c32bde28
RD
11191 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11192 arg4 = &temp4; res4 = SWIG_NEWOBJ;
994141e6 11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail;
11196 {
32fe5131 11197 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11198 if (SWIG_arg_fail(2)) SWIG_fail;
11199 }
d14a1e28
RD
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
11208 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11209 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11210 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11211 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d14a1e28
RD
11212 return resultobj;
11213 fail:
11214 return NULL;
11215}
11216
11217
c32bde28 11218static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11219 PyObject *resultobj = NULL;
d14a1e28
RD
11220 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11221 long arg2 ;
11222 PyObject * obj0 = 0 ;
994141e6 11223 PyObject * obj1 = 0 ;
d14a1e28
RD
11224 char *kwnames[] = {
11225 (char *) "self",(char *) "pos", NULL
11226 };
11227
994141e6 11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail;
11231 {
32fe5131 11232 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11233 if (SWIG_arg_fail(2)) SWIG_fail;
11234 }
d14a1e28
RD
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 (arg1)->ShowPosition(arg2);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246}
11247
11248
c32bde28 11249static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11250 PyObject *resultobj = NULL;
4d5c3d91
RD
11251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11252 wxPoint *arg2 = 0 ;
11253 long *arg3 = (long *) 0 ;
11254 long *arg4 = (long *) 0 ;
093d3ff1 11255 wxTextCtrlHitTestResult result;
4d5c3d91
RD
11256 wxPoint temp2 ;
11257 long temp3 ;
c32bde28 11258 int res3 = 0 ;
4d5c3d91 11259 long temp4 ;
c32bde28 11260 int res4 = 0 ;
4d5c3d91
RD
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self",(char *) "pt", NULL
11265 };
11266
c32bde28
RD
11267 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11268 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4d5c3d91 11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11271 if (SWIG_arg_fail(1)) SWIG_fail;
4d5c3d91
RD
11272 {
11273 arg2 = &temp2;
11274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11278 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
4d5c3d91
RD
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
093d3ff1 11283 resultobj = SWIG_From_int((result));
c32bde28
RD
11284 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11285 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11286 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11287 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
4d5c3d91
RD
11288 return resultobj;
11289 fail:
11290 return NULL;
11291}
11292
11293
c32bde28 11294static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11295 PyObject *resultobj = NULL;
4896ac9e
RD
11296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11297 wxPoint *arg2 = 0 ;
11298 long *arg3 = (long *) 0 ;
093d3ff1 11299 wxTextCtrlHitTestResult result;
4896ac9e
RD
11300 wxPoint temp2 ;
11301 long temp3 ;
c32bde28 11302 int res3 = 0 ;
4896ac9e
RD
11303 PyObject * obj0 = 0 ;
11304 PyObject * obj1 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "pt", NULL
11307 };
11308
c32bde28 11309 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11313 {
11314 arg2 = &temp2;
11315 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11319 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
093d3ff1 11324 resultobj = SWIG_From_int((result));
c32bde28
RD
11325 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11326 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11327 return resultobj;
11328 fail:
11329 return NULL;
11330}
11331
11332
c32bde28 11333static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11334 PyObject *resultobj = NULL;
d14a1e28
RD
11335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 (arg1)->Copy();
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 Py_INCREF(Py_None); resultobj = Py_None;
11352 return resultobj;
11353 fail:
11354 return NULL;
11355}
11356
11357
c32bde28 11358static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11359 PyObject *resultobj = NULL;
d14a1e28
RD
11360 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11368 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 (arg1)->Cut();
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 Py_INCREF(Py_None); resultobj = Py_None;
11377 return resultobj;
11378 fail:
11379 return NULL;
11380}
11381
11382
c32bde28 11383static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11384 PyObject *resultobj = NULL;
d14a1e28
RD
11385 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11386 PyObject * obj0 = 0 ;
11387 char *kwnames[] = {
11388 (char *) "self", NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11393 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 (arg1)->Paste();
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 Py_INCREF(Py_None); resultobj = Py_None;
11402 return resultobj;
11403 fail:
11404 return NULL;
11405}
11406
11407
c32bde28 11408static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11409 PyObject *resultobj = NULL;
d14a1e28
RD
11410 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11411 bool result;
11412 PyObject * obj0 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "self", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
4f89f6a3
RD
11427 {
11428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11429 }
d14a1e28
RD
11430 return resultobj;
11431 fail:
11432 return NULL;
11433}
11434
11435
c32bde28 11436static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11437 PyObject *resultobj = NULL;
d14a1e28
RD
11438 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11439 bool result;
11440 PyObject * obj0 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11447 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11451
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
4f89f6a3
RD
11455 {
11456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11457 }
d14a1e28
RD
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
c32bde28 11464static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11465 PyObject *resultobj = NULL;
d14a1e28
RD
11466 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11467 bool result;
11468 PyObject * obj0 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
4f89f6a3
RD
11483 {
11484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11485 }
d14a1e28
RD
11486 return resultobj;
11487 fail:
11488 return NULL;
11489}
11490
11491
c32bde28 11492static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11493 PyObject *resultobj = NULL;
d14a1e28
RD
11494 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11495 PyObject * obj0 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 (arg1)->Undo();
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 Py_INCREF(Py_None); resultobj = Py_None;
11511 return resultobj;
11512 fail:
11513 return NULL;
11514}
11515
11516
c32bde28 11517static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11518 PyObject *resultobj = NULL;
d14a1e28
RD
11519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11520 PyObject * obj0 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 (arg1)->Redo();
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
11535 Py_INCREF(Py_None); resultobj = Py_None;
11536 return resultobj;
11537 fail:
11538 return NULL;
11539}
11540
11541
c32bde28 11542static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11543 PyObject *resultobj = NULL;
d14a1e28
RD
11544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11545 bool result;
11546 PyObject * obj0 = 0 ;
11547 char *kwnames[] = {
11548 (char *) "self", NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
4f89f6a3
RD
11561 {
11562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11563 }
d14a1e28
RD
11564 return resultobj;
11565 fail:
11566 return NULL;
11567}
11568
11569
c32bde28 11570static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11571 PyObject *resultobj = NULL;
d14a1e28
RD
11572 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11573 bool result;
11574 PyObject * obj0 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11581 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
4f89f6a3
RD
11589 {
11590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11591 }
d14a1e28
RD
11592 return resultobj;
11593 fail:
11594 return NULL;
11595}
11596
11597
c32bde28 11598static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11599 PyObject *resultobj = NULL;
d14a1e28
RD
11600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11601 long arg2 ;
11602 PyObject * obj0 = 0 ;
994141e6 11603 PyObject * obj1 = 0 ;
d14a1e28
RD
11604 char *kwnames[] = {
11605 (char *) "self",(char *) "pos", NULL
11606 };
11607
994141e6 11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11610 if (SWIG_arg_fail(1)) SWIG_fail;
11611 {
32fe5131 11612 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11613 if (SWIG_arg_fail(2)) SWIG_fail;
11614 }
d14a1e28
RD
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SetInsertionPoint(arg2);
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 Py_INCREF(Py_None); resultobj = Py_None;
11623 return resultobj;
11624 fail:
11625 return NULL;
11626}
11627
11628
c32bde28 11629static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11630 PyObject *resultobj = NULL;
d14a1e28
RD
11631 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11632 PyObject * obj0 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11639 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->SetInsertionPointEnd();
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 Py_INCREF(Py_None); resultobj = Py_None;
11648 return resultobj;
11649 fail:
11650 return NULL;
11651}
11652
11653
c32bde28 11654static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11655 PyObject *resultobj = NULL;
d14a1e28
RD
11656 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11657 long result;
11658 PyObject * obj0 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
093d3ff1 11673 {
32fe5131 11674 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11675 }
d14a1e28
RD
11676 return resultobj;
11677 fail:
11678 return NULL;
11679}
11680
11681
c32bde28 11682static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11683 PyObject *resultobj = NULL;
d14a1e28
RD
11684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11685 long result;
11686 PyObject * obj0 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
093d3ff1 11701 {
32fe5131 11702 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11703 }
d14a1e28
RD
11704 return resultobj;
11705 fail:
11706 return NULL;
11707}
11708
11709
c32bde28 11710static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11711 PyObject *resultobj = NULL;
d14a1e28
RD
11712 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11713 long arg2 ;
11714 long arg3 ;
11715 PyObject * obj0 = 0 ;
994141e6
RD
11716 PyObject * obj1 = 0 ;
11717 PyObject * obj2 = 0 ;
d14a1e28
RD
11718 char *kwnames[] = {
11719 (char *) "self",(char *) "from",(char *) "to", NULL
11720 };
11721
994141e6 11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11724 if (SWIG_arg_fail(1)) SWIG_fail;
11725 {
32fe5131 11726 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11727 if (SWIG_arg_fail(2)) SWIG_fail;
11728 }
11729 {
32fe5131 11730 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11731 if (SWIG_arg_fail(3)) SWIG_fail;
11732 }
d14a1e28
RD
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 (arg1)->SetSelection(arg2,arg3);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 Py_INCREF(Py_None); resultobj = Py_None;
11741 return resultobj;
11742 fail:
11743 return NULL;
11744}
11745
11746
c32bde28 11747static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11748 PyObject *resultobj = NULL;
d14a1e28
RD
11749 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11750 PyObject * obj0 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 (arg1)->SelectAll();
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 Py_INCREF(Py_None); resultobj = Py_None;
11766 return resultobj;
11767 fail:
11768 return NULL;
11769}
11770
11771
c32bde28 11772static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11773 PyObject *resultobj = NULL;
d14a1e28
RD
11774 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11775 bool arg2 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self",(char *) "editable", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11784 if (SWIG_arg_fail(1)) SWIG_fail;
11785 {
32fe5131 11786 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
11787 if (SWIG_arg_fail(2)) SWIG_fail;
11788 }
d14a1e28
RD
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 (arg1)->SetEditable(arg2);
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 Py_INCREF(Py_None); resultobj = Py_None;
11797 return resultobj;
11798 fail:
11799 return NULL;
11800}
11801
11802
c32bde28 11803static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11804 PyObject *resultobj = NULL;
d14a1e28
RD
11805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11806 wxString *arg2 = 0 ;
ae8162c8 11807 bool temp2 = false ;
d14a1e28
RD
11808 PyObject * obj0 = 0 ;
11809 PyObject * obj1 = 0 ;
11810 char *kwnames[] = {
11811 (char *) "self",(char *) "text", NULL
11812 };
11813
11814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11816 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11817 {
11818 arg2 = wxString_in_helper(obj1);
11819 if (arg2 == NULL) SWIG_fail;
ae8162c8 11820 temp2 = true;
d14a1e28
RD
11821 }
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11825
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 Py_INCREF(Py_None); resultobj = Py_None;
11830 {
11831 if (temp2)
11832 delete arg2;
11833 }
11834 return resultobj;
11835 fail:
11836 {
11837 if (temp2)
11838 delete arg2;
11839 }
11840 return NULL;
11841}
11842
11843
c32bde28 11844static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11845 PyObject *resultobj = NULL;
d14a1e28
RD
11846 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11847 long arg2 ;
11848 long arg3 ;
11849 wxString result;
11850 PyObject * obj0 = 0 ;
994141e6
RD
11851 PyObject * obj1 = 0 ;
11852 PyObject * obj2 = 0 ;
d14a1e28
RD
11853 char *kwnames[] = {
11854 (char *) "self",(char *) "from",(char *) "to", NULL
11855 };
11856
994141e6 11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail;
11860 {
32fe5131 11861 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11862 if (SWIG_arg_fail(2)) SWIG_fail;
11863 }
11864 {
32fe5131 11865 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11866 if (SWIG_arg_fail(3)) SWIG_fail;
11867 }
d14a1e28
RD
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 {
11876#if wxUSE_UNICODE
11877 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11878#else
11879 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11880#endif
11881 }
11882 return resultobj;
11883 fail:
11884 return NULL;
11885}
11886
11887
c32bde28 11888static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11889 PyObject *resultobj = NULL;
093d3ff1 11890 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
11891 wxVisualAttributes result;
11892 PyObject * obj0 = 0 ;
11893 char *kwnames[] = {
11894 (char *) "variant", NULL
11895 };
11896
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11898 if (obj0) {
093d3ff1 11899 {
32fe5131 11900 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
11901 if (SWIG_arg_fail(1)) SWIG_fail;
11902 }
22bfe96c
RD
11903 }
11904 {
110da5b0 11905 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11907 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
22bfe96c
RD
11908
11909 wxPyEndAllowThreads(__tstate);
dfbb5885 11910 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
11911 }
11912 {
11913 wxVisualAttributes * resultptr;
32fe5131 11914 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
11915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11916 }
11917 return resultobj;
11918 fail:
11919 return NULL;
11920}
11921
11922
c32bde28 11923static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11924 PyObject *obj;
11925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11926 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11927 Py_INCREF(obj);
11928 return Py_BuildValue((char *)"");
11929}
c32bde28 11930static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11931 PyObject *resultobj = NULL;
d14a1e28
RD
11932 int arg1 ;
11933 wxMouseEvent *arg2 = 0 ;
11934 long arg3 ;
11935 long arg4 ;
11936 wxTextUrlEvent *result;
994141e6 11937 PyObject * obj0 = 0 ;
d14a1e28 11938 PyObject * obj1 = 0 ;
994141e6
RD
11939 PyObject * obj2 = 0 ;
11940 PyObject * obj3 = 0 ;
d14a1e28
RD
11941 char *kwnames[] = {
11942 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11943 };
11944
994141e6 11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1 11946 {
32fe5131 11947 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11948 if (SWIG_arg_fail(1)) SWIG_fail;
11949 }
11950 {
11951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11952 if (SWIG_arg_fail(2)) SWIG_fail;
11953 if (arg2 == NULL) {
11954 SWIG_null_ref("wxMouseEvent");
11955 }
11956 if (SWIG_arg_fail(2)) SWIG_fail;
11957 }
11958 {
32fe5131 11959 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11960 if (SWIG_arg_fail(3)) SWIG_fail;
11961 }
11962 {
32fe5131 11963 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1 11964 if (SWIG_arg_fail(4)) SWIG_fail;
994141e6 11965 }
d14a1e28
RD
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
15afbcd0 11973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
11974 return resultobj;
11975 fail:
11976 return NULL;
11977}
11978
11979
c32bde28 11980static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11981 PyObject *resultobj = NULL;
d14a1e28
RD
11982 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11983 wxMouseEvent *result;
11984 PyObject * obj0 = 0 ;
11985 char *kwnames[] = {
11986 (char *) "self", NULL
11987 };
11988
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11991 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 {
11995 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11996 result = (wxMouseEvent *) &_result_ref;
11997 }
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
15afbcd0 12002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
12003 return resultobj;
12004 fail:
12005 return NULL;
12006}
12007
12008
c32bde28 12009static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12010 PyObject *resultobj = NULL;
d14a1e28
RD
12011 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12012 long result;
12013 PyObject * obj0 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
12019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
093d3ff1 12028 {
32fe5131 12029 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12030 }
d14a1e28
RD
12031 return resultobj;
12032 fail:
12033 return NULL;
12034}
12035
12036
c32bde28 12037static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12038 PyObject *resultobj = NULL;
d14a1e28
RD
12039 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12040 long result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
12047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
093d3ff1 12056 {
32fe5131 12057 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12058 }
d14a1e28
RD
12059 return resultobj;
12060 fail:
12061 return NULL;
12062}
12063
12064
c32bde28 12065static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12066 PyObject *obj;
12067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12068 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
12069 Py_INCREF(obj);
12070 return Py_BuildValue((char *)"");
12071}
c32bde28 12072static int _wrap_ScrollBarNameStr_set(PyObject *) {
b2dc1044
RD
12073 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
12074 return 1;
12075}
12076
12077
093d3ff1 12078static PyObject *_wrap_ScrollBarNameStr_get(void) {
32fe5131 12079 PyObject *pyobj = NULL;
b2dc1044
RD
12080
12081 {
12082#if wxUSE_UNICODE
12083 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12084#else
12085 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12086#endif
12087 }
12088 return pyobj;
12089}
12090
12091
c32bde28 12092static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12093 PyObject *resultobj = NULL;
d14a1e28 12094 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12095 int arg2 = (int) -1 ;
d14a1e28
RD
12096 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12097 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12098 wxSize const &arg4_defvalue = wxDefaultSize ;
12099 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12100 long arg5 = (long) wxSB_HORIZONTAL ;
12101 wxValidator const &arg6_defvalue = wxDefaultValidator ;
12102 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
12103 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
12104 wxString *arg7 = (wxString *) &arg7_defvalue ;
12105 wxScrollBar *result;
12106 wxPoint temp3 ;
12107 wxSize temp4 ;
ae8162c8 12108 bool temp7 = false ;
d14a1e28 12109 PyObject * obj0 = 0 ;
994141e6 12110 PyObject * obj1 = 0 ;
d14a1e28
RD
12111 PyObject * obj2 = 0 ;
12112 PyObject * obj3 = 0 ;
994141e6 12113 PyObject * obj4 = 0 ;
d14a1e28
RD
12114 PyObject * obj5 = 0 ;
12115 PyObject * obj6 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12118 };
12119
994141e6 12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12123 if (obj1) {
093d3ff1 12124 {
32fe5131 12125 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12126 if (SWIG_arg_fail(2)) SWIG_fail;
12127 }
994141e6 12128 }
d14a1e28
RD
12129 if (obj2) {
12130 {
12131 arg3 = &temp3;
12132 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12133 }
12134 }
12135 if (obj3) {
12136 {
12137 arg4 = &temp4;
12138 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12139 }
12140 }
994141e6 12141 if (obj4) {
093d3ff1 12142 {
32fe5131 12143 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12144 if (SWIG_arg_fail(5)) SWIG_fail;
12145 }
994141e6 12146 }
d14a1e28 12147 if (obj5) {
093d3ff1
RD
12148 {
12149 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12150 if (SWIG_arg_fail(6)) SWIG_fail;
12151 if (arg6 == NULL) {
12152 SWIG_null_ref("wxValidator");
12153 }
12154 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
12155 }
12156 }
12157 if (obj6) {
12158 {
12159 arg7 = wxString_in_helper(obj6);
12160 if (arg7 == NULL) SWIG_fail;
ae8162c8 12161 temp7 = true;
d14a1e28
RD
12162 }
12163 }
12164 {
e3b71cb8 12165 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12168
12169 wxPyEndAllowThreads(__tstate);
110da5b0 12170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12171 }
15afbcd0 12172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
12173 {
12174 if (temp7)
12175 delete arg7;
12176 }
12177 return resultobj;
12178 fail:
12179 {
12180 if (temp7)
12181 delete arg7;
12182 }
12183 return NULL;
12184}
12185
12186
c32bde28 12187static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12188 PyObject *resultobj = NULL;
d14a1e28
RD
12189 wxScrollBar *result;
12190 char *kwnames[] = {
12191 NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12195 {
e3b71cb8 12196 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 result = (wxScrollBar *)new wxScrollBar();
12199
12200 wxPyEndAllowThreads(__tstate);
110da5b0 12201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12202 }
15afbcd0 12203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
12204 return resultobj;
12205 fail:
12206 return NULL;
12207}
12208
12209
c32bde28 12210static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12211 PyObject *resultobj = NULL;
d14a1e28
RD
12212 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12213 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12214 int arg3 = (int) -1 ;
d14a1e28
RD
12215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12217 wxSize const &arg5_defvalue = wxDefaultSize ;
12218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12219 long arg6 = (long) wxSB_HORIZONTAL ;
12220 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12221 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12222 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12223 wxString *arg8 = (wxString *) &arg8_defvalue ;
12224 bool result;
12225 wxPoint temp4 ;
12226 wxSize temp5 ;
ae8162c8 12227 bool temp8 = false ;
d14a1e28
RD
12228 PyObject * obj0 = 0 ;
12229 PyObject * obj1 = 0 ;
994141e6 12230 PyObject * obj2 = 0 ;
d14a1e28
RD
12231 PyObject * obj3 = 0 ;
12232 PyObject * obj4 = 0 ;
994141e6 12233 PyObject * obj5 = 0 ;
d14a1e28
RD
12234 PyObject * obj6 = 0 ;
12235 PyObject * obj7 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12238 };
12239
994141e6 12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
12241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail;
12243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12245 if (obj2) {
093d3ff1 12246 {
32fe5131 12247 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12248 if (SWIG_arg_fail(3)) SWIG_fail;
12249 }
994141e6 12250 }
d14a1e28
RD
12251 if (obj3) {
12252 {
12253 arg4 = &temp4;
12254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12255 }
12256 }
12257 if (obj4) {
12258 {
12259 arg5 = &temp5;
12260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12261 }
12262 }
994141e6 12263 if (obj5) {
093d3ff1 12264 {
32fe5131 12265 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12266 if (SWIG_arg_fail(6)) SWIG_fail;
12267 }
994141e6 12268 }
d14a1e28 12269 if (obj6) {
093d3ff1
RD
12270 {
12271 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12272 if (SWIG_arg_fail(7)) SWIG_fail;
12273 if (arg7 == NULL) {
12274 SWIG_null_ref("wxValidator");
12275 }
12276 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
12277 }
12278 }
12279 if (obj7) {
12280 {
12281 arg8 = wxString_in_helper(obj7);
12282 if (arg8 == NULL) SWIG_fail;
ae8162c8 12283 temp8 = true;
d14a1e28
RD
12284 }
12285 }
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
4f89f6a3
RD
12293 {
12294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12295 }
d14a1e28
RD
12296 {
12297 if (temp8)
12298 delete arg8;
12299 }
12300 return resultobj;
12301 fail:
12302 {
12303 if (temp8)
12304 delete arg8;
12305 }
12306 return NULL;
12307}
12308
12309
c32bde28 12310static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12311 PyObject *resultobj = NULL;
d14a1e28
RD
12312 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12313 int result;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12321 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12325
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
093d3ff1 12329 {
32fe5131 12330 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12331 }
d14a1e28
RD
12332 return resultobj;
12333 fail:
12334 return NULL;
12335}
12336
12337
c32bde28 12338static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12339 PyObject *resultobj = NULL;
d14a1e28
RD
12340 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12341 int result;
12342 PyObject * obj0 = 0 ;
12343 char *kwnames[] = {
12344 (char *) "self", NULL
12345 };
12346
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12349 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12353
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
093d3ff1 12357 {
32fe5131 12358 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12359 }
d14a1e28
RD
12360 return resultobj;
12361 fail:
12362 return NULL;
12363}
12364
12365
c32bde28 12366static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12367 PyObject *resultobj = NULL;
d14a1e28
RD
12368 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12369 int result;
12370 PyObject * obj0 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12377 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
093d3ff1 12385 {
32fe5131 12386 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12387 }
d14a1e28
RD
12388 return resultobj;
12389 fail:
12390 return NULL;
12391}
12392
12393
c32bde28 12394static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12395 PyObject *resultobj = NULL;
d14a1e28
RD
12396 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12397 int result;
12398 PyObject * obj0 = 0 ;
12399 char *kwnames[] = {
12400 (char *) "self", NULL
12401 };
12402
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12406 {
12407 PyThreadState* __tstate = wxPyBeginAllowThreads();
12408 result = (int)((wxScrollBar const *)arg1)->GetRange();
12409
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
093d3ff1 12413 {
32fe5131 12414 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12415 }
d14a1e28
RD
12416 return resultobj;
12417 fail:
12418 return NULL;
12419}
12420
12421
c32bde28 12422static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12423 PyObject *resultobj = NULL;
d14a1e28
RD
12424 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12425 bool result;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
4f89f6a3
RD
12441 {
12442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12443 }
d14a1e28
RD
12444 return resultobj;
12445 fail:
12446 return NULL;
12447}
12448
12449
c32bde28 12450static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12451 PyObject *resultobj = NULL;
d14a1e28
RD
12452 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12453 int arg2 ;
12454 PyObject * obj0 = 0 ;
994141e6 12455 PyObject * obj1 = 0 ;
d14a1e28
RD
12456 char *kwnames[] = {
12457 (char *) "self",(char *) "viewStart", NULL
12458 };
12459
994141e6 12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12462 if (SWIG_arg_fail(1)) SWIG_fail;
12463 {
32fe5131 12464 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12465 if (SWIG_arg_fail(2)) SWIG_fail;
12466 }
d14a1e28
RD
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 (arg1)->SetThumbPosition(arg2);
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 Py_INCREF(Py_None); resultobj = Py_None;
12475 return resultobj;
12476 fail:
12477 return NULL;
12478}
12479
12480
c32bde28 12481static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12482 PyObject *resultobj = NULL;
d14a1e28
RD
12483 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12484 int arg2 ;
12485 int arg3 ;
12486 int arg4 ;
12487 int arg5 ;
ae8162c8 12488 bool arg6 = (bool) true ;
d14a1e28 12489 PyObject * obj0 = 0 ;
994141e6
RD
12490 PyObject * obj1 = 0 ;
12491 PyObject * obj2 = 0 ;
12492 PyObject * obj3 = 0 ;
12493 PyObject * obj4 = 0 ;
d14a1e28
RD
12494 PyObject * obj5 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12497 };
12498
994141e6 12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12501 if (SWIG_arg_fail(1)) SWIG_fail;
12502 {
32fe5131 12503 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12504 if (SWIG_arg_fail(2)) SWIG_fail;
12505 }
12506 {
32fe5131 12507 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12508 if (SWIG_arg_fail(3)) SWIG_fail;
12509 }
12510 {
32fe5131 12511 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12512 if (SWIG_arg_fail(4)) SWIG_fail;
12513 }
12514 {
32fe5131 12515 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
12516 if (SWIG_arg_fail(5)) SWIG_fail;
12517 }
d14a1e28 12518 if (obj5) {
093d3ff1 12519 {
32fe5131 12520 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
12521 if (SWIG_arg_fail(6)) SWIG_fail;
12522 }
d14a1e28
RD
12523 }
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12527
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 Py_INCREF(Py_None); resultobj = Py_None;
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
c32bde28 12538static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12539 PyObject *resultobj = NULL;
093d3ff1 12540 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
12541 wxVisualAttributes result;
12542 PyObject * obj0 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "variant", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12548 if (obj0) {
093d3ff1 12549 {
32fe5131 12550 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
12551 if (SWIG_arg_fail(1)) SWIG_fail;
12552 }
22bfe96c
RD
12553 }
12554 {
110da5b0 12555 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12557 result = wxScrollBar::GetClassDefaultAttributes(arg1);
22bfe96c
RD
12558
12559 wxPyEndAllowThreads(__tstate);
dfbb5885 12560 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12561 }
12562 {
12563 wxVisualAttributes * resultptr;
32fe5131 12564 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
12565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12566 }
12567 return resultobj;
12568 fail:
12569 return NULL;
12570}
12571
12572
c32bde28 12573static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12574 PyObject *obj;
12575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12576 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12577 Py_INCREF(obj);
12578 return Py_BuildValue((char *)"");
12579}
c32bde28 12580static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
b2dc1044
RD
12581 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12582 return 1;
12583}
12584
12585
093d3ff1 12586static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
32fe5131 12587 PyObject *pyobj = NULL;
b2dc1044
RD
12588
12589 {
12590#if wxUSE_UNICODE
12591 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12592#else
12593 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12594#endif
12595 }
12596 return pyobj;
12597}
12598
12599
c32bde28 12600static int _wrap_SpinCtrlNameStr_set(PyObject *) {
b2dc1044
RD
12601 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12602 return 1;
12603}
12604
12605
093d3ff1 12606static PyObject *_wrap_SpinCtrlNameStr_get(void) {
32fe5131 12607 PyObject *pyobj = NULL;
b2dc1044
RD
12608
12609 {
12610#if wxUSE_UNICODE
12611 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12612#else
12613 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12614#endif
12615 }
12616 return pyobj;
12617}
12618
12619
c32bde28 12620static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12621 PyObject *resultobj = NULL;
d14a1e28 12622 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12623 int arg2 = (int) -1 ;
d14a1e28
RD
12624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12626 wxSize const &arg4_defvalue = wxDefaultSize ;
12627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12628 long arg5 = (long) wxSP_HORIZONTAL ;
12629 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12630 wxString *arg6 = (wxString *) &arg6_defvalue ;
12631 wxSpinButton *result;
12632 wxPoint temp3 ;
12633 wxSize temp4 ;
ae8162c8 12634 bool temp6 = false ;
d14a1e28 12635 PyObject * obj0 = 0 ;
994141e6 12636 PyObject * obj1 = 0 ;
d14a1e28
RD
12637 PyObject * obj2 = 0 ;
12638 PyObject * obj3 = 0 ;
994141e6 12639 PyObject * obj4 = 0 ;
d14a1e28
RD
12640 PyObject * obj5 = 0 ;
12641 char *kwnames[] = {
12642 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12643 };
12644
994141e6 12645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12648 if (obj1) {
093d3ff1 12649 {
32fe5131 12650 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12651 if (SWIG_arg_fail(2)) SWIG_fail;
12652 }
994141e6 12653 }
d14a1e28
RD
12654 if (obj2) {
12655 {
12656 arg3 = &temp3;
12657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12658 }
12659 }
12660 if (obj3) {
12661 {
12662 arg4 = &temp4;
12663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12664 }
12665 }
994141e6 12666 if (obj4) {
093d3ff1 12667 {
32fe5131 12668 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12669 if (SWIG_arg_fail(5)) SWIG_fail;
12670 }
994141e6 12671 }
d14a1e28
RD
12672 if (obj5) {
12673 {
12674 arg6 = wxString_in_helper(obj5);
12675 if (arg6 == NULL) SWIG_fail;
ae8162c8 12676 temp6 = true;
d14a1e28
RD
12677 }
12678 }
12679 {
e3b71cb8 12680 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12683
12684 wxPyEndAllowThreads(__tstate);
110da5b0 12685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12686 }
15afbcd0 12687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12688 {
12689 if (temp6)
12690 delete arg6;
12691 }
12692 return resultobj;
12693 fail:
12694 {
12695 if (temp6)
12696 delete arg6;
12697 }
12698 return NULL;
12699}
12700
12701
c32bde28 12702static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12703 PyObject *resultobj = NULL;
d14a1e28
RD
12704 wxSpinButton *result;
12705 char *kwnames[] = {
12706 NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12710 {
e3b71cb8 12711 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (wxSpinButton *)new wxSpinButton();
12714
12715 wxPyEndAllowThreads(__tstate);
110da5b0 12716 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12717 }
15afbcd0 12718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12719 return resultobj;
12720 fail:
12721 return NULL;
12722}
12723
12724
c32bde28 12725static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12726 PyObject *resultobj = NULL;
d14a1e28
RD
12727 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12728 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12729 int arg3 = (int) -1 ;
d14a1e28
RD
12730 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12731 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12732 wxSize const &arg5_defvalue = wxDefaultSize ;
12733 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12734 long arg6 = (long) wxSP_HORIZONTAL ;
12735 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12736 wxString *arg7 = (wxString *) &arg7_defvalue ;
12737 bool result;
12738 wxPoint temp4 ;
12739 wxSize temp5 ;
ae8162c8 12740 bool temp7 = false ;
d14a1e28
RD
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj1 = 0 ;
994141e6 12743 PyObject * obj2 = 0 ;
d14a1e28
RD
12744 PyObject * obj3 = 0 ;
12745 PyObject * obj4 = 0 ;
994141e6 12746 PyObject * obj5 = 0 ;
d14a1e28
RD
12747 PyObject * obj6 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12750 };
12751
994141e6 12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12754 if (SWIG_arg_fail(1)) SWIG_fail;
12755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12756 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12757 if (obj2) {
093d3ff1 12758 {
32fe5131 12759 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12760 if (SWIG_arg_fail(3)) SWIG_fail;
12761 }
994141e6 12762 }
d14a1e28
RD
12763 if (obj3) {
12764 {
12765 arg4 = &temp4;
12766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12767 }
12768 }
12769 if (obj4) {
12770 {
12771 arg5 = &temp5;
12772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12773 }
12774 }
994141e6 12775 if (obj5) {
093d3ff1 12776 {
32fe5131 12777 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12778 if (SWIG_arg_fail(6)) SWIG_fail;
12779 }
994141e6 12780 }
d14a1e28
RD
12781 if (obj6) {
12782 {
12783 arg7 = wxString_in_helper(obj6);
12784 if (arg7 == NULL) SWIG_fail;
ae8162c8 12785 temp7 = true;
d14a1e28
RD
12786 }
12787 }
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
4f89f6a3
RD
12795 {
12796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12797 }
d14a1e28
RD
12798 {
12799 if (temp7)
12800 delete arg7;
12801 }
12802 return resultobj;
12803 fail:
12804 {
12805 if (temp7)
12806 delete arg7;
12807 }
12808 return NULL;
12809}
12810
12811
c32bde28 12812static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12813 PyObject *resultobj = NULL;
d14a1e28
RD
12814 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12815 int result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (int)((wxSpinButton const *)arg1)->GetValue();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
093d3ff1 12831 {
32fe5131 12832 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12833 }
d14a1e28
RD
12834 return resultobj;
12835 fail:
12836 return NULL;
12837}
12838
12839
c32bde28 12840static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12841 PyObject *resultobj = NULL;
d14a1e28
RD
12842 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12843 int result;
12844 PyObject * obj0 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (int)((wxSpinButton const *)arg1)->GetMin();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
093d3ff1 12859 {
32fe5131 12860 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12861 }
d14a1e28
RD
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c32bde28 12868static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12869 PyObject *resultobj = NULL;
d14a1e28
RD
12870 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 result = (int)((wxSpinButton const *)arg1)->GetMax();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
093d3ff1 12887 {
32fe5131 12888 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12889 }
d14a1e28
RD
12890 return resultobj;
12891 fail:
12892 return NULL;
12893}
12894
12895
c32bde28 12896static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12897 PyObject *resultobj = NULL;
d14a1e28
RD
12898 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12899 int arg2 ;
12900 PyObject * obj0 = 0 ;
994141e6 12901 PyObject * obj1 = 0 ;
d14a1e28
RD
12902 char *kwnames[] = {
12903 (char *) "self",(char *) "val", NULL
12904 };
12905
994141e6 12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail;
12909 {
32fe5131 12910 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12911 if (SWIG_arg_fail(2)) SWIG_fail;
12912 }
d14a1e28
RD
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 (arg1)->SetValue(arg2);
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 Py_INCREF(Py_None); resultobj = Py_None;
12921 return resultobj;
12922 fail:
12923 return NULL;
12924}
12925
12926
c32bde28 12927static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12928 PyObject *resultobj = NULL;
d14a1e28
RD
12929 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12930 int arg2 ;
12931 PyObject * obj0 = 0 ;
994141e6 12932 PyObject * obj1 = 0 ;
d14a1e28
RD
12933 char *kwnames[] = {
12934 (char *) "self",(char *) "minVal", NULL
12935 };
12936
994141e6 12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail;
12940 {
32fe5131 12941 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12942 if (SWIG_arg_fail(2)) SWIG_fail;
12943 }
d14a1e28
RD
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->SetMin(arg2);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 Py_INCREF(Py_None); resultobj = Py_None;
12952 return resultobj;
12953 fail:
12954 return NULL;
12955}
12956
12957
c32bde28 12958static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12959 PyObject *resultobj = NULL;
d14a1e28
RD
12960 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12961 int arg2 ;
12962 PyObject * obj0 = 0 ;
994141e6 12963 PyObject * obj1 = 0 ;
d14a1e28
RD
12964 char *kwnames[] = {
12965 (char *) "self",(char *) "maxVal", NULL
12966 };
12967
994141e6 12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail;
12971 {
32fe5131 12972 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12973 if (SWIG_arg_fail(2)) SWIG_fail;
12974 }
d14a1e28
RD
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 (arg1)->SetMax(arg2);
12978
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 Py_INCREF(Py_None); resultobj = Py_None;
12983 return resultobj;
12984 fail:
12985 return NULL;
12986}
12987
12988
c32bde28 12989static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12990 PyObject *resultobj = NULL;
d14a1e28
RD
12991 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12992 int arg2 ;
12993 int arg3 ;
12994 PyObject * obj0 = 0 ;
994141e6
RD
12995 PyObject * obj1 = 0 ;
12996 PyObject * obj2 = 0 ;
d14a1e28
RD
12997 char *kwnames[] = {
12998 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12999 };
13000
994141e6 13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13003 if (SWIG_arg_fail(1)) SWIG_fail;
13004 {
32fe5131 13005 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13006 if (SWIG_arg_fail(2)) SWIG_fail;
13007 }
13008 {
32fe5131 13009 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13010 if (SWIG_arg_fail(3)) SWIG_fail;
13011 }
994141e6 13012 {
15afbcd0
RD
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 (arg1)->SetRange(arg2,arg3);
13015
13016 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
22bfe96c
RD
13019 Py_INCREF(Py_None); resultobj = Py_None;
13020 return resultobj;
13021 fail:
13022 return NULL;
13023}
13024
13025
c32bde28 13026static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13027 PyObject *resultobj = NULL;
22bfe96c
RD
13028 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13029 bool result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
13036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13037 if (SWIG_arg_fail(1)) SWIG_fail;
22bfe96c
RD
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 {
13046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13047 }
d14a1e28
RD
13048 return resultobj;
13049 fail:
13050 return NULL;
13051}
13052
13053
c32bde28 13054static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13055 PyObject *resultobj = NULL;
093d3ff1 13056 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c 13057 wxVisualAttributes result;
d14a1e28
RD
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
22bfe96c 13060 (char *) "variant", NULL
d14a1e28
RD
13061 };
13062
22bfe96c
RD
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13064 if (obj0) {
093d3ff1 13065 {
32fe5131 13066 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
13067 if (SWIG_arg_fail(1)) SWIG_fail;
13068 }
22bfe96c 13069 }
d14a1e28 13070 {
110da5b0 13071 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 13073 result = wxSpinButton::GetClassDefaultAttributes(arg1);
d14a1e28
RD
13074
13075 wxPyEndAllowThreads(__tstate);
dfbb5885 13076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13077 }
4f89f6a3 13078 {
22bfe96c 13079 wxVisualAttributes * resultptr;
32fe5131 13080 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c 13081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4f89f6a3 13082 }
d14a1e28
RD
13083 return resultobj;
13084 fail:
13085 return NULL;
13086}
13087
13088
c32bde28 13089static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13090 PyObject *obj;
13091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13092 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
13093 Py_INCREF(obj);
13094 return Py_BuildValue((char *)"");
13095}
c32bde28 13096static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13097 PyObject *resultobj = NULL;
d14a1e28 13098 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 13099 int arg2 = (int) -1 ;
d14a1e28
RD
13100 wxString const &arg3_defvalue = wxPyEmptyString ;
13101 wxString *arg3 = (wxString *) &arg3_defvalue ;
13102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13104 wxSize const &arg5_defvalue = wxDefaultSize ;
13105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13106 long arg6 = (long) wxSP_ARROW_KEYS ;
13107 int arg7 = (int) 0 ;
13108 int arg8 = (int) 100 ;
13109 int arg9 = (int) 0 ;
13110 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
13111 wxString *arg10 = (wxString *) &arg10_defvalue ;
13112 wxSpinCtrl *result;
ae8162c8 13113 bool temp3 = false ;
d14a1e28
RD
13114 wxPoint temp4 ;
13115 wxSize temp5 ;
ae8162c8 13116 bool temp10 = false ;
d14a1e28 13117 PyObject * obj0 = 0 ;
994141e6 13118 PyObject * obj1 = 0 ;
d14a1e28
RD
13119 PyObject * obj2 = 0 ;
13120 PyObject * obj3 = 0 ;
13121 PyObject * obj4 = 0 ;
994141e6
RD
13122 PyObject * obj5 = 0 ;
13123 PyObject * obj6 = 0 ;
13124 PyObject * obj7 = 0 ;
13125 PyObject * obj8 = 0 ;
d14a1e28
RD
13126 PyObject * obj9 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13129 };
13130
994141e6 13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
13132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 13134 if (obj1) {
093d3ff1 13135 {
32fe5131 13136 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13137 if (SWIG_arg_fail(2)) SWIG_fail;
13138 }
994141e6
RD
13139 }
13140 if (obj2) {
d14a1e28
RD
13141 {
13142 arg3 = wxString_in_helper(obj2);
13143 if (arg3 == NULL) SWIG_fail;
ae8162c8 13144 temp3 = true;
d14a1e28
RD
13145 }
13146 }
13147 if (obj3) {
13148 {
13149 arg4 = &temp4;
13150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13151 }
13152 }
13153 if (obj4) {
13154 {
13155 arg5 = &temp5;
13156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13157 }
13158 }
994141e6 13159 if (obj5) {
093d3ff1 13160 {
32fe5131 13161 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
13162 if (SWIG_arg_fail(6)) SWIG_fail;
13163 }
994141e6
RD
13164 }
13165 if (obj6) {
093d3ff1 13166 {
32fe5131 13167 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
13168 if (SWIG_arg_fail(7)) SWIG_fail;
13169 }
994141e6
RD
13170 }
13171 if (obj7) {
093d3ff1 13172 {
32fe5131 13173 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
13174 if (SWIG_arg_fail(8)) SWIG_fail;
13175 }
994141e6
RD
13176 }
13177 if (obj8) {
093d3ff1 13178 {
32fe5131 13179 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
13180 if (SWIG_arg_fail(9)) SWIG_fail;
13181 }
994141e6 13182 }
d14a1e28
RD
13183 if (obj9) {
13184 {
13185 arg10 = wxString_in_helper(obj9);
13186 if (arg10 == NULL) SWIG_fail;
ae8162c8 13187 temp10 = true;
d14a1e28
RD
13188 }
13189 }
13190 {
e3b71cb8 13191 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13192 PyThreadState* __tstate = wxPyBeginAllowThreads();
13193 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13194
13195 wxPyEndAllowThreads(__tstate);
110da5b0 13196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13197 }
15afbcd0 13198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
13199 {
13200 if (temp3)
13201 delete arg3;
13202 }
13203 {
13204 if (temp10)
13205 delete arg10;
13206 }
13207 return resultobj;
13208 fail:
13209 {
13210 if (temp3)
13211 delete arg3;
13212 }
13213 {
13214 if (temp10)
13215 delete arg10;
13216 }
13217 return NULL;
13218}
13219
13220
c32bde28 13221static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13222 PyObject *resultobj = NULL;
d14a1e28
RD
13223 wxSpinCtrl *result;
13224 char *kwnames[] = {
13225 NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13229 {
e3b71cb8 13230 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (wxSpinCtrl *)new wxSpinCtrl();
13233
13234 wxPyEndAllowThreads(__tstate);
110da5b0 13235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13236 }
15afbcd0 13237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
13238 return resultobj;
13239 fail:
13240 return NULL;
13241}
13242
13243
c32bde28 13244static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13245 PyObject *resultobj = NULL;
d14a1e28
RD
13246 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13247 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 13248 int arg3 = (int) -1 ;
d14a1e28
RD
13249 wxString const &arg4_defvalue = wxPyEmptyString ;
13250 wxString *arg4 = (wxString *) &arg4_defvalue ;
13251 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13252 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13253 wxSize const &arg6_defvalue = wxDefaultSize ;
13254 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13255 long arg7 = (long) wxSP_ARROW_KEYS ;
13256 int arg8 = (int) 0 ;
13257 int arg9 = (int) 100 ;
13258 int arg10 = (int) 0 ;
13259 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13260 wxString *arg11 = (wxString *) &arg11_defvalue ;
13261 bool result;
ae8162c8 13262 bool temp4 = false ;
d14a1e28
RD
13263 wxPoint temp5 ;
13264 wxSize temp6 ;
ae8162c8 13265 bool temp11 = false ;
d14a1e28
RD
13266 PyObject * obj0 = 0 ;
13267 PyObject * obj1 = 0 ;
994141e6 13268 PyObject * obj2 = 0 ;
d14a1e28
RD
13269 PyObject * obj3 = 0 ;
13270 PyObject * obj4 = 0 ;
13271 PyObject * obj5 = 0 ;
994141e6
RD
13272 PyObject * obj6 = 0 ;
13273 PyObject * obj7 = 0 ;
13274 PyObject * obj8 = 0 ;
13275 PyObject * obj9 = 0 ;
d14a1e28
RD
13276 PyObject * obj10 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13279 };
13280
994141e6 13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
13282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail;
13284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13285 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 13286 if (obj2) {
093d3ff1 13287 {
32fe5131 13288 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13289 if (SWIG_arg_fail(3)) SWIG_fail;
13290 }
994141e6 13291 }
d14a1e28
RD
13292 if (obj3) {
13293 {
13294 arg4 = wxString_in_helper(obj3);
13295 if (arg4 == NULL) SWIG_fail;
ae8162c8 13296 temp4 = true;
d14a1e28
RD
13297 }
13298 }
13299 if (obj4) {
13300 {
13301 arg5 = &temp5;
13302 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13303 }
13304 }
13305 if (obj5) {
13306 {
13307 arg6 = &temp6;
13308 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13309 }
13310 }
994141e6 13311 if (obj6) {
093d3ff1 13312 {
32fe5131 13313 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
13314 if (SWIG_arg_fail(7)) SWIG_fail;
13315 }
994141e6
RD
13316 }
13317 if (obj7) {
093d3ff1 13318 {
32fe5131 13319 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
13320 if (SWIG_arg_fail(8)) SWIG_fail;
13321 }
994141e6
RD
13322 }
13323 if (obj8) {
093d3ff1 13324 {
32fe5131 13325 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
13326 if (SWIG_arg_fail(9)) SWIG_fail;
13327 }
994141e6
RD
13328 }
13329 if (obj9) {
093d3ff1 13330 {
32fe5131 13331 arg10 = static_cast<int >(SWIG_As_int(obj9));
093d3ff1
RD
13332 if (SWIG_arg_fail(10)) SWIG_fail;
13333 }
994141e6 13334 }
d14a1e28
RD
13335 if (obj10) {
13336 {
13337 arg11 = wxString_in_helper(obj10);
13338 if (arg11 == NULL) SWIG_fail;
ae8162c8 13339 temp11 = true;
d14a1e28
RD
13340 }
13341 }
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
4f89f6a3
RD
13349 {
13350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13351 }
d14a1e28
RD
13352 {
13353 if (temp4)
13354 delete arg4;
13355 }
13356 {
13357 if (temp11)
13358 delete arg11;
13359 }
13360 return resultobj;
13361 fail:
13362 {
13363 if (temp4)
13364 delete arg4;
13365 }
13366 {
13367 if (temp11)
13368 delete arg11;
13369 }
13370 return NULL;
13371}
13372
13373
c32bde28 13374static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13375 PyObject *resultobj = NULL;
d14a1e28
RD
13376 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13377 int result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
093d3ff1 13393 {
32fe5131 13394 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13395 }
d14a1e28
RD
13396 return resultobj;
13397 fail:
13398 return NULL;
13399}
13400
13401
c32bde28 13402static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13403 PyObject *resultobj = NULL;
d14a1e28
RD
13404 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13405 int arg2 ;
13406 PyObject * obj0 = 0 ;
994141e6 13407 PyObject * obj1 = 0 ;
d14a1e28
RD
13408 char *kwnames[] = {
13409 (char *) "self",(char *) "value", NULL
13410 };
13411
994141e6 13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13414 if (SWIG_arg_fail(1)) SWIG_fail;
13415 {
32fe5131 13416 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13417 if (SWIG_arg_fail(2)) SWIG_fail;
13418 }
d14a1e28
RD
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 (arg1)->SetValue(arg2);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 Py_INCREF(Py_None); resultobj = Py_None;
13427 return resultobj;
13428 fail:
13429 return NULL;
13430}
13431
13432
c32bde28 13433static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13434 PyObject *resultobj = NULL;
d14a1e28
RD
13435 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13436 wxString *arg2 = 0 ;
ae8162c8 13437 bool temp2 = false ;
d14a1e28
RD
13438 PyObject * obj0 = 0 ;
13439 PyObject * obj1 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self",(char *) "text", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13446 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13447 {
13448 arg2 = wxString_in_helper(obj1);
13449 if (arg2 == NULL) SWIG_fail;
ae8162c8 13450 temp2 = true;
d14a1e28
RD
13451 }
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 (arg1)->SetValue((wxString const &)*arg2);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
13459 Py_INCREF(Py_None); resultobj = Py_None;
13460 {
13461 if (temp2)
13462 delete arg2;
13463 }
13464 return resultobj;
13465 fail:
13466 {
13467 if (temp2)
13468 delete arg2;
13469 }
13470 return NULL;
13471}
13472
13473
c32bde28 13474static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13475 PyObject *resultobj = NULL;
d14a1e28
RD
13476 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13477 int arg2 ;
13478 int arg3 ;
13479 PyObject * obj0 = 0 ;
994141e6
RD
13480 PyObject * obj1 = 0 ;
13481 PyObject * obj2 = 0 ;
d14a1e28
RD
13482 char *kwnames[] = {
13483 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13484 };
13485
994141e6 13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13488 if (SWIG_arg_fail(1)) SWIG_fail;
13489 {
32fe5131 13490 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13491 if (SWIG_arg_fail(2)) SWIG_fail;
13492 }
13493 {
32fe5131 13494 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13495 if (SWIG_arg_fail(3)) SWIG_fail;
13496 }
d14a1e28
RD
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 (arg1)->SetRange(arg2,arg3);
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 Py_INCREF(Py_None); resultobj = Py_None;
13505 return resultobj;
13506 fail:
13507 return NULL;
13508}
13509
13510
c32bde28 13511static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13512 PyObject *resultobj = NULL;
d14a1e28
RD
13513 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13514 int result;
13515 PyObject * obj0 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "self", NULL
13518 };
13519
13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13522 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
093d3ff1 13530 {
32fe5131 13531 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13532 }
d14a1e28
RD
13533 return resultobj;
13534 fail:
13535 return NULL;
13536}
13537
13538
c32bde28 13539static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13540 PyObject *resultobj = NULL;
d14a1e28
RD
13541 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13542 int result;
13543 PyObject * obj0 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "self", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
093d3ff1 13558 {
32fe5131 13559 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13560 }
d14a1e28
RD
13561 return resultobj;
13562 fail:
13563 return NULL;
13564}
13565
13566
c32bde28 13567static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13568 PyObject *resultobj = NULL;
d14a1e28
RD
13569 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13570 long arg2 ;
13571 long arg3 ;
13572 PyObject * obj0 = 0 ;
994141e6
RD
13573 PyObject * obj1 = 0 ;
13574 PyObject * obj2 = 0 ;
d14a1e28
RD
13575 char *kwnames[] = {
13576 (char *) "self",(char *) "from",(char *) "to", NULL
13577 };
13578
994141e6 13579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13581 if (SWIG_arg_fail(1)) SWIG_fail;
13582 {
32fe5131 13583 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
13584 if (SWIG_arg_fail(2)) SWIG_fail;
13585 }
13586 {
32fe5131 13587 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
13588 if (SWIG_arg_fail(3)) SWIG_fail;
13589 }
d14a1e28
RD
13590 {
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 13592 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
13593
13594 wxPyEndAllowThreads(__tstate);
13595 if (PyErr_Occurred()) SWIG_fail;
13596 }
13597 Py_INCREF(Py_None); resultobj = Py_None;
13598 return resultobj;
13599 fail:
13600 return NULL;
13601}
13602
13603
c32bde28 13604static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13605 PyObject *resultobj = NULL;
093d3ff1 13606 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
13607 wxVisualAttributes result;
13608 PyObject * obj0 = 0 ;
13609 char *kwnames[] = {
13610 (char *) "variant", NULL
13611 };
13612
13613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13614 if (obj0) {
093d3ff1 13615 {
32fe5131 13616 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
13617 if (SWIG_arg_fail(1)) SWIG_fail;
13618 }
22bfe96c
RD
13619 }
13620 {
110da5b0 13621 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 13623 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
22bfe96c
RD
13624
13625 wxPyEndAllowThreads(__tstate);
dfbb5885 13626 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
13627 }
13628 {
13629 wxVisualAttributes * resultptr;
32fe5131 13630 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
13631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13632 }
13633 return resultobj;
13634 fail:
13635 return NULL;
13636}
13637
13638
c32bde28 13639static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13640 PyObject *obj;
13641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13643 Py_INCREF(obj);
13644 return Py_BuildValue((char *)"");
13645}
c32bde28 13646static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13647 PyObject *resultobj = NULL;
d1e20054
RD
13648 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13649 int arg2 = (int) 0 ;
13650 wxSpinEvent *result;
994141e6
RD
13651 PyObject * obj0 = 0 ;
13652 PyObject * obj1 = 0 ;
d1e20054
RD
13653 char *kwnames[] = {
13654 (char *) "commandType",(char *) "winid", NULL
13655 };
13656
994141e6
RD
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13658 if (obj0) {
093d3ff1 13659 {
32fe5131 13660 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
13661 if (SWIG_arg_fail(1)) SWIG_fail;
13662 }
994141e6
RD
13663 }
13664 if (obj1) {
093d3ff1 13665 {
32fe5131 13666 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13667 if (SWIG_arg_fail(2)) SWIG_fail;
13668 }
994141e6 13669 }
d1e20054
RD
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
15afbcd0 13677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
13678 return resultobj;
13679 fail:
13680 return NULL;
13681}
13682
13683
c32bde28 13684static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13685 PyObject *resultobj = NULL;
d1e20054
RD
13686 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13687 int result;
13688 PyObject * obj0 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13695 if (SWIG_arg_fail(1)) SWIG_fail;
d1e20054
RD
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13699
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
093d3ff1 13703 {
32fe5131 13704 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13705 }
d1e20054
RD
13706 return resultobj;
13707 fail:
13708 return NULL;
13709}
13710
13711
c32bde28 13712static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13713 PyObject *resultobj = NULL;
d1e20054
RD
13714 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13715 int arg2 ;
13716 PyObject * obj0 = 0 ;
994141e6 13717 PyObject * obj1 = 0 ;
d1e20054
RD
13718 char *kwnames[] = {
13719 (char *) "self",(char *) "pos", NULL
13720 };
13721
994141e6 13722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13724 if (SWIG_arg_fail(1)) SWIG_fail;
13725 {
32fe5131 13726 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13727 if (SWIG_arg_fail(2)) SWIG_fail;
13728 }
d1e20054
RD
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetPosition(arg2);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 return resultobj;
13738 fail:
13739 return NULL;
13740}
13741
13742
c32bde28 13743static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d1e20054
RD
13744 PyObject *obj;
13745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13746 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13747 Py_INCREF(obj);
13748 return Py_BuildValue((char *)"");
13749}
c32bde28 13750static int _wrap_RadioBoxNameStr_set(PyObject *) {
b2dc1044
RD
13751 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13752 return 1;
13753}
13754
13755
093d3ff1 13756static PyObject *_wrap_RadioBoxNameStr_get(void) {
32fe5131 13757 PyObject *pyobj = NULL;
b2dc1044
RD
13758
13759 {
13760#if wxUSE_UNICODE
13761 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13762#else
13763 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13764#endif
13765 }
13766 return pyobj;
13767}
13768
13769
c32bde28 13770static int _wrap_RadioButtonNameStr_set(PyObject *) {
b2dc1044
RD
13771 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13772 return 1;
13773}
13774
13775
093d3ff1 13776static PyObject *_wrap_RadioButtonNameStr_get(void) {
32fe5131 13777 PyObject *pyobj = NULL;
b2dc1044
RD
13778
13779 {
13780#if wxUSE_UNICODE
13781 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13782#else
13783 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13784#endif
13785 }
13786 return pyobj;
13787}
13788
13789
c32bde28 13790static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13791 PyObject *resultobj = NULL;
d14a1e28 13792 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13793 int arg2 = (int) -1 ;
13794 wxString const &arg3_defvalue = wxPyEmptyString ;
13795 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
13796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13798 wxSize const &arg5_defvalue = wxDefaultSize ;
13799 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
13800 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13801 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13802 int arg7 = (int) 0 ;
13803 long arg8 = (long) wxRA_HORIZONTAL ;
13804 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13805 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13806 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13807 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 13808 wxRadioBox *result;
ae8162c8 13809 bool temp3 = false ;
d14a1e28
RD
13810 wxPoint temp4 ;
13811 wxSize temp5 ;
ae8162c8
RD
13812 bool temp6 = false ;
13813 bool temp10 = false ;
d14a1e28 13814 PyObject * obj0 = 0 ;
994141e6 13815 PyObject * obj1 = 0 ;
d14a1e28
RD
13816 PyObject * obj2 = 0 ;
13817 PyObject * obj3 = 0 ;
13818 PyObject * obj4 = 0 ;
13819 PyObject * obj5 = 0 ;
994141e6
RD
13820 PyObject * obj6 = 0 ;
13821 PyObject * obj7 = 0 ;
d14a1e28
RD
13822 PyObject * obj8 = 0 ;
13823 PyObject * obj9 = 0 ;
13824 char *kwnames[] = {
994141e6 13825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
13826 };
13827
248ed943 13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
13829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13830 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13831 if (obj1) {
093d3ff1 13832 {
32fe5131 13833 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13834 if (SWIG_arg_fail(2)) SWIG_fail;
13835 }
248ed943
RD
13836 }
13837 if (obj2) {
13838 {
13839 arg3 = wxString_in_helper(obj2);
13840 if (arg3 == NULL) SWIG_fail;
ae8162c8 13841 temp3 = true;
248ed943 13842 }
d14a1e28
RD
13843 }
13844 if (obj3) {
13845 {
13846 arg4 = &temp4;
13847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13848 }
13849 }
13850 if (obj4) {
13851 {
13852 arg5 = &temp5;
13853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13854 }
13855 }
13856 if (obj5) {
13857 {
4d5c3d91
RD
13858 if (! PySequence_Check(obj5)) {
13859 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13860 SWIG_fail;
13861 }
13862 arg6 = new wxArrayString;
ae8162c8 13863 temp6 = true;
4d5c3d91
RD
13864 int i, len=PySequence_Length(obj5);
13865 for (i=0; i<len; i++) {
13866 PyObject* item = PySequence_GetItem(obj5, i);
71237536 13867 wxString* s = wxString_in_helper(item);
74a57fcd 13868 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13869 arg6->Add(*s);
13870 delete s;
4d5c3d91 13871 Py_DECREF(item);
4d5c3d91 13872 }
d14a1e28
RD
13873 }
13874 }
994141e6 13875 if (obj6) {
093d3ff1 13876 {
32fe5131 13877 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
13878 if (SWIG_arg_fail(7)) SWIG_fail;
13879 }
994141e6
RD
13880 }
13881 if (obj7) {
093d3ff1 13882 {
32fe5131 13883 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
13884 if (SWIG_arg_fail(8)) SWIG_fail;
13885 }
994141e6 13886 }
d14a1e28 13887 if (obj8) {
093d3ff1
RD
13888 {
13889 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13890 if (SWIG_arg_fail(9)) SWIG_fail;
13891 if (arg9 == NULL) {
13892 SWIG_null_ref("wxValidator");
13893 }
13894 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
13895 }
13896 }
13897 if (obj9) {
13898 {
4d5c3d91
RD
13899 arg10 = wxString_in_helper(obj9);
13900 if (arg10 == NULL) SWIG_fail;
ae8162c8 13901 temp10 = true;
d14a1e28
RD
13902 }
13903 }
13904 {
e3b71cb8 13905 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13907 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
d14a1e28
RD
13908
13909 wxPyEndAllowThreads(__tstate);
110da5b0 13910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13911 }
15afbcd0 13912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13913 {
13914 if (temp3)
13915 delete arg3;
13916 }
13917 {
3adfb63b 13918 if (temp6) delete arg6;
d14a1e28
RD
13919 }
13920 {
13921 if (temp10)
4d5c3d91 13922 delete arg10;
d14a1e28
RD
13923 }
13924 return resultobj;
13925 fail:
13926 {
13927 if (temp3)
13928 delete arg3;
13929 }
13930 {
3adfb63b 13931 if (temp6) delete arg6;
d14a1e28
RD
13932 }
13933 {
13934 if (temp10)
4d5c3d91 13935 delete arg10;
d14a1e28
RD
13936 }
13937 return NULL;
13938}
13939
13940
c32bde28 13941static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13942 PyObject *resultobj = NULL;
d14a1e28
RD
13943 wxRadioBox *result;
13944 char *kwnames[] = {
13945 NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13949 {
e3b71cb8 13950 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (wxRadioBox *)new wxRadioBox();
13953
13954 wxPyEndAllowThreads(__tstate);
110da5b0 13955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13956 }
15afbcd0 13957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13958 return resultobj;
13959 fail:
13960 return NULL;
13961}
13962
13963
c32bde28 13964static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13965 PyObject *resultobj = NULL;
d14a1e28
RD
13966 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13967 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13968 int arg3 = (int) -1 ;
13969 wxString const &arg4_defvalue = wxPyEmptyString ;
13970 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
13971 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13972 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13973 wxSize const &arg6_defvalue = wxDefaultSize ;
13974 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
13975 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13976 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13977 int arg8 = (int) 0 ;
13978 long arg9 = (long) wxRA_HORIZONTAL ;
13979 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13980 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13981 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13982 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 13983 bool result;
ae8162c8 13984 bool temp4 = false ;
d14a1e28
RD
13985 wxPoint temp5 ;
13986 wxSize temp6 ;
ae8162c8
RD
13987 bool temp7 = false ;
13988 bool temp11 = false ;
d14a1e28
RD
13989 PyObject * obj0 = 0 ;
13990 PyObject * obj1 = 0 ;
994141e6 13991 PyObject * obj2 = 0 ;
d14a1e28
RD
13992 PyObject * obj3 = 0 ;
13993 PyObject * obj4 = 0 ;
13994 PyObject * obj5 = 0 ;
13995 PyObject * obj6 = 0 ;
994141e6
RD
13996 PyObject * obj7 = 0 ;
13997 PyObject * obj8 = 0 ;
d14a1e28
RD
13998 PyObject * obj9 = 0 ;
13999 PyObject * obj10 = 0 ;
14000 char *kwnames[] = {
994141e6 14001 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
14002 };
14003
248ed943 14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
14005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14006 if (SWIG_arg_fail(1)) SWIG_fail;
14007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14008 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14009 if (obj2) {
093d3ff1 14010 {
32fe5131 14011 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14012 if (SWIG_arg_fail(3)) SWIG_fail;
14013 }
248ed943
RD
14014 }
14015 if (obj3) {
14016 {
14017 arg4 = wxString_in_helper(obj3);
14018 if (arg4 == NULL) SWIG_fail;
ae8162c8 14019 temp4 = true;
248ed943 14020 }
d14a1e28
RD
14021 }
14022 if (obj4) {
14023 {
14024 arg5 = &temp5;
14025 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14026 }
14027 }
14028 if (obj5) {
14029 {
14030 arg6 = &temp6;
14031 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14032 }
14033 }
14034 if (obj6) {
14035 {
4d5c3d91
RD
14036 if (! PySequence_Check(obj6)) {
14037 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14038 SWIG_fail;
14039 }
14040 arg7 = new wxArrayString;
ae8162c8 14041 temp7 = true;
4d5c3d91
RD
14042 int i, len=PySequence_Length(obj6);
14043 for (i=0; i<len; i++) {
14044 PyObject* item = PySequence_GetItem(obj6, i);
71237536 14045 wxString* s = wxString_in_helper(item);
74a57fcd 14046 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
14047 arg7->Add(*s);
14048 delete s;
4d5c3d91 14049 Py_DECREF(item);
4d5c3d91 14050 }
d14a1e28
RD
14051 }
14052 }
994141e6 14053 if (obj7) {
093d3ff1 14054 {
32fe5131 14055 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
14056 if (SWIG_arg_fail(8)) SWIG_fail;
14057 }
994141e6
RD
14058 }
14059 if (obj8) {
093d3ff1 14060 {
32fe5131 14061 arg9 = static_cast<long >(SWIG_As_long(obj8));
093d3ff1
RD
14062 if (SWIG_arg_fail(9)) SWIG_fail;
14063 }
994141e6 14064 }
d14a1e28 14065 if (obj9) {
093d3ff1
RD
14066 {
14067 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14068 if (SWIG_arg_fail(10)) SWIG_fail;
14069 if (arg10 == NULL) {
14070 SWIG_null_ref("wxValidator");
14071 }
14072 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
14073 }
14074 }
14075 if (obj10) {
14076 {
4d5c3d91
RD
14077 arg11 = wxString_in_helper(obj10);
14078 if (arg11 == NULL) SWIG_fail;
ae8162c8 14079 temp11 = true;
d14a1e28
RD
14080 }
14081 }
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 14084 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
d14a1e28
RD
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
4f89f6a3
RD
14089 {
14090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14091 }
d14a1e28
RD
14092 {
14093 if (temp4)
14094 delete arg4;
14095 }
14096 {
3adfb63b 14097 if (temp7) delete arg7;
d14a1e28
RD
14098 }
14099 {
14100 if (temp11)
4d5c3d91 14101 delete arg11;
d14a1e28
RD
14102 }
14103 return resultobj;
14104 fail:
14105 {
14106 if (temp4)
14107 delete arg4;
14108 }
14109 {
3adfb63b 14110 if (temp7) delete arg7;
d14a1e28
RD
14111 }
14112 {
14113 if (temp11)
4d5c3d91 14114 delete arg11;
d14a1e28
RD
14115 }
14116 return NULL;
14117}
14118
14119
c32bde28 14120static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14121 PyObject *resultobj = NULL;
d14a1e28
RD
14122 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14123 int arg2 ;
14124 PyObject * obj0 = 0 ;
994141e6 14125 PyObject * obj1 = 0 ;
d14a1e28
RD
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "n", NULL
14128 };
14129
994141e6 14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14132 if (SWIG_arg_fail(1)) SWIG_fail;
14133 {
32fe5131 14134 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14135 if (SWIG_arg_fail(2)) SWIG_fail;
14136 }
d14a1e28
RD
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 (arg1)->SetSelection(arg2);
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 Py_INCREF(Py_None); resultobj = Py_None;
14145 return resultobj;
14146 fail:
14147 return NULL;
14148}
14149
14150
c32bde28 14151static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14152 PyObject *resultobj = NULL;
d14a1e28
RD
14153 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14154 int result;
14155 PyObject * obj0 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
093d3ff1 14170 {
32fe5131 14171 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14172 }
d14a1e28
RD
14173 return resultobj;
14174 fail:
14175 return NULL;
14176}
14177
14178
c32bde28 14179static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14180 PyObject *resultobj = NULL;
d14a1e28
RD
14181 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14182 wxString result;
14183 PyObject * obj0 = 0 ;
14184 char *kwnames[] = {
14185 (char *) "self", NULL
14186 };
14187
14188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14194
14195 wxPyEndAllowThreads(__tstate);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 {
14199#if wxUSE_UNICODE
14200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14201#else
14202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14203#endif
14204 }
14205 return resultobj;
14206 fail:
14207 return NULL;
14208}
14209
14210
c32bde28 14211static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14212 PyObject *resultobj = NULL;
d14a1e28
RD
14213 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14214 wxString *arg2 = 0 ;
14215 bool result;
ae8162c8 14216 bool temp2 = false ;
d14a1e28
RD
14217 PyObject * obj0 = 0 ;
14218 PyObject * obj1 = 0 ;
14219 char *kwnames[] = {
14220 (char *) "self",(char *) "s", NULL
14221 };
14222
14223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14226 {
14227 arg2 = wxString_in_helper(obj1);
14228 if (arg2 == NULL) SWIG_fail;
ae8162c8 14229 temp2 = true;
d14a1e28
RD
14230 }
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
4f89f6a3
RD
14238 {
14239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14240 }
d14a1e28
RD
14241 {
14242 if (temp2)
14243 delete arg2;
14244 }
14245 return resultobj;
14246 fail:
14247 {
14248 if (temp2)
14249 delete arg2;
14250 }
14251 return NULL;
14252}
14253
14254
c32bde28 14255static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14256 PyObject *resultobj = NULL;
d14a1e28
RD
14257 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14258 int result;
14259 PyObject * obj0 = 0 ;
14260 char *kwnames[] = {
14261 (char *) "self", NULL
14262 };
14263
14264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14267 {
14268 PyThreadState* __tstate = wxPyBeginAllowThreads();
14269 result = (int)((wxRadioBox const *)arg1)->GetCount();
14270
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
093d3ff1 14274 {
32fe5131 14275 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14276 }
d14a1e28
RD
14277 return resultobj;
14278 fail:
14279 return NULL;
14280}
14281
14282
c32bde28 14283static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14284 PyObject *resultobj = NULL;
d14a1e28
RD
14285 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14286 wxString *arg2 = 0 ;
14287 int result;
ae8162c8 14288 bool temp2 = false ;
d14a1e28
RD
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self",(char *) "s", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14298 {
14299 arg2 = wxString_in_helper(obj1);
14300 if (arg2 == NULL) SWIG_fail;
ae8162c8 14301 temp2 = true;
d14a1e28
RD
14302 }
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14306
14307 wxPyEndAllowThreads(__tstate);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
093d3ff1 14310 {
32fe5131 14311 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14312 }
d14a1e28
RD
14313 {
14314 if (temp2)
14315 delete arg2;
14316 }
14317 return resultobj;
14318 fail:
14319 {
14320 if (temp2)
14321 delete arg2;
14322 }
14323 return NULL;
14324}
14325
14326
c32bde28 14327static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14328 PyObject *resultobj = NULL;
d14a1e28
RD
14329 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14330 int arg2 ;
14331 wxString result;
14332 PyObject * obj0 = 0 ;
994141e6 14333 PyObject * obj1 = 0 ;
d14a1e28
RD
14334 char *kwnames[] = {
14335 (char *) "self",(char *) "n", NULL
14336 };
14337
994141e6 14338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14340 if (SWIG_arg_fail(1)) SWIG_fail;
14341 {
32fe5131 14342 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14343 if (SWIG_arg_fail(2)) SWIG_fail;
14344 }
d14a1e28
RD
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 {
14353#if wxUSE_UNICODE
14354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14355#else
14356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14357#endif
14358 }
14359 return resultobj;
14360 fail:
14361 return NULL;
14362}
14363
14364
c32bde28 14365static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14366 PyObject *resultobj = NULL;
d14a1e28
RD
14367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14368 int arg2 ;
14369 wxString *arg3 = 0 ;
ae8162c8 14370 bool temp3 = false ;
d14a1e28 14371 PyObject * obj0 = 0 ;
994141e6 14372 PyObject * obj1 = 0 ;
d14a1e28
RD
14373 PyObject * obj2 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self",(char *) "n",(char *) "label", NULL
14376 };
14377
994141e6 14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14380 if (SWIG_arg_fail(1)) SWIG_fail;
14381 {
32fe5131 14382 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14383 if (SWIG_arg_fail(2)) SWIG_fail;
14384 }
d14a1e28
RD
14385 {
14386 arg3 = wxString_in_helper(obj2);
14387 if (arg3 == NULL) SWIG_fail;
ae8162c8 14388 temp3 = true;
d14a1e28
RD
14389 }
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->SetString(arg2,(wxString const &)*arg3);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 Py_INCREF(Py_None); resultobj = Py_None;
14398 {
14399 if (temp3)
14400 delete arg3;
14401 }
14402 return resultobj;
14403 fail:
14404 {
14405 if (temp3)
14406 delete arg3;
14407 }
14408 return NULL;
14409}
14410
14411
c32bde28 14412static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14413 PyObject *resultobj = NULL;
d14a1e28
RD
14414 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14415 int arg2 ;
ae8162c8 14416 bool arg3 = (bool) true ;
d14a1e28 14417 PyObject * obj0 = 0 ;
994141e6 14418 PyObject * obj1 = 0 ;
d14a1e28
RD
14419 PyObject * obj2 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self",(char *) "n",(char *) "enable", NULL
14422 };
14423
994141e6 14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail;
14427 {
32fe5131 14428 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14429 if (SWIG_arg_fail(2)) SWIG_fail;
14430 }
d14a1e28 14431 if (obj2) {
093d3ff1 14432 {
32fe5131 14433 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
14434 if (SWIG_arg_fail(3)) SWIG_fail;
14435 }
d14a1e28
RD
14436 }
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 (arg1)->Enable(arg2,arg3);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 Py_INCREF(Py_None); resultobj = Py_None;
14445 return resultobj;
14446 fail:
14447 return NULL;
14448}
14449
14450
c32bde28 14451static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14452 PyObject *resultobj = NULL;
d14a1e28
RD
14453 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14454 int arg2 ;
ae8162c8 14455 bool arg3 = (bool) true ;
d14a1e28 14456 PyObject * obj0 = 0 ;
994141e6 14457 PyObject * obj1 = 0 ;
d14a1e28
RD
14458 PyObject * obj2 = 0 ;
14459 char *kwnames[] = {
14460 (char *) "self",(char *) "n",(char *) "show", NULL
14461 };
14462
994141e6 14463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14465 if (SWIG_arg_fail(1)) SWIG_fail;
14466 {
32fe5131 14467 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14468 if (SWIG_arg_fail(2)) SWIG_fail;
14469 }
d14a1e28 14470 if (obj2) {
093d3ff1 14471 {
32fe5131 14472 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
14473 if (SWIG_arg_fail(3)) SWIG_fail;
14474 }
d14a1e28
RD
14475 }
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 (arg1)->Show(arg2,arg3);
14479
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 Py_INCREF(Py_None); resultobj = Py_None;
14484 return resultobj;
14485 fail:
14486 return NULL;
14487}
14488
14489
c32bde28 14490static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14491 PyObject *resultobj = NULL;
d14a1e28
RD
14492 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14493 int result;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
093d3ff1 14509 {
32fe5131 14510 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14511 }
d14a1e28
RD
14512 return resultobj;
14513 fail:
14514 return NULL;
14515}
14516
14517
c32bde28 14518static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14519 PyObject *resultobj = NULL;
d14a1e28
RD
14520 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14521 int result;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14529 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14533
14534 wxPyEndAllowThreads(__tstate);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
093d3ff1 14537 {
32fe5131 14538 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14539 }
d14a1e28
RD
14540 return resultobj;
14541 fail:
14542 return NULL;
14543}
14544
14545
c32bde28 14546static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14547 PyObject *resultobj = NULL;
d14a1e28
RD
14548 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14549 int arg2 ;
093d3ff1 14550 wxDirection arg3 ;
d14a1e28
RD
14551 long arg4 ;
14552 int result;
14553 PyObject * obj0 = 0 ;
994141e6
RD
14554 PyObject * obj1 = 0 ;
14555 PyObject * obj2 = 0 ;
14556 PyObject * obj3 = 0 ;
d14a1e28
RD
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14559 };
14560
994141e6 14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
14564 {
32fe5131 14565 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14566 if (SWIG_arg_fail(2)) SWIG_fail;
14567 }
14568 {
32fe5131 14569 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
093d3ff1
RD
14570 if (SWIG_arg_fail(3)) SWIG_fail;
14571 }
14572 {
32fe5131 14573 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
14574 if (SWIG_arg_fail(4)) SWIG_fail;
14575 }
d14a1e28
RD
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14578 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,arg3,arg4);
d14a1e28
RD
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
093d3ff1 14583 {
32fe5131 14584 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14585 }
d14a1e28
RD
14586 return resultobj;
14587 fail:
14588 return NULL;
14589}
14590
14591
c32bde28 14592static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14593 PyObject *resultobj = NULL;
093d3ff1 14594 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14595 wxVisualAttributes result;
14596 PyObject * obj0 = 0 ;
14597 char *kwnames[] = {
14598 (char *) "variant", NULL
14599 };
14600
14601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14602 if (obj0) {
093d3ff1 14603 {
32fe5131 14604 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
14605 if (SWIG_arg_fail(1)) SWIG_fail;
14606 }
22bfe96c
RD
14607 }
14608 {
110da5b0 14609 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14611 result = wxRadioBox::GetClassDefaultAttributes(arg1);
22bfe96c
RD
14612
14613 wxPyEndAllowThreads(__tstate);
dfbb5885 14614 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14615 }
14616 {
14617 wxVisualAttributes * resultptr;
32fe5131 14618 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
14619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14620 }
14621 return resultobj;
14622 fail:
14623 return NULL;
14624}
14625
14626
c32bde28 14627static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14628 PyObject *obj;
14629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14630 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14631 Py_INCREF(obj);
14632 return Py_BuildValue((char *)"");
14633}
c32bde28 14634static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14635 PyObject *resultobj = NULL;
d14a1e28 14636 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14637 int arg2 = (int) -1 ;
14638 wxString const &arg3_defvalue = wxPyEmptyString ;
14639 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
14640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14642 wxSize const &arg5_defvalue = wxDefaultSize ;
14643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14644 long arg6 = (long) 0 ;
14645 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14646 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14647 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14648 wxString *arg8 = (wxString *) &arg8_defvalue ;
14649 wxRadioButton *result;
ae8162c8 14650 bool temp3 = false ;
d14a1e28
RD
14651 wxPoint temp4 ;
14652 wxSize temp5 ;
ae8162c8 14653 bool temp8 = false ;
d14a1e28 14654 PyObject * obj0 = 0 ;
994141e6 14655 PyObject * obj1 = 0 ;
d14a1e28
RD
14656 PyObject * obj2 = 0 ;
14657 PyObject * obj3 = 0 ;
14658 PyObject * obj4 = 0 ;
994141e6 14659 PyObject * obj5 = 0 ;
d14a1e28
RD
14660 PyObject * obj6 = 0 ;
14661 PyObject * obj7 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14664 };
14665
248ed943 14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14669 if (obj1) {
093d3ff1 14670 {
32fe5131 14671 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14672 if (SWIG_arg_fail(2)) SWIG_fail;
14673 }
248ed943
RD
14674 }
14675 if (obj2) {
14676 {
14677 arg3 = wxString_in_helper(obj2);
14678 if (arg3 == NULL) SWIG_fail;
ae8162c8 14679 temp3 = true;
248ed943 14680 }
d14a1e28
RD
14681 }
14682 if (obj3) {
14683 {
14684 arg4 = &temp4;
14685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14686 }
14687 }
14688 if (obj4) {
14689 {
14690 arg5 = &temp5;
14691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14692 }
14693 }
994141e6 14694 if (obj5) {
093d3ff1 14695 {
32fe5131 14696 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
14697 if (SWIG_arg_fail(6)) SWIG_fail;
14698 }
994141e6 14699 }
d14a1e28 14700 if (obj6) {
093d3ff1
RD
14701 {
14702 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14703 if (SWIG_arg_fail(7)) SWIG_fail;
14704 if (arg7 == NULL) {
14705 SWIG_null_ref("wxValidator");
14706 }
14707 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
14708 }
14709 }
14710 if (obj7) {
14711 {
14712 arg8 = wxString_in_helper(obj7);
14713 if (arg8 == NULL) SWIG_fail;
ae8162c8 14714 temp8 = true;
d14a1e28
RD
14715 }
14716 }
14717 {
e3b71cb8 14718 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14721
14722 wxPyEndAllowThreads(__tstate);
110da5b0 14723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14724 }
15afbcd0 14725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14726 {
14727 if (temp3)
14728 delete arg3;
14729 }
14730 {
14731 if (temp8)
14732 delete arg8;
14733 }
14734 return resultobj;
14735 fail:
14736 {
14737 if (temp3)
14738 delete arg3;
14739 }
14740 {
14741 if (temp8)
14742 delete arg8;
14743 }
14744 return NULL;
14745}
14746
14747
c32bde28 14748static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14749 PyObject *resultobj = NULL;
d14a1e28
RD
14750 wxRadioButton *result;
14751 char *kwnames[] = {
14752 NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14756 {
e3b71cb8 14757 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (wxRadioButton *)new wxRadioButton();
14760
14761 wxPyEndAllowThreads(__tstate);
110da5b0 14762 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14763 }
15afbcd0 14764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14765 return resultobj;
14766 fail:
14767 return NULL;
14768}
14769
14770
c32bde28 14771static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14772 PyObject *resultobj = NULL;
d14a1e28
RD
14773 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14774 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14775 int arg3 = (int) -1 ;
14776 wxString const &arg4_defvalue = wxPyEmptyString ;
14777 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
14778 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14779 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14780 wxSize const &arg6_defvalue = wxDefaultSize ;
14781 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14782 long arg7 = (long) 0 ;
14783 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14784 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14785 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14786 wxString *arg9 = (wxString *) &arg9_defvalue ;
14787 bool result;
ae8162c8 14788 bool temp4 = false ;
d14a1e28
RD
14789 wxPoint temp5 ;
14790 wxSize temp6 ;
ae8162c8 14791 bool temp9 = false ;
d14a1e28
RD
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
994141e6 14794 PyObject * obj2 = 0 ;
d14a1e28
RD
14795 PyObject * obj3 = 0 ;
14796 PyObject * obj4 = 0 ;
14797 PyObject * obj5 = 0 ;
994141e6 14798 PyObject * obj6 = 0 ;
d14a1e28
RD
14799 PyObject * obj7 = 0 ;
14800 PyObject * obj8 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14803 };
14804
248ed943 14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail;
14808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14809 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14810 if (obj2) {
093d3ff1 14811 {
32fe5131 14812 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14813 if (SWIG_arg_fail(3)) SWIG_fail;
14814 }
248ed943
RD
14815 }
14816 if (obj3) {
14817 {
14818 arg4 = wxString_in_helper(obj3);
14819 if (arg4 == NULL) SWIG_fail;
ae8162c8 14820 temp4 = true;
248ed943 14821 }
d14a1e28
RD
14822 }
14823 if (obj4) {
14824 {
14825 arg5 = &temp5;
14826 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14827 }
14828 }
14829 if (obj5) {
14830 {
14831 arg6 = &temp6;
14832 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14833 }
14834 }
994141e6 14835 if (obj6) {
093d3ff1 14836 {
32fe5131 14837 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
14838 if (SWIG_arg_fail(7)) SWIG_fail;
14839 }
994141e6 14840 }
d14a1e28 14841 if (obj7) {
093d3ff1
RD
14842 {
14843 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14844 if (SWIG_arg_fail(8)) SWIG_fail;
14845 if (arg8 == NULL) {
14846 SWIG_null_ref("wxValidator");
14847 }
14848 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
14849 }
14850 }
14851 if (obj8) {
14852 {
14853 arg9 = wxString_in_helper(obj8);
14854 if (arg9 == NULL) SWIG_fail;
ae8162c8 14855 temp9 = true;
d14a1e28
RD
14856 }
14857 }
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
4f89f6a3
RD
14865 {
14866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14867 }
d14a1e28
RD
14868 {
14869 if (temp4)
14870 delete arg4;
14871 }
14872 {
14873 if (temp9)
14874 delete arg9;
14875 }
14876 return resultobj;
14877 fail:
14878 {
14879 if (temp4)
14880 delete arg4;
14881 }
14882 {
14883 if (temp9)
14884 delete arg9;
14885 }
14886 return NULL;
14887}
14888
14889
c32bde28 14890static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14891 PyObject *resultobj = NULL;
d14a1e28
RD
14892 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14893 bool result;
14894 PyObject * obj0 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "self", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (bool)(arg1)->GetValue();
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
4f89f6a3
RD
14909 {
14910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14911 }
d14a1e28
RD
14912 return resultobj;
14913 fail:
14914 return NULL;
14915}
14916
14917
c32bde28 14918static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14919 PyObject *resultobj = NULL;
d14a1e28
RD
14920 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14921 bool arg2 ;
14922 PyObject * obj0 = 0 ;
14923 PyObject * obj1 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "value", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14930 if (SWIG_arg_fail(1)) SWIG_fail;
14931 {
32fe5131 14932 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
14933 if (SWIG_arg_fail(2)) SWIG_fail;
14934 }
d14a1e28
RD
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 (arg1)->SetValue(arg2);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 Py_INCREF(Py_None); resultobj = Py_None;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946}
14947
14948
c32bde28 14949static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14950 PyObject *resultobj = NULL;
093d3ff1 14951 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14952 wxVisualAttributes result;
14953 PyObject * obj0 = 0 ;
14954 char *kwnames[] = {
14955 (char *) "variant", NULL
14956 };
14957
14958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14959 if (obj0) {
093d3ff1 14960 {
32fe5131 14961 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
14962 if (SWIG_arg_fail(1)) SWIG_fail;
14963 }
22bfe96c
RD
14964 }
14965 {
110da5b0 14966 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14968 result = wxRadioButton::GetClassDefaultAttributes(arg1);
22bfe96c
RD
14969
14970 wxPyEndAllowThreads(__tstate);
dfbb5885 14971 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14972 }
14973 {
14974 wxVisualAttributes * resultptr;
32fe5131 14975 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
14976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14977 }
14978 return resultobj;
14979 fail:
14980 return NULL;
14981}
14982
14983
c32bde28 14984static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14985 PyObject *obj;
14986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14988 Py_INCREF(obj);
14989 return Py_BuildValue((char *)"");
14990}
c32bde28 14991static int _wrap_SliderNameStr_set(PyObject *) {
b2dc1044
RD
14992 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14993 return 1;
14994}
14995
14996
093d3ff1 14997static PyObject *_wrap_SliderNameStr_get(void) {
32fe5131 14998 PyObject *pyobj = NULL;
b2dc1044
RD
14999
15000 {
15001#if wxUSE_UNICODE
15002 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15003#else
15004 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15005#endif
15006 }
15007 return pyobj;
15008}
15009
15010
c32bde28 15011static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15012 PyObject *resultobj = NULL;
d14a1e28 15013 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15014 int arg2 = (int) -1 ;
15015 int arg3 = (int) 0 ;
15016 int arg4 = (int) 0 ;
15017 int arg5 = (int) 100 ;
d14a1e28
RD
15018 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15019 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15020 wxSize const &arg7_defvalue = wxDefaultSize ;
15021 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
15022 long arg8 = (long) wxSL_HORIZONTAL ;
15023 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15024 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15025 wxString const &arg10_defvalue = wxPySliderNameStr ;
15026 wxString *arg10 = (wxString *) &arg10_defvalue ;
15027 wxSlider *result;
15028 wxPoint temp6 ;
15029 wxSize temp7 ;
ae8162c8 15030 bool temp10 = false ;
d14a1e28 15031 PyObject * obj0 = 0 ;
994141e6
RD
15032 PyObject * obj1 = 0 ;
15033 PyObject * obj2 = 0 ;
15034 PyObject * obj3 = 0 ;
15035 PyObject * obj4 = 0 ;
d14a1e28
RD
15036 PyObject * obj5 = 0 ;
15037 PyObject * obj6 = 0 ;
994141e6 15038 PyObject * obj7 = 0 ;
d14a1e28
RD
15039 PyObject * obj8 = 0 ;
15040 PyObject * obj9 = 0 ;
15041 char *kwnames[] = {
994141e6 15042 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
15043 };
15044
248ed943 15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
15046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15048 if (obj1) {
093d3ff1 15049 {
32fe5131 15050 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15051 if (SWIG_arg_fail(2)) SWIG_fail;
15052 }
248ed943
RD
15053 }
15054 if (obj2) {
093d3ff1 15055 {
32fe5131 15056 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15057 if (SWIG_arg_fail(3)) SWIG_fail;
15058 }
248ed943
RD
15059 }
15060 if (obj3) {
093d3ff1 15061 {
32fe5131 15062 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15063 if (SWIG_arg_fail(4)) SWIG_fail;
15064 }
248ed943
RD
15065 }
15066 if (obj4) {
093d3ff1 15067 {
32fe5131 15068 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15069 if (SWIG_arg_fail(5)) SWIG_fail;
15070 }
248ed943 15071 }
d14a1e28
RD
15072 if (obj5) {
15073 {
15074 arg6 = &temp6;
15075 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15076 }
15077 }
15078 if (obj6) {
15079 {
15080 arg7 = &temp7;
15081 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
15082 }
15083 }
994141e6 15084 if (obj7) {
093d3ff1 15085 {
32fe5131 15086 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
15087 if (SWIG_arg_fail(8)) SWIG_fail;
15088 }
994141e6 15089 }
d14a1e28 15090 if (obj8) {
093d3ff1
RD
15091 {
15092 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15093 if (SWIG_arg_fail(9)) SWIG_fail;
15094 if (arg9 == NULL) {
15095 SWIG_null_ref("wxValidator");
15096 }
15097 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
15098 }
15099 }
15100 if (obj9) {
15101 {
15102 arg10 = wxString_in_helper(obj9);
15103 if (arg10 == NULL) SWIG_fail;
ae8162c8 15104 temp10 = true;
d14a1e28
RD
15105 }
15106 }
15107 {
e3b71cb8 15108 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15111
15112 wxPyEndAllowThreads(__tstate);
110da5b0 15113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15114 }
15afbcd0 15115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
15116 {
15117 if (temp10)
15118 delete arg10;
15119 }
15120 return resultobj;
15121 fail:
15122 {
15123 if (temp10)
15124 delete arg10;
15125 }
15126 return NULL;
15127}
15128
15129
c32bde28 15130static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15131 PyObject *resultobj = NULL;
d14a1e28
RD
15132 wxSlider *result;
15133 char *kwnames[] = {
15134 NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15138 {
e3b71cb8 15139 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (wxSlider *)new wxSlider();
15142
15143 wxPyEndAllowThreads(__tstate);
110da5b0 15144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15145 }
15afbcd0 15146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
15147 return resultobj;
15148 fail:
15149 return NULL;
15150}
15151
15152
c32bde28 15153static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15154 PyObject *resultobj = NULL;
d14a1e28
RD
15155 wxSlider *arg1 = (wxSlider *) 0 ;
15156 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15157 int arg3 = (int) -1 ;
15158 int arg4 = (int) 0 ;
15159 int arg5 = (int) 0 ;
15160 int arg6 = (int) 100 ;
d14a1e28
RD
15161 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15162 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15163 wxSize const &arg8_defvalue = wxDefaultSize ;
15164 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15165 long arg9 = (long) wxSL_HORIZONTAL ;
15166 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15167 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15168 wxString const &arg11_defvalue = wxPySliderNameStr ;
15169 wxString *arg11 = (wxString *) &arg11_defvalue ;
15170 bool result;
15171 wxPoint temp7 ;
15172 wxSize temp8 ;
ae8162c8 15173 bool temp11 = false ;
d14a1e28
RD
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
994141e6
RD
15176 PyObject * obj2 = 0 ;
15177 PyObject * obj3 = 0 ;
15178 PyObject * obj4 = 0 ;
15179 PyObject * obj5 = 0 ;
d14a1e28
RD
15180 PyObject * obj6 = 0 ;
15181 PyObject * obj7 = 0 ;
994141e6 15182 PyObject * obj8 = 0 ;
d14a1e28
RD
15183 PyObject * obj9 = 0 ;
15184 PyObject * obj10 = 0 ;
15185 char *kwnames[] = {
994141e6 15186 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
15187 };
15188
248ed943 15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
15190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail;
15192 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15193 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15194 if (obj2) {
093d3ff1 15195 {
32fe5131 15196 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15197 if (SWIG_arg_fail(3)) SWIG_fail;
15198 }
248ed943
RD
15199 }
15200 if (obj3) {
093d3ff1 15201 {
32fe5131 15202 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15203 if (SWIG_arg_fail(4)) SWIG_fail;
15204 }
248ed943
RD
15205 }
15206 if (obj4) {
093d3ff1 15207 {
32fe5131 15208 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15209 if (SWIG_arg_fail(5)) SWIG_fail;
15210 }
248ed943
RD
15211 }
15212 if (obj5) {
093d3ff1 15213 {
32fe5131 15214 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
15215 if (SWIG_arg_fail(6)) SWIG_fail;
15216 }
248ed943 15217 }
d14a1e28
RD
15218 if (obj6) {
15219 {
15220 arg7 = &temp7;
15221 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15222 }
15223 }
15224 if (obj7) {
15225 {
15226 arg8 = &temp8;
15227 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15228 }
15229 }
994141e6 15230 if (obj8) {
093d3ff1 15231 {
32fe5131 15232 arg9 = static_cast<long >(SWIG_As_long(obj8));
093d3ff1
RD
15233 if (SWIG_arg_fail(9)) SWIG_fail;
15234 }
994141e6 15235 }
d14a1e28 15236 if (obj9) {
093d3ff1
RD
15237 {
15238 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15239 if (SWIG_arg_fail(10)) SWIG_fail;
15240 if (arg10 == NULL) {
15241 SWIG_null_ref("wxValidator");
15242 }
15243 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
15244 }
15245 }
15246 if (obj10) {
15247 {
15248 arg11 = wxString_in_helper(obj10);
15249 if (arg11 == NULL) SWIG_fail;
ae8162c8 15250 temp11 = true;
d14a1e28
RD
15251 }
15252 }
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
4f89f6a3
RD
15260 {
15261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15262 }
d14a1e28
RD
15263 {
15264 if (temp11)
15265 delete arg11;
15266 }
15267 return resultobj;
15268 fail:
15269 {
15270 if (temp11)
15271 delete arg11;
15272 }
15273 return NULL;
15274}
15275
15276
c32bde28 15277static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15278 PyObject *resultobj = NULL;
d14a1e28
RD
15279 wxSlider *arg1 = (wxSlider *) 0 ;
15280 int result;
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 result = (int)((wxSlider const *)arg1)->GetValue();
15292
15293 wxPyEndAllowThreads(__tstate);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
093d3ff1 15296 {
32fe5131 15297 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15298 }
d14a1e28
RD
15299 return resultobj;
15300 fail:
15301 return NULL;
15302}
15303
15304
c32bde28 15305static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15306 PyObject *resultobj = NULL;
d14a1e28
RD
15307 wxSlider *arg1 = (wxSlider *) 0 ;
15308 int arg2 ;
15309 PyObject * obj0 = 0 ;
994141e6 15310 PyObject * obj1 = 0 ;
d14a1e28
RD
15311 char *kwnames[] = {
15312 (char *) "self",(char *) "value", NULL
15313 };
15314
994141e6 15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15317 if (SWIG_arg_fail(1)) SWIG_fail;
15318 {
32fe5131 15319 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15320 if (SWIG_arg_fail(2)) SWIG_fail;
15321 }
d14a1e28
RD
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->SetValue(arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
c32bde28 15336static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15337 PyObject *resultobj = NULL;
d14a1e28
RD
15338 wxSlider *arg1 = (wxSlider *) 0 ;
15339 int arg2 ;
15340 int arg3 ;
15341 PyObject * obj0 = 0 ;
994141e6
RD
15342 PyObject * obj1 = 0 ;
15343 PyObject * obj2 = 0 ;
d14a1e28
RD
15344 char *kwnames[] = {
15345 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15346 };
15347
994141e6 15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail;
15351 {
32fe5131 15352 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15353 if (SWIG_arg_fail(2)) SWIG_fail;
15354 }
15355 {
32fe5131 15356 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15357 if (SWIG_arg_fail(3)) SWIG_fail;
15358 }
d14a1e28
RD
15359 {
15360 PyThreadState* __tstate = wxPyBeginAllowThreads();
15361 (arg1)->SetRange(arg2,arg3);
15362
15363 wxPyEndAllowThreads(__tstate);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 }
15366 Py_INCREF(Py_None); resultobj = Py_None;
15367 return resultobj;
15368 fail:
15369 return NULL;
15370}
15371
15372
c32bde28 15373static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15374 PyObject *resultobj = NULL;
d14a1e28
RD
15375 wxSlider *arg1 = (wxSlider *) 0 ;
15376 int result;
15377 PyObject * obj0 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15385 {
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 result = (int)((wxSlider const *)arg1)->GetMin();
15388
15389 wxPyEndAllowThreads(__tstate);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
093d3ff1 15392 {
32fe5131 15393 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15394 }
d14a1e28
RD
15395 return resultobj;
15396 fail:
15397 return NULL;
15398}
15399
15400
c32bde28 15401static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15402 PyObject *resultobj = NULL;
d14a1e28
RD
15403 wxSlider *arg1 = (wxSlider *) 0 ;
15404 int result;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (int)((wxSlider const *)arg1)->GetMax();
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
093d3ff1 15420 {
32fe5131 15421 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15422 }
d14a1e28
RD
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
c32bde28 15429static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15430 PyObject *resultobj = NULL;
d14a1e28
RD
15431 wxSlider *arg1 = (wxSlider *) 0 ;
15432 int arg2 ;
15433 PyObject * obj0 = 0 ;
994141e6 15434 PyObject * obj1 = 0 ;
d14a1e28
RD
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "minValue", NULL
15437 };
15438
994141e6 15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail;
15442 {
32fe5131 15443 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15444 if (SWIG_arg_fail(2)) SWIG_fail;
15445 }
d14a1e28
RD
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 (arg1)->SetMin(arg2);
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 Py_INCREF(Py_None); resultobj = Py_None;
15454 return resultobj;
15455 fail:
15456 return NULL;
15457}
15458
15459
c32bde28 15460static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15461 PyObject *resultobj = NULL;
d14a1e28
RD
15462 wxSlider *arg1 = (wxSlider *) 0 ;
15463 int arg2 ;
15464 PyObject * obj0 = 0 ;
994141e6 15465 PyObject * obj1 = 0 ;
d14a1e28
RD
15466 char *kwnames[] = {
15467 (char *) "self",(char *) "maxValue", NULL
15468 };
15469
994141e6 15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail;
15473 {
32fe5131 15474 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15475 if (SWIG_arg_fail(2)) SWIG_fail;
15476 }
d14a1e28
RD
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 (arg1)->SetMax(arg2);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 return resultobj;
15486 fail:
15487 return NULL;
15488}
15489
15490
c32bde28 15491static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15492 PyObject *resultobj = NULL;
d14a1e28
RD
15493 wxSlider *arg1 = (wxSlider *) 0 ;
15494 int arg2 ;
15495 PyObject * obj0 = 0 ;
994141e6 15496 PyObject * obj1 = 0 ;
d14a1e28
RD
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "lineSize", NULL
15499 };
15500
994141e6 15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15503 if (SWIG_arg_fail(1)) SWIG_fail;
15504 {
32fe5131 15505 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15506 if (SWIG_arg_fail(2)) SWIG_fail;
15507 }
d14a1e28
RD
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetLineSize(arg2);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519}
15520
15521
c32bde28 15522static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15523 PyObject *resultobj = NULL;
d14a1e28
RD
15524 wxSlider *arg1 = (wxSlider *) 0 ;
15525 int arg2 ;
15526 PyObject * obj0 = 0 ;
994141e6 15527 PyObject * obj1 = 0 ;
d14a1e28
RD
15528 char *kwnames[] = {
15529 (char *) "self",(char *) "pageSize", NULL
15530 };
15531
994141e6 15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail;
15535 {
32fe5131 15536 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15537 if (SWIG_arg_fail(2)) SWIG_fail;
15538 }
d14a1e28
RD
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->SetPageSize(arg2);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 return resultobj;
15548 fail:
15549 return NULL;
15550}
15551
15552
c32bde28 15553static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15554 PyObject *resultobj = NULL;
d14a1e28
RD
15555 wxSlider *arg1 = (wxSlider *) 0 ;
15556 int result;
15557 PyObject * obj0 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15564 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 result = (int)((wxSlider const *)arg1)->GetLineSize();
15568
15569 wxPyEndAllowThreads(__tstate);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
093d3ff1 15572 {
32fe5131 15573 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15574 }
d14a1e28
RD
15575 return resultobj;
15576 fail:
15577 return NULL;
15578}
15579
15580
c32bde28 15581static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15582 PyObject *resultobj = NULL;
d14a1e28
RD
15583 wxSlider *arg1 = (wxSlider *) 0 ;
15584 int result;
15585 PyObject * obj0 = 0 ;
15586 char *kwnames[] = {
15587 (char *) "self", NULL
15588 };
15589
15590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15593 {
15594 PyThreadState* __tstate = wxPyBeginAllowThreads();
15595 result = (int)((wxSlider const *)arg1)->GetPageSize();
15596
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
093d3ff1 15600 {
32fe5131 15601 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15602 }
d14a1e28
RD
15603 return resultobj;
15604 fail:
15605 return NULL;
15606}
15607
15608
c32bde28 15609static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15610 PyObject *resultobj = NULL;
d14a1e28
RD
15611 wxSlider *arg1 = (wxSlider *) 0 ;
15612 int arg2 ;
15613 PyObject * obj0 = 0 ;
994141e6 15614 PyObject * obj1 = 0 ;
d14a1e28
RD
15615 char *kwnames[] = {
15616 (char *) "self",(char *) "lenPixels", NULL
15617 };
15618
994141e6 15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail;
15622 {
32fe5131 15623 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15624 if (SWIG_arg_fail(2)) SWIG_fail;
15625 }
d14a1e28
RD
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->SetThumbLength(arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637}
15638
15639
c32bde28 15640static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15641 PyObject *resultobj = NULL;
d14a1e28
RD
15642 wxSlider *arg1 = (wxSlider *) 0 ;
15643 int result;
15644 PyObject * obj0 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15651 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
093d3ff1 15659 {
32fe5131 15660 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15661 }
d14a1e28
RD
15662 return resultobj;
15663 fail:
15664 return NULL;
15665}
15666
15667
c32bde28 15668static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15669 PyObject *resultobj = NULL;
d14a1e28
RD
15670 wxSlider *arg1 = (wxSlider *) 0 ;
15671 int arg2 ;
994141e6 15672 int arg3 = (int) 1 ;
d14a1e28 15673 PyObject * obj0 = 0 ;
994141e6
RD
15674 PyObject * obj1 = 0 ;
15675 PyObject * obj2 = 0 ;
d14a1e28
RD
15676 char *kwnames[] = {
15677 (char *) "self",(char *) "n",(char *) "pos", NULL
15678 };
15679
994141e6 15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15682 if (SWIG_arg_fail(1)) SWIG_fail;
15683 {
32fe5131 15684 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15685 if (SWIG_arg_fail(2)) SWIG_fail;
15686 }
994141e6 15687 if (obj2) {
093d3ff1 15688 {
32fe5131 15689 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15690 if (SWIG_arg_fail(3)) SWIG_fail;
15691 }
994141e6 15692 }
d14a1e28
RD
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 (arg1)->SetTickFreq(arg2,arg3);
15696
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 Py_INCREF(Py_None); resultobj = Py_None;
15701 return resultobj;
15702 fail:
15703 return NULL;
15704}
15705
15706
c32bde28 15707static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15708 PyObject *resultobj = NULL;
d14a1e28
RD
15709 wxSlider *arg1 = (wxSlider *) 0 ;
15710 int result;
15711 PyObject * obj0 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15719 {
15720 PyThreadState* __tstate = wxPyBeginAllowThreads();
15721 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15722
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
093d3ff1 15726 {
32fe5131 15727 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15728 }
d14a1e28
RD
15729 return resultobj;
15730 fail:
15731 return NULL;
15732}
15733
15734
c32bde28 15735static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15736 PyObject *resultobj = NULL;
d14a1e28
RD
15737 wxSlider *arg1 = (wxSlider *) 0 ;
15738 PyObject * obj0 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15745 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 (arg1)->ClearTicks();
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 Py_INCREF(Py_None); resultobj = Py_None;
15754 return resultobj;
15755 fail:
15756 return NULL;
15757}
15758
15759
c32bde28 15760static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15761 PyObject *resultobj = NULL;
d14a1e28
RD
15762 wxSlider *arg1 = (wxSlider *) 0 ;
15763 int arg2 ;
15764 PyObject * obj0 = 0 ;
994141e6 15765 PyObject * obj1 = 0 ;
d14a1e28
RD
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "tickPos", NULL
15768 };
15769
994141e6 15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail;
15773 {
32fe5131 15774 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15775 if (SWIG_arg_fail(2)) SWIG_fail;
15776 }
d14a1e28
RD
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 (arg1)->SetTick(arg2);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 Py_INCREF(Py_None); resultobj = Py_None;
15785 return resultobj;
15786 fail:
15787 return NULL;
15788}
15789
15790
c32bde28 15791static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15792 PyObject *resultobj = NULL;
d14a1e28
RD
15793 wxSlider *arg1 = (wxSlider *) 0 ;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15802 {
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 (arg1)->ClearSel();
15805
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 Py_INCREF(Py_None); resultobj = Py_None;
15810 return resultobj;
15811 fail:
15812 return NULL;
15813}
15814
15815
c32bde28 15816static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15817 PyObject *resultobj = NULL;
d14a1e28
RD
15818 wxSlider *arg1 = (wxSlider *) 0 ;
15819 int result;
15820 PyObject * obj0 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self", NULL
15823 };
15824
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
093d3ff1 15835 {
32fe5131 15836 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15837 }
d14a1e28
RD
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
c32bde28 15844static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15845 PyObject *resultobj = NULL;
d14a1e28
RD
15846 wxSlider *arg1 = (wxSlider *) 0 ;
15847 int result;
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 result = (int)((wxSlider const *)arg1)->GetSelStart();
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
093d3ff1 15863 {
32fe5131 15864 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15865 }
d14a1e28
RD
15866 return resultobj;
15867 fail:
15868 return NULL;
15869}
15870
15871
c32bde28 15872static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15873 PyObject *resultobj = NULL;
d14a1e28
RD
15874 wxSlider *arg1 = (wxSlider *) 0 ;
15875 int arg2 ;
15876 int arg3 ;
15877 PyObject * obj0 = 0 ;
994141e6
RD
15878 PyObject * obj1 = 0 ;
15879 PyObject * obj2 = 0 ;
d14a1e28
RD
15880 char *kwnames[] = {
15881 (char *) "self",(char *) "min",(char *) "max", NULL
15882 };
15883
994141e6 15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15886 if (SWIG_arg_fail(1)) SWIG_fail;
15887 {
32fe5131 15888 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15889 if (SWIG_arg_fail(2)) SWIG_fail;
15890 }
15891 {
32fe5131 15892 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15893 if (SWIG_arg_fail(3)) SWIG_fail;
15894 }
d14a1e28
RD
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 (arg1)->SetSelection(arg2,arg3);
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 Py_INCREF(Py_None); resultobj = Py_None;
15903 return resultobj;
15904 fail:
15905 return NULL;
15906}
15907
15908
c32bde28 15909static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15910 PyObject *resultobj = NULL;
093d3ff1 15911 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
15912 wxVisualAttributes result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "variant", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15919 if (obj0) {
093d3ff1 15920 {
32fe5131 15921 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
15922 if (SWIG_arg_fail(1)) SWIG_fail;
15923 }
22bfe96c
RD
15924 }
15925 {
110da5b0 15926 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 15928 result = wxSlider::GetClassDefaultAttributes(arg1);
22bfe96c
RD
15929
15930 wxPyEndAllowThreads(__tstate);
dfbb5885 15931 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
15932 }
15933 {
15934 wxVisualAttributes * resultptr;
32fe5131 15935 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
15936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15937 }
15938 return resultobj;
15939 fail:
15940 return NULL;
15941}
15942
15943
c32bde28 15944static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15945 PyObject *obj;
15946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15947 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15948 Py_INCREF(obj);
15949 return Py_BuildValue((char *)"");
15950}
c32bde28 15951static int _wrap_ToggleButtonNameStr_set(PyObject *) {
b2dc1044
RD
15952 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15953 return 1;
15954}
15955
15956
093d3ff1 15957static PyObject *_wrap_ToggleButtonNameStr_get(void) {
32fe5131 15958 PyObject *pyobj = NULL;
b2dc1044
RD
15959
15960 {
15961#if wxUSE_UNICODE
15962 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15963#else
15964 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15965#endif
15966 }
15967 return pyobj;
15968}
15969
15970
c32bde28 15971static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15972 PyObject *resultobj = NULL;
d14a1e28 15973 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15974 int arg2 = (int) -1 ;
15975 wxString const &arg3_defvalue = wxPyEmptyString ;
15976 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
15977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15979 wxSize const &arg5_defvalue = wxDefaultSize ;
15980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15981 long arg6 = (long) 0 ;
15982 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15983 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15984 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15985 wxString *arg8 = (wxString *) &arg8_defvalue ;
15986 wxToggleButton *result;
ae8162c8 15987 bool temp3 = false ;
d14a1e28
RD
15988 wxPoint temp4 ;
15989 wxSize temp5 ;
ae8162c8 15990 bool temp8 = false ;
d14a1e28 15991 PyObject * obj0 = 0 ;
994141e6 15992 PyObject * obj1 = 0 ;
d14a1e28
RD
15993 PyObject * obj2 = 0 ;
15994 PyObject * obj3 = 0 ;
15995 PyObject * obj4 = 0 ;
994141e6 15996 PyObject * obj5 = 0 ;
d14a1e28
RD
15997 PyObject * obj6 = 0 ;
15998 PyObject * obj7 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16001 };
16002
248ed943 16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16005 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16006 if (obj1) {
093d3ff1 16007 {
32fe5131 16008 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16009 if (SWIG_arg_fail(2)) SWIG_fail;
16010 }
248ed943
RD
16011 }
16012 if (obj2) {
16013 {
16014 arg3 = wxString_in_helper(obj2);
16015 if (arg3 == NULL) SWIG_fail;
ae8162c8 16016 temp3 = true;
248ed943 16017 }
d14a1e28
RD
16018 }
16019 if (obj3) {
16020 {
16021 arg4 = &temp4;
16022 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16023 }
16024 }
16025 if (obj4) {
16026 {
16027 arg5 = &temp5;
16028 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16029 }
16030 }
994141e6 16031 if (obj5) {
093d3ff1 16032 {
32fe5131 16033 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
16034 if (SWIG_arg_fail(6)) SWIG_fail;
16035 }
994141e6 16036 }
d14a1e28 16037 if (obj6) {
093d3ff1
RD
16038 {
16039 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16040 if (SWIG_arg_fail(7)) SWIG_fail;
16041 if (arg7 == NULL) {
16042 SWIG_null_ref("wxValidator");
16043 }
16044 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
16045 }
16046 }
16047 if (obj7) {
16048 {
16049 arg8 = wxString_in_helper(obj7);
16050 if (arg8 == NULL) SWIG_fail;
ae8162c8 16051 temp8 = true;
d14a1e28
RD
16052 }
16053 }
16054 {
e3b71cb8 16055 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16058
16059 wxPyEndAllowThreads(__tstate);
110da5b0 16060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16061 }
15afbcd0 16062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
16063 {
16064 if (temp3)
16065 delete arg3;
16066 }
16067 {
16068 if (temp8)
16069 delete arg8;
16070 }
16071 return resultobj;
16072 fail:
16073 {
16074 if (temp3)
16075 delete arg3;
16076 }
16077 {
16078 if (temp8)
16079 delete arg8;
16080 }
16081 return NULL;
16082}
16083
16084
c32bde28 16085static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16086 PyObject *resultobj = NULL;
d14a1e28
RD
16087 wxToggleButton *result;
16088 char *kwnames[] = {
16089 NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
16093 {
e3b71cb8 16094 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (wxToggleButton *)new wxToggleButton();
16097
16098 wxPyEndAllowThreads(__tstate);
110da5b0 16099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16100 }
15afbcd0 16101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
16102 return resultobj;
16103 fail:
16104 return NULL;
16105}
16106
16107
c32bde28 16108static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16109 PyObject *resultobj = NULL;
d14a1e28
RD
16110 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16111 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16112 int arg3 = (int) -1 ;
16113 wxString const &arg4_defvalue = wxPyEmptyString ;
16114 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
16115 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16116 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16117 wxSize const &arg6_defvalue = wxDefaultSize ;
16118 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16119 long arg7 = (long) 0 ;
16120 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16121 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16122 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16123 wxString *arg9 = (wxString *) &arg9_defvalue ;
16124 bool result;
ae8162c8 16125 bool temp4 = false ;
d14a1e28
RD
16126 wxPoint temp5 ;
16127 wxSize temp6 ;
ae8162c8 16128 bool temp9 = false ;
d14a1e28
RD
16129 PyObject * obj0 = 0 ;
16130 PyObject * obj1 = 0 ;
994141e6 16131 PyObject * obj2 = 0 ;
d14a1e28
RD
16132 PyObject * obj3 = 0 ;
16133 PyObject * obj4 = 0 ;
16134 PyObject * obj5 = 0 ;
994141e6 16135 PyObject * obj6 = 0 ;
d14a1e28
RD
16136 PyObject * obj7 = 0 ;
16137 PyObject * obj8 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16140 };
16141
248ed943 16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
16143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail;
16145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16146 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16147 if (obj2) {
093d3ff1 16148 {
32fe5131 16149 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16150 if (SWIG_arg_fail(3)) SWIG_fail;
16151 }
248ed943
RD
16152 }
16153 if (obj3) {
16154 {
16155 arg4 = wxString_in_helper(obj3);
16156 if (arg4 == NULL) SWIG_fail;
ae8162c8 16157 temp4 = true;
248ed943 16158 }
d14a1e28
RD
16159 }
16160 if (obj4) {
16161 {
16162 arg5 = &temp5;
16163 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16164 }
16165 }
16166 if (obj5) {
16167 {
16168 arg6 = &temp6;
16169 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16170 }
16171 }
994141e6 16172 if (obj6) {
093d3ff1 16173 {
32fe5131 16174 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
16175 if (SWIG_arg_fail(7)) SWIG_fail;
16176 }
994141e6 16177 }
d14a1e28 16178 if (obj7) {
093d3ff1
RD
16179 {
16180 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16181 if (SWIG_arg_fail(8)) SWIG_fail;
16182 if (arg8 == NULL) {
16183 SWIG_null_ref("wxValidator");
16184 }
16185 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
16186 }
16187 }
16188 if (obj8) {
16189 {
16190 arg9 = wxString_in_helper(obj8);
16191 if (arg9 == NULL) SWIG_fail;
ae8162c8 16192 temp9 = true;
d14a1e28
RD
16193 }
16194 }
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
4f89f6a3
RD
16202 {
16203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16204 }
d14a1e28
RD
16205 {
16206 if (temp4)
16207 delete arg4;
16208 }
16209 {
16210 if (temp9)
16211 delete arg9;
16212 }
16213 return resultobj;
16214 fail:
16215 {
16216 if (temp4)
16217 delete arg4;
16218 }
16219 {
16220 if (temp9)
16221 delete arg9;
16222 }
16223 return NULL;
16224}
16225
16226
c32bde28 16227static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16228 PyObject *resultobj = NULL;
d14a1e28
RD
16229 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16230 bool arg2 ;
16231 PyObject * obj0 = 0 ;
16232 PyObject * obj1 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self",(char *) "value", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16239 if (SWIG_arg_fail(1)) SWIG_fail;
16240 {
32fe5131 16241 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
16242 if (SWIG_arg_fail(2)) SWIG_fail;
16243 }
d14a1e28
RD
16244 {
16245 PyThreadState* __tstate = wxPyBeginAllowThreads();
16246 (arg1)->SetValue(arg2);
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 Py_INCREF(Py_None); resultobj = Py_None;
16252 return resultobj;
16253 fail:
16254 return NULL;
16255}
16256
16257
c32bde28 16258static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16259 PyObject *resultobj = NULL;
d14a1e28
RD
16260 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16261 bool result;
16262 PyObject * obj0 = 0 ;
16263 char *kwnames[] = {
16264 (char *) "self", NULL
16265 };
16266
16267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
16268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16269 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
4f89f6a3
RD
16277 {
16278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16279 }
d14a1e28
RD
16280 return resultobj;
16281 fail:
16282 return NULL;
16283}
16284
16285
c32bde28 16286static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16287 PyObject *resultobj = NULL;
d14a1e28
RD
16288 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16289 wxString *arg2 = 0 ;
ae8162c8 16290 bool temp2 = false ;
d14a1e28
RD
16291 PyObject * obj0 = 0 ;
16292 PyObject * obj1 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self",(char *) "label", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16300 {
16301 arg2 = wxString_in_helper(obj1);
16302 if (arg2 == NULL) SWIG_fail;
ae8162c8 16303 temp2 = true;
d14a1e28
RD
16304 }
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 (arg1)->SetLabel((wxString const &)*arg2);
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
16312 Py_INCREF(Py_None); resultobj = Py_None;
16313 {
16314 if (temp2)
16315 delete arg2;
16316 }
16317 return resultobj;
16318 fail:
16319 {
16320 if (temp2)
16321 delete arg2;
16322 }
16323 return NULL;
16324}
16325
16326
c32bde28 16327static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16328 PyObject *resultobj = NULL;
093d3ff1 16329 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
16330 wxVisualAttributes result;
16331 PyObject * obj0 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "variant", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16337 if (obj0) {
093d3ff1 16338 {
32fe5131 16339 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
16340 if (SWIG_arg_fail(1)) SWIG_fail;
16341 }
22bfe96c
RD
16342 }
16343 {
110da5b0 16344 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 16346 result = wxToggleButton::GetClassDefaultAttributes(arg1);
22bfe96c
RD
16347
16348 wxPyEndAllowThreads(__tstate);
dfbb5885 16349 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
16350 }
16351 {
16352 wxVisualAttributes * resultptr;
32fe5131 16353 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
16354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16355 }
16356 return resultobj;
16357 fail:
16358 return NULL;
16359}
16360
16361
c32bde28 16362static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16363 PyObject *obj;
16364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16365 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16366 Py_INCREF(obj);
16367 return Py_BuildValue((char *)"");
16368}
51b83b37
RD
16369static int _wrap_NotebookNameStr_set(PyObject *) {
16370 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
b2dc1044
RD
16371 return 1;
16372}
16373
16374
51b83b37 16375static PyObject *_wrap_NotebookNameStr_get(void) {
32fe5131 16376 PyObject *pyobj = NULL;
b2dc1044
RD
16377
16378 {
16379#if wxUSE_UNICODE
51b83b37 16380 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
b2dc1044 16381#else
51b83b37 16382 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
b2dc1044
RD
16383#endif
16384 }
16385 return pyobj;
16386}
16387
16388
8ac8dba0 16389static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16390 PyObject *resultobj = NULL;
8ac8dba0 16391 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16392 size_t result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
8ac8dba0 16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16403 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d14a1e28
RD
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
093d3ff1 16408 {
32fe5131 16409 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 16410 }
d14a1e28
RD
16411 return resultobj;
16412 fail:
16413 return NULL;
16414}
16415
16416
8ac8dba0 16417static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16418 PyObject *resultobj = NULL;
8ac8dba0 16419 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16420 size_t arg2 ;
16421 wxWindow *result;
16422 PyObject * obj0 = 0 ;
16423 PyObject * obj1 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self",(char *) "n", NULL
16426 };
16427
8ac8dba0 16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail;
16431 {
32fe5131 16432 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16433 if (SWIG_arg_fail(2)) SWIG_fail;
16434 }
d14a1e28
RD
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 result = (wxWindow *)(arg1)->GetPage(arg2);
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 {
412d302d 16443 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16444 }
16445 return resultobj;
16446 fail:
16447 return NULL;
16448}
16449
16450
8ac8dba0 16451static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16452 PyObject *resultobj = NULL;
8ac8dba0 16453 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16454 wxWindow *result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
8ac8dba0 16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16465 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 {
16471 resultobj = wxPyMake_wxObject(result, 0);
16472 }
16473 return resultobj;
16474 fail:
16475 return NULL;
16476}
16477
16478
8ac8dba0 16479static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16480 PyObject *resultobj = NULL;
8ac8dba0 16481 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16482 int result;
16483 PyObject * obj0 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self", NULL
16486 };
16487
8ac8dba0 16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16493 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d14a1e28
RD
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
093d3ff1 16498 {
32fe5131 16499 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16500 }
d14a1e28
RD
16501 return resultobj;
16502 fail:
16503 return NULL;
16504}
16505
16506
8ac8dba0 16507static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16508 PyObject *resultobj = NULL;
8ac8dba0 16509 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16510 size_t arg2 ;
16511 wxString *arg3 = 0 ;
16512 bool result;
ae8162c8 16513 bool temp3 = false ;
d14a1e28
RD
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 PyObject * obj2 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self",(char *) "n",(char *) "strText", NULL
16519 };
16520
8ac8dba0 16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail;
16524 {
32fe5131 16525 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16526 if (SWIG_arg_fail(2)) SWIG_fail;
16527 }
d14a1e28
RD
16528 {
16529 arg3 = wxString_in_helper(obj2);
16530 if (arg3 == NULL) SWIG_fail;
ae8162c8 16531 temp3 = true;
d14a1e28
RD
16532 }
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
4f89f6a3
RD
16540 {
16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16542 }
d14a1e28
RD
16543 {
16544 if (temp3)
16545 delete arg3;
16546 }
16547 return resultobj;
16548 fail:
16549 {
16550 if (temp3)
16551 delete arg3;
16552 }
16553 return NULL;
16554}
16555
16556
8ac8dba0 16557static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16558 PyObject *resultobj = NULL;
8ac8dba0 16559 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16560 size_t arg2 ;
16561 wxString result;
16562 PyObject * obj0 = 0 ;
16563 PyObject * obj1 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self",(char *) "n", NULL
16566 };
16567
8ac8dba0 16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16570 if (SWIG_arg_fail(1)) SWIG_fail;
16571 {
32fe5131 16572 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16573 if (SWIG_arg_fail(2)) SWIG_fail;
16574 }
d14a1e28
RD
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16577 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d14a1e28
RD
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 {
16583#if wxUSE_UNICODE
16584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16585#else
16586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16587#endif
16588 }
16589 return resultobj;
16590 fail:
16591 return NULL;
16592}
16593
16594
8ac8dba0 16595static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16596 PyObject *resultobj = NULL;
8ac8dba0 16597 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16598 wxImageList *arg2 = (wxImageList *) 0 ;
16599 PyObject * obj0 = 0 ;
16600 PyObject * obj1 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self",(char *) "imageList", NULL
16603 };
16604
8ac8dba0 16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16607 if (SWIG_arg_fail(1)) SWIG_fail;
16608 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16609 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 (arg1)->SetImageList(arg2);
16613
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 Py_INCREF(Py_None); resultobj = Py_None;
16618 return resultobj;
16619 fail:
16620 return NULL;
16621}
16622
16623
8ac8dba0 16624static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16625 PyObject *resultobj = NULL;
8ac8dba0 16626 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16627 wxImageList *arg2 = (wxImageList *) 0 ;
16628 PyObject * obj0 = 0 ;
16629 PyObject * obj1 = 0 ;
16630 char *kwnames[] = {
16631 (char *) "self",(char *) "imageList", NULL
16632 };
16633
8ac8dba0 16634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16636 if (SWIG_arg_fail(1)) SWIG_fail;
16637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16638 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 (arg1)->AssignImageList(arg2);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 Py_INCREF(Py_None); resultobj = Py_None;
16647 return resultobj;
16648 fail:
16649 return NULL;
16650}
16651
16652
8ac8dba0 16653static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16654 PyObject *resultobj = NULL;
8ac8dba0 16655 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16656 wxImageList *result;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self", NULL
16660 };
16661
8ac8dba0 16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16664 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16667 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d14a1e28
RD
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 {
7e08d4ef 16673 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
16674 }
16675 return resultobj;
16676 fail:
16677 return NULL;
16678}
16679
16680
8ac8dba0 16681static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16682 PyObject *resultobj = NULL;
8ac8dba0 16683 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16684 size_t arg2 ;
16685 int result;
16686 PyObject * obj0 = 0 ;
16687 PyObject * obj1 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self",(char *) "n", NULL
16690 };
16691
8ac8dba0 16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16694 if (SWIG_arg_fail(1)) SWIG_fail;
16695 {
32fe5131 16696 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16697 if (SWIG_arg_fail(2)) SWIG_fail;
16698 }
d14a1e28
RD
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16701 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d14a1e28
RD
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
093d3ff1 16706 {
32fe5131 16707 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16708 }
d14a1e28
RD
16709 return resultobj;
16710 fail:
16711 return NULL;
16712}
16713
16714
8ac8dba0 16715static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16716 PyObject *resultobj = NULL;
8ac8dba0 16717 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16718 size_t arg2 ;
16719 int arg3 ;
16720 bool result;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
994141e6 16723 PyObject * obj2 = 0 ;
d14a1e28
RD
16724 char *kwnames[] = {
16725 (char *) "self",(char *) "n",(char *) "imageId", NULL
16726 };
16727
8ac8dba0 16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16730 if (SWIG_arg_fail(1)) SWIG_fail;
16731 {
32fe5131 16732 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16733 if (SWIG_arg_fail(2)) SWIG_fail;
16734 }
16735 {
32fe5131 16736 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16737 if (SWIG_arg_fail(3)) SWIG_fail;
16738 }
d14a1e28
RD
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
4f89f6a3
RD
16746 {
16747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16748 }
d14a1e28
RD
16749 return resultobj;
16750 fail:
16751 return NULL;
16752}
16753
16754
8ac8dba0 16755static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16756 PyObject *resultobj = NULL;
8ac8dba0 16757 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16758 wxSize *arg2 = 0 ;
16759 wxSize temp2 ;
16760 PyObject * obj0 = 0 ;
16761 PyObject * obj1 = 0 ;
16762 char *kwnames[] = {
16763 (char *) "self",(char *) "size", NULL
16764 };
16765
8ac8dba0 16766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16768 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16769 {
16770 arg2 = &temp2;
16771 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16772 }
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 (arg1)->SetPageSize((wxSize const &)*arg2);
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 Py_INCREF(Py_None); resultobj = Py_None;
16781 return resultobj;
16782 fail:
16783 return NULL;
16784}
16785
16786
8ac8dba0 16787static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16788 PyObject *resultobj = NULL;
8ac8dba0 16789 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16790 wxSize *arg2 = 0 ;
16791 wxSize result;
16792 wxSize temp2 ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 char *kwnames[] = {
16796 (char *) "self",(char *) "sizePage", NULL
16797 };
16798
8ac8dba0 16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16802 {
16803 arg2 = &temp2;
16804 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16805 }
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16808 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d14a1e28
RD
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 wxSize * resultptr;
32fe5131 16815 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 16816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16817 }
16818 return resultobj;
16819 fail:
16820 return NULL;
16821}
16822
16823
7e08d4ef
RD
16824static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj = NULL;
16826 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16827 unsigned int result;
16828 PyObject * obj0 = 0 ;
16829 char *kwnames[] = {
16830 (char *) "self", NULL
16831 };
16832
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail;
16834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16835 if (SWIG_arg_fail(1)) SWIG_fail;
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 {
16844 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
16845 }
16846 return resultobj;
16847 fail:
16848 return NULL;
16849}
16850
16851
16852static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj = NULL;
16854 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16855 unsigned int arg2 ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self",(char *) "internalBorder", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) goto fail;
16863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16864 if (SWIG_arg_fail(1)) SWIG_fail;
16865 {
16866 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
16867 if (SWIG_arg_fail(2)) SWIG_fail;
16868 }
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 (arg1)->SetInternalBorder(arg2);
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 Py_INCREF(Py_None); resultobj = Py_None;
16877 return resultobj;
16878 fail:
16879 return NULL;
16880}
16881
16882
16883static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj = NULL;
16885 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16886 bool result;
16887 PyObject * obj0 = 0 ;
16888 char *kwnames[] = {
16889 (char *) "self", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail;
16893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16894 if (SWIG_arg_fail(1)) SWIG_fail;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 {
16903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16904 }
16905 return resultobj;
16906 fail:
16907 return NULL;
16908}
16909
16910
c26d9ab4 16911static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
16912 PyObject *resultobj = NULL;
16913 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16914 bool arg2 ;
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 char *kwnames[] = {
c26d9ab4 16918 (char *) "self",(char *) "fit", NULL
7e08d4ef
RD
16919 };
16920
c26d9ab4 16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail;
7e08d4ef
RD
16922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16923 if (SWIG_arg_fail(1)) SWIG_fail;
16924 {
16925 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16926 if (SWIG_arg_fail(2)) SWIG_fail;
16927 }
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 16930 (arg1)->SetFitToCurrentPage(arg2);
7e08d4ef
RD
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 return resultobj;
16937 fail:
16938 return NULL;
16939}
16940
16941
c26d9ab4 16942static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
16943 PyObject *resultobj = NULL;
16944 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16945 bool result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
c26d9ab4 16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail;
7e08d4ef
RD
16952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16953 if (SWIG_arg_fail(1)) SWIG_fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 16956 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
7e08d4ef
RD
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 {
16962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967}
16968
16969
8ac8dba0 16970static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16971 PyObject *resultobj = NULL;
8ac8dba0 16972 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16973 size_t arg2 ;
16974 bool result;
16975 PyObject * obj0 = 0 ;
16976 PyObject * obj1 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self",(char *) "n", NULL
16979 };
16980
8ac8dba0 16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16983 if (SWIG_arg_fail(1)) SWIG_fail;
16984 {
32fe5131 16985 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16986 if (SWIG_arg_fail(2)) SWIG_fail;
16987 }
d14a1e28
RD
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (bool)(arg1)->DeletePage(arg2);
16991
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
4f89f6a3
RD
16995 {
16996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16997 }
d14a1e28
RD
16998 return resultobj;
16999 fail:
17000 return NULL;
17001}
17002
17003
8ac8dba0 17004static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17005 PyObject *resultobj = NULL;
8ac8dba0 17006 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
17007 size_t arg2 ;
17008 bool result;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self",(char *) "n", NULL
17013 };
17014
8ac8dba0 17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail;
17018 {
32fe5131 17019 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17020 if (SWIG_arg_fail(2)) SWIG_fail;
17021 }
d14a1e28
RD
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (bool)(arg1)->RemovePage(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
4f89f6a3
RD
17029 {
17030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17031 }
d14a1e28
RD
17032 return resultobj;
17033 fail:
17034 return NULL;
17035}
17036
17037
8ac8dba0 17038static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17039 PyObject *resultobj = NULL;
8ac8dba0 17040 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
17041 bool result;
17042 PyObject * obj0 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self", NULL
17045 };
17046
8ac8dba0 17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
17048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 result = (bool)(arg1)->DeleteAllPages();
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
4f89f6a3
RD
17057 {
17058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17059 }
d14a1e28
RD
17060 return resultobj;
17061 fail:
17062 return NULL;
17063}
17064
17065
8ac8dba0 17066static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17067 PyObject *resultobj = NULL;
8ac8dba0 17068 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
17069 wxWindow *arg2 = (wxWindow *) 0 ;
17070 wxString *arg3 = 0 ;
ae8162c8 17071 bool arg4 = (bool) false ;
d14a1e28
RD
17072 int arg5 = (int) -1 ;
17073 bool result;
ae8162c8 17074 bool temp3 = false ;
d14a1e28
RD
17075 PyObject * obj0 = 0 ;
17076 PyObject * obj1 = 0 ;
17077 PyObject * obj2 = 0 ;
17078 PyObject * obj3 = 0 ;
994141e6 17079 PyObject * obj4 = 0 ;
d14a1e28
RD
17080 char *kwnames[] = {
17081 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17082 };
17083
8ac8dba0 17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail;
17087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17088 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
17089 {
17090 arg3 = wxString_in_helper(obj2);
17091 if (arg3 == NULL) SWIG_fail;
ae8162c8 17092 temp3 = true;
d14a1e28
RD
17093 }
17094 if (obj3) {
093d3ff1 17095 {
32fe5131 17096 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
17097 if (SWIG_arg_fail(4)) SWIG_fail;
17098 }
994141e6
RD
17099 }
17100 if (obj4) {
093d3ff1 17101 {
32fe5131 17102 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
17103 if (SWIG_arg_fail(5)) SWIG_fail;
17104 }
d14a1e28
RD
17105 }
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
4f89f6a3
RD
17113 {
17114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17115 }
d14a1e28
RD
17116 {
17117 if (temp3)
17118 delete arg3;
17119 }
17120 return resultobj;
17121 fail:
17122 {
17123 if (temp3)
17124 delete arg3;
17125 }
17126 return NULL;
17127}
17128
17129
8ac8dba0 17130static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17131 PyObject *resultobj = NULL;
8ac8dba0 17132 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
17133 size_t arg2 ;
17134 wxWindow *arg3 = (wxWindow *) 0 ;
17135 wxString *arg4 = 0 ;
ae8162c8 17136 bool arg5 = (bool) false ;
d14a1e28
RD
17137 int arg6 = (int) -1 ;
17138 bool result;
ae8162c8 17139 bool temp4 = false ;
d14a1e28
RD
17140 PyObject * obj0 = 0 ;
17141 PyObject * obj1 = 0 ;
17142 PyObject * obj2 = 0 ;
17143 PyObject * obj3 = 0 ;
17144 PyObject * obj4 = 0 ;
994141e6 17145 PyObject * obj5 = 0 ;
d14a1e28
RD
17146 char *kwnames[] = {
17147 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17148 };
17149
8ac8dba0 17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail;
17153 {
32fe5131 17154 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17155 if (SWIG_arg_fail(2)) SWIG_fail;
17156 }
17157 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17158 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
17159 {
17160 arg4 = wxString_in_helper(obj3);
17161 if (arg4 == NULL) SWIG_fail;
ae8162c8 17162 temp4 = true;
d14a1e28
RD
17163 }
17164 if (obj4) {
093d3ff1 17165 {
32fe5131 17166 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
17167 if (SWIG_arg_fail(5)) SWIG_fail;
17168 }
994141e6
RD
17169 }
17170 if (obj5) {
093d3ff1 17171 {
32fe5131 17172 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
17173 if (SWIG_arg_fail(6)) SWIG_fail;
17174 }
d14a1e28
RD
17175 }
17176 {
17177 PyThreadState* __tstate = wxPyBeginAllowThreads();
17178 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17179
17180 wxPyEndAllowThreads(__tstate);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 }
4f89f6a3
RD
17183 {
17184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17185 }
d14a1e28
RD
17186 {
17187 if (temp4)
17188 delete arg4;
17189 }
17190 return resultobj;
17191 fail:
17192 {
17193 if (temp4)
17194 delete arg4;
17195 }
17196 return NULL;
17197}
17198
17199
8ac8dba0 17200static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17201 PyObject *resultobj = NULL;
8ac8dba0 17202 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
17203 size_t arg2 ;
17204 int result;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "self",(char *) "n", NULL
17209 };
17210
8ac8dba0 17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17213 if (SWIG_arg_fail(1)) SWIG_fail;
17214 {
32fe5131 17215 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17216 if (SWIG_arg_fail(2)) SWIG_fail;
17217 }
d14a1e28
RD
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (int)(arg1)->SetSelection(arg2);
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
093d3ff1 17225 {
32fe5131 17226 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17227 }
d14a1e28
RD
17228 return resultobj;
17229 fail:
17230 return NULL;
17231}
17232
17233
8ac8dba0 17234static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17235 PyObject *resultobj = NULL;
8ac8dba0 17236 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 17237 bool arg2 = (bool) true ;
d14a1e28
RD
17238 PyObject * obj0 = 0 ;
17239 PyObject * obj1 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self",(char *) "forward", NULL
17242 };
17243
8ac8dba0 17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 17247 if (obj1) {
093d3ff1 17248 {
32fe5131 17249 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
17250 if (SWIG_arg_fail(2)) SWIG_fail;
17251 }
d14a1e28
RD
17252 }
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->AdvanceSelection(arg2);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 Py_INCREF(Py_None); resultobj = Py_None;
17261 return resultobj;
17262 fail:
17263 return NULL;
17264}
17265
17266
8ac8dba0 17267static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17268 PyObject *resultobj = NULL;
093d3ff1 17269 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
17270 wxVisualAttributes result;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "variant", NULL
17274 };
17275
8ac8dba0 17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22bfe96c 17277 if (obj0) {
093d3ff1 17278 {
32fe5131 17279 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
17280 if (SWIG_arg_fail(1)) SWIG_fail;
17281 }
22bfe96c
RD
17282 }
17283 {
110da5b0 17284 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17286 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
22bfe96c
RD
17287
17288 wxPyEndAllowThreads(__tstate);
dfbb5885 17289 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
17290 }
17291 {
17292 wxVisualAttributes * resultptr;
32fe5131 17293 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
17294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17295 }
17296 return resultobj;
17297 fail:
17298 return NULL;
17299}
17300
17301
8ac8dba0 17302static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17303 PyObject *obj;
17304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17305 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d14a1e28
RD
17306 Py_INCREF(obj);
17307 return Py_BuildValue((char *)"");
17308}
8ac8dba0 17309static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17310 PyObject *resultobj = NULL;
d14a1e28
RD
17311 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17312 int arg2 = (int) 0 ;
17313 int arg3 = (int) -1 ;
17314 int arg4 = (int) -1 ;
8ac8dba0 17315 wxBookCtrlBaseEvent *result;
994141e6
RD
17316 PyObject * obj0 = 0 ;
17317 PyObject * obj1 = 0 ;
17318 PyObject * obj2 = 0 ;
17319 PyObject * obj3 = 0 ;
d14a1e28
RD
17320 char *kwnames[] = {
17321 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17322 };
17323
8ac8dba0 17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
994141e6 17325 if (obj0) {
093d3ff1 17326 {
32fe5131 17327 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
17328 if (SWIG_arg_fail(1)) SWIG_fail;
17329 }
994141e6
RD
17330 }
17331 if (obj1) {
093d3ff1 17332 {
32fe5131 17333 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17334 if (SWIG_arg_fail(2)) SWIG_fail;
17335 }
994141e6
RD
17336 }
17337 if (obj2) {
093d3ff1 17338 {
32fe5131 17339 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17340 if (SWIG_arg_fail(3)) SWIG_fail;
17341 }
994141e6
RD
17342 }
17343 if (obj3) {
093d3ff1 17344 {
32fe5131 17345 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
17346 if (SWIG_arg_fail(4)) SWIG_fail;
17347 }
994141e6 17348 }
d14a1e28
RD
17349 {
17350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17351 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d14a1e28
RD
17352
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
8ac8dba0 17356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d14a1e28
RD
17357 return resultobj;
17358 fail:
17359 return NULL;
17360}
17361
17362
8ac8dba0 17363static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17364 PyObject *resultobj = NULL;
8ac8dba0 17365 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17366 int result;
17367 PyObject * obj0 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "self", NULL
17370 };
17371
8ac8dba0 17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17377 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d14a1e28
RD
17378
17379 wxPyEndAllowThreads(__tstate);
17380 if (PyErr_Occurred()) SWIG_fail;
17381 }
093d3ff1 17382 {
32fe5131 17383 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17384 }
d14a1e28
RD
17385 return resultobj;
17386 fail:
17387 return NULL;
17388}
17389
17390
8ac8dba0 17391static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17392 PyObject *resultobj = NULL;
8ac8dba0 17393 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17394 int arg2 ;
17395 PyObject * obj0 = 0 ;
994141e6 17396 PyObject * obj1 = 0 ;
d14a1e28
RD
17397 char *kwnames[] = {
17398 (char *) "self",(char *) "nSel", NULL
17399 };
17400
8ac8dba0 17401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17403 if (SWIG_arg_fail(1)) SWIG_fail;
17404 {
32fe5131 17405 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17406 if (SWIG_arg_fail(2)) SWIG_fail;
17407 }
d14a1e28
RD
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 (arg1)->SetSelection(arg2);
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 Py_INCREF(Py_None); resultobj = Py_None;
17416 return resultobj;
17417 fail:
17418 return NULL;
17419}
17420
17421
8ac8dba0 17422static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17423 PyObject *resultobj = NULL;
8ac8dba0 17424 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17425 int result;
17426 PyObject * obj0 = 0 ;
17427 char *kwnames[] = {
17428 (char *) "self", NULL
17429 };
17430
8ac8dba0 17431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17433 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17436 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d14a1e28
RD
17437
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
093d3ff1 17441 {
32fe5131 17442 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17443 }
d14a1e28
RD
17444 return resultobj;
17445 fail:
17446 return NULL;
17447}
17448
17449
8ac8dba0 17450static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17451 PyObject *resultobj = NULL;
8ac8dba0 17452 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17453 int arg2 ;
17454 PyObject * obj0 = 0 ;
994141e6 17455 PyObject * obj1 = 0 ;
d14a1e28
RD
17456 char *kwnames[] = {
17457 (char *) "self",(char *) "nOldSel", NULL
17458 };
17459
8ac8dba0 17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17462 if (SWIG_arg_fail(1)) SWIG_fail;
17463 {
32fe5131 17464 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17465 if (SWIG_arg_fail(2)) SWIG_fail;
17466 }
d14a1e28
RD
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->SetOldSelection(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478}
17479
17480
8ac8dba0 17481static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17482 PyObject *obj;
17483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17484 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d14a1e28
RD
17485 Py_INCREF(obj);
17486 return Py_BuildValue((char *)"");
17487}
c32bde28 17488static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17489 PyObject *resultobj = NULL;
d14a1e28 17490 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17491 int arg2 = (int) -1 ;
d14a1e28
RD
17492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17494 wxSize const &arg4_defvalue = wxDefaultSize ;
17495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17496 long arg5 = (long) 0 ;
51b83b37 17497 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d14a1e28
RD
17498 wxString *arg6 = (wxString *) &arg6_defvalue ;
17499 wxNotebook *result;
17500 wxPoint temp3 ;
17501 wxSize temp4 ;
ae8162c8 17502 bool temp6 = false ;
d14a1e28 17503 PyObject * obj0 = 0 ;
994141e6 17504 PyObject * obj1 = 0 ;
d14a1e28
RD
17505 PyObject * obj2 = 0 ;
17506 PyObject * obj3 = 0 ;
994141e6 17507 PyObject * obj4 = 0 ;
d14a1e28
RD
17508 PyObject * obj5 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17511 };
17512
4f89f6a3 17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 17516 if (obj1) {
093d3ff1 17517 {
32fe5131 17518 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17519 if (SWIG_arg_fail(2)) SWIG_fail;
17520 }
4f89f6a3 17521 }
d14a1e28
RD
17522 if (obj2) {
17523 {
17524 arg3 = &temp3;
17525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17526 }
17527 }
17528 if (obj3) {
17529 {
17530 arg4 = &temp4;
17531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17532 }
17533 }
994141e6 17534 if (obj4) {
093d3ff1 17535 {
32fe5131 17536 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
17537 if (SWIG_arg_fail(5)) SWIG_fail;
17538 }
994141e6 17539 }
d14a1e28
RD
17540 if (obj5) {
17541 {
17542 arg6 = wxString_in_helper(obj5);
17543 if (arg6 == NULL) SWIG_fail;
ae8162c8 17544 temp6 = true;
d14a1e28
RD
17545 }
17546 }
17547 {
e3b71cb8 17548 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17551
17552 wxPyEndAllowThreads(__tstate);
110da5b0 17553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17554 }
b0f7404b 17555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17556 {
17557 if (temp6)
17558 delete arg6;
17559 }
17560 return resultobj;
17561 fail:
17562 {
17563 if (temp6)
17564 delete arg6;
17565 }
17566 return NULL;
17567}
17568
17569
c32bde28 17570static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17571 PyObject *resultobj = NULL;
d14a1e28
RD
17572 wxNotebook *result;
17573 char *kwnames[] = {
17574 NULL
17575 };
17576
17577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17578 {
e3b71cb8 17579 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (wxNotebook *)new wxNotebook();
17582
17583 wxPyEndAllowThreads(__tstate);
110da5b0 17584 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17585 }
b0f7404b 17586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17587 return resultobj;
17588 fail:
17589 return NULL;
17590}
17591
17592
c32bde28 17593static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17594 PyObject *resultobj = NULL;
d14a1e28
RD
17595 wxNotebook *arg1 = (wxNotebook *) 0 ;
17596 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17597 int arg3 = (int) -1 ;
d14a1e28
RD
17598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17600 wxSize const &arg5_defvalue = wxDefaultSize ;
17601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17602 long arg6 = (long) 0 ;
51b83b37 17603 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d14a1e28
RD
17604 wxString *arg7 = (wxString *) &arg7_defvalue ;
17605 bool result;
17606 wxPoint temp4 ;
17607 wxSize temp5 ;
ae8162c8 17608 bool temp7 = false ;
d14a1e28
RD
17609 PyObject * obj0 = 0 ;
17610 PyObject * obj1 = 0 ;
994141e6 17611 PyObject * obj2 = 0 ;
d14a1e28
RD
17612 PyObject * obj3 = 0 ;
17613 PyObject * obj4 = 0 ;
994141e6 17614 PyObject * obj5 = 0 ;
d14a1e28
RD
17615 PyObject * obj6 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17618 };
17619
248ed943 17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail;
17623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17624 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17625 if (obj2) {
093d3ff1 17626 {
32fe5131 17627 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17628 if (SWIG_arg_fail(3)) SWIG_fail;
17629 }
248ed943 17630 }
d14a1e28
RD
17631 if (obj3) {
17632 {
17633 arg4 = &temp4;
17634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17635 }
17636 }
17637 if (obj4) {
17638 {
17639 arg5 = &temp5;
17640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17641 }
17642 }
994141e6 17643 if (obj5) {
093d3ff1 17644 {
32fe5131 17645 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
17646 if (SWIG_arg_fail(6)) SWIG_fail;
17647 }
994141e6 17648 }
d14a1e28
RD
17649 if (obj6) {
17650 {
17651 arg7 = wxString_in_helper(obj6);
17652 if (arg7 == NULL) SWIG_fail;
ae8162c8 17653 temp7 = true;
d14a1e28
RD
17654 }
17655 }
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
4f89f6a3
RD
17663 {
17664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17665 }
d14a1e28
RD
17666 {
17667 if (temp7)
17668 delete arg7;
17669 }
17670 return resultobj;
17671 fail:
17672 {
17673 if (temp7)
17674 delete arg7;
17675 }
17676 return NULL;
17677}
17678
17679
c32bde28 17680static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17681 PyObject *resultobj = NULL;
d14a1e28
RD
17682 wxNotebook *arg1 = (wxNotebook *) 0 ;
17683 int result;
17684 PyObject * obj0 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
093d3ff1 17699 {
32fe5131 17700 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17701 }
d14a1e28
RD
17702 return resultobj;
17703 fail:
17704 return NULL;
17705}
17706
17707
c32bde28 17708static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17709 PyObject *resultobj = NULL;
d14a1e28
RD
17710 wxNotebook *arg1 = (wxNotebook *) 0 ;
17711 wxSize *arg2 = 0 ;
17712 wxSize temp2 ;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self",(char *) "padding", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17721 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17722 {
17723 arg2 = &temp2;
17724 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17725 }
17726 {
17727 PyThreadState* __tstate = wxPyBeginAllowThreads();
17728 (arg1)->SetPadding((wxSize const &)*arg2);
17729
17730 wxPyEndAllowThreads(__tstate);
17731 if (PyErr_Occurred()) SWIG_fail;
17732 }
17733 Py_INCREF(Py_None); resultobj = Py_None;
17734 return resultobj;
17735 fail:
17736 return NULL;
17737}
17738
17739
c32bde28 17740static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17741 PyObject *resultobj = NULL;
d14a1e28
RD
17742 wxNotebook *arg1 = (wxNotebook *) 0 ;
17743 wxSize *arg2 = 0 ;
17744 wxSize temp2 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "sz", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17754 {
17755 arg2 = &temp2;
17756 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17757 }
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 (arg1)->SetTabSize((wxSize const &)*arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 Py_INCREF(Py_None); resultobj = Py_None;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769}
17770
17771
c32bde28 17772static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17773 PyObject *resultobj = NULL;
d14a1e28
RD
17774 wxNotebook *arg1 = (wxNotebook *) 0 ;
17775 wxPoint *arg2 = 0 ;
17776 long *arg3 = (long *) 0 ;
17777 int result;
17778 wxPoint temp2 ;
17779 long temp3 ;
c32bde28 17780 int res3 = 0 ;
d14a1e28
RD
17781 PyObject * obj0 = 0 ;
17782 PyObject * obj1 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self",(char *) "pt", NULL
17785 };
17786
c32bde28 17787 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17791 {
17792 arg2 = &temp2;
17793 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17794 }
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
093d3ff1 17802 {
32fe5131 17803 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17804 }
c32bde28
RD
17805 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17806 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
17807 return resultobj;
17808 fail:
17809 return NULL;
17810}
17811
17812
c32bde28 17813static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17814 PyObject *resultobj = NULL;
d14a1e28
RD
17815 wxNotebook *arg1 = (wxNotebook *) 0 ;
17816 wxSize *arg2 = 0 ;
17817 wxSize result;
17818 wxSize temp2 ;
17819 PyObject * obj0 = 0 ;
17820 PyObject * obj1 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self",(char *) "sizePage", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17828 {
17829 arg2 = &temp2;
17830 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17831 }
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 wxSize * resultptr;
32fe5131 17841 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 17842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
8e738329 17850static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17851 PyObject *resultobj = NULL;
8e738329
RD
17852 wxNotebook *arg1 = (wxNotebook *) 0 ;
17853 wxColour result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17861 if (SWIG_arg_fail(1)) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 {
17870 wxColour * resultptr;
32fe5131 17871 resultptr = new wxColour(static_cast<wxColour & >(result));
8e738329
RD
17872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17873 }
17874 return resultobj;
17875 fail:
17876 return NULL;
17877}
17878
17879
c32bde28 17880static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17881 PyObject *resultobj = NULL;
093d3ff1 17882 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
17883 wxVisualAttributes result;
17884 PyObject * obj0 = 0 ;
17885 char *kwnames[] = {
17886 (char *) "variant", NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17890 if (obj0) {
093d3ff1 17891 {
32fe5131 17892 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
17893 if (SWIG_arg_fail(1)) SWIG_fail;
17894 }
22bfe96c
RD
17895 }
17896 {
110da5b0 17897 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17899 result = wxNotebook::GetClassDefaultAttributes(arg1);
22bfe96c
RD
17900
17901 wxPyEndAllowThreads(__tstate);
dfbb5885 17902 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
17903 }
17904 {
17905 wxVisualAttributes * resultptr;
32fe5131 17906 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
17907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17908 }
17909 return resultobj;
17910 fail:
17911 return NULL;
17912}
17913
17914
c32bde28 17915static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17916 PyObject *obj;
17917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17918 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17919 Py_INCREF(obj);
17920 return Py_BuildValue((char *)"");
17921}
c32bde28 17922static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17923 PyObject *resultobj = NULL;
d14a1e28
RD
17924 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17925 int arg2 = (int) 0 ;
17926 int arg3 = (int) -1 ;
17927 int arg4 = (int) -1 ;
17928 wxNotebookEvent *result;
994141e6
RD
17929 PyObject * obj0 = 0 ;
17930 PyObject * obj1 = 0 ;
17931 PyObject * obj2 = 0 ;
17932 PyObject * obj3 = 0 ;
d14a1e28
RD
17933 char *kwnames[] = {
17934 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17935 };
17936
994141e6
RD
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17938 if (obj0) {
093d3ff1 17939 {
32fe5131 17940 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
17941 if (SWIG_arg_fail(1)) SWIG_fail;
17942 }
994141e6
RD
17943 }
17944 if (obj1) {
093d3ff1 17945 {
32fe5131 17946 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17947 if (SWIG_arg_fail(2)) SWIG_fail;
17948 }
994141e6
RD
17949 }
17950 if (obj2) {
093d3ff1 17951 {
32fe5131 17952 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17953 if (SWIG_arg_fail(3)) SWIG_fail;
17954 }
994141e6
RD
17955 }
17956 if (obj3) {
093d3ff1 17957 {
32fe5131 17958 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
17959 if (SWIG_arg_fail(4)) SWIG_fail;
17960 }
994141e6 17961 }
d14a1e28
RD
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
15afbcd0 17969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
17970 return resultobj;
17971 fail:
17972 return NULL;
17973}
17974
17975
c32bde28 17976static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17977 PyObject *obj;
17978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17980 Py_INCREF(obj);
17981 return Py_BuildValue((char *)"");
17982}
c32bde28 17983static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17984 PyObject *resultobj = NULL;
d14a1e28 17985 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17986 int arg2 = (int) -1 ;
d14a1e28
RD
17987 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17988 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17989 wxSize const &arg4_defvalue = wxDefaultSize ;
17990 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17991 long arg5 = (long) 0 ;
17992 wxString const &arg6_defvalue = wxPyEmptyString ;
17993 wxString *arg6 = (wxString *) &arg6_defvalue ;
17994 wxListbook *result;
17995 wxPoint temp3 ;
17996 wxSize temp4 ;
ae8162c8 17997 bool temp6 = false ;
d14a1e28 17998 PyObject * obj0 = 0 ;
994141e6 17999 PyObject * obj1 = 0 ;
d14a1e28
RD
18000 PyObject * obj2 = 0 ;
18001 PyObject * obj3 = 0 ;
994141e6 18002 PyObject * obj4 = 0 ;
d14a1e28
RD
18003 PyObject * obj5 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18006 };
18007
4f89f6a3 18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18010 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 18011 if (obj1) {
093d3ff1 18012 {
32fe5131 18013 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18014 if (SWIG_arg_fail(2)) SWIG_fail;
18015 }
4f89f6a3 18016 }
d14a1e28
RD
18017 if (obj2) {
18018 {
18019 arg3 = &temp3;
18020 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18021 }
18022 }
18023 if (obj3) {
18024 {
18025 arg4 = &temp4;
18026 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18027 }
18028 }
994141e6 18029 if (obj4) {
093d3ff1 18030 {
32fe5131 18031 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
18032 if (SWIG_arg_fail(5)) SWIG_fail;
18033 }
994141e6 18034 }
d14a1e28
RD
18035 if (obj5) {
18036 {
18037 arg6 = wxString_in_helper(obj5);
18038 if (arg6 == NULL) SWIG_fail;
ae8162c8 18039 temp6 = true;
d14a1e28
RD
18040 }
18041 }
18042 {
e3b71cb8 18043 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18046
18047 wxPyEndAllowThreads(__tstate);
110da5b0 18048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18049 }
15afbcd0 18050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
18051 {
18052 if (temp6)
18053 delete arg6;
18054 }
18055 return resultobj;
18056 fail:
18057 {
18058 if (temp6)
18059 delete arg6;
18060 }
18061 return NULL;
18062}
18063
18064
c32bde28 18065static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18066 PyObject *resultobj = NULL;
d14a1e28
RD
18067 wxListbook *result;
18068 char *kwnames[] = {
18069 NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
18073 {
e3b71cb8 18074 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 result = (wxListbook *)new wxListbook();
18077
18078 wxPyEndAllowThreads(__tstate);
110da5b0 18079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18080 }
15afbcd0 18081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
18082 return resultobj;
18083 fail:
18084 return NULL;
18085}
18086
18087
c32bde28 18088static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18089 PyObject *resultobj = NULL;
d14a1e28
RD
18090 wxListbook *arg1 = (wxListbook *) 0 ;
18091 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 18092 int arg3 = (int) -1 ;
d14a1e28
RD
18093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18095 wxSize const &arg5_defvalue = wxDefaultSize ;
18096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18097 long arg6 = (long) 0 ;
18098 wxString const &arg7_defvalue = wxPyEmptyString ;
18099 wxString *arg7 = (wxString *) &arg7_defvalue ;
18100 bool result;
18101 wxPoint temp4 ;
18102 wxSize temp5 ;
ae8162c8 18103 bool temp7 = false ;
d14a1e28
RD
18104 PyObject * obj0 = 0 ;
18105 PyObject * obj1 = 0 ;
994141e6 18106 PyObject * obj2 = 0 ;
d14a1e28
RD
18107 PyObject * obj3 = 0 ;
18108 PyObject * obj4 = 0 ;
994141e6 18109 PyObject * obj5 = 0 ;
d14a1e28
RD
18110 PyObject * obj6 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18113 };
18114
248ed943 18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18117 if (SWIG_arg_fail(1)) SWIG_fail;
18118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18119 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 18120 if (obj2) {
093d3ff1 18121 {
32fe5131 18122 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18123 if (SWIG_arg_fail(3)) SWIG_fail;
18124 }
248ed943 18125 }
d14a1e28
RD
18126 if (obj3) {
18127 {
18128 arg4 = &temp4;
18129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18130 }
18131 }
18132 if (obj4) {
18133 {
18134 arg5 = &temp5;
18135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18136 }
18137 }
994141e6 18138 if (obj5) {
093d3ff1 18139 {
32fe5131 18140 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
18141 if (SWIG_arg_fail(6)) SWIG_fail;
18142 }
994141e6 18143 }
d14a1e28
RD
18144 if (obj6) {
18145 {
18146 arg7 = wxString_in_helper(obj6);
18147 if (arg7 == NULL) SWIG_fail;
ae8162c8 18148 temp7 = true;
d14a1e28
RD
18149 }
18150 }
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
4f89f6a3
RD
18158 {
18159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18160 }
d14a1e28
RD
18161 {
18162 if (temp7)
18163 delete arg7;
18164 }
18165 return resultobj;
18166 fail:
18167 {
18168 if (temp7)
18169 delete arg7;
18170 }
18171 return NULL;
18172}
18173
18174
7e08d4ef
RD
18175static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj = NULL;
18177 wxListbook *arg1 = (wxListbook *) 0 ;
18178 wxListView *result;
18179 PyObject * obj0 = 0 ;
18180 char *kwnames[] = {
18181 (char *) "self", NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18186 if (SWIG_arg_fail(1)) SWIG_fail;
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 result = (wxListView *)(arg1)->GetListView();
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18195 return resultobj;
18196 fail:
18197 return NULL;
18198}
18199
18200
18201static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18202 PyObject *obj;
18203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18204 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18205 Py_INCREF(obj);
18206 return Py_BuildValue((char *)"");
18207}
18208static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj = NULL;
18210 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18211 int arg2 = (int) 0 ;
18212 int arg3 = (int) -1 ;
18213 int arg4 = (int) -1 ;
18214 wxListbookEvent *result;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 PyObject * obj2 = 0 ;
18218 PyObject * obj3 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18224 if (obj0) {
18225 {
18226 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18227 if (SWIG_arg_fail(1)) SWIG_fail;
18228 }
18229 }
18230 if (obj1) {
18231 {
18232 arg2 = static_cast<int >(SWIG_As_int(obj1));
18233 if (SWIG_arg_fail(2)) SWIG_fail;
18234 }
18235 }
18236 if (obj2) {
18237 {
18238 arg3 = static_cast<int >(SWIG_As_int(obj2));
18239 if (SWIG_arg_fail(3)) SWIG_fail;
18240 }
18241 }
18242 if (obj3) {
18243 {
18244 arg4 = static_cast<int >(SWIG_As_int(obj3));
18245 if (SWIG_arg_fail(4)) SWIG_fail;
18246 }
18247 }
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18256 return resultobj;
18257 fail:
18258 return NULL;
18259}
18260
18261
18262static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18263 PyObject *obj;
18264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18265 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18266 Py_INCREF(obj);
18267 return Py_BuildValue((char *)"");
18268}
18269static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj = NULL;
18271 wxWindow *arg1 = (wxWindow *) 0 ;
18272 int arg2 ;
18273 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18274 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18275 wxSize const &arg4_defvalue = wxDefaultSize ;
18276 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18277 long arg5 = (long) 0 ;
18278 wxString const &arg6_defvalue = wxPyEmptyString ;
18279 wxString *arg6 = (wxString *) &arg6_defvalue ;
18280 wxChoicebook *result;
18281 wxPoint temp3 ;
18282 wxSize temp4 ;
18283 bool temp6 = false ;
18284 PyObject * obj0 = 0 ;
18285 PyObject * obj1 = 0 ;
18286 PyObject * obj2 = 0 ;
18287 PyObject * obj3 = 0 ;
18288 PyObject * obj4 = 0 ;
18289 PyObject * obj5 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail;
18297 {
18298 arg2 = static_cast<int >(SWIG_As_int(obj1));
18299 if (SWIG_arg_fail(2)) SWIG_fail;
18300 }
18301 if (obj2) {
18302 {
18303 arg3 = &temp3;
18304 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18305 }
18306 }
18307 if (obj3) {
18308 {
18309 arg4 = &temp4;
18310 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18311 }
18312 }
18313 if (obj4) {
18314 {
18315 arg5 = static_cast<long >(SWIG_As_long(obj4));
18316 if (SWIG_arg_fail(5)) SWIG_fail;
18317 }
18318 }
18319 if (obj5) {
18320 {
18321 arg6 = wxString_in_helper(obj5);
18322 if (arg6 == NULL) SWIG_fail;
18323 temp6 = true;
18324 }
18325 }
18326 {
18327 if (!wxPyCheckForApp()) SWIG_fail;
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18335 {
18336 if (temp6)
18337 delete arg6;
18338 }
18339 return resultobj;
18340 fail:
18341 {
18342 if (temp6)
18343 delete arg6;
18344 }
18345 return NULL;
18346}
18347
18348
18349static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj = NULL;
18351 wxChoicebook *result;
18352 char *kwnames[] = {
18353 NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18357 {
18358 if (!wxPyCheckForApp()) SWIG_fail;
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = (wxChoicebook *)new wxChoicebook();
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18366 return resultobj;
18367 fail:
18368 return NULL;
18369}
18370
18371
18372static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj = NULL;
18374 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18375 wxWindow *arg2 = (wxWindow *) 0 ;
18376 int arg3 ;
18377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18379 wxSize const &arg5_defvalue = wxDefaultSize ;
18380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18381 long arg6 = (long) 0 ;
18382 wxString const &arg7_defvalue = wxPyEmptyString ;
18383 wxString *arg7 = (wxString *) &arg7_defvalue ;
18384 bool result;
18385 wxPoint temp4 ;
18386 wxSize temp5 ;
18387 bool temp7 = false ;
18388 PyObject * obj0 = 0 ;
18389 PyObject * obj1 = 0 ;
18390 PyObject * obj2 = 0 ;
18391 PyObject * obj3 = 0 ;
18392 PyObject * obj4 = 0 ;
18393 PyObject * obj5 = 0 ;
18394 PyObject * obj6 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18401 if (SWIG_arg_fail(1)) SWIG_fail;
18402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18403 if (SWIG_arg_fail(2)) SWIG_fail;
18404 {
18405 arg3 = static_cast<int >(SWIG_As_int(obj2));
18406 if (SWIG_arg_fail(3)) SWIG_fail;
18407 }
18408 if (obj3) {
18409 {
18410 arg4 = &temp4;
18411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18412 }
18413 }
18414 if (obj4) {
18415 {
18416 arg5 = &temp5;
18417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18418 }
18419 }
18420 if (obj5) {
18421 {
18422 arg6 = static_cast<long >(SWIG_As_long(obj5));
18423 if (SWIG_arg_fail(6)) SWIG_fail;
18424 }
18425 }
18426 if (obj6) {
18427 {
18428 arg7 = wxString_in_helper(obj6);
18429 if (arg7 == NULL) SWIG_fail;
18430 temp7 = true;
18431 }
18432 }
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18436
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 {
18441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18442 }
18443 {
18444 if (temp7)
18445 delete arg7;
18446 }
18447 return resultobj;
18448 fail:
18449 {
18450 if (temp7)
18451 delete arg7;
18452 }
18453 return NULL;
18454}
18455
18456
18457static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18458 PyObject *resultobj = NULL;
18459 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18460 wxChoice *result;
18461 PyObject * obj0 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail;
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18472
18473 wxPyEndAllowThreads(__tstate);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18477 return resultobj;
18478 fail:
18479 return NULL;
18480}
18481
18482
18483static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18484 PyObject *resultobj = NULL;
18485 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18486 bool result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18494 if (SWIG_arg_fail(1)) SWIG_fail;
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 result = (bool)(arg1)->DeleteAllPages();
18498
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 {
18503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18504 }
18505 return resultobj;
18506 fail:
18507 return NULL;
18508}
18509
18510
18511static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18512 PyObject *obj;
18513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18514 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18515 Py_INCREF(obj);
18516 return Py_BuildValue((char *)"");
18517}
18518static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj = NULL;
18520 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18521 int arg2 = (int) 0 ;
18522 int arg3 = (int) -1 ;
18523 int arg4 = (int) -1 ;
18524 wxChoicebookEvent *result;
18525 PyObject * obj0 = 0 ;
18526 PyObject * obj1 = 0 ;
18527 PyObject * obj2 = 0 ;
18528 PyObject * obj3 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18534 if (obj0) {
18535 {
18536 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18537 if (SWIG_arg_fail(1)) SWIG_fail;
18538 }
18539 }
18540 if (obj1) {
18541 {
18542 arg2 = static_cast<int >(SWIG_As_int(obj1));
18543 if (SWIG_arg_fail(2)) SWIG_fail;
18544 }
18545 }
18546 if (obj2) {
18547 {
18548 arg3 = static_cast<int >(SWIG_As_int(obj2));
18549 if (SWIG_arg_fail(3)) SWIG_fail;
18550 }
18551 }
18552 if (obj3) {
18553 {
18554 arg4 = static_cast<int >(SWIG_As_int(obj3));
18555 if (SWIG_arg_fail(4)) SWIG_fail;
18556 }
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
18572static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18573 PyObject *obj;
18574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18576 Py_INCREF(obj);
18577 return Py_BuildValue((char *)"");
18578}
18579static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj = NULL;
18581 wxWindow *arg1 = (wxWindow *) 0 ;
18582 int arg2 ;
18583 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18584 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18585 wxSize const &arg4_defvalue = wxDefaultSize ;
18586 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18587 long arg5 = (long) wxBK_DEFAULT ;
18588 wxString const &arg6_defvalue = wxPyEmptyString ;
18589 wxString *arg6 = (wxString *) &arg6_defvalue ;
18590 wxTreebook *result;
18591 wxPoint temp3 ;
18592 wxSize temp4 ;
18593 bool temp6 = false ;
18594 PyObject * obj0 = 0 ;
18595 PyObject * obj1 = 0 ;
18596 PyObject * obj2 = 0 ;
18597 PyObject * obj3 = 0 ;
18598 PyObject * obj4 = 0 ;
18599 PyObject * obj5 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail;
18607 {
18608 arg2 = static_cast<int >(SWIG_As_int(obj1));
18609 if (SWIG_arg_fail(2)) SWIG_fail;
18610 }
18611 if (obj2) {
18612 {
18613 arg3 = &temp3;
18614 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18615 }
18616 }
18617 if (obj3) {
18618 {
18619 arg4 = &temp4;
18620 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18621 }
18622 }
18623 if (obj4) {
18624 {
18625 arg5 = static_cast<long >(SWIG_As_long(obj4));
18626 if (SWIG_arg_fail(5)) SWIG_fail;
18627 }
18628 }
18629 if (obj5) {
18630 {
18631 arg6 = wxString_in_helper(obj5);
18632 if (arg6 == NULL) SWIG_fail;
18633 temp6 = true;
18634 }
18635 }
18636 {
18637 if (!wxPyCheckForApp()) SWIG_fail;
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18645 {
18646 if (temp6)
18647 delete arg6;
18648 }
18649 return resultobj;
18650 fail:
18651 {
18652 if (temp6)
18653 delete arg6;
18654 }
18655 return NULL;
18656}
18657
18658
18659static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj = NULL;
18661 wxTreebook *result;
18662 char *kwnames[] = {
18663 NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
18667 {
18668 if (!wxPyCheckForApp()) SWIG_fail;
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 result = (wxTreebook *)new wxTreebook();
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18676 return resultobj;
18677 fail:
18678 return NULL;
18679}
18680
18681
18682static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18683 PyObject *resultobj = NULL;
18684 wxTreebook *arg1 = (wxTreebook *) 0 ;
18685 wxWindow *arg2 = (wxWindow *) 0 ;
18686 int arg3 ;
18687 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18688 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18689 wxSize const &arg5_defvalue = wxDefaultSize ;
18690 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18691 long arg6 = (long) wxBK_DEFAULT ;
18692 wxString const &arg7_defvalue = wxPyEmptyString ;
18693 wxString *arg7 = (wxString *) &arg7_defvalue ;
18694 bool result;
18695 wxPoint temp4 ;
18696 wxSize temp5 ;
18697 bool temp7 = false ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 PyObject * obj2 = 0 ;
18701 PyObject * obj3 = 0 ;
18702 PyObject * obj4 = 0 ;
18703 PyObject * obj5 = 0 ;
18704 PyObject * obj6 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18711 if (SWIG_arg_fail(1)) SWIG_fail;
18712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18713 if (SWIG_arg_fail(2)) SWIG_fail;
18714 {
18715 arg3 = static_cast<int >(SWIG_As_int(obj2));
18716 if (SWIG_arg_fail(3)) SWIG_fail;
18717 }
18718 if (obj3) {
18719 {
18720 arg4 = &temp4;
18721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18722 }
18723 }
18724 if (obj4) {
18725 {
18726 arg5 = &temp5;
18727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18728 }
18729 }
18730 if (obj5) {
18731 {
18732 arg6 = static_cast<long >(SWIG_As_long(obj5));
18733 if (SWIG_arg_fail(6)) SWIG_fail;
18734 }
18735 }
18736 if (obj6) {
18737 {
18738 arg7 = wxString_in_helper(obj6);
18739 if (arg7 == NULL) SWIG_fail;
18740 temp7 = true;
18741 }
18742 }
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 {
18751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18752 }
18753 {
18754 if (temp7)
18755 delete arg7;
18756 }
18757 return resultobj;
18758 fail:
18759 {
18760 if (temp7)
18761 delete arg7;
18762 }
18763 return NULL;
18764}
18765
18766
18767static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj = NULL;
18769 wxTreebook *arg1 = (wxTreebook *) 0 ;
18770 size_t arg2 ;
18771 wxWindow *arg3 = (wxWindow *) 0 ;
18772 wxString *arg4 = 0 ;
18773 bool arg5 = (bool) false ;
18774 int arg6 = (int) wxNOT_FOUND ;
18775 bool result;
18776 bool temp4 = false ;
18777 PyObject * obj0 = 0 ;
18778 PyObject * obj1 = 0 ;
18779 PyObject * obj2 = 0 ;
18780 PyObject * obj3 = 0 ;
18781 PyObject * obj4 = 0 ;
18782 PyObject * obj5 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18785 };
18786
18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail;
18790 {
18791 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18792 if (SWIG_arg_fail(2)) SWIG_fail;
18793 }
18794 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18795 if (SWIG_arg_fail(3)) SWIG_fail;
18796 {
18797 arg4 = wxString_in_helper(obj3);
18798 if (arg4 == NULL) SWIG_fail;
18799 temp4 = true;
18800 }
18801 if (obj4) {
18802 {
18803 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18804 if (SWIG_arg_fail(5)) SWIG_fail;
18805 }
18806 }
18807 if (obj5) {
18808 {
18809 arg6 = static_cast<int >(SWIG_As_int(obj5));
18810 if (SWIG_arg_fail(6)) SWIG_fail;
18811 }
18812 }
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 {
18821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18822 }
18823 {
18824 if (temp4)
18825 delete arg4;
18826 }
18827 return resultobj;
18828 fail:
18829 {
18830 if (temp4)
18831 delete arg4;
18832 }
18833 return NULL;
18834}
18835
18836
18837static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18838 PyObject *resultobj = NULL;
18839 wxTreebook *arg1 = (wxTreebook *) 0 ;
18840 size_t arg2 ;
18841 wxWindow *arg3 = (wxWindow *) 0 ;
18842 wxString *arg4 = 0 ;
18843 bool arg5 = (bool) false ;
18844 int arg6 = (int) wxNOT_FOUND ;
18845 bool result;
18846 bool temp4 = false ;
18847 PyObject * obj0 = 0 ;
18848 PyObject * obj1 = 0 ;
18849 PyObject * obj2 = 0 ;
18850 PyObject * obj3 = 0 ;
18851 PyObject * obj4 = 0 ;
18852 PyObject * obj5 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18859 if (SWIG_arg_fail(1)) SWIG_fail;
18860 {
18861 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18862 if (SWIG_arg_fail(2)) SWIG_fail;
18863 }
18864 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18865 if (SWIG_arg_fail(3)) SWIG_fail;
18866 {
18867 arg4 = wxString_in_helper(obj3);
18868 if (arg4 == NULL) SWIG_fail;
18869 temp4 = true;
18870 }
18871 if (obj4) {
18872 {
18873 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18874 if (SWIG_arg_fail(5)) SWIG_fail;
18875 }
18876 }
18877 if (obj5) {
18878 {
18879 arg6 = static_cast<int >(SWIG_As_int(obj5));
18880 if (SWIG_arg_fail(6)) SWIG_fail;
18881 }
18882 }
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 18885 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
7e08d4ef
RD
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 {
18891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18892 }
18893 {
18894 if (temp4)
18895 delete arg4;
18896 }
18897 return resultobj;
18898 fail:
18899 {
18900 if (temp4)
18901 delete arg4;
18902 }
18903 return NULL;
18904}
18905
18906
18907static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18908 PyObject *resultobj = NULL;
7e08d4ef
RD
18909 wxTreebook *arg1 = (wxTreebook *) 0 ;
18910 wxWindow *arg2 = (wxWindow *) 0 ;
18911 wxString *arg3 = 0 ;
18912 bool arg4 = (bool) false ;
18913 int arg5 = (int) wxNOT_FOUND ;
d14a1e28 18914 bool result;
7e08d4ef 18915 bool temp3 = false ;
d14a1e28 18916 PyObject * obj0 = 0 ;
7e08d4ef
RD
18917 PyObject * obj1 = 0 ;
18918 PyObject * obj2 = 0 ;
18919 PyObject * obj3 = 0 ;
18920 PyObject * obj4 = 0 ;
d14a1e28 18921 char *kwnames[] = {
7e08d4ef 18922 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
d14a1e28
RD
18923 };
18924
7e08d4ef
RD
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 18927 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef
RD
18928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18929 if (SWIG_arg_fail(2)) SWIG_fail;
18930 {
18931 arg3 = wxString_in_helper(obj2);
18932 if (arg3 == NULL) SWIG_fail;
18933 temp3 = true;
18934 }
18935 if (obj3) {
18936 {
18937 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18938 if (SWIG_arg_fail(4)) SWIG_fail;
18939 }
18940 }
18941 if (obj4) {
18942 {
18943 arg5 = static_cast<int >(SWIG_As_int(obj4));
18944 if (SWIG_arg_fail(5)) SWIG_fail;
18945 }
18946 }
d14a1e28
RD
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 18949 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
d14a1e28
RD
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
4f89f6a3
RD
18954 {
18955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18956 }
7e08d4ef
RD
18957 {
18958 if (temp3)
18959 delete arg3;
18960 }
d14a1e28
RD
18961 return resultobj;
18962 fail:
7e08d4ef
RD
18963 {
18964 if (temp3)
18965 delete arg3;
18966 }
d14a1e28
RD
18967 return NULL;
18968}
18969
18970
7e08d4ef 18971static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18972 PyObject *resultobj = NULL;
7e08d4ef
RD
18973 wxTreebook *arg1 = (wxTreebook *) 0 ;
18974 wxWindow *arg2 = (wxWindow *) 0 ;
18975 wxString *arg3 = 0 ;
18976 bool arg4 = (bool) false ;
18977 int arg5 = (int) wxNOT_FOUND ;
18978 bool result;
18979 bool temp3 = false ;
18980 PyObject * obj0 = 0 ;
18981 PyObject * obj1 = 0 ;
18982 PyObject * obj2 = 0 ;
18983 PyObject * obj3 = 0 ;
18984 PyObject * obj4 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail;
18992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18993 if (SWIG_arg_fail(2)) SWIG_fail;
18994 {
18995 arg3 = wxString_in_helper(obj2);
18996 if (arg3 == NULL) SWIG_fail;
18997 temp3 = true;
18998 }
18999 if (obj3) {
19000 {
19001 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
19002 if (SWIG_arg_fail(4)) SWIG_fail;
19003 }
19004 }
19005 if (obj4) {
19006 {
19007 arg5 = static_cast<int >(SWIG_As_int(obj4));
19008 if (SWIG_arg_fail(5)) SWIG_fail;
19009 }
19010 }
19011 {
19012 PyThreadState* __tstate = wxPyBeginAllowThreads();
19013 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
19014
19015 wxPyEndAllowThreads(__tstate);
19016 if (PyErr_Occurred()) SWIG_fail;
19017 }
19018 {
19019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19020 }
19021 {
19022 if (temp3)
19023 delete arg3;
19024 }
19025 return resultobj;
19026 fail:
19027 {
19028 if (temp3)
19029 delete arg3;
19030 }
19031 return NULL;
19032}
19033
19034
19035static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj = NULL;
19037 wxTreebook *arg1 = (wxTreebook *) 0 ;
19038 size_t arg2 ;
19039 bool result;
19040 PyObject * obj0 = 0 ;
19041 PyObject * obj1 = 0 ;
19042 char *kwnames[] = {
19043 (char *) "self",(char *) "pos", NULL
19044 };
19045
19046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail;
19047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19048 if (SWIG_arg_fail(1)) SWIG_fail;
19049 {
19050 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19051 if (SWIG_arg_fail(2)) SWIG_fail;
19052 }
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 result = (bool)(arg1)->DeletePage(arg2);
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 {
19061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19062 }
19063 return resultobj;
19064 fail:
19065 return NULL;
19066}
19067
19068
19069static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj = NULL;
19071 wxTreebook *arg1 = (wxTreebook *) 0 ;
19072 size_t arg2 ;
19073 bool result;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "pos", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail;
19081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail;
19083 {
19084 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19085 if (SWIG_arg_fail(2)) SWIG_fail;
19086 }
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 {
19095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19096 }
19097 return resultobj;
19098 fail:
19099 return NULL;
19100}
19101
19102
19103static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) {
19104 PyObject *resultobj = NULL;
19105 wxTreebook *arg1 = (wxTreebook *) 0 ;
19106 size_t arg2 ;
19107 bool arg3 = (bool) true ;
19108 bool result;
19109 PyObject * obj0 = 0 ;
19110 PyObject * obj1 = 0 ;
19111 PyObject * obj2 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self",(char *) "pos",(char *) "expand", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail;
19117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19118 if (SWIG_arg_fail(1)) SWIG_fail;
19119 {
19120 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19121 if (SWIG_arg_fail(2)) SWIG_fail;
19122 }
19123 if (obj2) {
19124 {
19125 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19126 if (SWIG_arg_fail(3)) SWIG_fail;
19127 }
19128 }
19129 {
19130 PyThreadState* __tstate = wxPyBeginAllowThreads();
19131 result = (bool)(arg1)->ExpandNode(arg2,arg3);
19132
19133 wxPyEndAllowThreads(__tstate);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 {
19137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19138 }
19139 return resultobj;
19140 fail:
19141 return NULL;
19142}
19143
19144
19145static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj = NULL;
19147 wxTreebook *arg1 = (wxTreebook *) 0 ;
19148 size_t arg2 ;
19149 bool result;
19150 PyObject * obj0 = 0 ;
19151 PyObject * obj1 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "pos", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail;
19157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19158 if (SWIG_arg_fail(1)) SWIG_fail;
19159 {
19160 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19161 if (SWIG_arg_fail(2)) SWIG_fail;
19162 }
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = (bool)(arg1)->CollapseNode(arg2);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 {
19171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19172 }
19173 return resultobj;
19174 fail:
19175 return NULL;
19176}
19177
19178
19179static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj = NULL;
19181 wxTreebook *arg1 = (wxTreebook *) 0 ;
19182 size_t arg2 ;
19183 int result;
19184 PyObject * obj0 = 0 ;
19185 PyObject * obj1 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self",(char *) "pos", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail;
19191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19192 if (SWIG_arg_fail(1)) SWIG_fail;
19193 {
19194 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19195 if (SWIG_arg_fail(2)) SWIG_fail;
19196 }
19197 {
19198 PyThreadState* __tstate = wxPyBeginAllowThreads();
19199 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
19200
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 {
19205 resultobj = SWIG_From_int(static_cast<int >(result));
19206 }
19207 return resultobj;
19208 fail:
19209 return NULL;
19210}
19211
19212
19213static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj = NULL;
19215 wxTreebook *arg1 = (wxTreebook *) 0 ;
19216 wxTreeCtrl *result;
1fbf26be
RD
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
7e08d4ef
RD
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
19223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19224 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19227 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
1fbf26be
RD
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
7e08d4ef 19232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
1fbf26be
RD
19233 return resultobj;
19234 fail:
19235 return NULL;
19236}
19237
19238
7e08d4ef 19239static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19240 PyObject *obj;
19241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19242 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
d14a1e28
RD
19243 Py_INCREF(obj);
19244 return Py_BuildValue((char *)"");
19245}
7e08d4ef 19246static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19247 PyObject *resultobj = NULL;
d14a1e28
RD
19248 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19249 int arg2 = (int) 0 ;
7e08d4ef
RD
19250 int arg3 = (int) wxNOT_FOUND ;
19251 int arg4 = (int) wxNOT_FOUND ;
19252 wxTreebookEvent *result;
994141e6
RD
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 PyObject * obj2 = 0 ;
19256 PyObject * obj3 = 0 ;
d14a1e28
RD
19257 char *kwnames[] = {
19258 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19259 };
19260
7e08d4ef 19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
994141e6 19262 if (obj0) {
093d3ff1 19263 {
32fe5131 19264 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
19265 if (SWIG_arg_fail(1)) SWIG_fail;
19266 }
994141e6
RD
19267 }
19268 if (obj1) {
093d3ff1 19269 {
32fe5131 19270 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19271 if (SWIG_arg_fail(2)) SWIG_fail;
19272 }
994141e6
RD
19273 }
19274 if (obj2) {
093d3ff1 19275 {
32fe5131 19276 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19277 if (SWIG_arg_fail(3)) SWIG_fail;
19278 }
994141e6
RD
19279 }
19280 if (obj3) {
093d3ff1 19281 {
32fe5131 19282 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19283 if (SWIG_arg_fail(4)) SWIG_fail;
19284 }
994141e6 19285 }
d14a1e28
RD
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19288 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
d14a1e28
RD
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
7e08d4ef 19293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1);
d14a1e28
RD
19294 return resultobj;
19295 fail:
19296 return NULL;
19297}
19298
19299
7e08d4ef 19300static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19301 PyObject *obj;
19302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19303 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj);
d14a1e28
RD
19304 Py_INCREF(obj);
19305 return Py_BuildValue((char *)"");
19306}
7e08d4ef 19307static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19308 PyObject *resultobj = NULL;
2ef75293
RD
19309 wxWindow *arg1 = (wxWindow *) 0 ;
19310 int arg2 ;
19311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19313 wxSize const &arg4_defvalue = wxDefaultSize ;
19314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7e08d4ef 19315 long arg5 = (long) wxBK_DEFAULT ;
2ef75293
RD
19316 wxString const &arg6_defvalue = wxPyEmptyString ;
19317 wxString *arg6 = (wxString *) &arg6_defvalue ;
7e08d4ef 19318 wxToolbook *result;
2ef75293
RD
19319 wxPoint temp3 ;
19320 wxSize temp4 ;
ae8162c8 19321 bool temp6 = false ;
2ef75293
RD
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 PyObject * obj2 = 0 ;
19325 PyObject * obj3 = 0 ;
19326 PyObject * obj4 = 0 ;
19327 PyObject * obj5 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19330 };
19331
7e08d4ef 19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail;
19335 {
32fe5131 19336 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19337 if (SWIG_arg_fail(2)) SWIG_fail;
19338 }
2ef75293
RD
19339 if (obj2) {
19340 {
19341 arg3 = &temp3;
19342 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19343 }
19344 }
19345 if (obj3) {
19346 {
19347 arg4 = &temp4;
19348 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19349 }
19350 }
19351 if (obj4) {
093d3ff1 19352 {
32fe5131 19353 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19354 if (SWIG_arg_fail(5)) SWIG_fail;
19355 }
2ef75293
RD
19356 }
19357 if (obj5) {
19358 {
19359 arg6 = wxString_in_helper(obj5);
19360 if (arg6 == NULL) SWIG_fail;
ae8162c8 19361 temp6 = true;
2ef75293
RD
19362 }
19363 }
19364 {
2ef75293 19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19366 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2ef75293
RD
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
7e08d4ef 19371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
2ef75293
RD
19372 {
19373 if (temp6)
19374 delete arg6;
19375 }
19376 return resultobj;
19377 fail:
19378 {
19379 if (temp6)
19380 delete arg6;
19381 }
19382 return NULL;
19383}
19384
19385
7e08d4ef 19386static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19387 PyObject *resultobj = NULL;
7e08d4ef 19388 wxToolbook *result;
2ef75293
RD
19389 char *kwnames[] = {
19390 NULL
19391 };
19392
7e08d4ef 19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail;
2ef75293 19394 {
2ef75293 19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19396 result = (wxToolbook *)new wxToolbook();
2ef75293
RD
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
7e08d4ef 19401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
2ef75293
RD
19402 return resultobj;
19403 fail:
19404 return NULL;
19405}
19406
19407
7e08d4ef 19408static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19409 PyObject *resultobj = NULL;
7e08d4ef 19410 wxToolbook *arg1 = (wxToolbook *) 0 ;
2ef75293
RD
19411 wxWindow *arg2 = (wxWindow *) 0 ;
19412 int arg3 ;
19413 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19414 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19415 wxSize const &arg5_defvalue = wxDefaultSize ;
19416 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19417 long arg6 = (long) 0 ;
7e08d4ef 19418 wxString const &arg7_defvalue = wxEmptyString ;
2ef75293
RD
19419 wxString *arg7 = (wxString *) &arg7_defvalue ;
19420 bool result;
19421 wxPoint temp4 ;
19422 wxSize temp5 ;
ae8162c8 19423 bool temp7 = false ;
2ef75293
RD
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 PyObject * obj2 = 0 ;
19427 PyObject * obj3 = 0 ;
19428 PyObject * obj4 = 0 ;
19429 PyObject * obj5 = 0 ;
19430 PyObject * obj6 = 0 ;
19431 char *kwnames[] = {
19432 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19433 };
19434
7e08d4ef
RD
19435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1
RD
19437 if (SWIG_arg_fail(1)) SWIG_fail;
19438 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19439 if (SWIG_arg_fail(2)) SWIG_fail;
19440 {
32fe5131 19441 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19442 if (SWIG_arg_fail(3)) SWIG_fail;
19443 }
2ef75293
RD
19444 if (obj3) {
19445 {
19446 arg4 = &temp4;
19447 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19448 }
19449 }
19450 if (obj4) {
19451 {
19452 arg5 = &temp5;
19453 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19454 }
19455 }
19456 if (obj5) {
093d3ff1 19457 {
32fe5131 19458 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
19459 if (SWIG_arg_fail(6)) SWIG_fail;
19460 }
2ef75293
RD
19461 }
19462 if (obj6) {
19463 {
19464 arg7 = wxString_in_helper(obj6);
19465 if (arg7 == NULL) SWIG_fail;
ae8162c8 19466 temp7 = true;
2ef75293
RD
19467 }
19468 }
19469 {
19470 PyThreadState* __tstate = wxPyBeginAllowThreads();
19471 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19472
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 {
19477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19478 }
19479 {
19480 if (temp7)
19481 delete arg7;
19482 }
19483 return resultobj;
19484 fail:
19485 {
19486 if (temp7)
19487 delete arg7;
19488 }
19489 return NULL;
19490}
19491
19492
7e08d4ef 19493static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19494 PyObject *resultobj = NULL;
7e08d4ef
RD
19495 wxToolbook *arg1 = (wxToolbook *) 0 ;
19496 wxToolBarBase *result;
2ef75293
RD
19497 PyObject * obj0 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self", NULL
19500 };
19501
7e08d4ef
RD
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
19503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19504 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19507 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
2ef75293
RD
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 {
7e08d4ef 19513 resultobj = wxPyMake_wxObject(result, (bool)0);
70b7a5fe 19514 }
70b7a5fe
RD
19515 return resultobj;
19516 fail:
19517 return NULL;
19518}
19519
19520
7e08d4ef 19521static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19522 PyObject *resultobj = NULL;
7e08d4ef 19523 wxToolbook *arg1 = (wxToolbook *) 0 ;
2ef75293
RD
19524 PyObject * obj0 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self", NULL
19527 };
19528
7e08d4ef
RD
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
19530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19531 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19534 (arg1)->Realize();
2ef75293
RD
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
7e08d4ef 19539 Py_INCREF(Py_None); resultobj = Py_None;
2ef75293
RD
19540 return resultobj;
19541 fail:
19542 return NULL;
19543}
19544
19545
7e08d4ef 19546static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
2ef75293
RD
19547 PyObject *obj;
19548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19549 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
2ef75293
RD
19550 Py_INCREF(obj);
19551 return Py_BuildValue((char *)"");
19552}
7e08d4ef 19553static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19554 PyObject *resultobj = NULL;
2ef75293
RD
19555 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19556 int arg2 = (int) 0 ;
7e08d4ef
RD
19557 int arg3 = (int) wxNOT_FOUND ;
19558 int arg4 = (int) wxNOT_FOUND ;
19559 wxToolbookEvent *result;
2ef75293
RD
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 PyObject * obj2 = 0 ;
19563 PyObject * obj3 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19566 };
19567
7e08d4ef 19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2ef75293 19569 if (obj0) {
093d3ff1 19570 {
32fe5131 19571 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
19572 if (SWIG_arg_fail(1)) SWIG_fail;
19573 }
2ef75293
RD
19574 }
19575 if (obj1) {
093d3ff1 19576 {
32fe5131 19577 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19578 if (SWIG_arg_fail(2)) SWIG_fail;
19579 }
2ef75293
RD
19580 }
19581 if (obj2) {
093d3ff1 19582 {
32fe5131 19583 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19584 if (SWIG_arg_fail(3)) SWIG_fail;
19585 }
2ef75293
RD
19586 }
19587 if (obj3) {
093d3ff1 19588 {
32fe5131 19589 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19590 if (SWIG_arg_fail(4)) SWIG_fail;
19591 }
2ef75293
RD
19592 }
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19595 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
2ef75293
RD
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
7e08d4ef 19600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
2ef75293
RD
19601 return resultobj;
19602 fail:
19603 return NULL;
19604}
19605
19606
7e08d4ef 19607static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) {
2ef75293
RD
19608 PyObject *obj;
19609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19610 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj);
2ef75293
RD
19611 Py_INCREF(obj);
19612 return Py_BuildValue((char *)"");
19613}
c32bde28 19614static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19615 PyObject *resultobj = NULL;
d14a1e28
RD
19616 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19617 int result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
19624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19625 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (int)(arg1)->GetId();
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
093d3ff1 19633 {
32fe5131 19634 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19635 }
d14a1e28
RD
19636 return resultobj;
19637 fail:
19638 return NULL;
19639}
19640
19641
c32bde28 19642static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19643 PyObject *resultobj = NULL;
d14a1e28
RD
19644 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19645 wxControl *result;
19646 PyObject * obj0 = 0 ;
19647 char *kwnames[] = {
19648 (char *) "self", NULL
19649 };
19650
19651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
19652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19653 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 result = (wxControl *)(arg1)->GetControl();
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 {
412d302d 19662 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19663 }
19664 return resultobj;
19665 fail:
19666 return NULL;
19667}
19668
19669
c32bde28 19670static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19671 PyObject *resultobj = NULL;
d14a1e28
RD
19672 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19673 wxToolBarBase *result;
19674 PyObject * obj0 = 0 ;
19675 char *kwnames[] = {
19676 (char *) "self", NULL
19677 };
19678
19679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
19680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19681 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19682 {
19683 PyThreadState* __tstate = wxPyBeginAllowThreads();
19684 result = (wxToolBarBase *)(arg1)->GetToolBar();
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 {
7e08d4ef 19690 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
19691 }
19692 return resultobj;
19693 fail:
19694 return NULL;
19695}
19696
19697
c32bde28 19698static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19699 PyObject *resultobj = NULL;
d14a1e28
RD
19700 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19701 int result;
19702 PyObject * obj0 = 0 ;
19703 char *kwnames[] = {
19704 (char *) "self", NULL
19705 };
19706
19707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
19708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (int)(arg1)->IsButton();
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
093d3ff1 19717 {
32fe5131 19718 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19719 }
d14a1e28
RD
19720 return resultobj;
19721 fail:
19722 return NULL;
19723}
19724
19725
c32bde28 19726static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19727 PyObject *resultobj = NULL;
d14a1e28
RD
19728 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19729 int result;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
19736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (int)(arg1)->IsControl();
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
093d3ff1 19745 {
32fe5131 19746 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19747 }
d14a1e28
RD
19748 return resultobj;
19749 fail:
19750 return NULL;
19751}
19752
19753
c32bde28 19754static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19755 PyObject *resultobj = NULL;
d14a1e28
RD
19756 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19757 int result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (int)(arg1)->IsSeparator();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
093d3ff1 19773 {
32fe5131 19774 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19775 }
d14a1e28
RD
19776 return resultobj;
19777 fail:
19778 return NULL;
19779}
19780
19781
c32bde28 19782static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19783 PyObject *resultobj = NULL;
d14a1e28
RD
19784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19785 int result;
19786 PyObject * obj0 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19793 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 result = (int)(arg1)->GetStyle();
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
093d3ff1 19801 {
32fe5131 19802 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19803 }
d14a1e28
RD
19804 return resultobj;
19805 fail:
19806 return NULL;
19807}
19808
19809
c32bde28 19810static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19811 PyObject *resultobj = NULL;
d14a1e28 19812 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 19813 wxItemKind result;
d14a1e28
RD
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
19820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19824 result = (wxItemKind)(arg1)->GetKind();
d14a1e28
RD
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
093d3ff1 19829 resultobj = SWIG_From_int((result));
d14a1e28
RD
19830 return resultobj;
19831 fail:
19832 return NULL;
19833}
19834
19835
c32bde28 19836static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19837 PyObject *resultobj = NULL;
d14a1e28
RD
19838 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19839 bool result;
19840 PyObject * obj0 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19847 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->IsEnabled();
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
4f89f6a3
RD
19855 {
19856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19857 }
d14a1e28
RD
19858 return resultobj;
19859 fail:
19860 return NULL;
19861}
19862
19863
c32bde28 19864static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19865 PyObject *resultobj = NULL;
d14a1e28
RD
19866 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19867 bool result;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 result = (bool)(arg1)->IsToggled();
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
4f89f6a3
RD
19883 {
19884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19885 }
d14a1e28
RD
19886 return resultobj;
19887 fail:
19888 return NULL;
19889}
19890
19891
c32bde28 19892static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19893 PyObject *resultobj = NULL;
d14a1e28
RD
19894 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19895 bool result;
19896 PyObject * obj0 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19903 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 result = (bool)(arg1)->CanBeToggled();
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
4f89f6a3
RD
19911 {
19912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19913 }
d14a1e28
RD
19914 return resultobj;
19915 fail:
19916 return NULL;
19917}
19918
19919
c32bde28 19920static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19921 PyObject *resultobj = NULL;
d14a1e28
RD
19922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19923 wxBitmap *result;
19924 PyObject * obj0 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
19930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19931 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 {
19935 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
19936 result = (wxBitmap *) &_result_ref;
19937 }
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
4276dc52
RD
19942 {
19943 wxBitmap* resultptr = new wxBitmap(*result);
19944 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19945 }
d14a1e28
RD
19946 return resultobj;
19947 fail:
19948 return NULL;
19949}
19950
19951
c32bde28 19952static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19953 PyObject *resultobj = NULL;
d14a1e28
RD
19954 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19955 wxBitmap *result;
19956 PyObject * obj0 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
19962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19963 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 {
19967 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
19968 result = (wxBitmap *) &_result_ref;
19969 }
19970
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
4276dc52
RD
19974 {
19975 wxBitmap* resultptr = new wxBitmap(*result);
19976 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19977 }
d14a1e28
RD
19978 return resultobj;
19979 fail:
19980 return NULL;
19981}
19982
19983
c32bde28 19984static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19985 PyObject *resultobj = NULL;
d14a1e28
RD
19986 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19987 wxBitmap result;
19988 PyObject * obj0 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
19994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (arg1)->GetBitmap();
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 wxBitmap * resultptr;
32fe5131 20005 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 20006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
20007 }
20008 return resultobj;
20009 fail:
20010 return NULL;
20011}
20012
20013
c32bde28 20014static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20015 PyObject *resultobj = NULL;
d14a1e28
RD
20016 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20017 wxString result;
20018 PyObject * obj0 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
20024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20025 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (arg1)->GetLabel();
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 {
20034#if wxUSE_UNICODE
20035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20036#else
20037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20038#endif
20039 }
20040 return resultobj;
20041 fail:
20042 return NULL;
20043}
20044
20045
c32bde28 20046static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20047 PyObject *resultobj = NULL;
d14a1e28
RD
20048 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20049 wxString result;
20050 PyObject * obj0 = 0 ;
20051 char *kwnames[] = {
20052 (char *) "self", NULL
20053 };
20054
20055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
20056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20057 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 result = (arg1)->GetShortHelp();
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 {
20066#if wxUSE_UNICODE
20067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20068#else
20069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20070#endif
20071 }
20072 return resultobj;
20073 fail:
20074 return NULL;
20075}
20076
20077
c32bde28 20078static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20079 PyObject *resultobj = NULL;
d14a1e28
RD
20080 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20081 wxString result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
20088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20089 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (arg1)->GetLongHelp();
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 {
20098#if wxUSE_UNICODE
20099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20100#else
20101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20102#endif
20103 }
20104 return resultobj;
20105 fail:
20106 return NULL;
20107}
20108
20109
c32bde28 20110static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20111 PyObject *resultobj = NULL;
d14a1e28
RD
20112 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20113 bool arg2 ;
20114 bool result;
20115 PyObject * obj0 = 0 ;
20116 PyObject * obj1 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self",(char *) "enable", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20123 if (SWIG_arg_fail(1)) SWIG_fail;
20124 {
32fe5131 20125 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
20126 if (SWIG_arg_fail(2)) SWIG_fail;
20127 }
d14a1e28
RD
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 result = (bool)(arg1)->Enable(arg2);
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
4f89f6a3
RD
20135 {
20136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20137 }
d14a1e28
RD
20138 return resultobj;
20139 fail:
20140 return NULL;
20141}
20142
20143
c32bde28 20144static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20145 PyObject *resultobj = NULL;
d14a1e28
RD
20146 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20147 PyObject * obj0 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
20153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20154 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 (arg1)->Toggle();
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 Py_INCREF(Py_None); resultobj = Py_None;
20163 return resultobj;
20164 fail:
20165 return NULL;
20166}
20167
20168
c32bde28 20169static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20170 PyObject *resultobj = NULL;
d14a1e28
RD
20171 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20172 bool arg2 ;
20173 bool result;
20174 PyObject * obj0 = 0 ;
20175 PyObject * obj1 = 0 ;
20176 char *kwnames[] = {
20177 (char *) "self",(char *) "toggle", NULL
20178 };
20179
20180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20182 if (SWIG_arg_fail(1)) SWIG_fail;
20183 {
32fe5131 20184 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
20185 if (SWIG_arg_fail(2)) SWIG_fail;
20186 }
d14a1e28
RD
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 result = (bool)(arg1)->SetToggle(arg2);
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
4f89f6a3
RD
20194 {
20195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20196 }
d14a1e28
RD
20197 return resultobj;
20198 fail:
20199 return NULL;
20200}
20201
20202
c32bde28 20203static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20204 PyObject *resultobj = NULL;
d14a1e28
RD
20205 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20206 wxString *arg2 = 0 ;
20207 bool result;
ae8162c8 20208 bool temp2 = false ;
d14a1e28
RD
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "help", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20218 {
20219 arg2 = wxString_in_helper(obj1);
20220 if (arg2 == NULL) SWIG_fail;
ae8162c8 20221 temp2 = true;
d14a1e28
RD
20222 }
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
4f89f6a3
RD
20230 {
20231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20232 }
d14a1e28
RD
20233 {
20234 if (temp2)
20235 delete arg2;
20236 }
20237 return resultobj;
20238 fail:
20239 {
20240 if (temp2)
20241 delete arg2;
20242 }
20243 return NULL;
20244}
20245
20246
c32bde28 20247static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20248 PyObject *resultobj = NULL;
d14a1e28
RD
20249 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20250 wxString *arg2 = 0 ;
20251 bool result;
ae8162c8 20252 bool temp2 = false ;
d14a1e28
RD
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "help", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20262 {
20263 arg2 = wxString_in_helper(obj1);
20264 if (arg2 == NULL) SWIG_fail;
ae8162c8 20265 temp2 = true;
d14a1e28
RD
20266 }
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
20270
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
4f89f6a3
RD
20274 {
20275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20276 }
d14a1e28
RD
20277 {
20278 if (temp2)
20279 delete arg2;
20280 }
20281 return resultobj;
20282 fail:
20283 {
20284 if (temp2)
20285 delete arg2;
20286 }
20287 return NULL;
20288}
20289
20290
c32bde28 20291static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20292 PyObject *resultobj = NULL;
d14a1e28
RD
20293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20294 wxBitmap *arg2 = 0 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "bmp", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail;
20304 {
20305 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20306 if (SWIG_arg_fail(2)) SWIG_fail;
20307 if (arg2 == NULL) {
20308 SWIG_null_ref("wxBitmap");
20309 }
20310 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 Py_INCREF(Py_None); resultobj = Py_None;
20320 return resultobj;
20321 fail:
20322 return NULL;
20323}
20324
20325
c32bde28 20326static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20327 PyObject *resultobj = NULL;
d14a1e28
RD
20328 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20329 wxBitmap *arg2 = 0 ;
20330 PyObject * obj0 = 0 ;
20331 PyObject * obj1 = 0 ;
20332 char *kwnames[] = {
20333 (char *) "self",(char *) "bmp", NULL
20334 };
20335
20336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20338 if (SWIG_arg_fail(1)) SWIG_fail;
20339 {
20340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20341 if (SWIG_arg_fail(2)) SWIG_fail;
20342 if (arg2 == NULL) {
20343 SWIG_null_ref("wxBitmap");
20344 }
20345 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20346 }
20347 {
20348 PyThreadState* __tstate = wxPyBeginAllowThreads();
20349 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
20350
20351 wxPyEndAllowThreads(__tstate);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 Py_INCREF(Py_None); resultobj = Py_None;
20355 return resultobj;
20356 fail:
20357 return NULL;
20358}
20359
20360
c32bde28 20361static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20362 PyObject *resultobj = NULL;
d14a1e28
RD
20363 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20364 wxString *arg2 = 0 ;
ae8162c8 20365 bool temp2 = false ;
d14a1e28
RD
20366 PyObject * obj0 = 0 ;
20367 PyObject * obj1 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "self",(char *) "label", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20375 {
20376 arg2 = wxString_in_helper(obj1);
20377 if (arg2 == NULL) SWIG_fail;
ae8162c8 20378 temp2 = true;
d14a1e28
RD
20379 }
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 (arg1)->SetLabel((wxString const &)*arg2);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 Py_INCREF(Py_None); resultobj = Py_None;
20388 {
20389 if (temp2)
20390 delete arg2;
20391 }
20392 return resultobj;
20393 fail:
20394 {
20395 if (temp2)
20396 delete arg2;
20397 }
20398 return NULL;
20399}
20400
20401
c32bde28 20402static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20403 PyObject *resultobj = NULL;
d14a1e28
RD
20404 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20405 PyObject * obj0 = 0 ;
20406 char *kwnames[] = {
20407 (char *) "self", NULL
20408 };
20409
20410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
20411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20412 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 (arg1)->Detach();
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 Py_INCREF(Py_None); resultobj = Py_None;
20421 return resultobj;
20422 fail:
20423 return NULL;
20424}
20425
20426
c32bde28 20427static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20428 PyObject *resultobj = NULL;
d14a1e28
RD
20429 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20430 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self",(char *) "tbar", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail;
20440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20441 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 (arg1)->Attach(arg2);
20445
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 Py_INCREF(Py_None); resultobj = Py_None;
20450 return resultobj;
20451 fail:
20452 return NULL;
20453}
20454
20455
c32bde28 20456static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20457 PyObject *resultobj = NULL;
d14a1e28
RD
20458 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20459 PyObject *result;
20460 PyObject * obj0 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20468 {
20469 PyThreadState* __tstate = wxPyBeginAllowThreads();
20470 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
20471
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 resultobj = result;
20476 return resultobj;
20477 fail:
20478 return NULL;
20479}
20480
20481
c32bde28 20482static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20483 PyObject *resultobj = NULL;
d14a1e28
RD
20484 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20485 PyObject *arg2 = (PyObject *) 0 ;
20486 PyObject * obj0 = 0 ;
20487 PyObject * obj1 = 0 ;
20488 char *kwnames[] = {
20489 (char *) "self",(char *) "clientData", NULL
20490 };
20491
20492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20494 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20495 arg2 = obj1;
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 wxToolBarToolBase_SetClientData(arg1,arg2);
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 Py_INCREF(Py_None); resultobj = Py_None;
20504 return resultobj;
20505 fail:
20506 return NULL;
20507}
20508
20509
c32bde28 20510static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20511 PyObject *obj;
20512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20513 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
20514 Py_INCREF(obj);
20515 return Py_BuildValue((char *)"");
20516}
c32bde28 20517static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20518 PyObject *resultobj = NULL;
d14a1e28
RD
20519 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20520 int arg2 ;
20521 wxString *arg3 = 0 ;
20522 wxBitmap *arg4 = 0 ;
20523 wxBitmap const &arg5_defvalue = wxNullBitmap ;
20524 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 20525 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
20526 wxString const &arg7_defvalue = wxPyEmptyString ;
20527 wxString *arg7 = (wxString *) &arg7_defvalue ;
20528 wxString const &arg8_defvalue = wxPyEmptyString ;
20529 wxString *arg8 = (wxString *) &arg8_defvalue ;
20530 PyObject *arg9 = (PyObject *) NULL ;
20531 wxToolBarToolBase *result;
ae8162c8
RD
20532 bool temp3 = false ;
20533 bool temp7 = false ;
20534 bool temp8 = false ;
d14a1e28 20535 PyObject * obj0 = 0 ;
994141e6 20536 PyObject * obj1 = 0 ;
d14a1e28
RD
20537 PyObject * obj2 = 0 ;
20538 PyObject * obj3 = 0 ;
20539 PyObject * obj4 = 0 ;
994141e6 20540 PyObject * obj5 = 0 ;
d14a1e28
RD
20541 PyObject * obj6 = 0 ;
20542 PyObject * obj7 = 0 ;
20543 PyObject * obj8 = 0 ;
20544 char *kwnames[] = {
20545 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20546 };
20547
994141e6 20548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
20549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail;
20551 {
32fe5131 20552 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20553 if (SWIG_arg_fail(2)) SWIG_fail;
20554 }
d14a1e28
RD
20555 {
20556 arg3 = wxString_in_helper(obj2);
20557 if (arg3 == NULL) SWIG_fail;
ae8162c8 20558 temp3 = true;
d14a1e28 20559 }
093d3ff1
RD
20560 {
20561 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20562 if (SWIG_arg_fail(4)) SWIG_fail;
20563 if (arg4 == NULL) {
20564 SWIG_null_ref("wxBitmap");
20565 }
20566 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
20567 }
20568 if (obj4) {
093d3ff1
RD
20569 {
20570 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20571 if (SWIG_arg_fail(5)) SWIG_fail;
20572 if (arg5 == NULL) {
20573 SWIG_null_ref("wxBitmap");
20574 }
20575 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
20576 }
20577 }
994141e6 20578 if (obj5) {
093d3ff1 20579 {
32fe5131 20580 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
093d3ff1
RD
20581 if (SWIG_arg_fail(6)) SWIG_fail;
20582 }
994141e6 20583 }
d14a1e28
RD
20584 if (obj6) {
20585 {
20586 arg7 = wxString_in_helper(obj6);
20587 if (arg7 == NULL) SWIG_fail;
ae8162c8 20588 temp7 = true;
d14a1e28
RD
20589 }
20590 }
20591 if (obj7) {
20592 {
20593 arg8 = wxString_in_helper(obj7);
20594 if (arg8 == NULL) SWIG_fail;
ae8162c8 20595 temp8 = true;
d14a1e28
RD
20596 }
20597 }
20598 if (obj8) {
20599 arg9 = obj8;
20600 }
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20603 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
d14a1e28
RD
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 {
7e08d4ef 20609 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20610 }
20611 {
20612 if (temp3)
20613 delete arg3;
20614 }
20615 {
20616 if (temp7)
20617 delete arg7;
20618 }
20619 {
20620 if (temp8)
20621 delete arg8;
20622 }
20623 return resultobj;
20624 fail:
20625 {
20626 if (temp3)
20627 delete arg3;
20628 }
20629 {
20630 if (temp7)
20631 delete arg7;
20632 }
20633 {
20634 if (temp8)
20635 delete arg8;
20636 }
20637 return NULL;
20638}
20639
20640
c32bde28 20641static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20642 PyObject *resultobj = NULL;
d14a1e28
RD
20643 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20644 size_t arg2 ;
20645 int arg3 ;
20646 wxString *arg4 = 0 ;
20647 wxBitmap *arg5 = 0 ;
20648 wxBitmap const &arg6_defvalue = wxNullBitmap ;
20649 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 20650 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
20651 wxString const &arg8_defvalue = wxPyEmptyString ;
20652 wxString *arg8 = (wxString *) &arg8_defvalue ;
20653 wxString const &arg9_defvalue = wxPyEmptyString ;
20654 wxString *arg9 = (wxString *) &arg9_defvalue ;
20655 PyObject *arg10 = (PyObject *) NULL ;
20656 wxToolBarToolBase *result;
ae8162c8
RD
20657 bool temp4 = false ;
20658 bool temp8 = false ;
20659 bool temp9 = false ;
d14a1e28
RD
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
994141e6 20662 PyObject * obj2 = 0 ;
d14a1e28
RD
20663 PyObject * obj3 = 0 ;
20664 PyObject * obj4 = 0 ;
20665 PyObject * obj5 = 0 ;
994141e6 20666 PyObject * obj6 = 0 ;
d14a1e28
RD
20667 PyObject * obj7 = 0 ;
20668 PyObject * obj8 = 0 ;
20669 PyObject * obj9 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20672 };
20673
994141e6 20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
20675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20676 if (SWIG_arg_fail(1)) SWIG_fail;
20677 {
32fe5131 20678 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20679 if (SWIG_arg_fail(2)) SWIG_fail;
20680 }
20681 {
32fe5131 20682 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20683 if (SWIG_arg_fail(3)) SWIG_fail;
20684 }
d14a1e28
RD
20685 {
20686 arg4 = wxString_in_helper(obj3);
20687 if (arg4 == NULL) SWIG_fail;
ae8162c8 20688 temp4 = true;
d14a1e28 20689 }
093d3ff1
RD
20690 {
20691 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20692 if (SWIG_arg_fail(5)) SWIG_fail;
20693 if (arg5 == NULL) {
20694 SWIG_null_ref("wxBitmap");
20695 }
20696 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
20697 }
20698 if (obj5) {
093d3ff1
RD
20699 {
20700 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(6)) SWIG_fail;
20702 if (arg6 == NULL) {
20703 SWIG_null_ref("wxBitmap");
20704 }
20705 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
20706 }
20707 }
994141e6 20708 if (obj6) {
093d3ff1 20709 {
32fe5131 20710 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
093d3ff1
RD
20711 if (SWIG_arg_fail(7)) SWIG_fail;
20712 }
994141e6 20713 }
d14a1e28
RD
20714 if (obj7) {
20715 {
20716 arg8 = wxString_in_helper(obj7);
20717 if (arg8 == NULL) SWIG_fail;
ae8162c8 20718 temp8 = true;
d14a1e28
RD
20719 }
20720 }
20721 if (obj8) {
20722 {
20723 arg9 = wxString_in_helper(obj8);
20724 if (arg9 == NULL) SWIG_fail;
ae8162c8 20725 temp9 = true;
d14a1e28
RD
20726 }
20727 }
20728 if (obj9) {
20729 arg10 = obj9;
20730 }
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20733 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
d14a1e28
RD
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 {
7e08d4ef 20739 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20740 }
20741 {
20742 if (temp4)
20743 delete arg4;
20744 }
20745 {
20746 if (temp8)
20747 delete arg8;
20748 }
20749 {
20750 if (temp9)
20751 delete arg9;
20752 }
20753 return resultobj;
20754 fail:
20755 {
20756 if (temp4)
20757 delete arg4;
20758 }
20759 {
20760 if (temp8)
20761 delete arg8;
20762 }
20763 {
20764 if (temp9)
20765 delete arg9;
20766 }
20767 return NULL;
20768}
20769
20770
c32bde28 20771static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20772 PyObject *resultobj = NULL;
3a04f143
RD
20773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20774 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
20775 wxToolBarToolBase *result;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "tool", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail;
20785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20786 if (SWIG_arg_fail(2)) SWIG_fail;
3a04f143
RD
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 {
7e08d4ef 20795 resultobj = wxPyMake_wxObject(result, (bool)0);
3a04f143
RD
20796 }
20797 return resultobj;
20798 fail:
20799 return NULL;
20800}
20801
20802
c32bde28 20803static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20804 PyObject *resultobj = NULL;
3a04f143
RD
20805 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20806 size_t arg2 ;
20807 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
20808 wxToolBarToolBase *result;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 PyObject * obj2 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self",(char *) "pos",(char *) "tool", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20818 if (SWIG_arg_fail(1)) SWIG_fail;
20819 {
32fe5131 20820 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20821 if (SWIG_arg_fail(2)) SWIG_fail;
20822 }
20823 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20824 if (SWIG_arg_fail(3)) SWIG_fail;
3a04f143
RD
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
7e08d4ef 20833 resultobj = wxPyMake_wxObject(result, (bool)0);
3a04f143
RD
20834 }
20835 return resultobj;
20836 fail:
20837 return NULL;
20838}
20839
20840
c32bde28 20841static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20842 PyObject *resultobj = NULL;
d14a1e28
RD
20843 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20844 wxControl *arg2 = (wxControl *) 0 ;
20845 wxToolBarToolBase *result;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "control", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20854 if (SWIG_arg_fail(1)) SWIG_fail;
20855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20856 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 {
7e08d4ef 20865 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20866 }
20867 return resultobj;
20868 fail:
20869 return NULL;
20870}
20871
20872
c32bde28 20873static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20874 PyObject *resultobj = NULL;
d14a1e28
RD
20875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20876 size_t arg2 ;
20877 wxControl *arg3 = (wxControl *) 0 ;
20878 wxToolBarToolBase *result;
20879 PyObject * obj0 = 0 ;
20880 PyObject * obj1 = 0 ;
20881 PyObject * obj2 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self",(char *) "pos",(char *) "control", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail;
20889 {
32fe5131 20890 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20891 if (SWIG_arg_fail(2)) SWIG_fail;
20892 }
20893 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20894 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
20895 {
20896 PyThreadState* __tstate = wxPyBeginAllowThreads();
20897 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
20898
20899 wxPyEndAllowThreads(__tstate);
20900 if (PyErr_Occurred()) SWIG_fail;
20901 }
20902 {
7e08d4ef 20903 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20904 }
20905 return resultobj;
20906 fail:
20907 return NULL;
20908}
20909
20910
c32bde28 20911static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20912 PyObject *resultobj = NULL;
d14a1e28
RD
20913 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20914 int arg2 ;
20915 wxControl *result;
20916 PyObject * obj0 = 0 ;
994141e6 20917 PyObject * obj1 = 0 ;
d14a1e28
RD
20918 char *kwnames[] = {
20919 (char *) "self",(char *) "id", NULL
20920 };
20921
994141e6 20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail;
20925 {
32fe5131 20926 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20927 if (SWIG_arg_fail(2)) SWIG_fail;
20928 }
d14a1e28
RD
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (wxControl *)(arg1)->FindControl(arg2);
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 {
412d302d 20937 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20938 }
20939 return resultobj;
20940 fail:
20941 return NULL;
20942}
20943
20944
c32bde28 20945static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20946 PyObject *resultobj = NULL;
d14a1e28
RD
20947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20948 wxToolBarToolBase *result;
20949 PyObject * obj0 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "self", NULL
20952 };
20953
20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
20955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 {
7e08d4ef 20965 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20966 }
20967 return resultobj;
20968 fail:
20969 return NULL;
20970}
20971
20972
c32bde28 20973static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20974 PyObject *resultobj = NULL;
d14a1e28
RD
20975 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20976 size_t arg2 ;
20977 wxToolBarToolBase *result;
20978 PyObject * obj0 = 0 ;
20979 PyObject * obj1 = 0 ;
20980 char *kwnames[] = {
20981 (char *) "self",(char *) "pos", NULL
20982 };
20983
20984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail;
20987 {
32fe5131 20988 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20989 if (SWIG_arg_fail(2)) SWIG_fail;
20990 }
d14a1e28
RD
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 {
7e08d4ef 20999 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004}
21005
21006
c32bde28 21007static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21008 PyObject *resultobj = NULL;
d14a1e28
RD
21009 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21010 int arg2 ;
21011 wxToolBarToolBase *result;
21012 PyObject * obj0 = 0 ;
994141e6 21013 PyObject * obj1 = 0 ;
d14a1e28
RD
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "id", NULL
21016 };
21017
994141e6 21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21020 if (SWIG_arg_fail(1)) SWIG_fail;
21021 {
32fe5131 21022 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21023 if (SWIG_arg_fail(2)) SWIG_fail;
21024 }
d14a1e28
RD
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 {
7e08d4ef 21033 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
21034 }
21035 return resultobj;
21036 fail:
21037 return NULL;
21038}
21039
21040
c32bde28 21041static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21042 PyObject *resultobj = NULL;
d14a1e28
RD
21043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21044 size_t arg2 ;
21045 bool result;
21046 PyObject * obj0 = 0 ;
21047 PyObject * obj1 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self",(char *) "pos", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21054 if (SWIG_arg_fail(1)) SWIG_fail;
21055 {
32fe5131 21056 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
21057 if (SWIG_arg_fail(2)) SWIG_fail;
21058 }
d14a1e28
RD
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 result = (bool)(arg1)->DeleteToolByPos(arg2);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
4f89f6a3
RD
21066 {
21067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21068 }
d14a1e28
RD
21069 return resultobj;
21070 fail:
21071 return NULL;
21072}
21073
21074
c32bde28 21075static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21076 PyObject *resultobj = NULL;
d14a1e28
RD
21077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21078 int arg2 ;
21079 bool result;
21080 PyObject * obj0 = 0 ;
994141e6 21081 PyObject * obj1 = 0 ;
d14a1e28
RD
21082 char *kwnames[] = {
21083 (char *) "self",(char *) "id", NULL
21084 };
21085
994141e6 21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21088 if (SWIG_arg_fail(1)) SWIG_fail;
21089 {
32fe5131 21090 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21091 if (SWIG_arg_fail(2)) SWIG_fail;
21092 }
d14a1e28
RD
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (bool)(arg1)->DeleteTool(arg2);
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
4f89f6a3
RD
21100 {
21101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21102 }
d14a1e28
RD
21103 return resultobj;
21104 fail:
21105 return NULL;
21106}
21107
21108
c32bde28 21109static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21110 PyObject *resultobj = NULL;
d14a1e28
RD
21111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
21118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->ClearTools();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 Py_INCREF(Py_None); resultobj = Py_None;
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
c32bde28 21134static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21135 PyObject *resultobj = NULL;
d14a1e28
RD
21136 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21137 bool result;
21138 PyObject * obj0 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
21144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = (bool)(arg1)->Realize();
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
4f89f6a3
RD
21153 {
21154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21155 }
d14a1e28
RD
21156 return resultobj;
21157 fail:
21158 return NULL;
21159}
21160
21161
c32bde28 21162static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21163 PyObject *resultobj = NULL;
d14a1e28
RD
21164 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21165 int arg2 ;
21166 bool arg3 ;
21167 PyObject * obj0 = 0 ;
994141e6 21168 PyObject * obj1 = 0 ;
d14a1e28
RD
21169 PyObject * obj2 = 0 ;
21170 char *kwnames[] = {
21171 (char *) "self",(char *) "id",(char *) "enable", NULL
21172 };
21173
994141e6 21174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21176 if (SWIG_arg_fail(1)) SWIG_fail;
21177 {
32fe5131 21178 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21179 if (SWIG_arg_fail(2)) SWIG_fail;
21180 }
21181 {
32fe5131 21182 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21183 if (SWIG_arg_fail(3)) SWIG_fail;
21184 }
d14a1e28
RD
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 (arg1)->EnableTool(arg2,arg3);
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 Py_INCREF(Py_None); resultobj = Py_None;
21193 return resultobj;
21194 fail:
21195 return NULL;
21196}
21197
21198
c32bde28 21199static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21200 PyObject *resultobj = NULL;
d14a1e28
RD
21201 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21202 int arg2 ;
21203 bool arg3 ;
21204 PyObject * obj0 = 0 ;
994141e6 21205 PyObject * obj1 = 0 ;
d14a1e28
RD
21206 PyObject * obj2 = 0 ;
21207 char *kwnames[] = {
21208 (char *) "self",(char *) "id",(char *) "toggle", NULL
21209 };
21210
994141e6 21211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21213 if (SWIG_arg_fail(1)) SWIG_fail;
21214 {
32fe5131 21215 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21216 if (SWIG_arg_fail(2)) SWIG_fail;
21217 }
21218 {
32fe5131 21219 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21220 if (SWIG_arg_fail(3)) SWIG_fail;
21221 }
d14a1e28
RD
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 (arg1)->ToggleTool(arg2,arg3);
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 Py_INCREF(Py_None); resultobj = Py_None;
21230 return resultobj;
21231 fail:
21232 return NULL;
21233}
21234
21235
c32bde28 21236static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21237 PyObject *resultobj = NULL;
d14a1e28
RD
21238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21239 int arg2 ;
21240 bool arg3 ;
21241 PyObject * obj0 = 0 ;
994141e6 21242 PyObject * obj1 = 0 ;
d14a1e28
RD
21243 PyObject * obj2 = 0 ;
21244 char *kwnames[] = {
21245 (char *) "self",(char *) "id",(char *) "toggle", NULL
21246 };
21247
994141e6 21248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21250 if (SWIG_arg_fail(1)) SWIG_fail;
21251 {
32fe5131 21252 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21253 if (SWIG_arg_fail(2)) SWIG_fail;
21254 }
21255 {
32fe5131 21256 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21257 if (SWIG_arg_fail(3)) SWIG_fail;
21258 }
d14a1e28
RD
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 (arg1)->SetToggle(arg2,arg3);
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 Py_INCREF(Py_None); resultobj = Py_None;
21267 return resultobj;
21268 fail:
21269 return NULL;
21270}
21271
21272
c32bde28 21273static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21274 PyObject *resultobj = NULL;
d14a1e28
RD
21275 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21276 int arg2 ;
21277 PyObject *result;
21278 PyObject * obj0 = 0 ;
994141e6 21279 PyObject * obj1 = 0 ;
d14a1e28
RD
21280 char *kwnames[] = {
21281 (char *) "self",(char *) "id", NULL
21282 };
21283
994141e6 21284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21286 if (SWIG_arg_fail(1)) SWIG_fail;
21287 {
32fe5131 21288 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21289 if (SWIG_arg_fail(2)) SWIG_fail;
21290 }
d14a1e28
RD
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
21294
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 resultobj = result;
21299 return resultobj;
21300 fail:
21301 return NULL;
21302}
21303
21304
c32bde28 21305static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21306 PyObject *resultobj = NULL;
d14a1e28
RD
21307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21308 int arg2 ;
21309 PyObject *arg3 = (PyObject *) 0 ;
21310 PyObject * obj0 = 0 ;
994141e6 21311 PyObject * obj1 = 0 ;
d14a1e28
RD
21312 PyObject * obj2 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self",(char *) "id",(char *) "clientData", NULL
21315 };
21316
994141e6 21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail;
21320 {
32fe5131 21321 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21322 if (SWIG_arg_fail(2)) SWIG_fail;
21323 }
d14a1e28
RD
21324 arg3 = obj2;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 Py_INCREF(Py_None); resultobj = Py_None;
21333 return resultobj;
21334 fail:
21335 return NULL;
21336}
21337
21338
c32bde28 21339static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21340 PyObject *resultobj = NULL;
d14a1e28
RD
21341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21342 int arg2 ;
21343 int result;
21344 PyObject * obj0 = 0 ;
994141e6 21345 PyObject * obj1 = 0 ;
d14a1e28
RD
21346 char *kwnames[] = {
21347 (char *) "self",(char *) "id", NULL
21348 };
21349
994141e6 21350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21352 if (SWIG_arg_fail(1)) SWIG_fail;
21353 {
32fe5131 21354 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21355 if (SWIG_arg_fail(2)) SWIG_fail;
21356 }
d14a1e28
RD
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
21360
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
093d3ff1 21364 {
32fe5131 21365 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21366 }
d14a1e28
RD
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
c32bde28 21373static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21374 PyObject *resultobj = NULL;
d14a1e28
RD
21375 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21376 int arg2 ;
21377 bool result;
21378 PyObject * obj0 = 0 ;
994141e6 21379 PyObject * obj1 = 0 ;
d14a1e28
RD
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "id", NULL
21382 };
21383
994141e6 21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail;
21387 {
32fe5131 21388 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21389 if (SWIG_arg_fail(2)) SWIG_fail;
21390 }
d14a1e28
RD
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (bool)(arg1)->GetToolState(arg2);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
4f89f6a3
RD
21398 {
21399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21400 }
d14a1e28
RD
21401 return resultobj;
21402 fail:
21403 return NULL;
21404}
21405
21406
c32bde28 21407static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21408 PyObject *resultobj = NULL;
d14a1e28
RD
21409 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21410 int arg2 ;
21411 bool result;
21412 PyObject * obj0 = 0 ;
994141e6 21413 PyObject * obj1 = 0 ;
d14a1e28
RD
21414 char *kwnames[] = {
21415 (char *) "self",(char *) "id", NULL
21416 };
21417
994141e6 21418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21420 if (SWIG_arg_fail(1)) SWIG_fail;
21421 {
32fe5131 21422 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21423 if (SWIG_arg_fail(2)) SWIG_fail;
21424 }
d14a1e28
RD
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 result = (bool)(arg1)->GetToolEnabled(arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
4f89f6a3
RD
21432 {
21433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21434 }
d14a1e28
RD
21435 return resultobj;
21436 fail:
21437 return NULL;
21438}
21439
21440
c32bde28 21441static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21442 PyObject *resultobj = NULL;
d14a1e28
RD
21443 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21444 int arg2 ;
21445 wxString *arg3 = 0 ;
ae8162c8 21446 bool temp3 = false ;
d14a1e28 21447 PyObject * obj0 = 0 ;
994141e6 21448 PyObject * obj1 = 0 ;
d14a1e28
RD
21449 PyObject * obj2 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self",(char *) "id",(char *) "helpString", NULL
21452 };
21453
994141e6 21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail;
21457 {
32fe5131 21458 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21459 if (SWIG_arg_fail(2)) SWIG_fail;
21460 }
d14a1e28
RD
21461 {
21462 arg3 = wxString_in_helper(obj2);
21463 if (arg3 == NULL) SWIG_fail;
ae8162c8 21464 temp3 = true;
d14a1e28
RD
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 Py_INCREF(Py_None); resultobj = Py_None;
21474 {
21475 if (temp3)
21476 delete arg3;
21477 }
21478 return resultobj;
21479 fail:
21480 {
21481 if (temp3)
21482 delete arg3;
21483 }
21484 return NULL;
21485}
21486
21487
c32bde28 21488static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21489 PyObject *resultobj = NULL;
d14a1e28
RD
21490 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21491 int arg2 ;
21492 wxString result;
21493 PyObject * obj0 = 0 ;
994141e6 21494 PyObject * obj1 = 0 ;
d14a1e28
RD
21495 char *kwnames[] = {
21496 (char *) "self",(char *) "id", NULL
21497 };
21498
994141e6 21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail;
21502 {
32fe5131 21503 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21504 if (SWIG_arg_fail(2)) SWIG_fail;
21505 }
d14a1e28
RD
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 result = (arg1)->GetToolShortHelp(arg2);
21509
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 {
21514#if wxUSE_UNICODE
21515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21516#else
21517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21518#endif
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523}
21524
21525
c32bde28 21526static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21527 PyObject *resultobj = NULL;
d14a1e28
RD
21528 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21529 int arg2 ;
21530 wxString *arg3 = 0 ;
ae8162c8 21531 bool temp3 = false ;
d14a1e28 21532 PyObject * obj0 = 0 ;
994141e6 21533 PyObject * obj1 = 0 ;
d14a1e28
RD
21534 PyObject * obj2 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self",(char *) "id",(char *) "helpString", NULL
21537 };
21538
994141e6 21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail;
21542 {
32fe5131 21543 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21544 if (SWIG_arg_fail(2)) SWIG_fail;
21545 }
d14a1e28
RD
21546 {
21547 arg3 = wxString_in_helper(obj2);
21548 if (arg3 == NULL) SWIG_fail;
ae8162c8 21549 temp3 = true;
d14a1e28
RD
21550 }
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 Py_INCREF(Py_None); resultobj = Py_None;
21559 {
21560 if (temp3)
21561 delete arg3;
21562 }
21563 return resultobj;
21564 fail:
21565 {
21566 if (temp3)
21567 delete arg3;
21568 }
21569 return NULL;
21570}
21571
21572
c32bde28 21573static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21574 PyObject *resultobj = NULL;
d14a1e28
RD
21575 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21576 int arg2 ;
21577 wxString result;
21578 PyObject * obj0 = 0 ;
994141e6 21579 PyObject * obj1 = 0 ;
d14a1e28
RD
21580 char *kwnames[] = {
21581 (char *) "self",(char *) "id", NULL
21582 };
21583
994141e6 21584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21586 if (SWIG_arg_fail(1)) SWIG_fail;
21587 {
32fe5131 21588 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21589 if (SWIG_arg_fail(2)) SWIG_fail;
21590 }
d14a1e28
RD
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 result = (arg1)->GetToolLongHelp(arg2);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 {
21599#if wxUSE_UNICODE
21600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21601#else
21602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21603#endif
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608}
21609
21610
c32bde28 21611static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21612 PyObject *resultobj = NULL;
d14a1e28
RD
21613 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21614 int arg2 ;
21615 int arg3 ;
21616 PyObject * obj0 = 0 ;
994141e6
RD
21617 PyObject * obj1 = 0 ;
21618 PyObject * obj2 = 0 ;
d14a1e28
RD
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "x",(char *) "y", NULL
21621 };
21622
994141e6 21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail;
21626 {
32fe5131 21627 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21628 if (SWIG_arg_fail(2)) SWIG_fail;
21629 }
21630 {
32fe5131 21631 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21632 if (SWIG_arg_fail(3)) SWIG_fail;
21633 }
d14a1e28
RD
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 (arg1)->SetMargins(arg2,arg3);
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 Py_INCREF(Py_None); resultobj = Py_None;
21642 return resultobj;
21643 fail:
21644 return NULL;
21645}
21646
21647
c32bde28 21648static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21649 PyObject *resultobj = NULL;
d14a1e28
RD
21650 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21651 wxSize *arg2 = 0 ;
21652 wxSize temp2 ;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "size", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21662 {
21663 arg2 = &temp2;
21664 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21665 }
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 (arg1)->SetMargins((wxSize const &)*arg2);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 Py_INCREF(Py_None); resultobj = Py_None;
21674 return resultobj;
21675 fail:
21676 return NULL;
21677}
21678
21679
c32bde28 21680static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21681 PyObject *resultobj = NULL;
d14a1e28
RD
21682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21683 int arg2 ;
21684 PyObject * obj0 = 0 ;
994141e6 21685 PyObject * obj1 = 0 ;
d14a1e28
RD
21686 char *kwnames[] = {
21687 (char *) "self",(char *) "packing", NULL
21688 };
21689
994141e6 21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail;
21693 {
32fe5131 21694 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21695 if (SWIG_arg_fail(2)) SWIG_fail;
21696 }
d14a1e28
RD
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 (arg1)->SetToolPacking(arg2);
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
21704 Py_INCREF(Py_None); resultobj = Py_None;
21705 return resultobj;
21706 fail:
21707 return NULL;
21708}
21709
21710
c32bde28 21711static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21712 PyObject *resultobj = NULL;
d14a1e28
RD
21713 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21714 int arg2 ;
21715 PyObject * obj0 = 0 ;
994141e6 21716 PyObject * obj1 = 0 ;
d14a1e28
RD
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "separation", NULL
21719 };
21720
994141e6 21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21723 if (SWIG_arg_fail(1)) SWIG_fail;
21724 {
32fe5131 21725 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21726 if (SWIG_arg_fail(2)) SWIG_fail;
21727 }
d14a1e28
RD
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 (arg1)->SetToolSeparation(arg2);
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 Py_INCREF(Py_None); resultobj = Py_None;
21736 return resultobj;
21737 fail:
21738 return NULL;
21739}
21740
21741
c32bde28 21742static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21743 PyObject *resultobj = NULL;
d14a1e28
RD
21744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21745 wxSize result;
21746 PyObject * obj0 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
21752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21754 {
21755 PyThreadState* __tstate = wxPyBeginAllowThreads();
21756 result = (arg1)->GetToolMargins();
21757
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 {
21762 wxSize * resultptr;
32fe5131 21763 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 21764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
21765 }
21766 return resultobj;
21767 fail:
21768 return NULL;
21769}
21770
21771
c32bde28 21772static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21773 PyObject *resultobj = NULL;
d14a1e28
RD
21774 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21775 wxSize result;
21776 PyObject * obj0 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
21782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 result = (arg1)->GetMargins();
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 {
21792 wxSize * resultptr;
32fe5131 21793 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 21794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
21795 }
21796 return resultobj;
21797 fail:
21798 return NULL;
21799}
21800
21801
c32bde28 21802static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21803 PyObject *resultobj = NULL;
d14a1e28
RD
21804 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21805 int result;
21806 PyObject * obj0 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
21812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21813 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = (int)(arg1)->GetToolPacking();
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
093d3ff1 21821 {
32fe5131 21822 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21823 }
d14a1e28
RD
21824 return resultobj;
21825 fail:
21826 return NULL;
21827}
21828
21829
c32bde28 21830static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21831 PyObject *resultobj = NULL;
d14a1e28
RD
21832 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21833 int result;
21834 PyObject * obj0 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "self", NULL
21837 };
21838
21839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
21840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21841 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 result = (int)(arg1)->GetToolSeparation();
21845
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
093d3ff1 21849 {
32fe5131 21850 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21851 }
d14a1e28
RD
21852 return resultobj;
21853 fail:
21854 return NULL;
21855}
21856
21857
c32bde28 21858static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21859 PyObject *resultobj = NULL;
d14a1e28
RD
21860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21861 int arg2 ;
21862 PyObject * obj0 = 0 ;
994141e6 21863 PyObject * obj1 = 0 ;
d14a1e28
RD
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "nRows", NULL
21866 };
21867
994141e6 21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail;
21871 {
32fe5131 21872 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21873 if (SWIG_arg_fail(2)) SWIG_fail;
21874 }
d14a1e28
RD
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetRows(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886}
21887
21888
c32bde28 21889static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21890 PyObject *resultobj = NULL;
d14a1e28
RD
21891 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21892 int arg2 ;
21893 int arg3 ;
21894 PyObject * obj0 = 0 ;
994141e6
RD
21895 PyObject * obj1 = 0 ;
21896 PyObject * obj2 = 0 ;
d14a1e28
RD
21897 char *kwnames[] = {
21898 (char *) "self",(char *) "rows",(char *) "cols", NULL
21899 };
21900
994141e6 21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail;
21904 {
32fe5131 21905 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21906 if (SWIG_arg_fail(2)) SWIG_fail;
21907 }
21908 {
32fe5131 21909 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21910 if (SWIG_arg_fail(3)) SWIG_fail;
21911 }
d14a1e28
RD
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 (arg1)->SetMaxRowsCols(arg2,arg3);
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 Py_INCREF(Py_None); resultobj = Py_None;
21920 return resultobj;
21921 fail:
21922 return NULL;
21923}
21924
21925
c32bde28 21926static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21927 PyObject *resultobj = NULL;
d14a1e28
RD
21928 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21929 int result;
21930 PyObject * obj0 = 0 ;
21931 char *kwnames[] = {
21932 (char *) "self", NULL
21933 };
21934
21935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
21936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 result = (int)(arg1)->GetMaxRows();
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
093d3ff1 21945 {
32fe5131 21946 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21947 }
d14a1e28
RD
21948 return resultobj;
21949 fail:
21950 return NULL;
21951}
21952
21953
c32bde28 21954static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21955 PyObject *resultobj = NULL;
d14a1e28
RD
21956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21957 int result;
21958 PyObject * obj0 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
21964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21965 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 result = (int)(arg1)->GetMaxCols();
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
093d3ff1 21973 {
32fe5131 21974 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21975 }
d14a1e28
RD
21976 return resultobj;
21977 fail:
21978 return NULL;
21979}
21980
21981
c32bde28 21982static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21983 PyObject *resultobj = NULL;
d14a1e28
RD
21984 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21985 wxSize *arg2 = 0 ;
21986 wxSize temp2 ;
21987 PyObject * obj0 = 0 ;
21988 PyObject * obj1 = 0 ;
21989 char *kwnames[] = {
21990 (char *) "self",(char *) "size", NULL
21991 };
21992
21993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21996 {
21997 arg2 = &temp2;
21998 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21999 }
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 Py_INCREF(Py_None); resultobj = Py_None;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011}
22012
22013
c32bde28 22014static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22015 PyObject *resultobj = NULL;
d14a1e28
RD
22016 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22017 wxSize result;
22018 PyObject * obj0 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 result = (arg1)->GetToolBitmapSize();
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 wxSize * resultptr;
32fe5131 22035 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 22036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22037 }
22038 return resultobj;
22039 fail:
22040 return NULL;
22041}
22042
22043
c32bde28 22044static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22045 PyObject *resultobj = NULL;
d14a1e28
RD
22046 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22047 wxSize result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 result = (arg1)->GetToolSize();
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 {
22064 wxSize * resultptr;
32fe5131 22065 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 22066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22067 }
22068 return resultobj;
22069 fail:
22070 return NULL;
22071}
22072
22073
c32bde28 22074static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22075 PyObject *resultobj = NULL;
d14a1e28 22076 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
22077 int arg2 ;
22078 int arg3 ;
d14a1e28
RD
22079 wxToolBarToolBase *result;
22080 PyObject * obj0 = 0 ;
994141e6
RD
22081 PyObject * obj1 = 0 ;
22082 PyObject * obj2 = 0 ;
d14a1e28
RD
22083 char *kwnames[] = {
22084 (char *) "self",(char *) "x",(char *) "y", NULL
22085 };
22086
994141e6 22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22089 if (SWIG_arg_fail(1)) SWIG_fail;
22090 {
32fe5131 22091 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22092 if (SWIG_arg_fail(2)) SWIG_fail;
22093 }
22094 {
32fe5131 22095 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22096 if (SWIG_arg_fail(3)) SWIG_fail;
22097 }
d14a1e28
RD
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
7e08d4ef 22106 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
22107 }
22108 return resultobj;
22109 fail:
22110 return NULL;
22111}
22112
22113
c32bde28 22114static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22115 PyObject *resultobj = NULL;
3a04f143
RD
22116 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22117 int arg2 ;
22118 wxToolBarToolBase *result;
22119 PyObject * obj0 = 0 ;
994141e6 22120 PyObject * obj1 = 0 ;
3a04f143
RD
22121 char *kwnames[] = {
22122 (char *) "self",(char *) "toolid", NULL
22123 };
22124
994141e6 22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail;
22128 {
32fe5131 22129 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22130 if (SWIG_arg_fail(2)) SWIG_fail;
22131 }
3a04f143
RD
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 {
7e08d4ef 22140 resultobj = wxPyMake_wxObject(result, (bool)0);
3a04f143
RD
22141 }
22142 return resultobj;
22143 fail:
22144 return NULL;
22145}
22146
22147
c32bde28 22148static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22149 PyObject *resultobj = NULL;
d14a1e28
RD
22150 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22151 bool result;
22152 PyObject * obj0 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
22158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 result = (bool)(arg1)->IsVertical();
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
4f89f6a3
RD
22167 {
22168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22169 }
d14a1e28
RD
22170 return resultobj;
22171 fail:
22172 return NULL;
22173}
22174
22175
c32bde28 22176static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22177 PyObject *obj;
22178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22179 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
22180 Py_INCREF(obj);
22181 return Py_BuildValue((char *)"");
22182}
c32bde28 22183static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22184 PyObject *resultobj = NULL;
d14a1e28 22185 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 22186 int arg2 = (int) -1 ;
d14a1e28
RD
22187 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22188 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22189 wxSize const &arg4_defvalue = wxDefaultSize ;
22190 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22191 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22192 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
22193 wxString *arg6 = (wxString *) &arg6_defvalue ;
22194 wxToolBar *result;
22195 wxPoint temp3 ;
22196 wxSize temp4 ;
ae8162c8 22197 bool temp6 = false ;
d14a1e28 22198 PyObject * obj0 = 0 ;
994141e6 22199 PyObject * obj1 = 0 ;
d14a1e28
RD
22200 PyObject * obj2 = 0 ;
22201 PyObject * obj3 = 0 ;
994141e6 22202 PyObject * obj4 = 0 ;
d14a1e28
RD
22203 PyObject * obj5 = 0 ;
22204 char *kwnames[] = {
22205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22206 };
22207
248ed943 22208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
22209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22210 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 22211 if (obj1) {
093d3ff1 22212 {
32fe5131 22213 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22214 if (SWIG_arg_fail(2)) SWIG_fail;
22215 }
248ed943 22216 }
d14a1e28
RD
22217 if (obj2) {
22218 {
22219 arg3 = &temp3;
22220 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22221 }
22222 }
22223 if (obj3) {
22224 {
22225 arg4 = &temp4;
22226 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22227 }
22228 }
994141e6 22229 if (obj4) {
093d3ff1 22230 {
32fe5131 22231 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
22232 if (SWIG_arg_fail(5)) SWIG_fail;
22233 }
994141e6 22234 }
d14a1e28
RD
22235 if (obj5) {
22236 {
22237 arg6 = wxString_in_helper(obj5);
22238 if (arg6 == NULL) SWIG_fail;
ae8162c8 22239 temp6 = true;
d14a1e28
RD
22240 }
22241 }
22242 {
e3b71cb8 22243 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22246
22247 wxPyEndAllowThreads(__tstate);
110da5b0 22248 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22249 }
b0f7404b 22250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
22251 {
22252 if (temp6)
22253 delete arg6;
22254 }
22255 return resultobj;
22256 fail:
22257 {
22258 if (temp6)
22259 delete arg6;
22260 }
22261 return NULL;
22262}
22263
22264
c32bde28 22265static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22266 PyObject *resultobj = NULL;
d14a1e28
RD
22267 wxToolBar *result;
22268 char *kwnames[] = {
22269 NULL
22270 };
22271
22272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
22273 {
e3b71cb8 22274 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 result = (wxToolBar *)new wxToolBar();
22277
22278 wxPyEndAllowThreads(__tstate);
110da5b0 22279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22280 }
b0f7404b 22281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
22282 return resultobj;
22283 fail:
22284 return NULL;
22285}
22286
22287
c32bde28 22288static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22289 PyObject *resultobj = NULL;
d14a1e28
RD
22290 wxToolBar *arg1 = (wxToolBar *) 0 ;
22291 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 22292 int arg3 = (int) -1 ;
d14a1e28
RD
22293 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22294 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22295 wxSize const &arg5_defvalue = wxDefaultSize ;
22296 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22297 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22298 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
22299 wxString *arg7 = (wxString *) &arg7_defvalue ;
22300 bool result;
22301 wxPoint temp4 ;
22302 wxSize temp5 ;
ae8162c8 22303 bool temp7 = false ;
d14a1e28
RD
22304 PyObject * obj0 = 0 ;
22305 PyObject * obj1 = 0 ;
994141e6 22306 PyObject * obj2 = 0 ;
d14a1e28
RD
22307 PyObject * obj3 = 0 ;
22308 PyObject * obj4 = 0 ;
994141e6 22309 PyObject * obj5 = 0 ;
d14a1e28
RD
22310 PyObject * obj6 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22313 };
22314
248ed943 22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
22316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail;
22318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22319 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 22320 if (obj2) {
093d3ff1 22321 {
32fe5131 22322 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22323 if (SWIG_arg_fail(3)) SWIG_fail;
22324 }
248ed943 22325 }
d14a1e28
RD
22326 if (obj3) {
22327 {
22328 arg4 = &temp4;
22329 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22330 }
22331 }
22332 if (obj4) {
22333 {
22334 arg5 = &temp5;
22335 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22336 }
22337 }
994141e6 22338 if (obj5) {
093d3ff1 22339 {
32fe5131 22340 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
22341 if (SWIG_arg_fail(6)) SWIG_fail;
22342 }
994141e6 22343 }
d14a1e28
RD
22344 if (obj6) {
22345 {
22346 arg7 = wxString_in_helper(obj6);
22347 if (arg7 == NULL) SWIG_fail;
ae8162c8 22348 temp7 = true;
d14a1e28
RD
22349 }
22350 }
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
4f89f6a3
RD
22358 {
22359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22360 }
d14a1e28
RD
22361 {
22362 if (temp7)
22363 delete arg7;
22364 }
22365 return resultobj;
22366 fail:
22367 {
22368 if (temp7)
22369 delete arg7;
22370 }
22371 return NULL;
22372}
22373
22374
c32bde28 22375static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22376 PyObject *resultobj = NULL;
d14a1e28 22377 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
22378 int arg2 ;
22379 int arg3 ;
d14a1e28
RD
22380 wxToolBarToolBase *result;
22381 PyObject * obj0 = 0 ;
994141e6
RD
22382 PyObject * obj1 = 0 ;
22383 PyObject * obj2 = 0 ;
d14a1e28
RD
22384 char *kwnames[] = {
22385 (char *) "self",(char *) "x",(char *) "y", NULL
22386 };
22387
994141e6 22388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail;
22391 {
32fe5131 22392 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22393 if (SWIG_arg_fail(2)) SWIG_fail;
22394 }
22395 {
32fe5131 22396 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22397 if (SWIG_arg_fail(3)) SWIG_fail;
22398 }
d14a1e28
RD
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22402
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 {
7e08d4ef 22407 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
22408 }
22409 return resultobj;
22410 fail:
22411 return NULL;
22412}
22413
22414
c32bde28 22415static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22416 PyObject *resultobj = NULL;
093d3ff1 22417 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
22418 wxVisualAttributes result;
22419 PyObject * obj0 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "variant", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22425 if (obj0) {
093d3ff1 22426 {
32fe5131 22427 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
22428 if (SWIG_arg_fail(1)) SWIG_fail;
22429 }
22bfe96c
RD
22430 }
22431 {
110da5b0 22432 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22434 result = wxToolBar::GetClassDefaultAttributes(arg1);
22bfe96c
RD
22435
22436 wxPyEndAllowThreads(__tstate);
dfbb5885 22437 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
22438 }
22439 {
22440 wxVisualAttributes * resultptr;
32fe5131 22441 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
22442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22443 }
22444 return resultobj;
22445 fail:
22446 return NULL;
22447}
22448
22449
c32bde28 22450static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22451 PyObject *obj;
22452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22453 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
22454 Py_INCREF(obj);
22455 return Py_BuildValue((char *)"");
22456}
c32bde28 22457static int _wrap_ListCtrlNameStr_set(PyObject *) {
b2dc1044
RD
22458 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
22459 return 1;
22460}
22461
22462
093d3ff1 22463static PyObject *_wrap_ListCtrlNameStr_get(void) {
32fe5131 22464 PyObject *pyobj = NULL;
b2dc1044
RD
22465
22466 {
22467#if wxUSE_UNICODE
22468 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22469#else
22470 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22471#endif
22472 }
22473 return pyobj;
22474}
22475
22476
c32bde28 22477static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22478 PyObject *resultobj = NULL;
d14a1e28
RD
22479 wxColour const &arg1_defvalue = wxNullColour ;
22480 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
22481 wxColour const &arg2_defvalue = wxNullColour ;
22482 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
22483 wxFont const &arg3_defvalue = wxNullFont ;
22484 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
22485 wxListItemAttr *result;
22486 wxColour temp1 ;
22487 wxColour temp2 ;
22488 PyObject * obj0 = 0 ;
22489 PyObject * obj1 = 0 ;
22490 PyObject * obj2 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
22496 if (obj0) {
22497 {
22498 arg1 = &temp1;
22499 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
22500 }
22501 }
22502 if (obj1) {
22503 {
22504 arg2 = &temp2;
22505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22506 }
22507 }
22508 if (obj2) {
093d3ff1
RD
22509 {
22510 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22511 if (SWIG_arg_fail(3)) SWIG_fail;
22512 if (arg3 == NULL) {
22513 SWIG_null_ref("wxFont");
22514 }
22515 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
22516 }
22517 }
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
15afbcd0 22525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
22526 return resultobj;
22527 fail:
22528 return NULL;
22529}
22530
22531
7e08d4ef
RD
22532static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj = NULL;
22534 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22535 PyObject * obj0 = 0 ;
22536 char *kwnames[] = {
22537 (char *) "self", NULL
22538 };
22539
22540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail;
22541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 delete arg1;
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 Py_INCREF(Py_None); resultobj = Py_None;
22551 return resultobj;
22552 fail:
22553 return NULL;
22554}
22555
22556
c32bde28 22557static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22558 PyObject *resultobj = NULL;
d14a1e28
RD
22559 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22560 wxColour *arg2 = 0 ;
22561 wxColour temp2 ;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self",(char *) "colText", NULL
22566 };
22567
22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22571 {
22572 arg2 = &temp2;
22573 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22574 }
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 (arg1)->SetTextColour((wxColour const &)*arg2);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 Py_INCREF(Py_None); resultobj = Py_None;
22583 return resultobj;
22584 fail:
22585 return NULL;
22586}
22587
22588
c32bde28 22589static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22590 PyObject *resultobj = NULL;
d14a1e28
RD
22591 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22592 wxColour *arg2 = 0 ;
22593 wxColour temp2 ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self",(char *) "colBack", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22603 {
22604 arg2 = &temp2;
22605 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22606 }
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 Py_INCREF(Py_None); resultobj = Py_None;
22615 return resultobj;
22616 fail:
22617 return NULL;
22618}
22619
22620
c32bde28 22621static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22622 PyObject *resultobj = NULL;
d14a1e28
RD
22623 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22624 wxFont *arg2 = 0 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self",(char *) "font", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail;
22634 {
22635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22636 if (SWIG_arg_fail(2)) SWIG_fail;
22637 if (arg2 == NULL) {
22638 SWIG_null_ref("wxFont");
22639 }
22640 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22641 }
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 (arg1)->SetFont((wxFont const &)*arg2);
22645
22646 wxPyEndAllowThreads(__tstate);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 Py_INCREF(Py_None); resultobj = Py_None;
22650 return resultobj;
22651 fail:
22652 return NULL;
22653}
22654
22655
c32bde28 22656static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22657 PyObject *resultobj = NULL;
d14a1e28
RD
22658 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22659 bool result;
22660 PyObject * obj0 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22667 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 result = (bool)(arg1)->HasTextColour();
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
4f89f6a3
RD
22675 {
22676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22677 }
d14a1e28
RD
22678 return resultobj;
22679 fail:
22680 return NULL;
22681}
22682
22683
c32bde28 22684static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22685 PyObject *resultobj = NULL;
d14a1e28
RD
22686 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22687 bool result;
22688 PyObject * obj0 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 result = (bool)(arg1)->HasBackgroundColour();
22699
22700 wxPyEndAllowThreads(__tstate);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
4f89f6a3
RD
22703 {
22704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22705 }
d14a1e28
RD
22706 return resultobj;
22707 fail:
22708 return NULL;
22709}
22710
22711
c32bde28 22712static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22713 PyObject *resultobj = NULL;
d14a1e28
RD
22714 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22715 bool result;
22716 PyObject * obj0 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (bool)(arg1)->HasFont();
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
4f89f6a3
RD
22731 {
22732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22733 }
d14a1e28
RD
22734 return resultobj;
22735 fail:
22736 return NULL;
22737}
22738
22739
c32bde28 22740static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22741 PyObject *resultobj = NULL;
d14a1e28
RD
22742 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22743 wxColour result;
22744 PyObject * obj0 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22751 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (arg1)->GetTextColour();
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 {
22760 wxColour * resultptr;
32fe5131 22761 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 22762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22763 }
22764 return resultobj;
22765 fail:
22766 return NULL;
22767}
22768
22769
c32bde28 22770static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22771 PyObject *resultobj = NULL;
d14a1e28
RD
22772 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22773 wxColour result;
22774 PyObject * obj0 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22781 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 result = (arg1)->GetBackgroundColour();
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 {
22790 wxColour * resultptr;
32fe5131 22791 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 22792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22793 }
22794 return resultobj;
22795 fail:
22796 return NULL;
22797}
22798
22799
c32bde28 22800static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22801 PyObject *resultobj = NULL;
d14a1e28
RD
22802 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22803 wxFont result;
22804 PyObject * obj0 = 0 ;
22805 char *kwnames[] = {
22806 (char *) "self", NULL
22807 };
22808
22809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22812 {
22813 PyThreadState* __tstate = wxPyBeginAllowThreads();
22814 result = (arg1)->GetFont();
22815
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 {
22820 wxFont * resultptr;
32fe5131 22821 resultptr = new wxFont(static_cast<wxFont & >(result));
15afbcd0 22822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
22823 }
22824 return resultobj;
22825 fail:
22826 return NULL;
22827}
22828
22829
7e08d4ef
RD
22830static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) {
22831 PyObject *resultobj = NULL;
22832 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22833 wxListItemAttr *arg2 = 0 ;
22834 PyObject * obj0 = 0 ;
22835 PyObject * obj1 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "source", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail;
22841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail;
22843 {
22844 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22845 if (SWIG_arg_fail(2)) SWIG_fail;
22846 if (arg2 == NULL) {
22847 SWIG_null_ref("wxListItemAttr");
22848 }
22849 if (SWIG_arg_fail(2)) SWIG_fail;
22850 }
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862}
22863
22864
c32bde28 22865static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22866 PyObject *resultobj = NULL;
d14a1e28
RD
22867 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22868 PyObject * obj0 = 0 ;
22869 char *kwnames[] = {
22870 (char *) "self", NULL
22871 };
22872
22873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
22874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22875 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 wxListItemAttr_Destroy(arg1);
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 Py_INCREF(Py_None); resultobj = Py_None;
22884 return resultobj;
22885 fail:
22886 return NULL;
22887}
22888
22889
c32bde28 22890static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22891 PyObject *obj;
22892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22893 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
22894 Py_INCREF(obj);
22895 return Py_BuildValue((char *)"");
22896}
c32bde28 22897static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22898 PyObject *resultobj = NULL;
d14a1e28
RD
22899 wxListItem *result;
22900 char *kwnames[] = {
22901 NULL
22902 };
22903
22904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 result = (wxListItem *)new wxListItem();
22908
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
22912 {
7e08d4ef 22913 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
22914 }
22915 return resultobj;
22916 fail:
22917 return NULL;
22918}
22919
22920
c32bde28 22921static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22922 PyObject *resultobj = NULL;
d14a1e28
RD
22923 wxListItem *arg1 = (wxListItem *) 0 ;
22924 PyObject * obj0 = 0 ;
22925 char *kwnames[] = {
22926 (char *) "self", NULL
22927 };
22928
22929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
22930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 delete arg1;
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 Py_INCREF(Py_None); resultobj = Py_None;
22940 return resultobj;
22941 fail:
22942 return NULL;
22943}
22944
22945
c32bde28 22946static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22947 PyObject *resultobj = NULL;
d14a1e28
RD
22948 wxListItem *arg1 = (wxListItem *) 0 ;
22949 PyObject * obj0 = 0 ;
22950 char *kwnames[] = {
22951 (char *) "self", NULL
22952 };
22953
22954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
22955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 (arg1)->Clear();
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 Py_INCREF(Py_None); resultobj = Py_None;
22965 return resultobj;
22966 fail:
22967 return NULL;
22968}
22969
22970
c32bde28 22971static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22972 PyObject *resultobj = NULL;
d14a1e28
RD
22973 wxListItem *arg1 = (wxListItem *) 0 ;
22974 PyObject * obj0 = 0 ;
22975 char *kwnames[] = {
22976 (char *) "self", NULL
22977 };
22978
22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 (arg1)->ClearAttributes();
22985
22986 wxPyEndAllowThreads(__tstate);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 }
22989 Py_INCREF(Py_None); resultobj = Py_None;
22990 return resultobj;
22991 fail:
22992 return NULL;
22993}
22994
22995
c32bde28 22996static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22997 PyObject *resultobj = NULL;
d14a1e28
RD
22998 wxListItem *arg1 = (wxListItem *) 0 ;
22999 long arg2 ;
23000 PyObject * obj0 = 0 ;
994141e6 23001 PyObject * obj1 = 0 ;
d14a1e28
RD
23002 char *kwnames[] = {
23003 (char *) "self",(char *) "mask", NULL
23004 };
23005
994141e6 23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail;
23009 {
32fe5131 23010 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23011 if (SWIG_arg_fail(2)) SWIG_fail;
23012 }
d14a1e28
RD
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 (arg1)->SetMask(arg2);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 Py_INCREF(Py_None); resultobj = Py_None;
23021 return resultobj;
23022 fail:
23023 return NULL;
23024}
23025
23026
c32bde28 23027static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23028 PyObject *resultobj = NULL;
d14a1e28
RD
23029 wxListItem *arg1 = (wxListItem *) 0 ;
23030 long arg2 ;
23031 PyObject * obj0 = 0 ;
994141e6 23032 PyObject * obj1 = 0 ;
d14a1e28
RD
23033 char *kwnames[] = {
23034 (char *) "self",(char *) "id", NULL
23035 };
23036
994141e6 23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail;
23040 {
32fe5131 23041 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23042 if (SWIG_arg_fail(2)) SWIG_fail;
23043 }
d14a1e28
RD
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 (arg1)->SetId(arg2);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 Py_INCREF(Py_None); resultobj = Py_None;
23052 return resultobj;
23053 fail:
23054 return NULL;
23055}
23056
23057
c32bde28 23058static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23059 PyObject *resultobj = NULL;
d14a1e28
RD
23060 wxListItem *arg1 = (wxListItem *) 0 ;
23061 int arg2 ;
23062 PyObject * obj0 = 0 ;
994141e6 23063 PyObject * obj1 = 0 ;
d14a1e28
RD
23064 char *kwnames[] = {
23065 (char *) "self",(char *) "col", NULL
23066 };
23067
994141e6 23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail;
23071 {
32fe5131 23072 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23073 if (SWIG_arg_fail(2)) SWIG_fail;
23074 }
d14a1e28
RD
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->SetColumn(arg2);
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 Py_INCREF(Py_None); resultobj = Py_None;
23083 return resultobj;
23084 fail:
23085 return NULL;
23086}
23087
23088
c32bde28 23089static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23090 PyObject *resultobj = NULL;
d14a1e28
RD
23091 wxListItem *arg1 = (wxListItem *) 0 ;
23092 long arg2 ;
23093 PyObject * obj0 = 0 ;
994141e6 23094 PyObject * obj1 = 0 ;
d14a1e28
RD
23095 char *kwnames[] = {
23096 (char *) "self",(char *) "state", NULL
23097 };
23098
994141e6 23099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23101 if (SWIG_arg_fail(1)) SWIG_fail;
23102 {
32fe5131 23103 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23104 if (SWIG_arg_fail(2)) SWIG_fail;
23105 }
d14a1e28
RD
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 (arg1)->SetState(arg2);
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 Py_INCREF(Py_None); resultobj = Py_None;
23114 return resultobj;
23115 fail:
23116 return NULL;
23117}
23118
23119
c32bde28 23120static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23121 PyObject *resultobj = NULL;
d14a1e28
RD
23122 wxListItem *arg1 = (wxListItem *) 0 ;
23123 long arg2 ;
23124 PyObject * obj0 = 0 ;
994141e6 23125 PyObject * obj1 = 0 ;
d14a1e28
RD
23126 char *kwnames[] = {
23127 (char *) "self",(char *) "stateMask", NULL
23128 };
23129
994141e6 23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail;
23133 {
32fe5131 23134 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23135 if (SWIG_arg_fail(2)) SWIG_fail;
23136 }
d14a1e28
RD
23137 {
23138 PyThreadState* __tstate = wxPyBeginAllowThreads();
23139 (arg1)->SetStateMask(arg2);
23140
23141 wxPyEndAllowThreads(__tstate);
23142 if (PyErr_Occurred()) SWIG_fail;
23143 }
23144 Py_INCREF(Py_None); resultobj = Py_None;
23145 return resultobj;
23146 fail:
23147 return NULL;
23148}
23149
23150
c32bde28 23151static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23152 PyObject *resultobj = NULL;
d14a1e28
RD
23153 wxListItem *arg1 = (wxListItem *) 0 ;
23154 wxString *arg2 = 0 ;
ae8162c8 23155 bool temp2 = false ;
d14a1e28
RD
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "text", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23165 {
23166 arg2 = wxString_in_helper(obj1);
23167 if (arg2 == NULL) SWIG_fail;
ae8162c8 23168 temp2 = true;
d14a1e28
RD
23169 }
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 (arg1)->SetText((wxString const &)*arg2);
23173
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 Py_INCREF(Py_None); resultobj = Py_None;
23178 {
23179 if (temp2)
23180 delete arg2;
23181 }
23182 return resultobj;
23183 fail:
23184 {
23185 if (temp2)
23186 delete arg2;
23187 }
23188 return NULL;
23189}
23190
23191
c32bde28 23192static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23193 PyObject *resultobj = NULL;
d14a1e28
RD
23194 wxListItem *arg1 = (wxListItem *) 0 ;
23195 int arg2 ;
23196 PyObject * obj0 = 0 ;
994141e6 23197 PyObject * obj1 = 0 ;
d14a1e28
RD
23198 char *kwnames[] = {
23199 (char *) "self",(char *) "image", NULL
23200 };
23201
994141e6 23202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23204 if (SWIG_arg_fail(1)) SWIG_fail;
23205 {
32fe5131 23206 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23207 if (SWIG_arg_fail(2)) SWIG_fail;
23208 }
d14a1e28
RD
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 (arg1)->SetImage(arg2);
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 Py_INCREF(Py_None); resultobj = Py_None;
23217 return resultobj;
23218 fail:
23219 return NULL;
23220}
23221
23222
c32bde28 23223static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23224 PyObject *resultobj = NULL;
d14a1e28
RD
23225 wxListItem *arg1 = (wxListItem *) 0 ;
23226 long arg2 ;
23227 PyObject * obj0 = 0 ;
994141e6 23228 PyObject * obj1 = 0 ;
d14a1e28
RD
23229 char *kwnames[] = {
23230 (char *) "self",(char *) "data", NULL
23231 };
23232
994141e6 23233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23235 if (SWIG_arg_fail(1)) SWIG_fail;
23236 {
32fe5131 23237 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23238 if (SWIG_arg_fail(2)) SWIG_fail;
23239 }
d14a1e28
RD
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 (arg1)->SetData(arg2);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 Py_INCREF(Py_None); resultobj = Py_None;
23248 return resultobj;
23249 fail:
23250 return NULL;
23251}
23252
23253
c32bde28 23254static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23255 PyObject *resultobj = NULL;
d14a1e28
RD
23256 wxListItem *arg1 = (wxListItem *) 0 ;
23257 int arg2 ;
23258 PyObject * obj0 = 0 ;
994141e6 23259 PyObject * obj1 = 0 ;
d14a1e28
RD
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "width", NULL
23262 };
23263
994141e6 23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23266 if (SWIG_arg_fail(1)) SWIG_fail;
23267 {
32fe5131 23268 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23269 if (SWIG_arg_fail(2)) SWIG_fail;
23270 }
d14a1e28
RD
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 (arg1)->SetWidth(arg2);
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 Py_INCREF(Py_None); resultobj = Py_None;
23279 return resultobj;
23280 fail:
23281 return NULL;
23282}
23283
23284
c32bde28 23285static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23286 PyObject *resultobj = NULL;
d14a1e28 23287 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 23288 wxListColumnFormat arg2 ;
d14a1e28 23289 PyObject * obj0 = 0 ;
994141e6 23290 PyObject * obj1 = 0 ;
d14a1e28
RD
23291 char *kwnames[] = {
23292 (char *) "self",(char *) "align", NULL
23293 };
23294
994141e6 23295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail;
23298 {
32fe5131 23299 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
093d3ff1
RD
23300 if (SWIG_arg_fail(2)) SWIG_fail;
23301 }
d14a1e28
RD
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 23304 (arg1)->SetAlign(arg2);
d14a1e28
RD
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 Py_INCREF(Py_None); resultobj = Py_None;
23310 return resultobj;
23311 fail:
23312 return NULL;
23313}
23314
23315
c32bde28 23316static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23317 PyObject *resultobj = NULL;
d14a1e28
RD
23318 wxListItem *arg1 = (wxListItem *) 0 ;
23319 wxColour *arg2 = 0 ;
23320 wxColour temp2 ;
23321 PyObject * obj0 = 0 ;
23322 PyObject * obj1 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self",(char *) "colText", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23330 {
23331 arg2 = &temp2;
23332 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23333 }
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 (arg1)->SetTextColour((wxColour const &)*arg2);
23337
23338 wxPyEndAllowThreads(__tstate);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 }
23341 Py_INCREF(Py_None); resultobj = Py_None;
23342 return resultobj;
23343 fail:
23344 return NULL;
23345}
23346
23347
c32bde28 23348static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23349 PyObject *resultobj = NULL;
d14a1e28
RD
23350 wxListItem *arg1 = (wxListItem *) 0 ;
23351 wxColour *arg2 = 0 ;
23352 wxColour temp2 ;
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self",(char *) "colBack", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23362 {
23363 arg2 = &temp2;
23364 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23365 }
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 Py_INCREF(Py_None); resultobj = Py_None;
23374 return resultobj;
23375 fail:
23376 return NULL;
23377}
23378
23379
c32bde28 23380static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23381 PyObject *resultobj = NULL;
d14a1e28
RD
23382 wxListItem *arg1 = (wxListItem *) 0 ;
23383 wxFont *arg2 = 0 ;
23384 PyObject * obj0 = 0 ;
23385 PyObject * obj1 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self",(char *) "font", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23392 if (SWIG_arg_fail(1)) SWIG_fail;
23393 {
23394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
23395 if (SWIG_arg_fail(2)) SWIG_fail;
23396 if (arg2 == NULL) {
23397 SWIG_null_ref("wxFont");
23398 }
23399 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23400 }
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 (arg1)->SetFont((wxFont const &)*arg2);
23404
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 Py_INCREF(Py_None); resultobj = Py_None;
23409 return resultobj;
23410 fail:
23411 return NULL;
23412}
23413
23414
c32bde28 23415static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23416 PyObject *resultobj = NULL;
d14a1e28
RD
23417 wxListItem *arg1 = (wxListItem *) 0 ;
23418 long result;
23419 PyObject * obj0 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 result = (long)(arg1)->GetMask();
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
093d3ff1 23434 {
32fe5131 23435 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23436 }
d14a1e28
RD
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
c32bde28 23443static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23444 PyObject *resultobj = NULL;
d14a1e28
RD
23445 wxListItem *arg1 = (wxListItem *) 0 ;
23446 long result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
23453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = (long)(arg1)->GetId();
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
093d3ff1 23462 {
32fe5131 23463 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23464 }
d14a1e28
RD
23465 return resultobj;
23466 fail:
23467 return NULL;
23468}
23469
23470
c32bde28 23471static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23472 PyObject *resultobj = NULL;
d14a1e28
RD
23473 wxListItem *arg1 = (wxListItem *) 0 ;
23474 int result;
23475 PyObject * obj0 = 0 ;
23476 char *kwnames[] = {
23477 (char *) "self", NULL
23478 };
23479
23480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 result = (int)(arg1)->GetColumn();
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
093d3ff1 23490 {
32fe5131 23491 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23492 }
d14a1e28
RD
23493 return resultobj;
23494 fail:
23495 return NULL;
23496}
23497
23498
c32bde28 23499static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23500 PyObject *resultobj = NULL;
d14a1e28
RD
23501 wxListItem *arg1 = (wxListItem *) 0 ;
23502 long result;
23503 PyObject * obj0 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
23509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (long)(arg1)->GetState();
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
093d3ff1 23518 {
32fe5131 23519 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23520 }
d14a1e28
RD
23521 return resultobj;
23522 fail:
23523 return NULL;
23524}
23525
23526
c32bde28 23527static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23528 PyObject *resultobj = NULL;
d14a1e28
RD
23529 wxListItem *arg1 = (wxListItem *) 0 ;
23530 wxString *result;
23531 PyObject * obj0 = 0 ;
23532 char *kwnames[] = {
23533 (char *) "self", NULL
23534 };
23535
23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 {
23542 wxString const &_result_ref = (arg1)->GetText();
23543 result = (wxString *) &_result_ref;
23544 }
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
cc6dd355
RD
23549 {
23550#if wxUSE_UNICODE
23551 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23552#else
23553 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23554#endif
23555 }
d14a1e28
RD
23556 return resultobj;
23557 fail:
23558 return NULL;
23559}
23560
23561
c32bde28 23562static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23563 PyObject *resultobj = NULL;
d14a1e28
RD
23564 wxListItem *arg1 = (wxListItem *) 0 ;
23565 int result;
23566 PyObject * obj0 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 result = (int)(arg1)->GetImage();
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
093d3ff1 23581 {
32fe5131 23582 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23583 }
d14a1e28
RD
23584 return resultobj;
23585 fail:
23586 return NULL;
23587}
23588
23589
c32bde28 23590static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23591 PyObject *resultobj = NULL;
d14a1e28
RD
23592 wxListItem *arg1 = (wxListItem *) 0 ;
23593 long result;
23594 PyObject * obj0 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23601 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 result = (long)(arg1)->GetData();
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
093d3ff1 23609 {
32fe5131 23610 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23611 }
d14a1e28
RD
23612 return resultobj;
23613 fail:
23614 return NULL;
23615}
23616
23617
c32bde28 23618static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23619 PyObject *resultobj = NULL;
d14a1e28
RD
23620 wxListItem *arg1 = (wxListItem *) 0 ;
23621 int result;
23622 PyObject * obj0 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
23628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (int)(arg1)->GetWidth();
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
093d3ff1 23637 {
32fe5131 23638 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23639 }
d14a1e28
RD
23640 return resultobj;
23641 fail:
23642 return NULL;
23643}
23644
23645
c32bde28 23646static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23647 PyObject *resultobj = NULL;
d14a1e28 23648 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 23649 wxListColumnFormat result;
d14a1e28
RD
23650 PyObject * obj0 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
23656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23660 result = (wxListColumnFormat)(arg1)->GetAlign();
d14a1e28
RD
23661
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
093d3ff1 23665 resultobj = SWIG_From_int((result));
d14a1e28
RD
23666 return resultobj;
23667 fail:
23668 return NULL;
23669}
23670
23671
c32bde28 23672static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23673 PyObject *resultobj = NULL;
d14a1e28
RD
23674 wxListItem *arg1 = (wxListItem *) 0 ;
23675 wxListItemAttr *result;
23676 PyObject * obj0 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = (wxListItemAttr *)(arg1)->GetAttributes();
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
15afbcd0 23691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
23692 return resultobj;
23693 fail:
23694 return NULL;
23695}
23696
23697
c32bde28 23698static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23699 PyObject *resultobj = NULL;
d14a1e28
RD
23700 wxListItem *arg1 = (wxListItem *) 0 ;
23701 bool result;
23702 PyObject * obj0 = 0 ;
23703 char *kwnames[] = {
23704 (char *) "self", NULL
23705 };
23706
23707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 result = (bool)(arg1)->HasAttributes();
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
4f89f6a3
RD
23717 {
23718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23719 }
d14a1e28
RD
23720 return resultobj;
23721 fail:
23722 return NULL;
23723}
23724
23725
c32bde28 23726static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23727 PyObject *resultobj = NULL;
d14a1e28
RD
23728 wxListItem *arg1 = (wxListItem *) 0 ;
23729 wxColour result;
23730 PyObject * obj0 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
23736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = ((wxListItem const *)arg1)->GetTextColour();
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 {
23746 wxColour * resultptr;
32fe5131 23747 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 23748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23749 }
23750 return resultobj;
23751 fail:
23752 return NULL;
23753}
23754
23755
c32bde28 23756static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23757 PyObject *resultobj = NULL;
d14a1e28
RD
23758 wxListItem *arg1 = (wxListItem *) 0 ;
23759 wxColour result;
23760 PyObject * obj0 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
23766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = ((wxListItem const *)arg1)->GetBackgroundColour();
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 {
23776 wxColour * resultptr;
32fe5131 23777 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 23778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23779 }
23780 return resultobj;
23781 fail:
23782 return NULL;
23783}
23784
23785
c32bde28 23786static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23787 PyObject *resultobj = NULL;
d14a1e28
RD
23788 wxListItem *arg1 = (wxListItem *) 0 ;
23789 wxFont result;
23790 PyObject * obj0 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
23796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23797 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = ((wxListItem const *)arg1)->GetFont();
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 {
23806 wxFont * resultptr;
32fe5131 23807 resultptr = new wxFont(static_cast<wxFont & >(result));
15afbcd0 23808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
23809 }
23810 return resultobj;
23811 fail:
23812 return NULL;
23813}
23814
23815
c32bde28 23816static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23817 PyObject *resultobj = NULL;
d14a1e28
RD
23818 wxListItem *arg1 = (wxListItem *) 0 ;
23819 long arg2 ;
23820 PyObject * obj0 = 0 ;
994141e6 23821 PyObject * obj1 = 0 ;
d14a1e28
RD
23822 char *kwnames[] = {
23823 (char *) "self",(char *) "m_mask", NULL
23824 };
23825
994141e6 23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23828 if (SWIG_arg_fail(1)) SWIG_fail;
23829 {
32fe5131 23830 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23831 if (SWIG_arg_fail(2)) SWIG_fail;
23832 }
d14a1e28
RD
23833 if (arg1) (arg1)->m_mask = arg2;
23834
23835 Py_INCREF(Py_None); resultobj = Py_None;
23836 return resultobj;
23837 fail:
23838 return NULL;
23839}
23840
23841
c32bde28 23842static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23843 PyObject *resultobj = NULL;
d14a1e28
RD
23844 wxListItem *arg1 = (wxListItem *) 0 ;
23845 long result;
23846 PyObject * obj0 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23853 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23854 result = (long) ((arg1)->m_mask);
23855
093d3ff1 23856 {
32fe5131 23857 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23858 }
d14a1e28
RD
23859 return resultobj;
23860 fail:
23861 return NULL;
23862}
23863
23864
c32bde28 23865static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23866 PyObject *resultobj = NULL;
d14a1e28
RD
23867 wxListItem *arg1 = (wxListItem *) 0 ;
23868 long arg2 ;
23869 PyObject * obj0 = 0 ;
994141e6 23870 PyObject * obj1 = 0 ;
d14a1e28
RD
23871 char *kwnames[] = {
23872 (char *) "self",(char *) "m_itemId", NULL
23873 };
23874
994141e6 23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23877 if (SWIG_arg_fail(1)) SWIG_fail;
23878 {
32fe5131 23879 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23880 if (SWIG_arg_fail(2)) SWIG_fail;
23881 }
d14a1e28
RD
23882 if (arg1) (arg1)->m_itemId = arg2;
23883
23884 Py_INCREF(Py_None); resultobj = Py_None;
23885 return resultobj;
23886 fail:
23887 return NULL;
23888}
23889
23890
c32bde28 23891static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23892 PyObject *resultobj = NULL;
d14a1e28
RD
23893 wxListItem *arg1 = (wxListItem *) 0 ;
23894 long result;
23895 PyObject * obj0 = 0 ;
23896 char *kwnames[] = {
23897 (char *) "self", NULL
23898 };
23899
23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23903 result = (long) ((arg1)->m_itemId);
23904
093d3ff1 23905 {
32fe5131 23906 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23907 }
d14a1e28
RD
23908 return resultobj;
23909 fail:
23910 return NULL;
23911}
23912
23913
c32bde28 23914static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23915 PyObject *resultobj = NULL;
d14a1e28
RD
23916 wxListItem *arg1 = (wxListItem *) 0 ;
23917 int arg2 ;
23918 PyObject * obj0 = 0 ;
994141e6 23919 PyObject * obj1 = 0 ;
d14a1e28
RD
23920 char *kwnames[] = {
23921 (char *) "self",(char *) "m_col", NULL
23922 };
23923
994141e6 23924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23926 if (SWIG_arg_fail(1)) SWIG_fail;
23927 {
32fe5131 23928 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23929 if (SWIG_arg_fail(2)) SWIG_fail;
23930 }
d14a1e28
RD
23931 if (arg1) (arg1)->m_col = arg2;
23932
23933 Py_INCREF(Py_None); resultobj = Py_None;
23934 return resultobj;
23935 fail:
23936 return NULL;
23937}
23938
23939
c32bde28 23940static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23941 PyObject *resultobj = NULL;
d14a1e28
RD
23942 wxListItem *arg1 = (wxListItem *) 0 ;
23943 int result;
23944 PyObject * obj0 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23951 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23952 result = (int) ((arg1)->m_col);
23953
093d3ff1 23954 {
32fe5131 23955 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23956 }
d14a1e28
RD
23957 return resultobj;
23958 fail:
23959 return NULL;
23960}
23961
23962
c32bde28 23963static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23964 PyObject *resultobj = NULL;
d14a1e28
RD
23965 wxListItem *arg1 = (wxListItem *) 0 ;
23966 long arg2 ;
23967 PyObject * obj0 = 0 ;
994141e6 23968 PyObject * obj1 = 0 ;
d14a1e28
RD
23969 char *kwnames[] = {
23970 (char *) "self",(char *) "m_state", NULL
23971 };
23972
994141e6 23973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail;
23976 {
32fe5131 23977 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23978 if (SWIG_arg_fail(2)) SWIG_fail;
23979 }
d14a1e28
RD
23980 if (arg1) (arg1)->m_state = arg2;
23981
23982 Py_INCREF(Py_None); resultobj = Py_None;
23983 return resultobj;
23984 fail:
23985 return NULL;
23986}
23987
23988
c32bde28 23989static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23990 PyObject *resultobj = NULL;
d14a1e28
RD
23991 wxListItem *arg1 = (wxListItem *) 0 ;
23992 long result;
23993 PyObject * obj0 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24001 result = (long) ((arg1)->m_state);
24002
093d3ff1 24003 {
32fe5131 24004 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24005 }
d14a1e28
RD
24006 return resultobj;
24007 fail:
24008 return NULL;
24009}
24010
24011
c32bde28 24012static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24013 PyObject *resultobj = NULL;
d14a1e28
RD
24014 wxListItem *arg1 = (wxListItem *) 0 ;
24015 long arg2 ;
24016 PyObject * obj0 = 0 ;
994141e6 24017 PyObject * obj1 = 0 ;
d14a1e28
RD
24018 char *kwnames[] = {
24019 (char *) "self",(char *) "m_stateMask", NULL
24020 };
24021
994141e6 24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24024 if (SWIG_arg_fail(1)) SWIG_fail;
24025 {
32fe5131 24026 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24027 if (SWIG_arg_fail(2)) SWIG_fail;
24028 }
d14a1e28
RD
24029 if (arg1) (arg1)->m_stateMask = arg2;
24030
24031 Py_INCREF(Py_None); resultobj = Py_None;
24032 return resultobj;
24033 fail:
24034 return NULL;
24035}
24036
24037
c32bde28 24038static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24039 PyObject *resultobj = NULL;
d14a1e28
RD
24040 wxListItem *arg1 = (wxListItem *) 0 ;
24041 long result;
24042 PyObject * obj0 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24050 result = (long) ((arg1)->m_stateMask);
24051
093d3ff1 24052 {
32fe5131 24053 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24054 }
d14a1e28
RD
24055 return resultobj;
24056 fail:
24057 return NULL;
24058}
24059
24060
c32bde28 24061static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24062 PyObject *resultobj = NULL;
d14a1e28 24063 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 24064 wxString *arg2 = (wxString *) 0 ;
ae8162c8 24065 bool temp2 = false ;
d14a1e28
RD
24066 PyObject * obj0 = 0 ;
24067 PyObject * obj1 = 0 ;
24068 char *kwnames[] = {
24069 (char *) "self",(char *) "m_text", NULL
24070 };
24071
24072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail;
7eae615b
RD
24075 {
24076 arg2 = wxString_in_helper(obj1);
24077 if (arg2 == NULL) SWIG_fail;
ae8162c8 24078 temp2 = true;
7eae615b 24079 }
196addbf 24080 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
24081
24082 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
24083 {
24084 if (temp2)
24085 delete arg2;
24086 }
d14a1e28
RD
24087 return resultobj;
24088 fail:
7eae615b
RD
24089 {
24090 if (temp2)
24091 delete arg2;
24092 }
d14a1e28
RD
24093 return NULL;
24094}
24095
24096
c32bde28 24097static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24098 PyObject *resultobj = NULL;
d14a1e28 24099 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 24100 wxString *result;
d14a1e28
RD
24101 PyObject * obj0 = 0 ;
24102 char *kwnames[] = {
24103 (char *) "self", NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail;
196addbf 24109 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
24110
24111 {
24112#if wxUSE_UNICODE
196addbf 24113 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 24114#else
196addbf 24115 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
24116#endif
24117 }
24118 return resultobj;
24119 fail:
24120 return NULL;
24121}
24122
24123
c32bde28 24124static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24125 PyObject *resultobj = NULL;
d14a1e28
RD
24126 wxListItem *arg1 = (wxListItem *) 0 ;
24127 int arg2 ;
24128 PyObject * obj0 = 0 ;
994141e6 24129 PyObject * obj1 = 0 ;
d14a1e28
RD
24130 char *kwnames[] = {
24131 (char *) "self",(char *) "m_image", NULL
24132 };
24133
994141e6 24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail;
24137 {
32fe5131 24138 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24139 if (SWIG_arg_fail(2)) SWIG_fail;
24140 }
d14a1e28
RD
24141 if (arg1) (arg1)->m_image = arg2;
24142
24143 Py_INCREF(Py_None); resultobj = Py_None;
24144 return resultobj;
24145 fail:
24146 return NULL;
24147}
24148
24149
c32bde28 24150static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24151 PyObject *resultobj = NULL;
d14a1e28
RD
24152 wxListItem *arg1 = (wxListItem *) 0 ;
24153 int result;
24154 PyObject * obj0 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24162 result = (int) ((arg1)->m_image);
24163
093d3ff1 24164 {
32fe5131 24165 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24166 }
d14a1e28
RD
24167 return resultobj;
24168 fail:
24169 return NULL;
24170}
24171
24172
c32bde28 24173static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24174 PyObject *resultobj = NULL;
d14a1e28
RD
24175 wxListItem *arg1 = (wxListItem *) 0 ;
24176 long arg2 ;
24177 PyObject * obj0 = 0 ;
994141e6 24178 PyObject * obj1 = 0 ;
d14a1e28
RD
24179 char *kwnames[] = {
24180 (char *) "self",(char *) "m_data", NULL
24181 };
24182
994141e6 24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail;
24186 {
32fe5131 24187 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24188 if (SWIG_arg_fail(2)) SWIG_fail;
24189 }
d14a1e28
RD
24190 if (arg1) (arg1)->m_data = arg2;
24191
24192 Py_INCREF(Py_None); resultobj = Py_None;
24193 return resultobj;
24194 fail:
24195 return NULL;
24196}
24197
24198
c32bde28 24199static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24200 PyObject *resultobj = NULL;
d14a1e28
RD
24201 wxListItem *arg1 = (wxListItem *) 0 ;
24202 long result;
24203 PyObject * obj0 = 0 ;
24204 char *kwnames[] = {
24205 (char *) "self", NULL
24206 };
24207
24208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24211 result = (long) ((arg1)->m_data);
24212
093d3ff1 24213 {
32fe5131 24214 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24215 }
d14a1e28
RD
24216 return resultobj;
24217 fail:
24218 return NULL;
24219}
24220
24221
c32bde28 24222static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24223 PyObject *resultobj = NULL;
d14a1e28
RD
24224 wxListItem *arg1 = (wxListItem *) 0 ;
24225 int arg2 ;
24226 PyObject * obj0 = 0 ;
994141e6 24227 PyObject * obj1 = 0 ;
d14a1e28
RD
24228 char *kwnames[] = {
24229 (char *) "self",(char *) "m_format", NULL
24230 };
24231
994141e6 24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail;
24235 {
32fe5131 24236 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24237 if (SWIG_arg_fail(2)) SWIG_fail;
24238 }
d14a1e28
RD
24239 if (arg1) (arg1)->m_format = arg2;
24240
24241 Py_INCREF(Py_None); resultobj = Py_None;
24242 return resultobj;
24243 fail:
24244 return NULL;
24245}
24246
24247
c32bde28 24248static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24249 PyObject *resultobj = NULL;
d14a1e28
RD
24250 wxListItem *arg1 = (wxListItem *) 0 ;
24251 int result;
24252 PyObject * obj0 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24260 result = (int) ((arg1)->m_format);
24261
093d3ff1 24262 {
32fe5131 24263 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24264 }
d14a1e28
RD
24265 return resultobj;
24266 fail:
24267 return NULL;
24268}
24269
24270
c32bde28 24271static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24272 PyObject *resultobj = NULL;
d14a1e28
RD
24273 wxListItem *arg1 = (wxListItem *) 0 ;
24274 int arg2 ;
24275 PyObject * obj0 = 0 ;
994141e6 24276 PyObject * obj1 = 0 ;
d14a1e28
RD
24277 char *kwnames[] = {
24278 (char *) "self",(char *) "m_width", NULL
24279 };
24280
994141e6 24281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail;
24284 {
32fe5131 24285 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24286 if (SWIG_arg_fail(2)) SWIG_fail;
24287 }
d14a1e28
RD
24288 if (arg1) (arg1)->m_width = arg2;
24289
24290 Py_INCREF(Py_None); resultobj = Py_None;
24291 return resultobj;
24292 fail:
24293 return NULL;
24294}
24295
24296
c32bde28 24297static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24298 PyObject *resultobj = NULL;
d14a1e28
RD
24299 wxListItem *arg1 = (wxListItem *) 0 ;
24300 int result;
24301 PyObject * obj0 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24308 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24309 result = (int) ((arg1)->m_width);
24310
093d3ff1 24311 {
32fe5131 24312 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24313 }
d14a1e28
RD
24314 return resultobj;
24315 fail:
24316 return NULL;
24317}
24318
24319
c32bde28 24320static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24321 PyObject *obj;
24322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24323 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
24324 Py_INCREF(obj);
24325 return Py_BuildValue((char *)"");
24326}
c32bde28 24327static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24328 PyObject *resultobj = NULL;
d14a1e28
RD
24329 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24330 int arg2 = (int) 0 ;
24331 wxListEvent *result;
994141e6
RD
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
d14a1e28
RD
24334 char *kwnames[] = {
24335 (char *) "commandType",(char *) "id", NULL
24336 };
24337
994141e6
RD
24338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
24339 if (obj0) {
093d3ff1 24340 {
32fe5131 24341 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
24342 if (SWIG_arg_fail(1)) SWIG_fail;
24343 }
994141e6
RD
24344 }
24345 if (obj1) {
093d3ff1 24346 {
32fe5131 24347 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24348 if (SWIG_arg_fail(2)) SWIG_fail;
24349 }
994141e6 24350 }
d14a1e28
RD
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 result = (wxListEvent *)new wxListEvent(arg1,arg2);
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
15afbcd0 24358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
24359 return resultobj;
24360 fail:
24361 return NULL;
24362}
24363
24364
c32bde28 24365static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24366 PyObject *resultobj = NULL;
d14a1e28
RD
24367 wxListEvent *arg1 = (wxListEvent *) 0 ;
24368 int arg2 ;
24369 PyObject * obj0 = 0 ;
994141e6 24370 PyObject * obj1 = 0 ;
d14a1e28
RD
24371 char *kwnames[] = {
24372 (char *) "self",(char *) "m_code", NULL
24373 };
24374
994141e6 24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail;
24378 {
32fe5131 24379 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24380 if (SWIG_arg_fail(2)) SWIG_fail;
24381 }
d14a1e28
RD
24382 if (arg1) (arg1)->m_code = arg2;
24383
24384 Py_INCREF(Py_None); resultobj = Py_None;
24385 return resultobj;
24386 fail:
24387 return NULL;
24388}
24389
24390
c32bde28 24391static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24392 PyObject *resultobj = NULL;
d14a1e28
RD
24393 wxListEvent *arg1 = (wxListEvent *) 0 ;
24394 int result;
24395 PyObject * obj0 = 0 ;
24396 char *kwnames[] = {
24397 (char *) "self", NULL
24398 };
24399
24400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24403 result = (int) ((arg1)->m_code);
24404
093d3ff1 24405 {
32fe5131 24406 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24407 }
d14a1e28
RD
24408 return resultobj;
24409 fail:
24410 return NULL;
24411}
24412
24413
c32bde28 24414static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24415 PyObject *resultobj = NULL;
d14a1e28
RD
24416 wxListEvent *arg1 = (wxListEvent *) 0 ;
24417 long arg2 ;
24418 PyObject * obj0 = 0 ;
994141e6 24419 PyObject * obj1 = 0 ;
d14a1e28
RD
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "m_oldItemIndex", NULL
24422 };
24423
994141e6 24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail;
24427 {
32fe5131 24428 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24429 if (SWIG_arg_fail(2)) SWIG_fail;
24430 }
d14a1e28
RD
24431 if (arg1) (arg1)->m_oldItemIndex = arg2;
24432
24433 Py_INCREF(Py_None); resultobj = Py_None;
24434 return resultobj;
24435 fail:
24436 return NULL;
24437}
24438
24439
c32bde28 24440static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24441 PyObject *resultobj = NULL;
d14a1e28
RD
24442 wxListEvent *arg1 = (wxListEvent *) 0 ;
24443 long result;
24444 PyObject * obj0 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24452 result = (long) ((arg1)->m_oldItemIndex);
24453
093d3ff1 24454 {
32fe5131 24455 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24456 }
d14a1e28
RD
24457 return resultobj;
24458 fail:
24459 return NULL;
24460}
24461
24462
c32bde28 24463static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24464 PyObject *resultobj = NULL;
d14a1e28
RD
24465 wxListEvent *arg1 = (wxListEvent *) 0 ;
24466 long arg2 ;
24467 PyObject * obj0 = 0 ;
994141e6 24468 PyObject * obj1 = 0 ;
d14a1e28
RD
24469 char *kwnames[] = {
24470 (char *) "self",(char *) "m_itemIndex", NULL
24471 };
24472
994141e6 24473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24475 if (SWIG_arg_fail(1)) SWIG_fail;
24476 {
32fe5131 24477 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24478 if (SWIG_arg_fail(2)) SWIG_fail;
24479 }
d14a1e28
RD
24480 if (arg1) (arg1)->m_itemIndex = arg2;
24481
24482 Py_INCREF(Py_None); resultobj = Py_None;
24483 return resultobj;
24484 fail:
24485 return NULL;
24486}
24487
24488
c32bde28 24489static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24490 PyObject *resultobj = NULL;
d14a1e28
RD
24491 wxListEvent *arg1 = (wxListEvent *) 0 ;
24492 long result;
24493 PyObject * obj0 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24500 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24501 result = (long) ((arg1)->m_itemIndex);
24502
093d3ff1 24503 {
32fe5131 24504 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24505 }
d14a1e28
RD
24506 return resultobj;
24507 fail:
24508 return NULL;
24509}
24510
24511
c32bde28 24512static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24513 PyObject *resultobj = NULL;
d14a1e28
RD
24514 wxListEvent *arg1 = (wxListEvent *) 0 ;
24515 int arg2 ;
24516 PyObject * obj0 = 0 ;
994141e6 24517 PyObject * obj1 = 0 ;
d14a1e28
RD
24518 char *kwnames[] = {
24519 (char *) "self",(char *) "m_col", NULL
24520 };
24521
994141e6 24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24524 if (SWIG_arg_fail(1)) SWIG_fail;
24525 {
32fe5131 24526 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24527 if (SWIG_arg_fail(2)) SWIG_fail;
24528 }
d14a1e28
RD
24529 if (arg1) (arg1)->m_col = arg2;
24530
24531 Py_INCREF(Py_None); resultobj = Py_None;
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
c32bde28 24538static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24539 PyObject *resultobj = NULL;
d14a1e28
RD
24540 wxListEvent *arg1 = (wxListEvent *) 0 ;
24541 int result;
24542 PyObject * obj0 = 0 ;
24543 char *kwnames[] = {
24544 (char *) "self", NULL
24545 };
24546
24547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24550 result = (int) ((arg1)->m_col);
24551
093d3ff1 24552 {
32fe5131 24553 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24554 }
d14a1e28
RD
24555 return resultobj;
24556 fail:
24557 return NULL;
24558}
24559
24560
c32bde28 24561static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24562 PyObject *resultobj = NULL;
d14a1e28
RD
24563 wxListEvent *arg1 = (wxListEvent *) 0 ;
24564 wxPoint *arg2 = (wxPoint *) 0 ;
24565 PyObject * obj0 = 0 ;
24566 PyObject * obj1 = 0 ;
24567 char *kwnames[] = {
24568 (char *) "self",(char *) "m_pointDrag", NULL
24569 };
24570
24571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24573 if (SWIG_arg_fail(1)) SWIG_fail;
24574 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
24575 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24576 if (arg1) (arg1)->m_pointDrag = *arg2;
24577
24578 Py_INCREF(Py_None); resultobj = Py_None;
24579 return resultobj;
24580 fail:
24581 return NULL;
24582}
24583
24584
c32bde28 24585static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24586 PyObject *resultobj = NULL;
d14a1e28
RD
24587 wxListEvent *arg1 = (wxListEvent *) 0 ;
24588 wxPoint *result;
24589 PyObject * obj0 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "self", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24597 result = (wxPoint *)& ((arg1)->m_pointDrag);
24598
15afbcd0 24599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
24600 return resultobj;
24601 fail:
24602 return NULL;
24603}
24604
24605
c32bde28 24606static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24607 PyObject *resultobj = NULL;
d14a1e28
RD
24608 wxListEvent *arg1 = (wxListEvent *) 0 ;
24609 wxListItem *result;
24610 PyObject * obj0 = 0 ;
24611 char *kwnames[] = {
24612 (char *) "self", NULL
24613 };
24614
24615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24617 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24618 result = (wxListItem *)& ((arg1)->m_item);
24619
24620 {
7e08d4ef 24621 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
24622 }
24623 return resultobj;
24624 fail:
24625 return NULL;
24626}
24627
24628
c32bde28 24629static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24630 PyObject *resultobj = NULL;
d14a1e28
RD
24631 wxListEvent *arg1 = (wxListEvent *) 0 ;
24632 int result;
24633 PyObject * obj0 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
24639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24640 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 result = (int)(arg1)->GetKeyCode();
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
093d3ff1 24648 {
32fe5131 24649 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24650 }
d14a1e28
RD
24651 return resultobj;
24652 fail:
24653 return NULL;
24654}
24655
24656
c32bde28 24657static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24658 PyObject *resultobj = NULL;
d14a1e28
RD
24659 wxListEvent *arg1 = (wxListEvent *) 0 ;
24660 long result;
24661 PyObject * obj0 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "self", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
24667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24669 {
24670 PyThreadState* __tstate = wxPyBeginAllowThreads();
24671 result = (long)(arg1)->GetIndex();
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
093d3ff1 24676 {
32fe5131 24677 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24678 }
d14a1e28
RD
24679 return resultobj;
24680 fail:
24681 return NULL;
24682}
24683
24684
c32bde28 24685static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24686 PyObject *resultobj = NULL;
d14a1e28
RD
24687 wxListEvent *arg1 = (wxListEvent *) 0 ;
24688 int result;
24689 PyObject * obj0 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "self", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
24695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (int)(arg1)->GetColumn();
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
093d3ff1 24704 {
32fe5131 24705 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24706 }
d14a1e28
RD
24707 return resultobj;
24708 fail:
24709 return NULL;
24710}
24711
24712
c32bde28 24713static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24714 PyObject *resultobj = NULL;
d14a1e28
RD
24715 wxListEvent *arg1 = (wxListEvent *) 0 ;
24716 wxPoint result;
24717 PyObject * obj0 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self", NULL
24720 };
24721
24722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
24723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 result = (arg1)->GetPoint();
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 {
24733 wxPoint * resultptr;
32fe5131 24734 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 24735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24736 }
24737 return resultobj;
24738 fail:
24739 return NULL;
24740}
24741
24742
c32bde28 24743static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24744 PyObject *resultobj = NULL;
d14a1e28
RD
24745 wxListEvent *arg1 = (wxListEvent *) 0 ;
24746 wxString *result;
24747 PyObject * obj0 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
24753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24754 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 {
24758 wxString const &_result_ref = (arg1)->GetLabel();
24759 result = (wxString *) &_result_ref;
24760 }
24761
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
cc6dd355
RD
24765 {
24766#if wxUSE_UNICODE
24767 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24768#else
24769 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24770#endif
24771 }
d14a1e28
RD
24772 return resultobj;
24773 fail:
24774 return NULL;
24775}
24776
24777
c32bde28 24778static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24779 PyObject *resultobj = NULL;
d14a1e28
RD
24780 wxListEvent *arg1 = (wxListEvent *) 0 ;
24781 wxString *result;
24782 PyObject * obj0 = 0 ;
24783 char *kwnames[] = {
24784 (char *) "self", NULL
24785 };
24786
24787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
24788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24789 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24790 {
24791 PyThreadState* __tstate = wxPyBeginAllowThreads();
24792 {
24793 wxString const &_result_ref = (arg1)->GetText();
24794 result = (wxString *) &_result_ref;
24795 }
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
cc6dd355
RD
24800 {
24801#if wxUSE_UNICODE
24802 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24803#else
24804 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24805#endif
24806 }
d14a1e28
RD
24807 return resultobj;
24808 fail:
24809 return NULL;
24810}
24811
24812
c32bde28 24813static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24814 PyObject *resultobj = NULL;
d14a1e28
RD
24815 wxListEvent *arg1 = (wxListEvent *) 0 ;
24816 int result;
24817 PyObject * obj0 = 0 ;
24818 char *kwnames[] = {
24819 (char *) "self", NULL
24820 };
24821
24822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24824 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (int)(arg1)->GetImage();
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
093d3ff1 24832 {
32fe5131 24833 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24834 }
d14a1e28
RD
24835 return resultobj;
24836 fail:
24837 return NULL;
24838}
24839
24840
c32bde28 24841static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24842 PyObject *resultobj = NULL;
d14a1e28
RD
24843 wxListEvent *arg1 = (wxListEvent *) 0 ;
24844 long result;
24845 PyObject * obj0 = 0 ;
24846 char *kwnames[] = {
24847 (char *) "self", NULL
24848 };
24849
24850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24852 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 result = (long)(arg1)->GetData();
24856
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
093d3ff1 24860 {
32fe5131 24861 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24862 }
d14a1e28
RD
24863 return resultobj;
24864 fail:
24865 return NULL;
24866}
24867
24868
c32bde28 24869static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24870 PyObject *resultobj = NULL;
d14a1e28
RD
24871 wxListEvent *arg1 = (wxListEvent *) 0 ;
24872 long result;
24873 PyObject * obj0 = 0 ;
24874 char *kwnames[] = {
24875 (char *) "self", NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
24879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24880 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (long)(arg1)->GetMask();
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
093d3ff1 24888 {
32fe5131 24889 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24890 }
d14a1e28
RD
24891 return resultobj;
24892 fail:
24893 return NULL;
24894}
24895
24896
c32bde28 24897static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24898 PyObject *resultobj = NULL;
d14a1e28
RD
24899 wxListEvent *arg1 = (wxListEvent *) 0 ;
24900 wxListItem *result;
24901 PyObject * obj0 = 0 ;
24902 char *kwnames[] = {
24903 (char *) "self", NULL
24904 };
24905
24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
24907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 {
24912 wxListItem const &_result_ref = (arg1)->GetItem();
24913 result = (wxListItem *) &_result_ref;
24914 }
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
15afbcd0 24919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
24920 return resultobj;
24921 fail:
24922 return NULL;
24923}
24924
24925
c32bde28 24926static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24927 PyObject *resultobj = NULL;
d14a1e28
RD
24928 wxListEvent *arg1 = (wxListEvent *) 0 ;
24929 long result;
24930 PyObject * obj0 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
24936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 result = (long)(arg1)->GetCacheFrom();
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
093d3ff1 24945 {
32fe5131 24946 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24947 }
d14a1e28
RD
24948 return resultobj;
24949 fail:
24950 return NULL;
24951}
24952
24953
c32bde28 24954static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24955 PyObject *resultobj = NULL;
d14a1e28
RD
24956 wxListEvent *arg1 = (wxListEvent *) 0 ;
24957 long result;
24958 PyObject * obj0 = 0 ;
24959 char *kwnames[] = {
24960 (char *) "self", NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
24964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24965 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24966 {
24967 PyThreadState* __tstate = wxPyBeginAllowThreads();
24968 result = (long)(arg1)->GetCacheTo();
24969
24970 wxPyEndAllowThreads(__tstate);
24971 if (PyErr_Occurred()) SWIG_fail;
24972 }
093d3ff1 24973 {
32fe5131 24974 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24975 }
d14a1e28
RD
24976 return resultobj;
24977 fail:
24978 return NULL;
24979}
24980
24981
c32bde28 24982static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24983 PyObject *resultobj = NULL;
d14a1e28
RD
24984 wxListEvent *arg1 = (wxListEvent *) 0 ;
24985 bool result;
24986 PyObject * obj0 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "self", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
24992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24993 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
4f89f6a3
RD
25001 {
25002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25003 }
d14a1e28
RD
25004 return resultobj;
25005 fail:
25006 return NULL;
25007}
25008
25009
c32bde28 25010static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25011 PyObject *resultobj = NULL;
d14a1e28
RD
25012 wxListEvent *arg1 = (wxListEvent *) 0 ;
25013 bool arg2 ;
25014 PyObject * obj0 = 0 ;
25015 PyObject * obj1 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "self",(char *) "editCancelled", NULL
25018 };
25019
25020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
25022 if (SWIG_arg_fail(1)) SWIG_fail;
25023 {
32fe5131 25024 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
25025 if (SWIG_arg_fail(2)) SWIG_fail;
25026 }
d14a1e28
RD
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 (arg1)->SetEditCanceled(arg2);
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 Py_INCREF(Py_None); resultobj = Py_None;
25035 return resultobj;
25036 fail:
25037 return NULL;
25038}
25039
25040
c32bde28 25041static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25042 PyObject *obj;
25043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25044 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
25045 Py_INCREF(obj);
25046 return Py_BuildValue((char *)"");
25047}
c32bde28 25048static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25049 PyObject *resultobj = NULL;
d14a1e28 25050 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25051 int arg2 = (int) -1 ;
d14a1e28
RD
25052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25054 wxSize const &arg4_defvalue = wxDefaultSize ;
25055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25056 long arg5 = (long) wxLC_ICON ;
25057 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25058 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25059 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
25060 wxString *arg7 = (wxString *) &arg7_defvalue ;
25061 wxPyListCtrl *result;
25062 wxPoint temp3 ;
25063 wxSize temp4 ;
ae8162c8 25064 bool temp7 = false ;
d14a1e28 25065 PyObject * obj0 = 0 ;
994141e6 25066 PyObject * obj1 = 0 ;
d14a1e28
RD
25067 PyObject * obj2 = 0 ;
25068 PyObject * obj3 = 0 ;
994141e6 25069 PyObject * obj4 = 0 ;
d14a1e28
RD
25070 PyObject * obj5 = 0 ;
25071 PyObject * obj6 = 0 ;
25072 char *kwnames[] = {
25073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25074 };
25075
994141e6 25076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25078 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 25079 if (obj1) {
093d3ff1 25080 {
32fe5131 25081 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25082 if (SWIG_arg_fail(2)) SWIG_fail;
25083 }
994141e6 25084 }
d14a1e28
RD
25085 if (obj2) {
25086 {
25087 arg3 = &temp3;
25088 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25089 }
25090 }
25091 if (obj3) {
25092 {
25093 arg4 = &temp4;
25094 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25095 }
25096 }
994141e6 25097 if (obj4) {
093d3ff1 25098 {
32fe5131 25099 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
25100 if (SWIG_arg_fail(5)) SWIG_fail;
25101 }
994141e6 25102 }
d14a1e28 25103 if (obj5) {
093d3ff1
RD
25104 {
25105 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25106 if (SWIG_arg_fail(6)) SWIG_fail;
25107 if (arg6 == NULL) {
25108 SWIG_null_ref("wxValidator");
25109 }
25110 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
25111 }
25112 }
25113 if (obj6) {
25114 {
25115 arg7 = wxString_in_helper(obj6);
25116 if (arg7 == NULL) SWIG_fail;
ae8162c8 25117 temp7 = true;
d14a1e28
RD
25118 }
25119 }
25120 {
e3b71cb8 25121 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25124
25125 wxPyEndAllowThreads(__tstate);
110da5b0 25126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25127 }
15afbcd0 25128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
25129 {
25130 if (temp7)
25131 delete arg7;
25132 }
25133 return resultobj;
25134 fail:
25135 {
25136 if (temp7)
25137 delete arg7;
25138 }
25139 return NULL;
25140}
25141
25142
c32bde28 25143static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25144 PyObject *resultobj = NULL;
d14a1e28
RD
25145 wxPyListCtrl *result;
25146 char *kwnames[] = {
25147 NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
25151 {
e3b71cb8 25152 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (wxPyListCtrl *)new wxPyListCtrl();
25155
25156 wxPyEndAllowThreads(__tstate);
110da5b0 25157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25158 }
15afbcd0 25159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
25160 return resultobj;
25161 fail:
25162 return NULL;
25163}
25164
25165
c32bde28 25166static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25167 PyObject *resultobj = NULL;
d14a1e28
RD
25168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25169 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 25170 int arg3 = (int) -1 ;
d14a1e28
RD
25171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25173 wxSize const &arg5_defvalue = wxDefaultSize ;
25174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25175 long arg6 = (long) wxLC_ICON ;
25176 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25177 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25178 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
25179 wxString *arg8 = (wxString *) &arg8_defvalue ;
25180 bool result;
25181 wxPoint temp4 ;
25182 wxSize temp5 ;
ae8162c8 25183 bool temp8 = false ;
d14a1e28
RD
25184 PyObject * obj0 = 0 ;
25185 PyObject * obj1 = 0 ;
994141e6 25186 PyObject * obj2 = 0 ;
d14a1e28
RD
25187 PyObject * obj3 = 0 ;
25188 PyObject * obj4 = 0 ;
994141e6 25189 PyObject * obj5 = 0 ;
d14a1e28
RD
25190 PyObject * obj6 = 0 ;
25191 PyObject * obj7 = 0 ;
25192 char *kwnames[] = {
25193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25194 };
25195
994141e6 25196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
25197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail;
25199 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25200 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 25201 if (obj2) {
093d3ff1 25202 {
32fe5131 25203 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25204 if (SWIG_arg_fail(3)) SWIG_fail;
25205 }
994141e6 25206 }
d14a1e28
RD
25207 if (obj3) {
25208 {
25209 arg4 = &temp4;
25210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25211 }
25212 }
25213 if (obj4) {
25214 {
25215 arg5 = &temp5;
25216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25217 }
25218 }
994141e6 25219 if (obj5) {
093d3ff1 25220 {
32fe5131 25221 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
25222 if (SWIG_arg_fail(6)) SWIG_fail;
25223 }
994141e6 25224 }
d14a1e28 25225 if (obj6) {
093d3ff1
RD
25226 {
25227 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25228 if (SWIG_arg_fail(7)) SWIG_fail;
25229 if (arg7 == NULL) {
25230 SWIG_null_ref("wxValidator");
25231 }
25232 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
25233 }
25234 }
25235 if (obj7) {
25236 {
25237 arg8 = wxString_in_helper(obj7);
25238 if (arg8 == NULL) SWIG_fail;
ae8162c8 25239 temp8 = true;
d14a1e28
RD
25240 }
25241 }
25242 {
25243 PyThreadState* __tstate = wxPyBeginAllowThreads();
25244 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25245
25246 wxPyEndAllowThreads(__tstate);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
4f89f6a3
RD
25249 {
25250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25251 }
d14a1e28
RD
25252 {
25253 if (temp8)
25254 delete arg8;
25255 }
25256 return resultobj;
25257 fail:
25258 {
25259 if (temp8)
25260 delete arg8;
25261 }
25262 return NULL;
25263}
25264
25265
c32bde28 25266static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25267 PyObject *resultobj = NULL;
d14a1e28
RD
25268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25269 PyObject *arg2 = (PyObject *) 0 ;
25270 PyObject *arg3 = (PyObject *) 0 ;
25271 PyObject * obj0 = 0 ;
25272 PyObject * obj1 = 0 ;
25273 PyObject * obj2 = 0 ;
25274 char *kwnames[] = {
25275 (char *) "self",(char *) "self",(char *) "_class", NULL
25276 };
25277
25278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25280 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25281 arg2 = obj1;
25282 arg3 = obj2;
25283 {
25284 PyThreadState* __tstate = wxPyBeginAllowThreads();
25285 (arg1)->_setCallbackInfo(arg2,arg3);
25286
25287 wxPyEndAllowThreads(__tstate);
25288 if (PyErr_Occurred()) SWIG_fail;
25289 }
25290 Py_INCREF(Py_None); resultobj = Py_None;
25291 return resultobj;
25292 fail:
25293 return NULL;
25294}
25295
25296
c32bde28 25297static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25298 PyObject *resultobj = NULL;
d14a1e28
RD
25299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25300 wxColour *arg2 = 0 ;
25301 bool result;
25302 wxColour temp2 ;
25303 PyObject * obj0 = 0 ;
25304 PyObject * obj1 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self",(char *) "col", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25312 {
25313 arg2 = &temp2;
25314 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25315 }
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25319
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
4f89f6a3
RD
25323 {
25324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25325 }
d14a1e28
RD
25326 return resultobj;
25327 fail:
25328 return NULL;
25329}
25330
25331
c32bde28 25332static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25333 PyObject *resultobj = NULL;
d14a1e28
RD
25334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25335 wxColour *arg2 = 0 ;
25336 bool result;
25337 wxColour temp2 ;
25338 PyObject * obj0 = 0 ;
25339 PyObject * obj1 = 0 ;
25340 char *kwnames[] = {
25341 (char *) "self",(char *) "col", NULL
25342 };
25343
25344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25346 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25347 {
25348 arg2 = &temp2;
25349 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25350 }
25351 {
25352 PyThreadState* __tstate = wxPyBeginAllowThreads();
25353 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25354
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
4f89f6a3
RD
25358 {
25359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25360 }
d14a1e28
RD
25361 return resultobj;
25362 fail:
25363 return NULL;
25364}
25365
25366
c32bde28 25367static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25368 PyObject *resultobj = NULL;
d14a1e28
RD
25369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25370 int arg2 ;
25371 wxListItem *result;
25372 PyObject * obj0 = 0 ;
994141e6 25373 PyObject * obj1 = 0 ;
d14a1e28
RD
25374 char *kwnames[] = {
25375 (char *) "self",(char *) "col", NULL
25376 };
25377
994141e6 25378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25380 if (SWIG_arg_fail(1)) SWIG_fail;
25381 {
32fe5131 25382 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25383 if (SWIG_arg_fail(2)) SWIG_fail;
25384 }
d14a1e28
RD
25385 {
25386 PyThreadState* __tstate = wxPyBeginAllowThreads();
25387 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
25388
25389 wxPyEndAllowThreads(__tstate);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
25392 {
7e08d4ef 25393 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
25394 }
25395 return resultobj;
25396 fail:
25397 return NULL;
25398}
25399
25400
c32bde28 25401static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25402 PyObject *resultobj = NULL;
d14a1e28
RD
25403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25404 int arg2 ;
25405 wxListItem *arg3 = 0 ;
25406 bool result;
25407 PyObject * obj0 = 0 ;
994141e6 25408 PyObject * obj1 = 0 ;
d14a1e28
RD
25409 PyObject * obj2 = 0 ;
25410 char *kwnames[] = {
25411 (char *) "self",(char *) "col",(char *) "item", NULL
25412 };
25413
994141e6 25414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail;
25417 {
32fe5131 25418 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25419 if (SWIG_arg_fail(2)) SWIG_fail;
25420 }
25421 {
25422 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25423 if (SWIG_arg_fail(3)) SWIG_fail;
25424 if (arg3 == NULL) {
25425 SWIG_null_ref("wxListItem");
25426 }
25427 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
25428 }
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 result = (bool)(arg1)->SetColumn(arg2,*arg3);
25432
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
4f89f6a3
RD
25436 {
25437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25438 }
d14a1e28
RD
25439 return resultobj;
25440 fail:
25441 return NULL;
25442}
25443
25444
c32bde28 25445static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25446 PyObject *resultobj = NULL;
d14a1e28
RD
25447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25448 int arg2 ;
25449 int result;
25450 PyObject * obj0 = 0 ;
994141e6 25451 PyObject * obj1 = 0 ;
d14a1e28
RD
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "col", NULL
25454 };
25455
994141e6 25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail;
25459 {
32fe5131 25460 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25461 if (SWIG_arg_fail(2)) SWIG_fail;
25462 }
d14a1e28
RD
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
25466
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
093d3ff1 25470 {
32fe5131 25471 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25472 }
d14a1e28
RD
25473 return resultobj;
25474 fail:
25475 return NULL;
25476}
25477
25478
c32bde28 25479static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25480 PyObject *resultobj = NULL;
d14a1e28
RD
25481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25482 int arg2 ;
25483 int arg3 ;
25484 bool result;
25485 PyObject * obj0 = 0 ;
994141e6
RD
25486 PyObject * obj1 = 0 ;
25487 PyObject * obj2 = 0 ;
d14a1e28
RD
25488 char *kwnames[] = {
25489 (char *) "self",(char *) "col",(char *) "width", NULL
25490 };
25491
994141e6 25492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail;
25495 {
32fe5131 25496 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25497 if (SWIG_arg_fail(2)) SWIG_fail;
25498 }
25499 {
32fe5131 25500 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25501 if (SWIG_arg_fail(3)) SWIG_fail;
25502 }
d14a1e28
RD
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
4f89f6a3
RD
25510 {
25511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25512 }
d14a1e28
RD
25513 return resultobj;
25514 fail:
25515 return NULL;
25516}
25517
25518
c32bde28 25519static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25520 PyObject *resultobj = NULL;
d14a1e28
RD
25521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25522 int result;
25523 PyObject * obj0 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "self", NULL
25526 };
25527
25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
25529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25531 {
25532 PyThreadState* __tstate = wxPyBeginAllowThreads();
25533 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
25534
25535 wxPyEndAllowThreads(__tstate);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
093d3ff1 25538 {
32fe5131 25539 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25540 }
d14a1e28
RD
25541 return resultobj;
25542 fail:
25543 return NULL;
25544}
25545
25546
c32bde28 25547static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25548 PyObject *resultobj = NULL;
d14a1e28
RD
25549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25550 wxRect result;
25551 PyObject * obj0 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "self", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
25557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25558 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 {
25567 wxRect * resultptr;
32fe5131 25568 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 25569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25570 }
25571 return resultobj;
25572 fail:
25573 return NULL;
25574}
25575
25576
c32bde28 25577static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25578 PyObject *resultobj = NULL;
d14a1e28
RD
25579 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25580 long arg2 ;
25581 int arg3 = (int) 0 ;
25582 wxListItem *result;
25583 PyObject * obj0 = 0 ;
994141e6
RD
25584 PyObject * obj1 = 0 ;
25585 PyObject * obj2 = 0 ;
d14a1e28
RD
25586 char *kwnames[] = {
25587 (char *) "self",(char *) "itemId",(char *) "col", NULL
25588 };
25589
994141e6 25590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25592 if (SWIG_arg_fail(1)) SWIG_fail;
25593 {
32fe5131 25594 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25595 if (SWIG_arg_fail(2)) SWIG_fail;
25596 }
994141e6 25597 if (obj2) {
093d3ff1 25598 {
32fe5131 25599 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25600 if (SWIG_arg_fail(3)) SWIG_fail;
25601 }
994141e6 25602 }
d14a1e28
RD
25603 {
25604 PyThreadState* __tstate = wxPyBeginAllowThreads();
25605 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
25606
25607 wxPyEndAllowThreads(__tstate);
25608 if (PyErr_Occurred()) SWIG_fail;
25609 }
25610 {
7e08d4ef 25611 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
25612 }
25613 return resultobj;
25614 fail:
25615 return NULL;
25616}
25617
25618
c32bde28 25619static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25620 PyObject *resultobj = NULL;
d14a1e28
RD
25621 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25622 wxListItem *arg2 = 0 ;
25623 bool result;
25624 PyObject * obj0 = 0 ;
25625 PyObject * obj1 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self",(char *) "info", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail;
25633 {
25634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25635 if (SWIG_arg_fail(2)) SWIG_fail;
25636 if (arg2 == NULL) {
25637 SWIG_null_ref("wxListItem");
25638 }
25639 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25640 }
25641 {
25642 PyThreadState* __tstate = wxPyBeginAllowThreads();
25643 result = (bool)(arg1)->SetItem(*arg2);
25644
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
4f89f6a3
RD
25648 {
25649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25650 }
d14a1e28
RD
25651 return resultobj;
25652 fail:
25653 return NULL;
25654}
25655
25656
c32bde28 25657static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25658 PyObject *resultobj = NULL;
d14a1e28
RD
25659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25660 long arg2 ;
25661 int arg3 ;
25662 wxString *arg4 = 0 ;
25663 int arg5 = (int) -1 ;
25664 long result;
ae8162c8 25665 bool temp4 = false ;
d14a1e28 25666 PyObject * obj0 = 0 ;
994141e6
RD
25667 PyObject * obj1 = 0 ;
25668 PyObject * obj2 = 0 ;
d14a1e28 25669 PyObject * obj3 = 0 ;
994141e6 25670 PyObject * obj4 = 0 ;
d14a1e28
RD
25671 char *kwnames[] = {
25672 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25673 };
25674
994141e6 25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
25676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25677 if (SWIG_arg_fail(1)) SWIG_fail;
25678 {
32fe5131 25679 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25680 if (SWIG_arg_fail(2)) SWIG_fail;
25681 }
25682 {
32fe5131 25683 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25684 if (SWIG_arg_fail(3)) SWIG_fail;
25685 }
d14a1e28
RD
25686 {
25687 arg4 = wxString_in_helper(obj3);
25688 if (arg4 == NULL) SWIG_fail;
ae8162c8 25689 temp4 = true;
d14a1e28 25690 }
994141e6 25691 if (obj4) {
093d3ff1 25692 {
32fe5131 25693 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
25694 if (SWIG_arg_fail(5)) SWIG_fail;
25695 }
994141e6 25696 }
d14a1e28
RD
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
093d3ff1 25704 {
32fe5131 25705 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 25706 }
d14a1e28
RD
25707 {
25708 if (temp4)
25709 delete arg4;
25710 }
25711 return resultobj;
25712 fail:
25713 {
25714 if (temp4)
25715 delete arg4;
25716 }
25717 return NULL;
25718}
25719
25720
c32bde28 25721static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25722 PyObject *resultobj = NULL;
d14a1e28
RD
25723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25724 long arg2 ;
25725 long arg3 ;
25726 int result;
25727 PyObject * obj0 = 0 ;
994141e6
RD
25728 PyObject * obj1 = 0 ;
25729 PyObject * obj2 = 0 ;
d14a1e28
RD
25730 char *kwnames[] = {
25731 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25732 };
25733
994141e6 25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail;
25737 {
32fe5131 25738 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25739 if (SWIG_arg_fail(2)) SWIG_fail;
25740 }
25741 {
32fe5131 25742 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25743 if (SWIG_arg_fail(3)) SWIG_fail;
25744 }
d14a1e28
RD
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
25748
25749 wxPyEndAllowThreads(__tstate);
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
093d3ff1 25752 {
32fe5131 25753 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25754 }
d14a1e28
RD
25755 return resultobj;
25756 fail:
25757 return NULL;
25758}
25759
25760
c32bde28 25761static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25762 PyObject *resultobj = NULL;
d14a1e28
RD
25763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25764 long arg2 ;
25765 long arg3 ;
25766 long arg4 ;
25767 bool result;
25768 PyObject * obj0 = 0 ;
994141e6
RD
25769 PyObject * obj1 = 0 ;
25770 PyObject * obj2 = 0 ;
25771 PyObject * obj3 = 0 ;
d14a1e28
RD
25772 char *kwnames[] = {
25773 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25774 };
25775
994141e6 25776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25778 if (SWIG_arg_fail(1)) SWIG_fail;
25779 {
32fe5131 25780 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25781 if (SWIG_arg_fail(2)) SWIG_fail;
25782 }
25783 {
32fe5131 25784 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25785 if (SWIG_arg_fail(3)) SWIG_fail;
25786 }
25787 {
32fe5131 25788 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
25789 if (SWIG_arg_fail(4)) SWIG_fail;
25790 }
d14a1e28
RD
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
4f89f6a3
RD
25798 {
25799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25800 }
d14a1e28
RD
25801 return resultobj;
25802 fail:
25803 return NULL;
25804}
25805
25806
c32bde28 25807static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25808 PyObject *resultobj = NULL;
d14a1e28
RD
25809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25810 long arg2 ;
25811 int arg3 ;
1fc3b23a 25812 int arg4 = (int) -1 ;
d14a1e28
RD
25813 bool result;
25814 PyObject * obj0 = 0 ;
994141e6
RD
25815 PyObject * obj1 = 0 ;
25816 PyObject * obj2 = 0 ;
25817 PyObject * obj3 = 0 ;
d14a1e28
RD
25818 char *kwnames[] = {
25819 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25820 };
25821
1fc3b23a 25822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25824 if (SWIG_arg_fail(1)) SWIG_fail;
25825 {
32fe5131 25826 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25827 if (SWIG_arg_fail(2)) SWIG_fail;
25828 }
25829 {
32fe5131 25830 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25831 if (SWIG_arg_fail(3)) SWIG_fail;
25832 }
1fc3b23a 25833 if (obj3) {
093d3ff1 25834 {
32fe5131 25835 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
25836 if (SWIG_arg_fail(4)) SWIG_fail;
25837 }
1fc3b23a 25838 }
d14a1e28
RD
25839 {
25840 PyThreadState* __tstate = wxPyBeginAllowThreads();
25841 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
25842
25843 wxPyEndAllowThreads(__tstate);
25844 if (PyErr_Occurred()) SWIG_fail;
25845 }
4f89f6a3
RD
25846 {
25847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25848 }
d14a1e28
RD
25849 return resultobj;
25850 fail:
25851 return NULL;
25852}
25853
25854
c32bde28 25855static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25856 PyObject *resultobj = NULL;
d14a1e28
RD
25857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25858 long arg2 ;
25859 wxString result;
25860 PyObject * obj0 = 0 ;
994141e6 25861 PyObject * obj1 = 0 ;
d14a1e28
RD
25862 char *kwnames[] = {
25863 (char *) "self",(char *) "item", NULL
25864 };
25865
994141e6 25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail;
25869 {
32fe5131 25870 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25871 if (SWIG_arg_fail(2)) SWIG_fail;
25872 }
d14a1e28
RD
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 {
25881#if wxUSE_UNICODE
25882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25883#else
25884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25885#endif
25886 }
25887 return resultobj;
25888 fail:
25889 return NULL;
25890}
25891
25892
c32bde28 25893static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25894 PyObject *resultobj = NULL;
d14a1e28
RD
25895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25896 long arg2 ;
25897 wxString *arg3 = 0 ;
ae8162c8 25898 bool temp3 = false ;
d14a1e28 25899 PyObject * obj0 = 0 ;
994141e6 25900 PyObject * obj1 = 0 ;
d14a1e28
RD
25901 PyObject * obj2 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self",(char *) "item",(char *) "str", NULL
25904 };
25905
994141e6 25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail;
25909 {
32fe5131 25910 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25911 if (SWIG_arg_fail(2)) SWIG_fail;
25912 }
d14a1e28
RD
25913 {
25914 arg3 = wxString_in_helper(obj2);
25915 if (arg3 == NULL) SWIG_fail;
ae8162c8 25916 temp3 = true;
d14a1e28
RD
25917 }
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 Py_INCREF(Py_None); resultobj = Py_None;
25926 {
25927 if (temp3)
25928 delete arg3;
25929 }
25930 return resultobj;
25931 fail:
25932 {
25933 if (temp3)
25934 delete arg3;
25935 }
25936 return NULL;
25937}
25938
25939
c32bde28 25940static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25941 PyObject *resultobj = NULL;
d14a1e28
RD
25942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25943 long arg2 ;
25944 long result;
25945 PyObject * obj0 = 0 ;
994141e6 25946 PyObject * obj1 = 0 ;
d14a1e28
RD
25947 char *kwnames[] = {
25948 (char *) "self",(char *) "item", NULL
25949 };
25950
994141e6 25951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail;
25954 {
32fe5131 25955 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25956 if (SWIG_arg_fail(2)) SWIG_fail;
25957 }
d14a1e28
RD
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
25961
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
093d3ff1 25965 {
32fe5131 25966 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 25967 }
d14a1e28
RD
25968 return resultobj;
25969 fail:
25970 return NULL;
25971}
25972
25973
c32bde28 25974static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25975 PyObject *resultobj = NULL;
d14a1e28
RD
25976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25977 long arg2 ;
25978 long arg3 ;
25979 bool result;
25980 PyObject * obj0 = 0 ;
994141e6
RD
25981 PyObject * obj1 = 0 ;
25982 PyObject * obj2 = 0 ;
d14a1e28
RD
25983 char *kwnames[] = {
25984 (char *) "self",(char *) "item",(char *) "data", NULL
25985 };
25986
994141e6 25987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25989 if (SWIG_arg_fail(1)) SWIG_fail;
25990 {
32fe5131 25991 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25992 if (SWIG_arg_fail(2)) SWIG_fail;
25993 }
25994 {
32fe5131 25995 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25996 if (SWIG_arg_fail(3)) SWIG_fail;
25997 }
d14a1e28
RD
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 result = (bool)(arg1)->SetItemData(arg2,arg3);
26001
26002 wxPyEndAllowThreads(__tstate);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
4f89f6a3
RD
26005 {
26006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26007 }
d14a1e28
RD
26008 return resultobj;
26009 fail:
26010 return NULL;
26011}
26012
26013
c32bde28 26014static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26015 PyObject *resultobj = NULL;
d14a1e28
RD
26016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26017 long arg2 ;
26018 wxPoint result;
26019 PyObject * obj0 = 0 ;
994141e6 26020 PyObject * obj1 = 0 ;
d14a1e28
RD
26021 char *kwnames[] = {
26022 (char *) "self",(char *) "item", NULL
26023 };
26024
994141e6 26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail;
26028 {
32fe5131 26029 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26030 if (SWIG_arg_fail(2)) SWIG_fail;
26031 }
d14a1e28
RD
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 {
26040 wxPoint * resultptr;
32fe5131 26041 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 26042 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26043 }
26044 return resultobj;
26045 fail:
26046 return NULL;
26047}
26048
26049
c32bde28 26050static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26051 PyObject *resultobj = NULL;
d14a1e28
RD
26052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26053 long arg2 ;
26054 int arg3 = (int) wxLIST_RECT_BOUNDS ;
26055 wxRect result;
26056 PyObject * obj0 = 0 ;
994141e6
RD
26057 PyObject * obj1 = 0 ;
26058 PyObject * obj2 = 0 ;
d14a1e28
RD
26059 char *kwnames[] = {
26060 (char *) "self",(char *) "item",(char *) "code", NULL
26061 };
26062
994141e6 26063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26065 if (SWIG_arg_fail(1)) SWIG_fail;
26066 {
32fe5131 26067 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26068 if (SWIG_arg_fail(2)) SWIG_fail;
26069 }
994141e6 26070 if (obj2) {
093d3ff1 26071 {
32fe5131 26072 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26073 if (SWIG_arg_fail(3)) SWIG_fail;
26074 }
994141e6 26075 }
d14a1e28
RD
26076 {
26077 PyThreadState* __tstate = wxPyBeginAllowThreads();
26078 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
26079
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 {
26084 wxRect * resultptr;
32fe5131 26085 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 26086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
26087 }
26088 return resultobj;
26089 fail:
26090 return NULL;
26091}
26092
26093
c32bde28 26094static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26095 PyObject *resultobj = NULL;
d14a1e28
RD
26096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26097 long arg2 ;
26098 wxPoint *arg3 = 0 ;
26099 bool result;
26100 wxPoint temp3 ;
26101 PyObject * obj0 = 0 ;
994141e6 26102 PyObject * obj1 = 0 ;
d14a1e28
RD
26103 PyObject * obj2 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "item",(char *) "pos", NULL
26106 };
26107
994141e6 26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail;
26111 {
32fe5131 26112 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26113 if (SWIG_arg_fail(2)) SWIG_fail;
26114 }
d14a1e28
RD
26115 {
26116 arg3 = &temp3;
26117 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26118 }
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
26122
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
4f89f6a3
RD
26126 {
26127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26128 }
d14a1e28
RD
26129 return resultobj;
26130 fail:
26131 return NULL;
26132}
26133
26134
c32bde28 26135static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26136 PyObject *resultobj = NULL;
d14a1e28
RD
26137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26138 int result;
26139 PyObject * obj0 = 0 ;
26140 char *kwnames[] = {
26141 (char *) "self", NULL
26142 };
26143
26144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
093d3ff1 26154 {
32fe5131 26155 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26156 }
d14a1e28
RD
26157 return resultobj;
26158 fail:
26159 return NULL;
26160}
26161
26162
c32bde28 26163static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26164 PyObject *resultobj = NULL;
d14a1e28
RD
26165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26166 int result;
26167 PyObject * obj0 = 0 ;
26168 char *kwnames[] = {
26169 (char *) "self", NULL
26170 };
26171
26172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
26178
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
093d3ff1 26182 {
32fe5131 26183 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26184 }
d14a1e28
RD
26185 return resultobj;
26186 fail:
26187 return NULL;
26188}
26189
26190
c32bde28 26191static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26192 PyObject *resultobj = NULL;
d14a1e28
RD
26193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26194 wxSize result;
26195 PyObject * obj0 = 0 ;
26196 char *kwnames[] = {
26197 (char *) "self", NULL
26198 };
26199
26200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
26201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
26206
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 {
26211 wxSize * resultptr;
32fe5131 26212 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 26213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
26214 }
26215 return resultobj;
26216 fail:
26217 return NULL;
26218}
26219
26220
c32bde28 26221static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26222 PyObject *resultobj = NULL;
d14a1e28
RD
26223 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26224 int arg2 ;
ae8162c8 26225 bool arg3 = (bool) false ;
d14a1e28 26226 PyObject * obj0 = 0 ;
994141e6 26227 PyObject * obj1 = 0 ;
d14a1e28
RD
26228 PyObject * obj2 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
26231 };
26232
994141e6 26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail;
26236 {
32fe5131 26237 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26238 if (SWIG_arg_fail(2)) SWIG_fail;
26239 }
d14a1e28 26240 if (obj2) {
093d3ff1 26241 {
32fe5131 26242 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
26243 if (SWIG_arg_fail(3)) SWIG_fail;
26244 }
d14a1e28
RD
26245 }
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 (arg1)->SetItemSpacing(arg2,arg3);
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 Py_INCREF(Py_None); resultobj = Py_None;
26254 return resultobj;
26255 fail:
26256 return NULL;
26257}
26258
26259
c32bde28 26260static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26261 PyObject *resultobj = NULL;
d14a1e28
RD
26262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26263 int result;
26264 PyObject * obj0 = 0 ;
26265 char *kwnames[] = {
26266 (char *) "self", NULL
26267 };
26268
26269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26272 {
26273 PyThreadState* __tstate = wxPyBeginAllowThreads();
26274 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
26275
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
093d3ff1 26279 {
32fe5131 26280 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26281 }
d14a1e28
RD
26282 return resultobj;
26283 fail:
26284 return NULL;
26285}
26286
26287
c32bde28 26288static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26289 PyObject *resultobj = NULL;
d14a1e28
RD
26290 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26291 wxColour result;
26292 PyObject * obj0 = 0 ;
26293 char *kwnames[] = {
26294 (char *) "self", NULL
26295 };
26296
26297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
26298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26300 {
26301 PyThreadState* __tstate = wxPyBeginAllowThreads();
26302 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
26303
26304 wxPyEndAllowThreads(__tstate);
26305 if (PyErr_Occurred()) SWIG_fail;
26306 }
26307 {
26308 wxColour * resultptr;
32fe5131 26309 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 26310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26311 }
26312 return resultobj;
26313 fail:
26314 return NULL;
26315}
26316
26317
c32bde28 26318static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26319 PyObject *resultobj = NULL;
d14a1e28
RD
26320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26321 wxColour *arg2 = 0 ;
26322 wxColour temp2 ;
26323 PyObject * obj0 = 0 ;
26324 PyObject * obj1 = 0 ;
26325 char *kwnames[] = {
26326 (char *) "self",(char *) "col", NULL
26327 };
26328
26329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26332 {
26333 arg2 = &temp2;
26334 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26335 }
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 (arg1)->SetTextColour((wxColour const &)*arg2);
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
26343 Py_INCREF(Py_None); resultobj = Py_None;
26344 return resultobj;
26345 fail:
26346 return NULL;
26347}
26348
26349
c32bde28 26350static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26351 PyObject *resultobj = NULL;
d14a1e28
RD
26352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26353 long result;
26354 PyObject * obj0 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26362 {
26363 PyThreadState* __tstate = wxPyBeginAllowThreads();
26364 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
26365
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
093d3ff1 26369 {
32fe5131 26370 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 26371 }
d14a1e28
RD
26372 return resultobj;
26373 fail:
26374 return NULL;
26375}
26376
26377
c32bde28 26378static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26379 PyObject *resultobj = NULL;
d14a1e28
RD
26380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26381 long arg2 ;
ae8162c8 26382 bool arg3 = (bool) true ;
d14a1e28 26383 PyObject * obj0 = 0 ;
994141e6 26384 PyObject * obj1 = 0 ;
d14a1e28
RD
26385 PyObject * obj2 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self",(char *) "style",(char *) "add", NULL
26388 };
26389
994141e6 26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail;
26393 {
32fe5131 26394 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26395 if (SWIG_arg_fail(2)) SWIG_fail;
26396 }
d14a1e28 26397 if (obj2) {
093d3ff1 26398 {
32fe5131 26399 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
26400 if (SWIG_arg_fail(3)) SWIG_fail;
26401 }
d14a1e28
RD
26402 }
26403 {
26404 PyThreadState* __tstate = wxPyBeginAllowThreads();
26405 (arg1)->SetSingleStyle(arg2,arg3);
26406
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 Py_INCREF(Py_None); resultobj = Py_None;
26411 return resultobj;
26412 fail:
26413 return NULL;
26414}
26415
26416
c32bde28 26417static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26418 PyObject *resultobj = NULL;
d14a1e28
RD
26419 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26420 long arg2 ;
26421 PyObject * obj0 = 0 ;
994141e6 26422 PyObject * obj1 = 0 ;
d14a1e28
RD
26423 char *kwnames[] = {
26424 (char *) "self",(char *) "style", NULL
26425 };
26426
994141e6 26427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26429 if (SWIG_arg_fail(1)) SWIG_fail;
26430 {
32fe5131 26431 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26432 if (SWIG_arg_fail(2)) SWIG_fail;
26433 }
d14a1e28
RD
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 (arg1)->SetWindowStyleFlag(arg2);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 Py_INCREF(Py_None); resultobj = Py_None;
26442 return resultobj;
26443 fail:
26444 return NULL;
26445}
26446
26447
c32bde28 26448static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26449 PyObject *resultobj = NULL;
d14a1e28
RD
26450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26451 long arg2 ;
26452 int arg3 = (int) wxLIST_NEXT_ALL ;
26453 int arg4 = (int) wxLIST_STATE_DONTCARE ;
26454 long result;
26455 PyObject * obj0 = 0 ;
994141e6
RD
26456 PyObject * obj1 = 0 ;
26457 PyObject * obj2 = 0 ;
26458 PyObject * obj3 = 0 ;
d14a1e28
RD
26459 char *kwnames[] = {
26460 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26461 };
26462
994141e6 26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26465 if (SWIG_arg_fail(1)) SWIG_fail;
26466 {
32fe5131 26467 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26468 if (SWIG_arg_fail(2)) SWIG_fail;
26469 }
994141e6 26470 if (obj2) {
093d3ff1 26471 {
32fe5131 26472 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26473 if (SWIG_arg_fail(3)) SWIG_fail;
26474 }
994141e6
RD
26475 }
26476 if (obj3) {
093d3ff1 26477 {
32fe5131 26478 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
26479 if (SWIG_arg_fail(4)) SWIG_fail;
26480 }
994141e6 26481 }
d14a1e28
RD
26482 {
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
26485
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
093d3ff1 26489 {
32fe5131 26490 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 26491 }
d14a1e28
RD
26492 return resultobj;
26493 fail:
26494 return NULL;
26495}
26496
26497
c32bde28 26498static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26499 PyObject *resultobj = NULL;
d14a1e28
RD
26500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26501 int arg2 ;
26502 wxImageList *result;
26503 PyObject * obj0 = 0 ;
994141e6 26504 PyObject * obj1 = 0 ;
d14a1e28
RD
26505 char *kwnames[] = {
26506 (char *) "self",(char *) "which", NULL
26507 };
26508
994141e6 26509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail;
26512 {
32fe5131 26513 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26514 if (SWIG_arg_fail(2)) SWIG_fail;
26515 }
d14a1e28
RD
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 {
7e08d4ef 26524 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
26525 }
26526 return resultobj;
26527 fail:
26528 return NULL;
26529}
26530
26531
c32bde28 26532static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26533 PyObject *resultobj = NULL;
d14a1e28
RD
26534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26535 wxImageList *arg2 = (wxImageList *) 0 ;
26536 int arg3 ;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
994141e6 26539 PyObject * obj2 = 0 ;
d14a1e28
RD
26540 char *kwnames[] = {
26541 (char *) "self",(char *) "imageList",(char *) "which", NULL
26542 };
26543
994141e6 26544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26546 if (SWIG_arg_fail(1)) SWIG_fail;
26547 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
26548 if (SWIG_arg_fail(2)) SWIG_fail;
26549 {
32fe5131 26550 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26551 if (SWIG_arg_fail(3)) SWIG_fail;
26552 }
d14a1e28
RD
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 (arg1)->SetImageList(arg2,arg3);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 Py_INCREF(Py_None); resultobj = Py_None;
26561 return resultobj;
26562 fail:
26563 return NULL;
26564}
26565
26566
c32bde28 26567static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26568 PyObject *resultobj = NULL;
d14a1e28
RD
26569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26570 wxImageList *arg2 = (wxImageList *) 0 ;
26571 int arg3 ;
26572 PyObject * obj0 = 0 ;
26573 PyObject * obj1 = 0 ;
994141e6 26574 PyObject * obj2 = 0 ;
d14a1e28
RD
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "imageList",(char *) "which", NULL
26577 };
26578
994141e6 26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26581 if (SWIG_arg_fail(1)) SWIG_fail;
26582 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26583 if (SWIG_arg_fail(2)) SWIG_fail;
26584 {
32fe5131 26585 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26586 if (SWIG_arg_fail(3)) SWIG_fail;
26587 }
d14a1e28
RD
26588 {
26589 PyThreadState* __tstate = wxPyBeginAllowThreads();
26590 (arg1)->AssignImageList(arg2,arg3);
26591
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 Py_INCREF(Py_None); resultobj = Py_None;
26596 return resultobj;
26597 fail:
26598 return NULL;
26599}
26600
26601
c32bde28 26602static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26603 PyObject *resultobj = NULL;
4276dc52
RD
26604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26605 bool result;
26606 PyObject * obj0 = 0 ;
26607 char *kwnames[] = {
26608 (char *) "self", NULL
26609 };
26610
26611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
26612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
4f89f6a3
RD
26621 {
26622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26623 }
4276dc52
RD
26624 return resultobj;
26625 fail:
26626 return NULL;
26627}
26628
26629
c32bde28 26630static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26631 PyObject *resultobj = NULL;
d14a1e28
RD
26632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26633 bool result;
26634 PyObject * obj0 = 0 ;
26635 char *kwnames[] = {
26636 (char *) "self", NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
26640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26641 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
26645
26646 wxPyEndAllowThreads(__tstate);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
4f89f6a3
RD
26649 {
26650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26651 }
d14a1e28
RD
26652 return resultobj;
26653 fail:
26654 return NULL;
26655}
26656
26657
c32bde28 26658static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26659 PyObject *resultobj = NULL;
d14a1e28
RD
26660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26661 long arg2 ;
26662 PyObject * obj0 = 0 ;
994141e6 26663 PyObject * obj1 = 0 ;
d14a1e28
RD
26664 char *kwnames[] = {
26665 (char *) "self",(char *) "item", NULL
26666 };
26667
994141e6 26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail;
26671 {
32fe5131 26672 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26673 if (SWIG_arg_fail(2)) SWIG_fail;
26674 }
d14a1e28
RD
26675 {
26676 PyThreadState* __tstate = wxPyBeginAllowThreads();
26677 (arg1)->RefreshItem(arg2);
26678
26679 wxPyEndAllowThreads(__tstate);
26680 if (PyErr_Occurred()) SWIG_fail;
26681 }
26682 Py_INCREF(Py_None); resultobj = Py_None;
26683 return resultobj;
26684 fail:
26685 return NULL;
26686}
26687
26688
c32bde28 26689static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26690 PyObject *resultobj = NULL;
d14a1e28
RD
26691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26692 long arg2 ;
26693 long arg3 ;
26694 PyObject * obj0 = 0 ;
994141e6
RD
26695 PyObject * obj1 = 0 ;
26696 PyObject * obj2 = 0 ;
d14a1e28
RD
26697 char *kwnames[] = {
26698 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26699 };
26700
994141e6 26701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail;
26704 {
32fe5131 26705 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26706 if (SWIG_arg_fail(2)) SWIG_fail;
26707 }
26708 {
32fe5131 26709 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
26710 if (SWIG_arg_fail(3)) SWIG_fail;
26711 }
d14a1e28
RD
26712 {
26713 PyThreadState* __tstate = wxPyBeginAllowThreads();
26714 (arg1)->RefreshItems(arg2,arg3);
26715
26716 wxPyEndAllowThreads(__tstate);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 }
26719 Py_INCREF(Py_None); resultobj = Py_None;
26720 return resultobj;
26721 fail:
26722 return NULL;
26723}
26724
26725
c32bde28 26726static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26727 PyObject *resultobj = NULL;
d14a1e28
RD
26728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26729 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
26730 bool result;
26731 PyObject * obj0 = 0 ;
994141e6 26732 PyObject * obj1 = 0 ;
d14a1e28
RD
26733 char *kwnames[] = {
26734 (char *) "self",(char *) "flag", NULL
26735 };
26736
994141e6 26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 26740 if (obj1) {
093d3ff1 26741 {
32fe5131 26742 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26743 if (SWIG_arg_fail(2)) SWIG_fail;
26744 }
994141e6 26745 }
d14a1e28
RD
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (bool)(arg1)->Arrange(arg2);
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
4f89f6a3
RD
26753 {
26754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26755 }
d14a1e28
RD
26756 return resultobj;
26757 fail:
26758 return NULL;
26759}
26760
26761
c32bde28 26762static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26763 PyObject *resultobj = NULL;
d14a1e28
RD
26764 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26765 long arg2 ;
26766 bool result;
26767 PyObject * obj0 = 0 ;
994141e6 26768 PyObject * obj1 = 0 ;
d14a1e28
RD
26769 char *kwnames[] = {
26770 (char *) "self",(char *) "item", NULL
26771 };
26772
994141e6 26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail;
26776 {
32fe5131 26777 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26778 if (SWIG_arg_fail(2)) SWIG_fail;
26779 }
d14a1e28
RD
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 result = (bool)(arg1)->DeleteItem(arg2);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
4f89f6a3
RD
26787 {
26788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26789 }
d14a1e28
RD
26790 return resultobj;
26791 fail:
26792 return NULL;
26793}
26794
26795
c32bde28 26796static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26797 PyObject *resultobj = NULL;
d14a1e28
RD
26798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26799 bool result;
26800 PyObject * obj0 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
26806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (bool)(arg1)->DeleteAllItems();
26811
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
4f89f6a3
RD
26815 {
26816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26817 }
d14a1e28
RD
26818 return resultobj;
26819 fail:
26820 return NULL;
26821}
26822
26823
c32bde28 26824static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26825 PyObject *resultobj = NULL;
d14a1e28
RD
26826 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26827 int arg2 ;
26828 bool result;
26829 PyObject * obj0 = 0 ;
994141e6 26830 PyObject * obj1 = 0 ;
d14a1e28
RD
26831 char *kwnames[] = {
26832 (char *) "self",(char *) "col", NULL
26833 };
26834
994141e6 26835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail;
26838 {
32fe5131 26839 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26840 if (SWIG_arg_fail(2)) SWIG_fail;
26841 }
d14a1e28
RD
26842 {
26843 PyThreadState* __tstate = wxPyBeginAllowThreads();
26844 result = (bool)(arg1)->DeleteColumn(arg2);
26845
26846 wxPyEndAllowThreads(__tstate);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
4f89f6a3
RD
26849 {
26850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26851 }
d14a1e28
RD
26852 return resultobj;
26853 fail:
26854 return NULL;
26855}
26856
26857
c32bde28 26858static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26859 PyObject *resultobj = NULL;
d14a1e28
RD
26860 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26861 bool result;
26862 PyObject * obj0 = 0 ;
26863 char *kwnames[] = {
26864 (char *) "self", NULL
26865 };
26866
26867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
26868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26869 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 result = (bool)(arg1)->DeleteAllColumns();
26873
26874 wxPyEndAllowThreads(__tstate);
26875 if (PyErr_Occurred()) SWIG_fail;
26876 }
4f89f6a3
RD
26877 {
26878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26879 }
d14a1e28
RD
26880 return resultobj;
26881 fail:
26882 return NULL;
26883}
26884
26885
c32bde28 26886static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26887 PyObject *resultobj = NULL;
d14a1e28
RD
26888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26889 PyObject * obj0 = 0 ;
26890 char *kwnames[] = {
26891 (char *) "self", NULL
26892 };
26893
26894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
26895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26896 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26897 {
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 (arg1)->ClearAll();
26900
26901 wxPyEndAllowThreads(__tstate);
26902 if (PyErr_Occurred()) SWIG_fail;
26903 }
26904 Py_INCREF(Py_None); resultobj = Py_None;
26905 return resultobj;
26906 fail:
26907 return NULL;
26908}
26909
26910
c32bde28 26911static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26912 PyObject *resultobj = NULL;
d14a1e28
RD
26913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26914 long arg2 ;
26915 PyObject * obj0 = 0 ;
994141e6 26916 PyObject * obj1 = 0 ;
d14a1e28
RD
26917 char *kwnames[] = {
26918 (char *) "self",(char *) "item", NULL
26919 };
26920
994141e6 26921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail;
26924 {
32fe5131 26925 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26926 if (SWIG_arg_fail(2)) SWIG_fail;
26927 }
d14a1e28
RD
26928 {
26929 PyThreadState* __tstate = wxPyBeginAllowThreads();
26930 (arg1)->EditLabel(arg2);
26931
26932 wxPyEndAllowThreads(__tstate);
26933 if (PyErr_Occurred()) SWIG_fail;
26934 }
26935 Py_INCREF(Py_None); resultobj = Py_None;
26936 return resultobj;
26937 fail:
26938 return NULL;
26939}
26940
26941
c32bde28 26942static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26943 PyObject *resultobj = NULL;
d14a1e28
RD
26944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26945 long arg2 ;
26946 bool result;
26947 PyObject * obj0 = 0 ;
994141e6 26948 PyObject * obj1 = 0 ;
d14a1e28
RD
26949 char *kwnames[] = {
26950 (char *) "self",(char *) "item", NULL
26951 };
26952
994141e6 26953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail;
26956 {
32fe5131 26957 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26958 if (SWIG_arg_fail(2)) SWIG_fail;
26959 }
d14a1e28
RD
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 result = (bool)(arg1)->EnsureVisible(arg2);
26963
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
4f89f6a3
RD
26967 {
26968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26969 }
d14a1e28
RD
26970 return resultobj;
26971 fail:
26972 return NULL;
26973}
26974
26975
c32bde28 26976static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26977 PyObject *resultobj = NULL;
d14a1e28
RD
26978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26979 long arg2 ;
26980 wxString *arg3 = 0 ;
ae8162c8 26981 bool arg4 = (bool) false ;
d14a1e28 26982 long result;
ae8162c8 26983 bool temp3 = false ;
d14a1e28 26984 PyObject * obj0 = 0 ;
994141e6 26985 PyObject * obj1 = 0 ;
d14a1e28
RD
26986 PyObject * obj2 = 0 ;
26987 PyObject * obj3 = 0 ;
26988 char *kwnames[] = {
26989 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
26990 };
26991
994141e6 26992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26994 if (SWIG_arg_fail(1)) SWIG_fail;
26995 {
32fe5131 26996 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26997 if (SWIG_arg_fail(2)) SWIG_fail;
26998 }
d14a1e28
RD
26999 {
27000 arg3 = wxString_in_helper(obj2);
27001 if (arg3 == NULL) SWIG_fail;
ae8162c8 27002 temp3 = true;
d14a1e28
RD
27003 }
27004 if (obj3) {
093d3ff1 27005 {
32fe5131 27006 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
27007 if (SWIG_arg_fail(4)) SWIG_fail;
27008 }
d14a1e28
RD
27009 }
27010 {
27011 PyThreadState* __tstate = wxPyBeginAllowThreads();
27012 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
27013
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
093d3ff1 27017 {
32fe5131 27018 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27019 }
d14a1e28
RD
27020 {
27021 if (temp3)
27022 delete arg3;
27023 }
27024 return resultobj;
27025 fail:
27026 {
27027 if (temp3)
27028 delete arg3;
27029 }
27030 return NULL;
27031}
27032
27033
c32bde28 27034static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27035 PyObject *resultobj = NULL;
d14a1e28
RD
27036 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27037 long arg2 ;
27038 long arg3 ;
27039 long result;
27040 PyObject * obj0 = 0 ;
994141e6
RD
27041 PyObject * obj1 = 0 ;
27042 PyObject * obj2 = 0 ;
d14a1e28
RD
27043 char *kwnames[] = {
27044 (char *) "self",(char *) "start",(char *) "data", NULL
27045 };
27046
994141e6 27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27049 if (SWIG_arg_fail(1)) SWIG_fail;
27050 {
32fe5131 27051 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27052 if (SWIG_arg_fail(2)) SWIG_fail;
27053 }
27054 {
32fe5131 27055 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
27056 if (SWIG_arg_fail(3)) SWIG_fail;
27057 }
d14a1e28
RD
27058 {
27059 PyThreadState* __tstate = wxPyBeginAllowThreads();
27060 result = (long)(arg1)->FindItem(arg2,arg3);
27061
27062 wxPyEndAllowThreads(__tstate);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
093d3ff1 27065 {
32fe5131 27066 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27067 }
d14a1e28
RD
27068 return resultobj;
27069 fail:
27070 return NULL;
27071}
27072
27073
c32bde28 27074static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27075 PyObject *resultobj = NULL;
d14a1e28
RD
27076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27077 long arg2 ;
27078 wxPoint *arg3 = 0 ;
27079 int arg4 ;
27080 long result;
27081 wxPoint temp3 ;
27082 PyObject * obj0 = 0 ;
994141e6 27083 PyObject * obj1 = 0 ;
d14a1e28 27084 PyObject * obj2 = 0 ;
994141e6 27085 PyObject * obj3 = 0 ;
d14a1e28
RD
27086 char *kwnames[] = {
27087 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27088 };
27089
994141e6 27090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail;
27093 {
32fe5131 27094 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27095 if (SWIG_arg_fail(2)) SWIG_fail;
27096 }
d14a1e28
RD
27097 {
27098 arg3 = &temp3;
27099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27100 }
093d3ff1 27101 {
32fe5131 27102 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27103 if (SWIG_arg_fail(4)) SWIG_fail;
27104 }
d14a1e28
RD
27105 {
27106 PyThreadState* __tstate = wxPyBeginAllowThreads();
27107 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
27108
27109 wxPyEndAllowThreads(__tstate);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 }
093d3ff1 27112 {
32fe5131 27113 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27114 }
d14a1e28
RD
27115 return resultobj;
27116 fail:
27117 return NULL;
27118}
27119
27120
c32bde28 27121static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27122 PyObject *resultobj = NULL;
d14a1e28
RD
27123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27124 wxPoint *arg2 = 0 ;
27125 int *arg3 = 0 ;
27126 long result;
27127 wxPoint temp2 ;
27128 int temp3 ;
c32bde28 27129 int res3 = 0 ;
d14a1e28
RD
27130 PyObject * obj0 = 0 ;
27131 PyObject * obj1 = 0 ;
27132 char *kwnames[] = {
27133 (char *) "self",(char *) "point", NULL
27134 };
27135
c32bde28 27136 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 27137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27140 {
27141 arg2 = &temp2;
27142 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27143 }
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
093d3ff1 27151 {
32fe5131 27152 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27153 }
c32bde28
RD
27154 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27155 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27156 return resultobj;
27157 fail:
27158 return NULL;
27159}
27160
27161
c32bde28 27162static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27163 PyObject *resultobj = NULL;
d14a1e28
RD
27164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27165 wxListItem *arg2 = 0 ;
27166 long result;
27167 PyObject * obj0 = 0 ;
27168 PyObject * obj1 = 0 ;
27169 char *kwnames[] = {
27170 (char *) "self",(char *) "info", NULL
27171 };
27172
27173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27175 if (SWIG_arg_fail(1)) SWIG_fail;
27176 {
27177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27178 if (SWIG_arg_fail(2)) SWIG_fail;
27179 if (arg2 == NULL) {
27180 SWIG_null_ref("wxListItem");
27181 }
27182 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27183 }
27184 {
27185 PyThreadState* __tstate = wxPyBeginAllowThreads();
27186 result = (long)(arg1)->InsertItem(*arg2);
27187
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
093d3ff1 27191 {
32fe5131 27192 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27193 }
d14a1e28
RD
27194 return resultobj;
27195 fail:
27196 return NULL;
27197}
27198
27199
c32bde28 27200static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27201 PyObject *resultobj = NULL;
d14a1e28
RD
27202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27203 long arg2 ;
27204 wxString *arg3 = 0 ;
32fe5131 27205 int arg4 = (int) -1 ;
d14a1e28 27206 long result;
ae8162c8 27207 bool temp3 = false ;
d14a1e28 27208 PyObject * obj0 = 0 ;
994141e6 27209 PyObject * obj1 = 0 ;
d14a1e28 27210 PyObject * obj2 = 0 ;
32fe5131 27211 PyObject * obj3 = 0 ;
d14a1e28 27212 char *kwnames[] = {
32fe5131 27213 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
d14a1e28
RD
27214 };
27215
32fe5131 27216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27218 if (SWIG_arg_fail(1)) SWIG_fail;
27219 {
32fe5131 27220 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27221 if (SWIG_arg_fail(2)) SWIG_fail;
27222 }
d14a1e28
RD
27223 {
27224 arg3 = wxString_in_helper(obj2);
27225 if (arg3 == NULL) SWIG_fail;
ae8162c8 27226 temp3 = true;
d14a1e28 27227 }
32fe5131
RD
27228 if (obj3) {
27229 {
27230 arg4 = static_cast<int >(SWIG_As_int(obj3));
27231 if (SWIG_arg_fail(4)) SWIG_fail;
27232 }
27233 }
d14a1e28
RD
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 27236 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
d14a1e28
RD
27237
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
093d3ff1 27241 {
32fe5131 27242 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27243 }
d14a1e28
RD
27244 {
27245 if (temp3)
27246 delete arg3;
27247 }
27248 return resultobj;
27249 fail:
27250 {
27251 if (temp3)
27252 delete arg3;
27253 }
27254 return NULL;
27255}
27256
27257
c32bde28 27258static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27259 PyObject *resultobj = NULL;
d14a1e28
RD
27260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27261 long arg2 ;
27262 int arg3 ;
27263 long result;
27264 PyObject * obj0 = 0 ;
994141e6
RD
27265 PyObject * obj1 = 0 ;
27266 PyObject * obj2 = 0 ;
d14a1e28
RD
27267 char *kwnames[] = {
27268 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27269 };
27270
994141e6 27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail;
27274 {
32fe5131 27275 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27276 if (SWIG_arg_fail(2)) SWIG_fail;
27277 }
27278 {
32fe5131 27279 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27280 if (SWIG_arg_fail(3)) SWIG_fail;
27281 }
d14a1e28
RD
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 result = (long)(arg1)->InsertItem(arg2,arg3);
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
093d3ff1 27289 {
32fe5131 27290 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27291 }
d14a1e28
RD
27292 return resultobj;
27293 fail:
27294 return NULL;
27295}
27296
27297
c32bde28 27298static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27299 PyObject *resultobj = NULL;
d14a1e28
RD
27300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27301 long arg2 ;
27302 wxString *arg3 = 0 ;
27303 int arg4 ;
27304 long result;
ae8162c8 27305 bool temp3 = false ;
d14a1e28 27306 PyObject * obj0 = 0 ;
994141e6 27307 PyObject * obj1 = 0 ;
d14a1e28 27308 PyObject * obj2 = 0 ;
994141e6 27309 PyObject * obj3 = 0 ;
d14a1e28
RD
27310 char *kwnames[] = {
27311 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27312 };
27313
994141e6 27314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27316 if (SWIG_arg_fail(1)) SWIG_fail;
27317 {
32fe5131 27318 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27319 if (SWIG_arg_fail(2)) SWIG_fail;
27320 }
d14a1e28
RD
27321 {
27322 arg3 = wxString_in_helper(obj2);
27323 if (arg3 == NULL) SWIG_fail;
ae8162c8 27324 temp3 = true;
d14a1e28 27325 }
093d3ff1 27326 {
32fe5131 27327 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27328 if (SWIG_arg_fail(4)) SWIG_fail;
27329 }
d14a1e28
RD
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27333
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
093d3ff1 27337 {
32fe5131 27338 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27339 }
d14a1e28
RD
27340 {
27341 if (temp3)
27342 delete arg3;
27343 }
27344 return resultobj;
27345 fail:
27346 {
27347 if (temp3)
27348 delete arg3;
27349 }
27350 return NULL;
27351}
27352
27353
a3957d3d 27354static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27355 PyObject *resultobj = NULL;
d14a1e28
RD
27356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27357 long arg2 ;
27358 wxListItem *arg3 = 0 ;
27359 long result;
27360 PyObject * obj0 = 0 ;
994141e6 27361 PyObject * obj1 = 0 ;
d14a1e28
RD
27362 PyObject * obj2 = 0 ;
27363 char *kwnames[] = {
27364 (char *) "self",(char *) "col",(char *) "info", NULL
27365 };
27366
a3957d3d 27367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27369 if (SWIG_arg_fail(1)) SWIG_fail;
27370 {
32fe5131 27371 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27372 if (SWIG_arg_fail(2)) SWIG_fail;
27373 }
27374 {
27375 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27376 if (SWIG_arg_fail(3)) SWIG_fail;
27377 if (arg3 == NULL) {
27378 SWIG_null_ref("wxListItem");
27379 }
27380 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
27381 }
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 result = (long)(arg1)->InsertColumn(arg2,*arg3);
27385
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
093d3ff1 27389 {
32fe5131 27390 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27391 }
d14a1e28
RD
27392 return resultobj;
27393 fail:
27394 return NULL;
27395}
27396
27397
c32bde28 27398static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27399 PyObject *resultobj = NULL;
d14a1e28
RD
27400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27401 long arg2 ;
27402 wxString *arg3 = 0 ;
27403 int arg4 = (int) wxLIST_FORMAT_LEFT ;
27404 int arg5 = (int) -1 ;
27405 long result;
ae8162c8 27406 bool temp3 = false ;
d14a1e28 27407 PyObject * obj0 = 0 ;
994141e6 27408 PyObject * obj1 = 0 ;
d14a1e28 27409 PyObject * obj2 = 0 ;
994141e6
RD
27410 PyObject * obj3 = 0 ;
27411 PyObject * obj4 = 0 ;
d14a1e28
RD
27412 char *kwnames[] = {
27413 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27414 };
27415
994141e6 27416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
27417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail;
27419 {
32fe5131 27420 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27421 if (SWIG_arg_fail(2)) SWIG_fail;
27422 }
d14a1e28
RD
27423 {
27424 arg3 = wxString_in_helper(obj2);
27425 if (arg3 == NULL) SWIG_fail;
ae8162c8 27426 temp3 = true;
d14a1e28 27427 }
994141e6 27428 if (obj3) {
093d3ff1 27429 {
32fe5131 27430 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27431 if (SWIG_arg_fail(4)) SWIG_fail;
27432 }
994141e6
RD
27433 }
27434 if (obj4) {
093d3ff1 27435 {
32fe5131 27436 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
27437 if (SWIG_arg_fail(5)) SWIG_fail;
27438 }
994141e6 27439 }
d14a1e28
RD
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
093d3ff1 27447 {
32fe5131 27448 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27449 }
d14a1e28
RD
27450 {
27451 if (temp3)
27452 delete arg3;
27453 }
27454 return resultobj;
27455 fail:
27456 {
27457 if (temp3)
27458 delete arg3;
27459 }
27460 return NULL;
27461}
27462
27463
c32bde28 27464static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27465 PyObject *resultobj = NULL;
d14a1e28
RD
27466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27467 long arg2 ;
27468 PyObject * obj0 = 0 ;
994141e6 27469 PyObject * obj1 = 0 ;
d14a1e28
RD
27470 char *kwnames[] = {
27471 (char *) "self",(char *) "count", NULL
27472 };
27473
994141e6 27474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27476 if (SWIG_arg_fail(1)) SWIG_fail;
27477 {
32fe5131 27478 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27479 if (SWIG_arg_fail(2)) SWIG_fail;
27480 }
d14a1e28
RD
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 (arg1)->SetItemCount(arg2);
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 Py_INCREF(Py_None); resultobj = Py_None;
27489 return resultobj;
27490 fail:
27491 return NULL;
27492}
27493
27494
c32bde28 27495static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27496 PyObject *resultobj = NULL;
d14a1e28
RD
27497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27498 int arg2 ;
27499 int arg3 ;
27500 bool result;
27501 PyObject * obj0 = 0 ;
994141e6
RD
27502 PyObject * obj1 = 0 ;
27503 PyObject * obj2 = 0 ;
d14a1e28
RD
27504 char *kwnames[] = {
27505 (char *) "self",(char *) "dx",(char *) "dy", NULL
27506 };
27507
994141e6 27508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27510 if (SWIG_arg_fail(1)) SWIG_fail;
27511 {
32fe5131 27512 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27513 if (SWIG_arg_fail(2)) SWIG_fail;
27514 }
27515 {
32fe5131 27516 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27517 if (SWIG_arg_fail(3)) SWIG_fail;
27518 }
d14a1e28
RD
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 result = (bool)(arg1)->ScrollList(arg2,arg3);
27522
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
4f89f6a3
RD
27526 {
27527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27528 }
d14a1e28
RD
27529 return resultobj;
27530 fail:
27531 return NULL;
27532}
27533
27534
c32bde28 27535static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27536 PyObject *resultobj = NULL;
d14a1e28
RD
27537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27538 long arg2 ;
27539 wxColour *arg3 = 0 ;
27540 wxColour temp3 ;
27541 PyObject * obj0 = 0 ;
994141e6 27542 PyObject * obj1 = 0 ;
d14a1e28
RD
27543 PyObject * obj2 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self",(char *) "item",(char *) "col", NULL
27546 };
27547
994141e6 27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail;
27551 {
32fe5131 27552 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27553 if (SWIG_arg_fail(2)) SWIG_fail;
27554 }
d14a1e28
RD
27555 {
27556 arg3 = &temp3;
27557 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27558 }
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 Py_INCREF(Py_None); resultobj = Py_None;
27567 return resultobj;
27568 fail:
27569 return NULL;
27570}
27571
27572
c32bde28 27573static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27574 PyObject *resultobj = NULL;
d14a1e28
RD
27575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27576 long arg2 ;
27577 wxColour result;
27578 PyObject * obj0 = 0 ;
994141e6 27579 PyObject * obj1 = 0 ;
d14a1e28
RD
27580 char *kwnames[] = {
27581 (char *) "self",(char *) "item", NULL
27582 };
27583
994141e6 27584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27586 if (SWIG_arg_fail(1)) SWIG_fail;
27587 {
32fe5131 27588 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27589 if (SWIG_arg_fail(2)) SWIG_fail;
27590 }
d14a1e28
RD
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
27594
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 {
27599 wxColour * resultptr;
32fe5131 27600 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 27601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
27602 }
27603 return resultobj;
27604 fail:
27605 return NULL;
27606}
27607
27608
c32bde28 27609static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27610 PyObject *resultobj = NULL;
d14a1e28
RD
27611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27612 long arg2 ;
27613 wxColour *arg3 = 0 ;
27614 wxColour temp3 ;
27615 PyObject * obj0 = 0 ;
994141e6 27616 PyObject * obj1 = 0 ;
d14a1e28
RD
27617 PyObject * obj2 = 0 ;
27618 char *kwnames[] = {
27619 (char *) "self",(char *) "item",(char *) "col", NULL
27620 };
27621
994141e6 27622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail;
27625 {
32fe5131 27626 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27627 if (SWIG_arg_fail(2)) SWIG_fail;
27628 }
d14a1e28
RD
27629 {
27630 arg3 = &temp3;
27631 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27632 }
27633 {
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
27636
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 Py_INCREF(Py_None); resultobj = Py_None;
27641 return resultobj;
27642 fail:
27643 return NULL;
27644}
27645
27646
c32bde28 27647static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27648 PyObject *resultobj = NULL;
d14a1e28
RD
27649 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27650 long arg2 ;
27651 wxColour result;
27652 PyObject * obj0 = 0 ;
994141e6 27653 PyObject * obj1 = 0 ;
d14a1e28
RD
27654 char *kwnames[] = {
27655 (char *) "self",(char *) "item", NULL
27656 };
27657
994141e6 27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27660 if (SWIG_arg_fail(1)) SWIG_fail;
27661 {
32fe5131 27662 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27663 if (SWIG_arg_fail(2)) SWIG_fail;
27664 }
d14a1e28
RD
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 {
27673 wxColour * resultptr;
32fe5131 27674 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 27675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
27676 }
27677 return resultobj;
27678 fail:
27679 return NULL;
27680}
27681
27682
943e8dfd 27683static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27684 PyObject *resultobj = NULL;
943e8dfd
RD
27685 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27686 long arg2 ;
27687 wxFont *arg3 = 0 ;
27688 PyObject * obj0 = 0 ;
27689 PyObject * obj1 = 0 ;
27690 PyObject * obj2 = 0 ;
27691 char *kwnames[] = {
27692 (char *) "self",(char *) "item",(char *) "f", NULL
27693 };
27694
27695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
27696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27697 if (SWIG_arg_fail(1)) SWIG_fail;
27698 {
32fe5131 27699 arg2 = static_cast<long >(SWIG_As_long(obj1));
943e8dfd
RD
27700 if (SWIG_arg_fail(2)) SWIG_fail;
27701 }
27702 {
27703 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
27704 if (SWIG_arg_fail(3)) SWIG_fail;
27705 if (arg3 == NULL) {
27706 SWIG_null_ref("wxFont");
27707 }
27708 if (SWIG_arg_fail(3)) SWIG_fail;
27709 }
27710 {
27711 PyThreadState* __tstate = wxPyBeginAllowThreads();
27712 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
27713
27714 wxPyEndAllowThreads(__tstate);
27715 if (PyErr_Occurred()) SWIG_fail;
27716 }
27717 Py_INCREF(Py_None); resultobj = Py_None;
27718 return resultobj;
27719 fail:
27720 return NULL;
27721}
27722
27723
27724static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27725 PyObject *resultobj = NULL;
943e8dfd
RD
27726 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27727 long arg2 ;
27728 wxFont result;
27729 PyObject * obj0 = 0 ;
27730 PyObject * obj1 = 0 ;
27731 char *kwnames[] = {
27732 (char *) "self",(char *) "item", NULL
27733 };
27734
27735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
27736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail;
27738 {
32fe5131 27739 arg2 = static_cast<long >(SWIG_As_long(obj1));
943e8dfd
RD
27740 if (SWIG_arg_fail(2)) SWIG_fail;
27741 }
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
27745
27746 wxPyEndAllowThreads(__tstate);
27747 if (PyErr_Occurred()) SWIG_fail;
27748 }
27749 {
27750 wxFont * resultptr;
32fe5131 27751 resultptr = new wxFont(static_cast<wxFont & >(result));
943e8dfd
RD
27752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
27753 }
27754 return resultobj;
27755 fail:
27756 return NULL;
27757}
27758
27759
c32bde28 27760static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27761 PyObject *resultobj = NULL;
d14a1e28
RD
27762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27763 PyObject *arg2 = (PyObject *) 0 ;
27764 bool result;
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self",(char *) "func", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27773 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27774 arg2 = obj1;
27775 {
27776 PyThreadState* __tstate = wxPyBeginAllowThreads();
27777 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
27778
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
4f89f6a3
RD
27782 {
27783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27784 }
d14a1e28
RD
27785 return resultobj;
27786 fail:
27787 return NULL;
27788}
27789
27790
c32bde28 27791static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27792 PyObject *resultobj = NULL;
d14a1e28
RD
27793 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27794 wxWindow *result;
27795 PyObject * obj0 = 0 ;
27796 char *kwnames[] = {
27797 (char *) "self", NULL
27798 };
27799
27800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
27801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27802 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27803 {
27804 PyThreadState* __tstate = wxPyBeginAllowThreads();
27805 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
27806
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 {
412d302d 27811 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
27812 }
27813 return resultobj;
27814 fail:
27815 return NULL;
27816}
27817
27818
c32bde28 27819static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27820 PyObject *resultobj = NULL;
093d3ff1 27821 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
27822 wxVisualAttributes result;
27823 PyObject * obj0 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "variant", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27829 if (obj0) {
093d3ff1 27830 {
32fe5131 27831 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
27832 if (SWIG_arg_fail(1)) SWIG_fail;
27833 }
74a57fcd
RD
27834 }
27835 {
110da5b0 27836 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd 27837 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 27838 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
74a57fcd
RD
27839
27840 wxPyEndAllowThreads(__tstate);
dfbb5885 27841 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
27842 }
27843 {
27844 wxVisualAttributes * resultptr;
32fe5131 27845 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
74a57fcd
RD
27846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27847 }
27848 return resultobj;
27849 fail:
27850 return NULL;
27851}
27852
27853
c32bde28 27854static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27855 PyObject *obj;
27856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27857 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
27858 Py_INCREF(obj);
27859 return Py_BuildValue((char *)"");
27860}
c32bde28 27861static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27862 PyObject *resultobj = NULL;
d14a1e28 27863 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27864 int arg2 = (int) -1 ;
d14a1e28
RD
27865 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27866 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27867 wxSize const &arg4_defvalue = wxDefaultSize ;
27868 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27869 long arg5 = (long) wxLC_REPORT ;
27870 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27871 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27872 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
27873 wxString *arg7 = (wxString *) &arg7_defvalue ;
27874 wxListView *result;
27875 wxPoint temp3 ;
27876 wxSize temp4 ;
ae8162c8 27877 bool temp7 = false ;
d14a1e28 27878 PyObject * obj0 = 0 ;
994141e6 27879 PyObject * obj1 = 0 ;
d14a1e28
RD
27880 PyObject * obj2 = 0 ;
27881 PyObject * obj3 = 0 ;
994141e6 27882 PyObject * obj4 = 0 ;
d14a1e28
RD
27883 PyObject * obj5 = 0 ;
27884 PyObject * obj6 = 0 ;
27885 char *kwnames[] = {
27886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27887 };
27888
994141e6 27889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27891 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27892 if (obj1) {
093d3ff1 27893 {
32fe5131 27894 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27895 if (SWIG_arg_fail(2)) SWIG_fail;
27896 }
994141e6 27897 }
d14a1e28
RD
27898 if (obj2) {
27899 {
27900 arg3 = &temp3;
27901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27902 }
27903 }
27904 if (obj3) {
27905 {
27906 arg4 = &temp4;
27907 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27908 }
27909 }
994141e6 27910 if (obj4) {
093d3ff1 27911 {
32fe5131 27912 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
27913 if (SWIG_arg_fail(5)) SWIG_fail;
27914 }
994141e6 27915 }
d14a1e28 27916 if (obj5) {
093d3ff1
RD
27917 {
27918 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27919 if (SWIG_arg_fail(6)) SWIG_fail;
27920 if (arg6 == NULL) {
27921 SWIG_null_ref("wxValidator");
27922 }
27923 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
27924 }
27925 }
27926 if (obj6) {
27927 {
27928 arg7 = wxString_in_helper(obj6);
27929 if (arg7 == NULL) SWIG_fail;
ae8162c8 27930 temp7 = true;
d14a1e28
RD
27931 }
27932 }
27933 {
e3b71cb8 27934 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27935 PyThreadState* __tstate = wxPyBeginAllowThreads();
27936 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27937
27938 wxPyEndAllowThreads(__tstate);
110da5b0 27939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27940 }
15afbcd0 27941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
27942 {
27943 if (temp7)
27944 delete arg7;
27945 }
27946 return resultobj;
27947 fail:
27948 {
27949 if (temp7)
27950 delete arg7;
27951 }
27952 return NULL;
27953}
27954
27955
c32bde28 27956static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27957 PyObject *resultobj = NULL;
d14a1e28
RD
27958 wxListView *result;
27959 char *kwnames[] = {
27960 NULL
27961 };
27962
27963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
27964 {
e3b71cb8 27965 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27966 PyThreadState* __tstate = wxPyBeginAllowThreads();
27967 result = (wxListView *)new wxListView();
27968
27969 wxPyEndAllowThreads(__tstate);
110da5b0 27970 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27971 }
15afbcd0 27972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
27973 return resultobj;
27974 fail:
27975 return NULL;
27976}
27977
27978
c32bde28 27979static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27980 PyObject *resultobj = NULL;
d14a1e28
RD
27981 wxListView *arg1 = (wxListView *) 0 ;
27982 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 27983 int arg3 = (int) -1 ;
d14a1e28
RD
27984 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27985 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27986 wxSize const &arg5_defvalue = wxDefaultSize ;
27987 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27988 long arg6 = (long) wxLC_REPORT ;
27989 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27990 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27991 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
27992 wxString *arg8 = (wxString *) &arg8_defvalue ;
27993 bool result;
27994 wxPoint temp4 ;
27995 wxSize temp5 ;
ae8162c8 27996 bool temp8 = false ;
d14a1e28
RD
27997 PyObject * obj0 = 0 ;
27998 PyObject * obj1 = 0 ;
994141e6 27999 PyObject * obj2 = 0 ;
d14a1e28
RD
28000 PyObject * obj3 = 0 ;
28001 PyObject * obj4 = 0 ;
994141e6 28002 PyObject * obj5 = 0 ;
d14a1e28
RD
28003 PyObject * obj6 = 0 ;
28004 PyObject * obj7 = 0 ;
28005 char *kwnames[] = {
28006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28007 };
28008
994141e6 28009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28011 if (SWIG_arg_fail(1)) SWIG_fail;
28012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28013 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 28014 if (obj2) {
093d3ff1 28015 {
32fe5131 28016 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
28017 if (SWIG_arg_fail(3)) SWIG_fail;
28018 }
994141e6 28019 }
d14a1e28
RD
28020 if (obj3) {
28021 {
28022 arg4 = &temp4;
28023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28024 }
28025 }
28026 if (obj4) {
28027 {
28028 arg5 = &temp5;
28029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28030 }
28031 }
994141e6 28032 if (obj5) {
093d3ff1 28033 {
32fe5131 28034 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
28035 if (SWIG_arg_fail(6)) SWIG_fail;
28036 }
994141e6 28037 }
d14a1e28 28038 if (obj6) {
093d3ff1
RD
28039 {
28040 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28041 if (SWIG_arg_fail(7)) SWIG_fail;
28042 if (arg7 == NULL) {
28043 SWIG_null_ref("wxValidator");
28044 }
28045 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
28046 }
28047 }
28048 if (obj7) {
28049 {
28050 arg8 = wxString_in_helper(obj7);
28051 if (arg8 == NULL) SWIG_fail;
ae8162c8 28052 temp8 = true;
d14a1e28
RD
28053 }
28054 }
28055 {
28056 PyThreadState* __tstate = wxPyBeginAllowThreads();
28057 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28058
28059 wxPyEndAllowThreads(__tstate);
28060 if (PyErr_Occurred()) SWIG_fail;
28061 }
4f89f6a3
RD
28062 {
28063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28064 }
d14a1e28
RD
28065 {
28066 if (temp8)
28067 delete arg8;
28068 }
28069 return resultobj;
28070 fail:
28071 {
28072 if (temp8)
28073 delete arg8;
28074 }
28075 return NULL;
28076}
28077
28078
c32bde28 28079static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28080 PyObject *resultobj = NULL;
d14a1e28
RD
28081 wxListView *arg1 = (wxListView *) 0 ;
28082 long arg2 ;
ae8162c8 28083 bool arg3 = (bool) true ;
d14a1e28 28084 PyObject * obj0 = 0 ;
994141e6 28085 PyObject * obj1 = 0 ;
d14a1e28
RD
28086 PyObject * obj2 = 0 ;
28087 char *kwnames[] = {
28088 (char *) "self",(char *) "n",(char *) "on", NULL
28089 };
28090
15afbcd0 28091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28093 if (SWIG_arg_fail(1)) SWIG_fail;
28094 {
32fe5131 28095 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28096 if (SWIG_arg_fail(2)) SWIG_fail;
28097 }
d14a1e28 28098 if (obj2) {
093d3ff1 28099 {
32fe5131 28100 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
28101 if (SWIG_arg_fail(3)) SWIG_fail;
28102 }
d14a1e28
RD
28103 }
28104 {
28105 PyThreadState* __tstate = wxPyBeginAllowThreads();
28106 (arg1)->Select(arg2,arg3);
28107
28108 wxPyEndAllowThreads(__tstate);
28109 if (PyErr_Occurred()) SWIG_fail;
28110 }
28111 Py_INCREF(Py_None); resultobj = Py_None;
28112 return resultobj;
28113 fail:
28114 return NULL;
28115}
28116
28117
c32bde28 28118static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28119 PyObject *resultobj = NULL;
d14a1e28
RD
28120 wxListView *arg1 = (wxListView *) 0 ;
28121 long arg2 ;
28122 PyObject * obj0 = 0 ;
994141e6 28123 PyObject * obj1 = 0 ;
d14a1e28
RD
28124 char *kwnames[] = {
28125 (char *) "self",(char *) "index", NULL
28126 };
28127
994141e6 28128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail;
28131 {
32fe5131 28132 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28133 if (SWIG_arg_fail(2)) SWIG_fail;
28134 }
d14a1e28
RD
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 (arg1)->Focus(arg2);
28138
28139 wxPyEndAllowThreads(__tstate);
28140 if (PyErr_Occurred()) SWIG_fail;
28141 }
28142 Py_INCREF(Py_None); resultobj = Py_None;
28143 return resultobj;
28144 fail:
28145 return NULL;
28146}
28147
28148
c32bde28 28149static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28150 PyObject *resultobj = NULL;
d14a1e28
RD
28151 wxListView *arg1 = (wxListView *) 0 ;
28152 long result;
28153 PyObject * obj0 = 0 ;
28154 char *kwnames[] = {
28155 (char *) "self", NULL
28156 };
28157
28158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28160 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28161 {
28162 PyThreadState* __tstate = wxPyBeginAllowThreads();
28163 result = (long)((wxListView const *)arg1)->GetFocusedItem();
28164
28165 wxPyEndAllowThreads(__tstate);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 }
093d3ff1 28168 {
32fe5131 28169 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28170 }
d14a1e28
RD
28171 return resultobj;
28172 fail:
28173 return NULL;
28174}
28175
28176
c32bde28 28177static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28178 PyObject *resultobj = NULL;
d14a1e28
RD
28179 wxListView *arg1 = (wxListView *) 0 ;
28180 long arg2 ;
28181 long result;
28182 PyObject * obj0 = 0 ;
994141e6 28183 PyObject * obj1 = 0 ;
d14a1e28
RD
28184 char *kwnames[] = {
28185 (char *) "self",(char *) "item", NULL
28186 };
28187
994141e6 28188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail;
28191 {
32fe5131 28192 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28193 if (SWIG_arg_fail(2)) SWIG_fail;
28194 }
d14a1e28
RD
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
28198
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
093d3ff1 28202 {
32fe5131 28203 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28204 }
d14a1e28
RD
28205 return resultobj;
28206 fail:
28207 return NULL;
28208}
28209
28210
c32bde28 28211static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28212 PyObject *resultobj = NULL;
d14a1e28
RD
28213 wxListView *arg1 = (wxListView *) 0 ;
28214 long result;
28215 PyObject * obj0 = 0 ;
28216 char *kwnames[] = {
28217 (char *) "self", NULL
28218 };
28219
28220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
28221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28222 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28223 {
28224 PyThreadState* __tstate = wxPyBeginAllowThreads();
28225 result = (long)((wxListView const *)arg1)->GetFirstSelected();
28226
28227 wxPyEndAllowThreads(__tstate);
28228 if (PyErr_Occurred()) SWIG_fail;
28229 }
093d3ff1 28230 {
32fe5131 28231 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28232 }
d14a1e28
RD
28233 return resultobj;
28234 fail:
28235 return NULL;
28236}
28237
28238
c32bde28 28239static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28240 PyObject *resultobj = NULL;
d14a1e28
RD
28241 wxListView *arg1 = (wxListView *) 0 ;
28242 long arg2 ;
28243 bool result;
28244 PyObject * obj0 = 0 ;
994141e6 28245 PyObject * obj1 = 0 ;
d14a1e28
RD
28246 char *kwnames[] = {
28247 (char *) "self",(char *) "index", NULL
28248 };
28249
994141e6 28250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28252 if (SWIG_arg_fail(1)) SWIG_fail;
28253 {
32fe5131 28254 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28255 if (SWIG_arg_fail(2)) SWIG_fail;
28256 }
d14a1e28
RD
28257 {
28258 PyThreadState* __tstate = wxPyBeginAllowThreads();
28259 result = (bool)(arg1)->IsSelected(arg2);
28260
28261 wxPyEndAllowThreads(__tstate);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
4f89f6a3
RD
28264 {
28265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28266 }
d14a1e28
RD
28267 return resultobj;
28268 fail:
28269 return NULL;
28270}
28271
28272
c32bde28 28273static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28274 PyObject *resultobj = NULL;
d14a1e28
RD
28275 wxListView *arg1 = (wxListView *) 0 ;
28276 int arg2 ;
28277 int arg3 ;
28278 PyObject * obj0 = 0 ;
994141e6
RD
28279 PyObject * obj1 = 0 ;
28280 PyObject * obj2 = 0 ;
d14a1e28
RD
28281 char *kwnames[] = {
28282 (char *) "self",(char *) "col",(char *) "image", NULL
28283 };
28284
994141e6 28285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28287 if (SWIG_arg_fail(1)) SWIG_fail;
28288 {
32fe5131 28289 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28290 if (SWIG_arg_fail(2)) SWIG_fail;
28291 }
28292 {
32fe5131 28293 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
28294 if (SWIG_arg_fail(3)) SWIG_fail;
28295 }
d14a1e28
RD
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 (arg1)->SetColumnImage(arg2,arg3);
28299
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
28303 Py_INCREF(Py_None); resultobj = Py_None;
28304 return resultobj;
28305 fail:
28306 return NULL;
28307}
28308
28309
c32bde28 28310static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28311 PyObject *resultobj = NULL;
d14a1e28
RD
28312 wxListView *arg1 = (wxListView *) 0 ;
28313 int arg2 ;
28314 PyObject * obj0 = 0 ;
994141e6 28315 PyObject * obj1 = 0 ;
d14a1e28
RD
28316 char *kwnames[] = {
28317 (char *) "self",(char *) "col", NULL
28318 };
28319
994141e6 28320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28322 if (SWIG_arg_fail(1)) SWIG_fail;
28323 {
32fe5131 28324 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28325 if (SWIG_arg_fail(2)) SWIG_fail;
28326 }
d14a1e28
RD
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 (arg1)->ClearColumnImage(arg2);
28330
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 Py_INCREF(Py_None); resultobj = Py_None;
28335 return resultobj;
28336 fail:
28337 return NULL;
28338}
28339
28340
c32bde28 28341static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28342 PyObject *obj;
28343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28344 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
28345 Py_INCREF(obj);
28346 return Py_BuildValue((char *)"");
28347}
c32bde28 28348static int _wrap_TreeCtrlNameStr_set(PyObject *) {
b2dc1044
RD
28349 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
28350 return 1;
28351}
28352
28353
093d3ff1 28354static PyObject *_wrap_TreeCtrlNameStr_get(void) {
32fe5131 28355 PyObject *pyobj = NULL;
b2dc1044
RD
28356
28357 {
28358#if wxUSE_UNICODE
28359 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28360#else
28361 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28362#endif
28363 }
28364 return pyobj;
28365}
28366
28367
c32bde28 28368static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28369 PyObject *resultobj = NULL;
d14a1e28
RD
28370 wxTreeItemId *result;
28371 char *kwnames[] = {
28372 NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
28376 {
28377 PyThreadState* __tstate = wxPyBeginAllowThreads();
28378 result = (wxTreeItemId *)new wxTreeItemId();
28379
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
15afbcd0 28383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
28384 return resultobj;
28385 fail:
28386 return NULL;
28387}
28388
28389
c32bde28 28390static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28391 PyObject *resultobj = NULL;
d14a1e28
RD
28392 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28393 PyObject * obj0 = 0 ;
28394 char *kwnames[] = {
28395 (char *) "self", NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 delete arg1;
28404
28405 wxPyEndAllowThreads(__tstate);
28406 if (PyErr_Occurred()) SWIG_fail;
28407 }
28408 Py_INCREF(Py_None); resultobj = Py_None;
28409 return resultobj;
28410 fail:
28411 return NULL;
28412}
28413
28414
c32bde28 28415static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28416 PyObject *resultobj = NULL;
d14a1e28
RD
28417 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28418 bool result;
28419 PyObject * obj0 = 0 ;
28420 char *kwnames[] = {
28421 (char *) "self", NULL
28422 };
28423
28424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
28425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
4f89f6a3
RD
28434 {
28435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28436 }
d14a1e28
RD
28437 return resultobj;
28438 fail:
28439 return NULL;
28440}
28441
28442
c32bde28 28443static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28444 PyObject *resultobj = NULL;
d14a1e28
RD
28445 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28446 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28447 bool result;
28448 PyObject * obj0 = 0 ;
28449 PyObject * obj1 = 0 ;
28450 char *kwnames[] = {
28451 (char *) "self",(char *) "other", NULL
28452 };
28453
28454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28456 if (SWIG_arg_fail(1)) SWIG_fail;
28457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28458 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 28461 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
28462
28463 wxPyEndAllowThreads(__tstate);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
4f89f6a3
RD
28466 {
28467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28468 }
d14a1e28
RD
28469 return resultobj;
28470 fail:
28471 return NULL;
28472}
28473
28474
c32bde28 28475static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28476 PyObject *resultobj = NULL;
d14a1e28
RD
28477 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28478 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28479 bool result;
28480 PyObject * obj0 = 0 ;
28481 PyObject * obj1 = 0 ;
28482 char *kwnames[] = {
28483 (char *) "self",(char *) "other", NULL
28484 };
28485
28486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail;
28489 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28490 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28491 {
28492 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 28493 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
28494
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
4f89f6a3
RD
28498 {
28499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28500 }
d14a1e28
RD
28501 return resultobj;
28502 fail:
28503 return NULL;
28504}
28505
28506
c32bde28 28507static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28508 PyObject *resultobj = NULL;
d14a1e28 28509 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 28510 void *arg2 = (void *) 0 ;
d14a1e28
RD
28511 PyObject * obj0 = 0 ;
28512 PyObject * obj1 = 0 ;
28513 char *kwnames[] = {
28514 (char *) "self",(char *) "m_pItem", NULL
28515 };
28516
28517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail;
28520 {
32fe5131 28521 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
093d3ff1
RD
28522 SWIG_arg_fail(2);SWIG_fail;
28523 }
28524 }
d14a1e28
RD
28525 if (arg1) (arg1)->m_pItem = arg2;
28526
28527 Py_INCREF(Py_None); resultobj = Py_None;
28528 return resultobj;
28529 fail:
28530 return NULL;
28531}
28532
28533
c32bde28 28534static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28535 PyObject *resultobj = NULL;
d14a1e28 28536 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 28537 void *result;
d14a1e28
RD
28538 PyObject * obj0 = 0 ;
28539 char *kwnames[] = {
28540 (char *) "self", NULL
28541 };
28542
28543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
28544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28545 if (SWIG_arg_fail(1)) SWIG_fail;
58203fa6 28546 result = (void *) ((arg1)->m_pItem);
d14a1e28 28547
15afbcd0 28548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
28549 return resultobj;
28550 fail:
28551 return NULL;
28552}
28553
28554
c32bde28 28555static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28556 PyObject *obj;
28557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28558 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
28559 Py_INCREF(obj);
28560 return Py_BuildValue((char *)"");
28561}
c32bde28 28562static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28563 PyObject *resultobj = NULL;
d14a1e28
RD
28564 PyObject *arg1 = (PyObject *) NULL ;
28565 wxPyTreeItemData *result;
28566 PyObject * obj0 = 0 ;
28567 char *kwnames[] = {
28568 (char *) "obj", NULL
28569 };
28570
28571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
28572 if (obj0) {
28573 arg1 = obj0;
28574 }
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
15afbcd0 28582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
28583 return resultobj;
28584 fail:
28585 return NULL;
28586}
28587
28588
7e08d4ef
RD
28589static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj = NULL;
28591 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28592 PyObject * obj0 = 0 ;
28593 char *kwnames[] = {
28594 (char *) "self", NULL
28595 };
28596
28597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail;
28598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail;
28600 {
28601 PyThreadState* __tstate = wxPyBeginAllowThreads();
28602 delete arg1;
28603
28604 wxPyEndAllowThreads(__tstate);
28605 if (PyErr_Occurred()) SWIG_fail;
28606 }
28607 Py_INCREF(Py_None); resultobj = Py_None;
28608 return resultobj;
28609 fail:
28610 return NULL;
28611}
28612
28613
c32bde28 28614static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28615 PyObject *resultobj = NULL;
d14a1e28
RD
28616 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28617 PyObject *result;
28618 PyObject * obj0 = 0 ;
28619 char *kwnames[] = {
28620 (char *) "self", NULL
28621 };
28622
28623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
28624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28625 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28626 {
28627 PyThreadState* __tstate = wxPyBeginAllowThreads();
28628 result = (PyObject *)(arg1)->GetData();
28629
28630 wxPyEndAllowThreads(__tstate);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 resultobj = result;
28634 return resultobj;
28635 fail:
28636 return NULL;
28637}
28638
28639
c32bde28 28640static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28641 PyObject *resultobj = NULL;
d14a1e28
RD
28642 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28643 PyObject *arg2 = (PyObject *) 0 ;
28644 PyObject * obj0 = 0 ;
28645 PyObject * obj1 = 0 ;
28646 char *kwnames[] = {
28647 (char *) "self",(char *) "obj", NULL
28648 };
28649
28650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28652 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28653 arg2 = obj1;
28654 {
28655 PyThreadState* __tstate = wxPyBeginAllowThreads();
28656 (arg1)->SetData(arg2);
28657
28658 wxPyEndAllowThreads(__tstate);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 }
28661 Py_INCREF(Py_None); resultobj = Py_None;
28662 return resultobj;
28663 fail:
28664 return NULL;
28665}
28666
28667
c32bde28 28668static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28669 PyObject *resultobj = NULL;
d14a1e28
RD
28670 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28671 wxTreeItemId *result;
28672 PyObject * obj0 = 0 ;
28673 char *kwnames[] = {
28674 (char *) "self", NULL
28675 };
28676
28677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28679 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28680 {
28681 PyThreadState* __tstate = wxPyBeginAllowThreads();
28682 {
28683 wxTreeItemId const &_result_ref = (arg1)->GetId();
28684 result = (wxTreeItemId *) &_result_ref;
28685 }
28686
28687 wxPyEndAllowThreads(__tstate);
28688 if (PyErr_Occurred()) SWIG_fail;
28689 }
15afbcd0 28690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
28691 return resultobj;
28692 fail:
28693 return NULL;
28694}
28695
28696
c32bde28 28697static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28698 PyObject *resultobj = NULL;
d14a1e28
RD
28699 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28700 wxTreeItemId *arg2 = 0 ;
28701 PyObject * obj0 = 0 ;
28702 PyObject * obj1 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self",(char *) "id", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail;
28710 {
28711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail;
28713 if (arg2 == NULL) {
28714 SWIG_null_ref("wxTreeItemId");
28715 }
28716 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28717 }
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 (arg1)->SetId((wxTreeItemId const &)*arg2);
28721
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 Py_INCREF(Py_None); resultobj = Py_None;
28726 return resultobj;
28727 fail:
28728 return NULL;
28729}
28730
28731
c32bde28 28732static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28733 PyObject *resultobj = NULL;
d14a1e28
RD
28734 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28735 PyObject * obj0 = 0 ;
28736 char *kwnames[] = {
28737 (char *) "self", NULL
28738 };
28739
28740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
28741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28742 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 wxPyTreeItemData_Destroy(arg1);
28746
28747 wxPyEndAllowThreads(__tstate);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 }
28750 Py_INCREF(Py_None); resultobj = Py_None;
28751 return resultobj;
28752 fail:
28753 return NULL;
28754}
28755
28756
c32bde28 28757static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28758 PyObject *obj;
28759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28760 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
28761 Py_INCREF(obj);
28762 return Py_BuildValue((char *)"");
28763}
c32bde28 28764static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28765 PyObject *resultobj = NULL;
d14a1e28
RD
28766 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28767 int arg2 = (int) 0 ;
28768 wxTreeEvent *result;
994141e6
RD
28769 PyObject * obj0 = 0 ;
28770 PyObject * obj1 = 0 ;
d14a1e28
RD
28771 char *kwnames[] = {
28772 (char *) "commandType",(char *) "id", NULL
28773 };
28774
994141e6
RD
28775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
28776 if (obj0) {
093d3ff1 28777 {
32fe5131 28778 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
28779 if (SWIG_arg_fail(1)) SWIG_fail;
28780 }
994141e6
RD
28781 }
28782 if (obj1) {
093d3ff1 28783 {
32fe5131 28784 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28785 if (SWIG_arg_fail(2)) SWIG_fail;
28786 }
994141e6 28787 }
d14a1e28
RD
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
28791
28792 wxPyEndAllowThreads(__tstate);
28793 if (PyErr_Occurred()) SWIG_fail;
28794 }
15afbcd0 28795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
28796 return resultobj;
28797 fail:
28798 return NULL;
28799}
28800
28801
c32bde28 28802static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28803 PyObject *resultobj = NULL;
d14a1e28
RD
28804 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28805 wxTreeItemId result;
28806 PyObject * obj0 = 0 ;
28807 char *kwnames[] = {
28808 (char *) "self", NULL
28809 };
28810
28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
28816 result = ((wxTreeEvent const *)arg1)->GetItem();
28817
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
28821 {
28822 wxTreeItemId * resultptr;
32fe5131 28823 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 28824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
28825 }
28826 return resultobj;
28827 fail:
28828 return NULL;
28829}
28830
28831
c32bde28 28832static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28833 PyObject *resultobj = NULL;
d14a1e28
RD
28834 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28835 wxTreeItemId *arg2 = 0 ;
28836 PyObject * obj0 = 0 ;
28837 PyObject * obj1 = 0 ;
28838 char *kwnames[] = {
28839 (char *) "self",(char *) "item", NULL
28840 };
28841
28842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28844 if (SWIG_arg_fail(1)) SWIG_fail;
28845 {
28846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28847 if (SWIG_arg_fail(2)) SWIG_fail;
28848 if (arg2 == NULL) {
28849 SWIG_null_ref("wxTreeItemId");
28850 }
28851 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28852 }
28853 {
28854 PyThreadState* __tstate = wxPyBeginAllowThreads();
28855 (arg1)->SetItem((wxTreeItemId const &)*arg2);
28856
28857 wxPyEndAllowThreads(__tstate);
28858 if (PyErr_Occurred()) SWIG_fail;
28859 }
28860 Py_INCREF(Py_None); resultobj = Py_None;
28861 return resultobj;
28862 fail:
28863 return NULL;
28864}
28865
28866
c32bde28 28867static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28868 PyObject *resultobj = NULL;
d14a1e28
RD
28869 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28870 wxTreeItemId result;
28871 PyObject * obj0 = 0 ;
28872 char *kwnames[] = {
28873 (char *) "self", NULL
28874 };
28875
28876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28878 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28879 {
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 result = ((wxTreeEvent const *)arg1)->GetOldItem();
28882
28883 wxPyEndAllowThreads(__tstate);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 {
28887 wxTreeItemId * resultptr;
32fe5131 28888 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 28889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
28890 }
28891 return resultobj;
28892 fail:
28893 return NULL;
28894}
28895
28896
c32bde28 28897static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28898 PyObject *resultobj = NULL;
d14a1e28
RD
28899 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28900 wxTreeItemId *arg2 = 0 ;
28901 PyObject * obj0 = 0 ;
28902 PyObject * obj1 = 0 ;
28903 char *kwnames[] = {
28904 (char *) "self",(char *) "item", NULL
28905 };
28906
28907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail;
28910 {
28911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28912 if (SWIG_arg_fail(2)) SWIG_fail;
28913 if (arg2 == NULL) {
28914 SWIG_null_ref("wxTreeItemId");
28915 }
28916 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28917 }
28918 {
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
28921
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 Py_INCREF(Py_None); resultobj = Py_None;
28926 return resultobj;
28927 fail:
28928 return NULL;
28929}
28930
28931
c32bde28 28932static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28933 PyObject *resultobj = NULL;
d14a1e28
RD
28934 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28935 wxPoint result;
28936 PyObject * obj0 = 0 ;
28937 char *kwnames[] = {
28938 (char *) "self", NULL
28939 };
28940
28941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
28942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28944 {
28945 PyThreadState* __tstate = wxPyBeginAllowThreads();
28946 result = ((wxTreeEvent const *)arg1)->GetPoint();
28947
28948 wxPyEndAllowThreads(__tstate);
28949 if (PyErr_Occurred()) SWIG_fail;
28950 }
28951 {
28952 wxPoint * resultptr;
32fe5131 28953 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 28954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
28955 }
28956 return resultobj;
28957 fail:
28958 return NULL;
28959}
28960
28961
c32bde28 28962static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28963 PyObject *resultobj = NULL;
d14a1e28
RD
28964 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28965 wxPoint *arg2 = 0 ;
28966 wxPoint temp2 ;
28967 PyObject * obj0 = 0 ;
28968 PyObject * obj1 = 0 ;
28969 char *kwnames[] = {
28970 (char *) "self",(char *) "pt", NULL
28971 };
28972
28973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28976 {
28977 arg2 = &temp2;
28978 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28979 }
28980 {
28981 PyThreadState* __tstate = wxPyBeginAllowThreads();
28982 (arg1)->SetPoint((wxPoint const &)*arg2);
28983
28984 wxPyEndAllowThreads(__tstate);
28985 if (PyErr_Occurred()) SWIG_fail;
28986 }
28987 Py_INCREF(Py_None); resultobj = Py_None;
28988 return resultobj;
28989 fail:
28990 return NULL;
28991}
28992
28993
c32bde28 28994static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28995 PyObject *resultobj = NULL;
d14a1e28
RD
28996 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28997 wxKeyEvent *result;
28998 PyObject * obj0 = 0 ;
28999 char *kwnames[] = {
29000 (char *) "self", NULL
29001 };
29002
29003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29005 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29006 {
29007 PyThreadState* __tstate = wxPyBeginAllowThreads();
29008 {
29009 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
29010 result = (wxKeyEvent *) &_result_ref;
29011 }
29012
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
15afbcd0 29016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
29017 return resultobj;
29018 fail:
29019 return NULL;
29020}
29021
29022
c32bde28 29023static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29024 PyObject *resultobj = NULL;
d14a1e28
RD
29025 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29026 int result;
29027 PyObject * obj0 = 0 ;
29028 char *kwnames[] = {
29029 (char *) "self", NULL
29030 };
29031
29032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
29033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29035 {
29036 PyThreadState* __tstate = wxPyBeginAllowThreads();
29037 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
29038
29039 wxPyEndAllowThreads(__tstate);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
093d3ff1 29042 {
32fe5131 29043 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 29044 }
d14a1e28
RD
29045 return resultobj;
29046 fail:
29047 return NULL;
29048}
29049
29050
c32bde28 29051static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29052 PyObject *resultobj = NULL;
d14a1e28
RD
29053 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29054 wxKeyEvent *arg2 = 0 ;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 char *kwnames[] = {
29058 (char *) "self",(char *) "evt", NULL
29059 };
29060
29061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29063 if (SWIG_arg_fail(1)) SWIG_fail;
29064 {
29065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
29066 if (SWIG_arg_fail(2)) SWIG_fail;
29067 if (arg2 == NULL) {
29068 SWIG_null_ref("wxKeyEvent");
29069 }
29070 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29071 }
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
29075
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
29079 Py_INCREF(Py_None); resultobj = Py_None;
29080 return resultobj;
29081 fail:
29082 return NULL;
29083}
29084
29085
c32bde28 29086static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29087 PyObject *resultobj = NULL;
d14a1e28
RD
29088 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29089 wxString *result;
29090 PyObject * obj0 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
29096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29098 {
29099 PyThreadState* __tstate = wxPyBeginAllowThreads();
29100 {
29101 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
29102 result = (wxString *) &_result_ref;
29103 }
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
cc6dd355
RD
29108 {
29109#if wxUSE_UNICODE
29110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29111#else
29112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29113#endif
29114 }
d14a1e28
RD
29115 return resultobj;
29116 fail:
29117 return NULL;
29118}
29119
29120
c32bde28 29121static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29122 PyObject *resultobj = NULL;
d14a1e28
RD
29123 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29124 wxString *arg2 = 0 ;
ae8162c8 29125 bool temp2 = false ;
d14a1e28
RD
29126 PyObject * obj0 = 0 ;
29127 PyObject * obj1 = 0 ;
29128 char *kwnames[] = {
29129 (char *) "self",(char *) "label", NULL
29130 };
29131
29132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29135 {
29136 arg2 = wxString_in_helper(obj1);
29137 if (arg2 == NULL) SWIG_fail;
ae8162c8 29138 temp2 = true;
d14a1e28
RD
29139 }
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 (arg1)->SetLabel((wxString const &)*arg2);
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
29147 Py_INCREF(Py_None); resultobj = Py_None;
29148 {
29149 if (temp2)
29150 delete arg2;
29151 }
29152 return resultobj;
29153 fail:
29154 {
29155 if (temp2)
29156 delete arg2;
29157 }
29158 return NULL;
29159}
29160
29161
c32bde28 29162static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29163 PyObject *resultobj = NULL;
d14a1e28
RD
29164 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29165 bool result;
29166 PyObject * obj0 = 0 ;
29167 char *kwnames[] = {
29168 (char *) "self", NULL
29169 };
29170
29171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
29172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29173 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
29177
29178 wxPyEndAllowThreads(__tstate);
29179 if (PyErr_Occurred()) SWIG_fail;
29180 }
4f89f6a3
RD
29181 {
29182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29183 }
d14a1e28
RD
29184 return resultobj;
29185 fail:
29186 return NULL;
29187}
29188
29189
c32bde28 29190static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29191 PyObject *resultobj = NULL;
d14a1e28
RD
29192 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29193 bool arg2 ;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 char *kwnames[] = {
29197 (char *) "self",(char *) "editCancelled", NULL
29198 };
29199
29200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29202 if (SWIG_arg_fail(1)) SWIG_fail;
29203 {
32fe5131 29204 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
29205 if (SWIG_arg_fail(2)) SWIG_fail;
29206 }
d14a1e28
RD
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 (arg1)->SetEditCanceled(arg2);
29210
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 Py_INCREF(Py_None); resultobj = Py_None;
29215 return resultobj;
29216 fail:
29217 return NULL;
29218}
29219
29220
c32bde28 29221static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29222 PyObject *resultobj = NULL;
c9c7117a
RD
29223 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29224 wxString *arg2 = 0 ;
ae8162c8 29225 bool temp2 = false ;
c9c7117a
RD
29226 PyObject * obj0 = 0 ;
29227 PyObject * obj1 = 0 ;
29228 char *kwnames[] = {
29229 (char *) "self",(char *) "toolTip", NULL
29230 };
29231
29232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29234 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
29235 {
29236 arg2 = wxString_in_helper(obj1);
29237 if (arg2 == NULL) SWIG_fail;
ae8162c8 29238 temp2 = true;
c9c7117a
RD
29239 }
29240 {
29241 PyThreadState* __tstate = wxPyBeginAllowThreads();
29242 (arg1)->SetToolTip((wxString const &)*arg2);
29243
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 Py_INCREF(Py_None); resultobj = Py_None;
29248 {
29249 if (temp2)
29250 delete arg2;
29251 }
29252 return resultobj;
29253 fail:
29254 {
29255 if (temp2)
29256 delete arg2;
29257 }
29258 return NULL;
29259}
29260
29261
562ecc31 29262static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29263 PyObject *resultobj = NULL;
562ecc31
RD
29264 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29265 wxString result;
29266 PyObject * obj0 = 0 ;
29267 char *kwnames[] = {
29268 (char *) "self", NULL
29269 };
29270
29271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
29272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail;
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 result = (arg1)->GetToolTip();
29277
29278 wxPyEndAllowThreads(__tstate);
29279 if (PyErr_Occurred()) SWIG_fail;
29280 }
29281 {
29282#if wxUSE_UNICODE
29283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29284#else
29285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29286#endif
29287 }
29288 return resultobj;
29289 fail:
29290 return NULL;
29291}
29292
29293
c32bde28 29294static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29295 PyObject *obj;
29296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29297 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
29298 Py_INCREF(obj);
29299 return Py_BuildValue((char *)"");
29300}
c32bde28 29301static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29302 PyObject *resultobj = NULL;
d14a1e28 29303 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 29304 int arg2 = (int) -1 ;
d14a1e28
RD
29305 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29306 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29307 wxSize const &arg4_defvalue = wxDefaultSize ;
29308 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29309 long arg5 = (long) wxTR_DEFAULT_STYLE ;
29310 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29311 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 29312 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
29313 wxString *arg7 = (wxString *) &arg7_defvalue ;
29314 wxPyTreeCtrl *result;
29315 wxPoint temp3 ;
29316 wxSize temp4 ;
ae8162c8 29317 bool temp7 = false ;
d14a1e28 29318 PyObject * obj0 = 0 ;
994141e6 29319 PyObject * obj1 = 0 ;
d14a1e28
RD
29320 PyObject * obj2 = 0 ;
29321 PyObject * obj3 = 0 ;
994141e6 29322 PyObject * obj4 = 0 ;
d14a1e28
RD
29323 PyObject * obj5 = 0 ;
29324 PyObject * obj6 = 0 ;
29325 char *kwnames[] = {
29326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29327 };
29328
994141e6 29329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
29330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29331 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 29332 if (obj1) {
093d3ff1 29333 {
32fe5131 29334 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
29335 if (SWIG_arg_fail(2)) SWIG_fail;
29336 }
994141e6 29337 }
d14a1e28
RD
29338 if (obj2) {
29339 {
29340 arg3 = &temp3;
29341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29342 }
29343 }
29344 if (obj3) {
29345 {
994141e6
RD
29346 arg4 = &temp4;
29347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29348 }
29349 }
29350 if (obj4) {
093d3ff1 29351 {
32fe5131 29352 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
29353 if (SWIG_arg_fail(5)) SWIG_fail;
29354 }
d14a1e28
RD
29355 }
29356 if (obj5) {
093d3ff1
RD
29357 {
29358 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29359 if (SWIG_arg_fail(6)) SWIG_fail;
29360 if (arg6 == NULL) {
29361 SWIG_null_ref("wxValidator");
29362 }
29363 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
29364 }
29365 }
29366 if (obj6) {
29367 {
29368 arg7 = wxString_in_helper(obj6);
29369 if (arg7 == NULL) SWIG_fail;
ae8162c8 29370 temp7 = true;
d14a1e28
RD
29371 }
29372 }
29373 {
e3b71cb8 29374 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29375 PyThreadState* __tstate = wxPyBeginAllowThreads();
29376 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29377
29378 wxPyEndAllowThreads(__tstate);
110da5b0 29379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29380 }
b0f7404b 29381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
29382 {
29383 if (temp7)
29384 delete arg7;
29385 }
29386 return resultobj;
29387 fail:
29388 {
29389 if (temp7)
29390 delete arg7;
29391 }
29392 return NULL;
29393}
29394
29395
c32bde28 29396static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29397 PyObject *resultobj = NULL;
d14a1e28
RD
29398 wxPyTreeCtrl *result;
29399 char *kwnames[] = {
29400 NULL
29401 };
29402
29403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
29404 {
e3b71cb8 29405 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
29408
29409 wxPyEndAllowThreads(__tstate);
110da5b0 29410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29411 }
b0f7404b 29412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
29413 return resultobj;
29414 fail:
29415 return NULL;
29416}
29417
29418
c32bde28 29419static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29420 PyObject *resultobj = NULL;
d14a1e28
RD
29421 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29422 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 29423 int arg3 = (int) -1 ;
d14a1e28
RD
29424 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29425 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29426 wxSize const &arg5_defvalue = wxDefaultSize ;
29427 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29428 long arg6 = (long) wxTR_DEFAULT_STYLE ;
29429 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29430 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 29431 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
29432 wxString *arg8 = (wxString *) &arg8_defvalue ;
29433 bool result;
29434 wxPoint temp4 ;
29435 wxSize temp5 ;
ae8162c8 29436 bool temp8 = false ;
d14a1e28
RD
29437 PyObject * obj0 = 0 ;
29438 PyObject * obj1 = 0 ;
994141e6 29439 PyObject * obj2 = 0 ;
d14a1e28
RD
29440 PyObject * obj3 = 0 ;
29441 PyObject * obj4 = 0 ;
994141e6 29442 PyObject * obj5 = 0 ;
d14a1e28
RD
29443 PyObject * obj6 = 0 ;
29444 PyObject * obj7 = 0 ;
29445 char *kwnames[] = {
29446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29447 };
29448
994141e6 29449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
29450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29451 if (SWIG_arg_fail(1)) SWIG_fail;
29452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29453 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 29454 if (obj2) {
093d3ff1 29455 {
32fe5131 29456 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
29457 if (SWIG_arg_fail(3)) SWIG_fail;
29458 }
994141e6 29459 }
d14a1e28
RD
29460 if (obj3) {
29461 {
29462 arg4 = &temp4;
29463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29464 }
29465 }
29466 if (obj4) {
29467 {
29468 arg5 = &temp5;
29469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29470 }
29471 }
994141e6 29472 if (obj5) {
093d3ff1 29473 {
32fe5131 29474 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
29475 if (SWIG_arg_fail(6)) SWIG_fail;
29476 }
994141e6 29477 }
d14a1e28 29478 if (obj6) {
093d3ff1
RD
29479 {
29480 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29481 if (SWIG_arg_fail(7)) SWIG_fail;
29482 if (arg7 == NULL) {
29483 SWIG_null_ref("wxValidator");
29484 }
29485 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
29486 }
29487 }
29488 if (obj7) {
29489 {
29490 arg8 = wxString_in_helper(obj7);
29491 if (arg8 == NULL) SWIG_fail;
ae8162c8 29492 temp8 = true;
d14a1e28
RD
29493 }
29494 }
29495 {
29496 PyThreadState* __tstate = wxPyBeginAllowThreads();
29497 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29498
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
4f89f6a3
RD
29502 {
29503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29504 }
d14a1e28
RD
29505 {
29506 if (temp8)
29507 delete arg8;
29508 }
29509 return resultobj;
29510 fail:
29511 {
29512 if (temp8)
29513 delete arg8;
29514 }
29515 return NULL;
29516}
29517
29518
c32bde28 29519static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29520 PyObject *resultobj = NULL;
d14a1e28
RD
29521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29522 PyObject *arg2 = (PyObject *) 0 ;
29523 PyObject *arg3 = (PyObject *) 0 ;
29524 PyObject * obj0 = 0 ;
29525 PyObject * obj1 = 0 ;
29526 PyObject * obj2 = 0 ;
29527 char *kwnames[] = {
29528 (char *) "self",(char *) "self",(char *) "_class", NULL
29529 };
29530
29531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29534 arg2 = obj1;
29535 arg3 = obj2;
29536 {
29537 PyThreadState* __tstate = wxPyBeginAllowThreads();
29538 (arg1)->_setCallbackInfo(arg2,arg3);
29539
29540 wxPyEndAllowThreads(__tstate);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 Py_INCREF(Py_None); resultobj = Py_None;
29544 return resultobj;
29545 fail:
29546 return NULL;
29547}
29548
29549
c32bde28 29550static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29551 PyObject *resultobj = NULL;
d14a1e28
RD
29552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29553 size_t result;
29554 PyObject * obj0 = 0 ;
29555 char *kwnames[] = {
29556 (char *) "self", NULL
29557 };
29558
29559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
29560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29561 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29562 {
29563 PyThreadState* __tstate = wxPyBeginAllowThreads();
29564 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
29565
29566 wxPyEndAllowThreads(__tstate);
29567 if (PyErr_Occurred()) SWIG_fail;
29568 }
093d3ff1 29569 {
32fe5131 29570 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 29571 }
d14a1e28
RD
29572 return resultobj;
29573 fail:
29574 return NULL;
29575}
29576
29577
c32bde28 29578static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29579 PyObject *resultobj = NULL;
d14a1e28
RD
29580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29581 unsigned int result;
29582 PyObject * obj0 = 0 ;
29583 char *kwnames[] = {
29584 (char *) "self", NULL
29585 };
29586
29587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29590 {
29591 PyThreadState* __tstate = wxPyBeginAllowThreads();
29592 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
29593
29594 wxPyEndAllowThreads(__tstate);
29595 if (PyErr_Occurred()) SWIG_fail;
29596 }
093d3ff1 29597 {
32fe5131 29598 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 29599 }
d14a1e28
RD
29600 return resultobj;
29601 fail:
29602 return NULL;
29603}
29604
29605
c32bde28 29606static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29607 PyObject *resultobj = NULL;
d14a1e28
RD
29608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29609 unsigned int arg2 ;
29610 PyObject * obj0 = 0 ;
29611 PyObject * obj1 = 0 ;
29612 char *kwnames[] = {
29613 (char *) "self",(char *) "indent", NULL
29614 };
29615
29616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29618 if (SWIG_arg_fail(1)) SWIG_fail;
29619 {
32fe5131 29620 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
29621 if (SWIG_arg_fail(2)) SWIG_fail;
29622 }
d14a1e28
RD
29623 {
29624 PyThreadState* __tstate = wxPyBeginAllowThreads();
29625 (arg1)->SetIndent(arg2);
29626
29627 wxPyEndAllowThreads(__tstate);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 }
29630 Py_INCREF(Py_None); resultobj = Py_None;
29631 return resultobj;
29632 fail:
29633 return NULL;
29634}
29635
29636
c32bde28 29637static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29638 PyObject *resultobj = NULL;
d14a1e28
RD
29639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29640 unsigned int result;
29641 PyObject * obj0 = 0 ;
29642 char *kwnames[] = {
29643 (char *) "self", NULL
29644 };
29645
29646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
29647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29649 {
29650 PyThreadState* __tstate = wxPyBeginAllowThreads();
29651 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
29652
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
093d3ff1 29656 {
32fe5131 29657 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 29658 }
d14a1e28
RD
29659 return resultobj;
29660 fail:
29661 return NULL;
29662}
29663
29664
c32bde28 29665static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29666 PyObject *resultobj = NULL;
d14a1e28
RD
29667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29668 unsigned int arg2 ;
29669 PyObject * obj0 = 0 ;
29670 PyObject * obj1 = 0 ;
29671 char *kwnames[] = {
29672 (char *) "self",(char *) "spacing", NULL
29673 };
29674
29675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29677 if (SWIG_arg_fail(1)) SWIG_fail;
29678 {
32fe5131 29679 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
29680 if (SWIG_arg_fail(2)) SWIG_fail;
29681 }
d14a1e28
RD
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 (arg1)->SetSpacing(arg2);
29685
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 Py_INCREF(Py_None); resultobj = Py_None;
29690 return resultobj;
29691 fail:
29692 return NULL;
29693}
29694
29695
c32bde28 29696static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29697 PyObject *resultobj = NULL;
d14a1e28
RD
29698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29699 wxImageList *result;
29700 PyObject * obj0 = 0 ;
29701 char *kwnames[] = {
29702 (char *) "self", NULL
29703 };
29704
29705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
29706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29708 {
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
29711
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 {
7e08d4ef 29716 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
29717 }
29718 return resultobj;
29719 fail:
29720 return NULL;
29721}
29722
29723
c32bde28 29724static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29725 PyObject *resultobj = NULL;
d14a1e28
RD
29726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29727 wxImageList *result;
29728 PyObject * obj0 = 0 ;
29729 char *kwnames[] = {
29730 (char *) "self", NULL
29731 };
29732
29733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
29734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29735 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29736 {
29737 PyThreadState* __tstate = wxPyBeginAllowThreads();
29738 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
29739
29740 wxPyEndAllowThreads(__tstate);
29741 if (PyErr_Occurred()) SWIG_fail;
29742 }
29743 {
7e08d4ef 29744 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
29745 }
29746 return resultobj;
29747 fail:
29748 return NULL;
29749}
29750
29751
c32bde28 29752static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29753 PyObject *resultobj = NULL;
d14a1e28
RD
29754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29755 wxImageList *arg2 = (wxImageList *) 0 ;
29756 PyObject * obj0 = 0 ;
29757 PyObject * obj1 = 0 ;
29758 char *kwnames[] = {
29759 (char *) "self",(char *) "imageList", NULL
29760 };
29761
29762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29764 if (SWIG_arg_fail(1)) SWIG_fail;
29765 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29766 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29767 {
29768 PyThreadState* __tstate = wxPyBeginAllowThreads();
29769 (arg1)->SetImageList(arg2);
29770
29771 wxPyEndAllowThreads(__tstate);
29772 if (PyErr_Occurred()) SWIG_fail;
29773 }
29774 Py_INCREF(Py_None); resultobj = Py_None;
29775 return resultobj;
29776 fail:
29777 return NULL;
29778}
29779
29780
c32bde28 29781static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29782 PyObject *resultobj = NULL;
d14a1e28
RD
29783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29784 wxImageList *arg2 = (wxImageList *) 0 ;
29785 PyObject * obj0 = 0 ;
29786 PyObject * obj1 = 0 ;
29787 char *kwnames[] = {
29788 (char *) "self",(char *) "imageList", NULL
29789 };
29790
29791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail;
29794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29795 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29796 {
29797 PyThreadState* __tstate = wxPyBeginAllowThreads();
29798 (arg1)->SetStateImageList(arg2);
29799
29800 wxPyEndAllowThreads(__tstate);
29801 if (PyErr_Occurred()) SWIG_fail;
29802 }
29803 Py_INCREF(Py_None); resultobj = Py_None;
29804 return resultobj;
29805 fail:
29806 return NULL;
29807}
29808
29809
c32bde28 29810static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29811 PyObject *resultobj = NULL;
d14a1e28
RD
29812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29813 wxImageList *arg2 = (wxImageList *) 0 ;
29814 PyObject * obj0 = 0 ;
29815 PyObject * obj1 = 0 ;
29816 char *kwnames[] = {
29817 (char *) "self",(char *) "imageList", NULL
29818 };
29819
29820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29822 if (SWIG_arg_fail(1)) SWIG_fail;
29823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29824 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29825 {
29826 PyThreadState* __tstate = wxPyBeginAllowThreads();
29827 (arg1)->AssignImageList(arg2);
29828
29829 wxPyEndAllowThreads(__tstate);
29830 if (PyErr_Occurred()) SWIG_fail;
29831 }
29832 Py_INCREF(Py_None); resultobj = Py_None;
29833 return resultobj;
29834 fail:
29835 return NULL;
29836}
29837
29838
c32bde28 29839static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29840 PyObject *resultobj = NULL;
d14a1e28
RD
29841 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29842 wxImageList *arg2 = (wxImageList *) 0 ;
29843 PyObject * obj0 = 0 ;
29844 PyObject * obj1 = 0 ;
29845 char *kwnames[] = {
29846 (char *) "self",(char *) "imageList", NULL
29847 };
29848
29849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29851 if (SWIG_arg_fail(1)) SWIG_fail;
29852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29853 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29854 {
29855 PyThreadState* __tstate = wxPyBeginAllowThreads();
29856 (arg1)->AssignStateImageList(arg2);
29857
29858 wxPyEndAllowThreads(__tstate);
29859 if (PyErr_Occurred()) SWIG_fail;
29860 }
29861 Py_INCREF(Py_None); resultobj = Py_None;
29862 return resultobj;
29863 fail:
29864 return NULL;
29865}
29866
29867
c32bde28 29868static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29869 PyObject *resultobj = NULL;
d14a1e28
RD
29870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29871 wxTreeItemId *arg2 = 0 ;
29872 wxString result;
29873 PyObject * obj0 = 0 ;
29874 PyObject * obj1 = 0 ;
29875 char *kwnames[] = {
29876 (char *) "self",(char *) "item", NULL
29877 };
29878
29879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail;
29882 {
29883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29884 if (SWIG_arg_fail(2)) SWIG_fail;
29885 if (arg2 == NULL) {
29886 SWIG_null_ref("wxTreeItemId");
29887 }
29888 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29889 }
29890 {
29891 PyThreadState* __tstate = wxPyBeginAllowThreads();
29892 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
29893
29894 wxPyEndAllowThreads(__tstate);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 }
29897 {
29898#if wxUSE_UNICODE
29899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29900#else
29901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29902#endif
29903 }
29904 return resultobj;
29905 fail:
29906 return NULL;
29907}
29908
29909
c32bde28 29910static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29911 PyObject *resultobj = NULL;
d14a1e28
RD
29912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29913 wxTreeItemId *arg2 = 0 ;
093d3ff1 29914 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
29915 int result;
29916 PyObject * obj0 = 0 ;
29917 PyObject * obj1 = 0 ;
994141e6 29918 PyObject * obj2 = 0 ;
d14a1e28
RD
29919 char *kwnames[] = {
29920 (char *) "self",(char *) "item",(char *) "which", NULL
29921 };
29922
994141e6 29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail;
29926 {
29927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29928 if (SWIG_arg_fail(2)) SWIG_fail;
29929 if (arg2 == NULL) {
29930 SWIG_null_ref("wxTreeItemId");
29931 }
29932 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 29933 }
994141e6 29934 if (obj2) {
093d3ff1 29935 {
32fe5131 29936 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
093d3ff1
RD
29937 if (SWIG_arg_fail(3)) SWIG_fail;
29938 }
994141e6 29939 }
d14a1e28
RD
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 29942 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
29943
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
093d3ff1 29947 {
32fe5131 29948 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 29949 }
d14a1e28
RD
29950 return resultobj;
29951 fail:
29952 return NULL;
29953}
29954
29955
c32bde28 29956static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29957 PyObject *resultobj = NULL;
d14a1e28
RD
29958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29959 wxTreeItemId *arg2 = 0 ;
29960 wxPyTreeItemData *result;
29961 PyObject * obj0 = 0 ;
29962 PyObject * obj1 = 0 ;
29963 char *kwnames[] = {
29964 (char *) "self",(char *) "item", NULL
29965 };
29966
29967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29969 if (SWIG_arg_fail(1)) SWIG_fail;
29970 {
29971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29972 if (SWIG_arg_fail(2)) SWIG_fail;
29973 if (arg2 == NULL) {
29974 SWIG_null_ref("wxTreeItemId");
29975 }
29976 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29977 }
29978 {
29979 PyThreadState* __tstate = wxPyBeginAllowThreads();
29980 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
29981
29982 wxPyEndAllowThreads(__tstate);
29983 if (PyErr_Occurred()) SWIG_fail;
29984 }
15afbcd0 29985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
29986 return resultobj;
29987 fail:
29988 return NULL;
29989}
29990
29991
c32bde28 29992static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29993 PyObject *resultobj = NULL;
d14a1e28
RD
29994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29995 wxTreeItemId *arg2 = 0 ;
29996 PyObject *result;
29997 PyObject * obj0 = 0 ;
29998 PyObject * obj1 = 0 ;
29999 char *kwnames[] = {
30000 (char *) "self",(char *) "item", NULL
30001 };
30002
30003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30005 if (SWIG_arg_fail(1)) SWIG_fail;
30006 {
30007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30008 if (SWIG_arg_fail(2)) SWIG_fail;
30009 if (arg2 == NULL) {
30010 SWIG_null_ref("wxTreeItemId");
30011 }
30012 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30013 }
30014 {
30015 PyThreadState* __tstate = wxPyBeginAllowThreads();
30016 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
30017
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 resultobj = result;
30022 return resultobj;
30023 fail:
30024 return NULL;
30025}
30026
30027
c32bde28 30028static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30029 PyObject *resultobj = NULL;
d14a1e28
RD
30030 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30031 wxTreeItemId *arg2 = 0 ;
30032 wxColour result;
30033 PyObject * obj0 = 0 ;
30034 PyObject * obj1 = 0 ;
30035 char *kwnames[] = {
30036 (char *) "self",(char *) "item", NULL
30037 };
30038
30039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30041 if (SWIG_arg_fail(1)) SWIG_fail;
30042 {
30043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30044 if (SWIG_arg_fail(2)) SWIG_fail;
30045 if (arg2 == NULL) {
30046 SWIG_null_ref("wxTreeItemId");
30047 }
30048 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30049 }
30050 {
30051 PyThreadState* __tstate = wxPyBeginAllowThreads();
30052 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
30053
30054 wxPyEndAllowThreads(__tstate);
30055 if (PyErr_Occurred()) SWIG_fail;
30056 }
30057 {
30058 wxColour * resultptr;
32fe5131 30059 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 30060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
30061 }
30062 return resultobj;
30063 fail:
30064 return NULL;
30065}
30066
30067
c32bde28 30068static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30069 PyObject *resultobj = NULL;
d14a1e28
RD
30070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30071 wxTreeItemId *arg2 = 0 ;
30072 wxColour result;
30073 PyObject * obj0 = 0 ;
30074 PyObject * obj1 = 0 ;
30075 char *kwnames[] = {
30076 (char *) "self",(char *) "item", NULL
30077 };
30078
30079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30081 if (SWIG_arg_fail(1)) SWIG_fail;
30082 {
30083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30084 if (SWIG_arg_fail(2)) SWIG_fail;
30085 if (arg2 == NULL) {
30086 SWIG_null_ref("wxTreeItemId");
30087 }
30088 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30089 }
30090 {
30091 PyThreadState* __tstate = wxPyBeginAllowThreads();
30092 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
30093
30094 wxPyEndAllowThreads(__tstate);
30095 if (PyErr_Occurred()) SWIG_fail;
30096 }
30097 {
30098 wxColour * resultptr;
32fe5131 30099 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 30100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
30101 }
30102 return resultobj;
30103 fail:
30104 return NULL;
30105}
30106
30107
c32bde28 30108static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30109 PyObject *resultobj = NULL;
d14a1e28
RD
30110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30111 wxTreeItemId *arg2 = 0 ;
30112 wxFont result;
30113 PyObject * obj0 = 0 ;
30114 PyObject * obj1 = 0 ;
30115 char *kwnames[] = {
30116 (char *) "self",(char *) "item", NULL
30117 };
30118
30119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30121 if (SWIG_arg_fail(1)) SWIG_fail;
30122 {
30123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30124 if (SWIG_arg_fail(2)) SWIG_fail;
30125 if (arg2 == NULL) {
30126 SWIG_null_ref("wxTreeItemId");
30127 }
30128 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30129 }
30130 {
30131 PyThreadState* __tstate = wxPyBeginAllowThreads();
30132 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
30133
30134 wxPyEndAllowThreads(__tstate);
30135 if (PyErr_Occurred()) SWIG_fail;
30136 }
30137 {
30138 wxFont * resultptr;
32fe5131 30139 resultptr = new wxFont(static_cast<wxFont & >(result));
15afbcd0 30140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
30141 }
30142 return resultobj;
30143 fail:
30144 return NULL;
30145}
30146
30147
c32bde28 30148static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30149 PyObject *resultobj = NULL;
d14a1e28
RD
30150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30151 wxTreeItemId *arg2 = 0 ;
30152 wxString *arg3 = 0 ;
ae8162c8 30153 bool temp3 = false ;
d14a1e28
RD
30154 PyObject * obj0 = 0 ;
30155 PyObject * obj1 = 0 ;
30156 PyObject * obj2 = 0 ;
30157 char *kwnames[] = {
30158 (char *) "self",(char *) "item",(char *) "text", NULL
30159 };
30160
30161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30163 if (SWIG_arg_fail(1)) SWIG_fail;
30164 {
30165 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30166 if (SWIG_arg_fail(2)) SWIG_fail;
30167 if (arg2 == NULL) {
30168 SWIG_null_ref("wxTreeItemId");
30169 }
30170 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30171 }
30172 {
30173 arg3 = wxString_in_helper(obj2);
30174 if (arg3 == NULL) SWIG_fail;
ae8162c8 30175 temp3 = true;
d14a1e28
RD
30176 }
30177 {
30178 PyThreadState* __tstate = wxPyBeginAllowThreads();
30179 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
30180
30181 wxPyEndAllowThreads(__tstate);
30182 if (PyErr_Occurred()) SWIG_fail;
30183 }
30184 Py_INCREF(Py_None); resultobj = Py_None;
30185 {
30186 if (temp3)
30187 delete arg3;
30188 }
30189 return resultobj;
30190 fail:
30191 {
30192 if (temp3)
30193 delete arg3;
30194 }
30195 return NULL;
30196}
30197
30198
c32bde28 30199static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30200 PyObject *resultobj = NULL;
d14a1e28
RD
30201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30202 wxTreeItemId *arg2 = 0 ;
30203 int arg3 ;
093d3ff1 30204 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
30205 PyObject * obj0 = 0 ;
30206 PyObject * obj1 = 0 ;
994141e6
RD
30207 PyObject * obj2 = 0 ;
30208 PyObject * obj3 = 0 ;
d14a1e28
RD
30209 char *kwnames[] = {
30210 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30211 };
30212
994141e6 30213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30215 if (SWIG_arg_fail(1)) SWIG_fail;
30216 {
30217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30218 if (SWIG_arg_fail(2)) SWIG_fail;
30219 if (arg2 == NULL) {
30220 SWIG_null_ref("wxTreeItemId");
30221 }
30222 if (SWIG_arg_fail(2)) SWIG_fail;
30223 }
30224 {
32fe5131 30225 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30226 if (SWIG_arg_fail(3)) SWIG_fail;
30227 }
994141e6 30228 if (obj3) {
093d3ff1 30229 {
32fe5131 30230 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
093d3ff1
RD
30231 if (SWIG_arg_fail(4)) SWIG_fail;
30232 }
994141e6 30233 }
d14a1e28
RD
30234 {
30235 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 30236 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
d14a1e28
RD
30237
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 Py_INCREF(Py_None); resultobj = Py_None;
30242 return resultobj;
30243 fail:
30244 return NULL;
30245}
30246
30247
c32bde28 30248static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30249 PyObject *resultobj = NULL;
d14a1e28
RD
30250 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30251 wxTreeItemId *arg2 = 0 ;
30252 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
30253 PyObject * obj0 = 0 ;
30254 PyObject * obj1 = 0 ;
30255 PyObject * obj2 = 0 ;
30256 char *kwnames[] = {
30257 (char *) "self",(char *) "item",(char *) "data", NULL
30258 };
30259
30260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30262 if (SWIG_arg_fail(1)) SWIG_fail;
30263 {
30264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30265 if (SWIG_arg_fail(2)) SWIG_fail;
30266 if (arg2 == NULL) {
30267 SWIG_null_ref("wxTreeItemId");
30268 }
30269 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 30270 }
7e08d4ef 30271 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 30272 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
30273 {
30274 PyThreadState* __tstate = wxPyBeginAllowThreads();
30275 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
30276
30277 wxPyEndAllowThreads(__tstate);
30278 if (PyErr_Occurred()) SWIG_fail;
30279 }
30280 Py_INCREF(Py_None); resultobj = Py_None;
30281 return resultobj;
30282 fail:
30283 return NULL;
30284}
30285
30286
c32bde28 30287static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30288 PyObject *resultobj = NULL;
d14a1e28
RD
30289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30290 wxTreeItemId *arg2 = 0 ;
30291 PyObject *arg3 = (PyObject *) 0 ;
30292 PyObject * obj0 = 0 ;
30293 PyObject * obj1 = 0 ;
30294 PyObject * obj2 = 0 ;
30295 char *kwnames[] = {
30296 (char *) "self",(char *) "item",(char *) "obj", NULL
30297 };
30298
30299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30301 if (SWIG_arg_fail(1)) SWIG_fail;
30302 {
30303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30304 if (SWIG_arg_fail(2)) SWIG_fail;
30305 if (arg2 == NULL) {
30306 SWIG_null_ref("wxTreeItemId");
30307 }
30308 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30309 }
30310 arg3 = obj2;
30311 {
30312 PyThreadState* __tstate = wxPyBeginAllowThreads();
30313 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
30314
30315 wxPyEndAllowThreads(__tstate);
30316 if (PyErr_Occurred()) SWIG_fail;
30317 }
30318 Py_INCREF(Py_None); resultobj = Py_None;
30319 return resultobj;
30320 fail:
30321 return NULL;
30322}
30323
30324
c32bde28 30325static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30326 PyObject *resultobj = NULL;
d14a1e28
RD
30327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30328 wxTreeItemId *arg2 = 0 ;
ae8162c8 30329 bool arg3 = (bool) true ;
d14a1e28
RD
30330 PyObject * obj0 = 0 ;
30331 PyObject * obj1 = 0 ;
30332 PyObject * obj2 = 0 ;
30333 char *kwnames[] = {
30334 (char *) "self",(char *) "item",(char *) "has", NULL
30335 };
30336
30337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail;
30340 {
30341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30342 if (SWIG_arg_fail(2)) SWIG_fail;
30343 if (arg2 == NULL) {
30344 SWIG_null_ref("wxTreeItemId");
30345 }
30346 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30347 }
30348 if (obj2) {
093d3ff1 30349 {
32fe5131 30350 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30351 if (SWIG_arg_fail(3)) SWIG_fail;
30352 }
d14a1e28
RD
30353 }
30354 {
30355 PyThreadState* __tstate = wxPyBeginAllowThreads();
30356 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
30357
30358 wxPyEndAllowThreads(__tstate);
30359 if (PyErr_Occurred()) SWIG_fail;
30360 }
30361 Py_INCREF(Py_None); resultobj = Py_None;
30362 return resultobj;
30363 fail:
30364 return NULL;
30365}
30366
30367
c32bde28 30368static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30369 PyObject *resultobj = NULL;
d14a1e28
RD
30370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30371 wxTreeItemId *arg2 = 0 ;
ae8162c8 30372 bool arg3 = (bool) true ;
d14a1e28
RD
30373 PyObject * obj0 = 0 ;
30374 PyObject * obj1 = 0 ;
30375 PyObject * obj2 = 0 ;
30376 char *kwnames[] = {
30377 (char *) "self",(char *) "item",(char *) "bold", NULL
30378 };
30379
30380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30382 if (SWIG_arg_fail(1)) SWIG_fail;
30383 {
30384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30385 if (SWIG_arg_fail(2)) SWIG_fail;
30386 if (arg2 == NULL) {
30387 SWIG_null_ref("wxTreeItemId");
30388 }
30389 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30390 }
30391 if (obj2) {
093d3ff1 30392 {
32fe5131 30393 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30394 if (SWIG_arg_fail(3)) SWIG_fail;
30395 }
d14a1e28
RD
30396 }
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
30400
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 Py_INCREF(Py_None); resultobj = Py_None;
30405 return resultobj;
30406 fail:
30407 return NULL;
30408}
30409
30410
fef4c27a 30411static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30412 PyObject *resultobj = NULL;
fef4c27a
RD
30413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30414 wxTreeItemId *arg2 = 0 ;
30415 bool arg3 = (bool) true ;
30416 PyObject * obj0 = 0 ;
30417 PyObject * obj1 = 0 ;
30418 PyObject * obj2 = 0 ;
30419 char *kwnames[] = {
30420 (char *) "self",(char *) "item",(char *) "highlight", NULL
30421 };
30422
30423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
30424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30425 if (SWIG_arg_fail(1)) SWIG_fail;
30426 {
30427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30428 if (SWIG_arg_fail(2)) SWIG_fail;
30429 if (arg2 == NULL) {
30430 SWIG_null_ref("wxTreeItemId");
30431 }
30432 if (SWIG_arg_fail(2)) SWIG_fail;
30433 }
30434 if (obj2) {
30435 {
32fe5131 30436 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
fef4c27a
RD
30437 if (SWIG_arg_fail(3)) SWIG_fail;
30438 }
30439 }
30440 {
30441 PyThreadState* __tstate = wxPyBeginAllowThreads();
30442 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
30443
30444 wxPyEndAllowThreads(__tstate);
30445 if (PyErr_Occurred()) SWIG_fail;
30446 }
30447 Py_INCREF(Py_None); resultobj = Py_None;
30448 return resultobj;
30449 fail:
30450 return NULL;
30451}
30452
30453
c32bde28 30454static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30455 PyObject *resultobj = NULL;
d14a1e28
RD
30456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30457 wxTreeItemId *arg2 = 0 ;
30458 wxColour *arg3 = 0 ;
30459 wxColour temp3 ;
30460 PyObject * obj0 = 0 ;
30461 PyObject * obj1 = 0 ;
30462 PyObject * obj2 = 0 ;
30463 char *kwnames[] = {
30464 (char *) "self",(char *) "item",(char *) "col", NULL
30465 };
30466
30467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail;
30470 {
30471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30472 if (SWIG_arg_fail(2)) SWIG_fail;
30473 if (arg2 == NULL) {
30474 SWIG_null_ref("wxTreeItemId");
30475 }
30476 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30477 }
30478 {
30479 arg3 = &temp3;
30480 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30481 }
30482 {
30483 PyThreadState* __tstate = wxPyBeginAllowThreads();
30484 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30485
30486 wxPyEndAllowThreads(__tstate);
30487 if (PyErr_Occurred()) SWIG_fail;
30488 }
30489 Py_INCREF(Py_None); resultobj = Py_None;
30490 return resultobj;
30491 fail:
30492 return NULL;
30493}
30494
30495
c32bde28 30496static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30497 PyObject *resultobj = NULL;
d14a1e28
RD
30498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30499 wxTreeItemId *arg2 = 0 ;
30500 wxColour *arg3 = 0 ;
30501 wxColour temp3 ;
30502 PyObject * obj0 = 0 ;
30503 PyObject * obj1 = 0 ;
30504 PyObject * obj2 = 0 ;
30505 char *kwnames[] = {
30506 (char *) "self",(char *) "item",(char *) "col", NULL
30507 };
30508
30509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail;
30512 {
30513 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30514 if (SWIG_arg_fail(2)) SWIG_fail;
30515 if (arg2 == NULL) {
30516 SWIG_null_ref("wxTreeItemId");
30517 }
30518 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30519 }
30520 {
30521 arg3 = &temp3;
30522 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30523 }
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30527
30528 wxPyEndAllowThreads(__tstate);
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
30531 Py_INCREF(Py_None); resultobj = Py_None;
30532 return resultobj;
30533 fail:
30534 return NULL;
30535}
30536
30537
c32bde28 30538static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30539 PyObject *resultobj = NULL;
d14a1e28
RD
30540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30541 wxTreeItemId *arg2 = 0 ;
30542 wxFont *arg3 = 0 ;
30543 PyObject * obj0 = 0 ;
30544 PyObject * obj1 = 0 ;
30545 PyObject * obj2 = 0 ;
30546 char *kwnames[] = {
30547 (char *) "self",(char *) "item",(char *) "font", NULL
30548 };
30549
30550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30552 if (SWIG_arg_fail(1)) SWIG_fail;
30553 {
30554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30555 if (SWIG_arg_fail(2)) SWIG_fail;
30556 if (arg2 == NULL) {
30557 SWIG_null_ref("wxTreeItemId");
30558 }
30559 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 30560 }
093d3ff1
RD
30561 {
30562 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30563 if (SWIG_arg_fail(3)) SWIG_fail;
30564 if (arg3 == NULL) {
30565 SWIG_null_ref("wxFont");
30566 }
30567 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
30568 }
30569 {
30570 PyThreadState* __tstate = wxPyBeginAllowThreads();
30571 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
30572
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 Py_INCREF(Py_None); resultobj = Py_None;
30577 return resultobj;
30578 fail:
30579 return NULL;
30580}
30581
30582
c32bde28 30583static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30584 PyObject *resultobj = NULL;
d14a1e28
RD
30585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30586 wxTreeItemId *arg2 = 0 ;
30587 bool result;
30588 PyObject * obj0 = 0 ;
30589 PyObject * obj1 = 0 ;
30590 char *kwnames[] = {
30591 (char *) "self",(char *) "item", NULL
30592 };
30593
30594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30596 if (SWIG_arg_fail(1)) SWIG_fail;
30597 {
30598 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30599 if (SWIG_arg_fail(2)) SWIG_fail;
30600 if (arg2 == NULL) {
30601 SWIG_null_ref("wxTreeItemId");
30602 }
30603 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30604 }
30605 {
30606 PyThreadState* __tstate = wxPyBeginAllowThreads();
30607 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
30608
30609 wxPyEndAllowThreads(__tstate);
30610 if (PyErr_Occurred()) SWIG_fail;
30611 }
4f89f6a3
RD
30612 {
30613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30614 }
d14a1e28
RD
30615 return resultobj;
30616 fail:
30617 return NULL;
30618}
30619
30620
c32bde28 30621static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30622 PyObject *resultobj = NULL;
d14a1e28
RD
30623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30624 wxTreeItemId *arg2 = 0 ;
30625 bool result;
30626 PyObject * obj0 = 0 ;
30627 PyObject * obj1 = 0 ;
30628 char *kwnames[] = {
30629 (char *) "self",(char *) "item", NULL
30630 };
30631
30632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30634 if (SWIG_arg_fail(1)) SWIG_fail;
30635 {
30636 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30637 if (SWIG_arg_fail(2)) SWIG_fail;
30638 if (arg2 == NULL) {
30639 SWIG_null_ref("wxTreeItemId");
30640 }
30641 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30642 }
30643 {
30644 PyThreadState* __tstate = wxPyBeginAllowThreads();
30645 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
30646
30647 wxPyEndAllowThreads(__tstate);
30648 if (PyErr_Occurred()) SWIG_fail;
30649 }
4f89f6a3
RD
30650 {
30651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30652 }
d14a1e28
RD
30653 return resultobj;
30654 fail:
30655 return NULL;
30656}
30657
30658
c32bde28 30659static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30660 PyObject *resultobj = NULL;
d14a1e28
RD
30661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30662 wxTreeItemId *arg2 = 0 ;
30663 bool result;
30664 PyObject * obj0 = 0 ;
30665 PyObject * obj1 = 0 ;
30666 char *kwnames[] = {
30667 (char *) "self",(char *) "item", NULL
30668 };
30669
30670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30672 if (SWIG_arg_fail(1)) SWIG_fail;
30673 {
30674 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30675 if (SWIG_arg_fail(2)) SWIG_fail;
30676 if (arg2 == NULL) {
30677 SWIG_null_ref("wxTreeItemId");
30678 }
30679 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30680 }
30681 {
30682 PyThreadState* __tstate = wxPyBeginAllowThreads();
30683 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
30684
30685 wxPyEndAllowThreads(__tstate);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 }
4f89f6a3
RD
30688 {
30689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30690 }
d14a1e28
RD
30691 return resultobj;
30692 fail:
30693 return NULL;
30694}
30695
30696
c32bde28 30697static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30698 PyObject *resultobj = NULL;
d14a1e28
RD
30699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30700 wxTreeItemId *arg2 = 0 ;
30701 bool result;
30702 PyObject * obj0 = 0 ;
30703 PyObject * obj1 = 0 ;
30704 char *kwnames[] = {
30705 (char *) "self",(char *) "item", NULL
30706 };
30707
30708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30710 if (SWIG_arg_fail(1)) SWIG_fail;
30711 {
30712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30713 if (SWIG_arg_fail(2)) SWIG_fail;
30714 if (arg2 == NULL) {
30715 SWIG_null_ref("wxTreeItemId");
30716 }
30717 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30718 }
30719 {
30720 PyThreadState* __tstate = wxPyBeginAllowThreads();
30721 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
30722
30723 wxPyEndAllowThreads(__tstate);
30724 if (PyErr_Occurred()) SWIG_fail;
30725 }
4f89f6a3
RD
30726 {
30727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30728 }
d14a1e28
RD
30729 return resultobj;
30730 fail:
30731 return NULL;
30732}
30733
30734
c32bde28 30735static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30736 PyObject *resultobj = NULL;
d14a1e28
RD
30737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30738 wxTreeItemId *arg2 = 0 ;
30739 bool result;
30740 PyObject * obj0 = 0 ;
30741 PyObject * obj1 = 0 ;
30742 char *kwnames[] = {
30743 (char *) "self",(char *) "item", NULL
30744 };
30745
30746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30748 if (SWIG_arg_fail(1)) SWIG_fail;
30749 {
30750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30751 if (SWIG_arg_fail(2)) SWIG_fail;
30752 if (arg2 == NULL) {
30753 SWIG_null_ref("wxTreeItemId");
30754 }
30755 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30756 }
30757 {
30758 PyThreadState* __tstate = wxPyBeginAllowThreads();
30759 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
30760
30761 wxPyEndAllowThreads(__tstate);
30762 if (PyErr_Occurred()) SWIG_fail;
30763 }
4f89f6a3
RD
30764 {
30765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30766 }
d14a1e28
RD
30767 return resultobj;
30768 fail:
30769 return NULL;
30770}
30771
30772
c32bde28 30773static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30774 PyObject *resultobj = NULL;
d14a1e28
RD
30775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30776 wxTreeItemId *arg2 = 0 ;
ae8162c8 30777 bool arg3 = (bool) true ;
d14a1e28
RD
30778 size_t result;
30779 PyObject * obj0 = 0 ;
30780 PyObject * obj1 = 0 ;
30781 PyObject * obj2 = 0 ;
30782 char *kwnames[] = {
30783 (char *) "self",(char *) "item",(char *) "recursively", NULL
30784 };
30785
30786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30788 if (SWIG_arg_fail(1)) SWIG_fail;
30789 {
30790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30791 if (SWIG_arg_fail(2)) SWIG_fail;
30792 if (arg2 == NULL) {
30793 SWIG_null_ref("wxTreeItemId");
30794 }
30795 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30796 }
30797 if (obj2) {
093d3ff1 30798 {
32fe5131 30799 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30800 if (SWIG_arg_fail(3)) SWIG_fail;
30801 }
d14a1e28
RD
30802 }
30803 {
30804 PyThreadState* __tstate = wxPyBeginAllowThreads();
30805 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
30806
30807 wxPyEndAllowThreads(__tstate);
30808 if (PyErr_Occurred()) SWIG_fail;
30809 }
093d3ff1 30810 {
32fe5131 30811 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 30812 }
d14a1e28
RD
30813 return resultobj;
30814 fail:
30815 return NULL;
30816}
30817
30818
c32bde28 30819static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30820 PyObject *resultobj = NULL;
d14a1e28
RD
30821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30822 wxTreeItemId result;
30823 PyObject * obj0 = 0 ;
30824 char *kwnames[] = {
30825 (char *) "self", NULL
30826 };
30827
30828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
30829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 {
30839 wxTreeItemId * resultptr;
32fe5131 30840 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 30841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30842 }
30843 return resultobj;
30844 fail:
30845 return NULL;
30846}
30847
30848
c32bde28 30849static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30850 PyObject *resultobj = NULL;
d14a1e28
RD
30851 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30852 wxTreeItemId result;
30853 PyObject * obj0 = 0 ;
30854 char *kwnames[] = {
30855 (char *) "self", NULL
30856 };
30857
30858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
30859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30860 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30861 {
30862 PyThreadState* __tstate = wxPyBeginAllowThreads();
30863 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
30864
30865 wxPyEndAllowThreads(__tstate);
30866 if (PyErr_Occurred()) SWIG_fail;
30867 }
30868 {
30869 wxTreeItemId * resultptr;
32fe5131 30870 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 30871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30872 }
30873 return resultobj;
30874 fail:
30875 return NULL;
30876}
30877
30878
c32bde28 30879static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30880 PyObject *resultobj = NULL;
d14a1e28
RD
30881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30882 PyObject *result;
30883 PyObject * obj0 = 0 ;
30884 char *kwnames[] = {
30885 (char *) "self", NULL
30886 };
30887
30888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
30889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30890 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30891 {
30892 PyThreadState* __tstate = wxPyBeginAllowThreads();
30893 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
30894
30895 wxPyEndAllowThreads(__tstate);
30896 if (PyErr_Occurred()) SWIG_fail;
30897 }
30898 resultobj = result;
30899 return resultobj;
30900 fail:
30901 return NULL;
30902}
30903
30904
c32bde28 30905static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30906 PyObject *resultobj = NULL;
d14a1e28
RD
30907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30908 wxTreeItemId *arg2 = 0 ;
30909 wxTreeItemId result;
30910 PyObject * obj0 = 0 ;
30911 PyObject * obj1 = 0 ;
30912 char *kwnames[] = {
30913 (char *) "self",(char *) "item", NULL
30914 };
30915
30916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30918 if (SWIG_arg_fail(1)) SWIG_fail;
30919 {
30920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30921 if (SWIG_arg_fail(2)) SWIG_fail;
30922 if (arg2 == NULL) {
30923 SWIG_null_ref("wxTreeItemId");
30924 }
30925 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30926 }
30927 {
30928 PyThreadState* __tstate = wxPyBeginAllowThreads();
30929 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
30930
30931 wxPyEndAllowThreads(__tstate);
30932 if (PyErr_Occurred()) SWIG_fail;
30933 }
30934 {
30935 wxTreeItemId * resultptr;
32fe5131 30936 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 30937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30938 }
30939 return resultobj;
30940 fail:
30941 return NULL;
30942}
30943
30944
c32bde28 30945static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30946 PyObject *resultobj = NULL;
d14a1e28
RD
30947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30948 wxTreeItemId *arg2 = 0 ;
30949 PyObject *result;
30950 PyObject * obj0 = 0 ;
30951 PyObject * obj1 = 0 ;
30952 char *kwnames[] = {
30953 (char *) "self",(char *) "item", NULL
30954 };
30955
30956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail;
30959 {
30960 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30961 if (SWIG_arg_fail(2)) SWIG_fail;
30962 if (arg2 == NULL) {
30963 SWIG_null_ref("wxTreeItemId");
30964 }
30965 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30966 }
30967 {
30968 PyThreadState* __tstate = wxPyBeginAllowThreads();
30969 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
30970
30971 wxPyEndAllowThreads(__tstate);
30972 if (PyErr_Occurred()) SWIG_fail;
30973 }
30974 resultobj = result;
30975 return resultobj;
30976 fail:
30977 return NULL;
30978}
30979
30980
c32bde28 30981static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30982 PyObject *resultobj = NULL;
d14a1e28
RD
30983 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30984 wxTreeItemId *arg2 = 0 ;
58203fa6 30985 void *arg3 = (void *) 0 ;
d14a1e28
RD
30986 PyObject *result;
30987 PyObject * obj0 = 0 ;
30988 PyObject * obj1 = 0 ;
30989 PyObject * obj2 = 0 ;
30990 char *kwnames[] = {
30991 (char *) "self",(char *) "item",(char *) "cookie", NULL
30992 };
30993
30994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30996 if (SWIG_arg_fail(1)) SWIG_fail;
30997 {
30998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30999 if (SWIG_arg_fail(2)) SWIG_fail;
31000 if (arg2 == NULL) {
31001 SWIG_null_ref("wxTreeItemId");
31002 }
31003 if (SWIG_arg_fail(2)) SWIG_fail;
31004 }
31005 {
32fe5131 31006 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
093d3ff1
RD
31007 SWIG_arg_fail(3);SWIG_fail;
31008 }
d14a1e28 31009 }
d14a1e28
RD
31010 {
31011 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 31012 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
31013
31014 wxPyEndAllowThreads(__tstate);
31015 if (PyErr_Occurred()) SWIG_fail;
31016 }
31017 resultobj = result;
31018 return resultobj;
31019 fail:
31020 return NULL;
31021}
31022
31023
c32bde28 31024static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31025 PyObject *resultobj = NULL;
d14a1e28
RD
31026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31027 wxTreeItemId *arg2 = 0 ;
31028 wxTreeItemId result;
31029 PyObject * obj0 = 0 ;
31030 PyObject * obj1 = 0 ;
31031 char *kwnames[] = {
31032 (char *) "self",(char *) "item", NULL
31033 };
31034
31035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail;
31038 {
31039 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31040 if (SWIG_arg_fail(2)) SWIG_fail;
31041 if (arg2 == NULL) {
31042 SWIG_null_ref("wxTreeItemId");
31043 }
31044 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31045 }
31046 {
31047 PyThreadState* __tstate = wxPyBeginAllowThreads();
31048 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
31049
31050 wxPyEndAllowThreads(__tstate);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 {
31054 wxTreeItemId * resultptr;
32fe5131 31055 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31057 }
31058 return resultobj;
31059 fail:
31060 return NULL;
31061}
31062
31063
c32bde28 31064static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31065 PyObject *resultobj = NULL;
d14a1e28
RD
31066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31067 wxTreeItemId *arg2 = 0 ;
31068 wxTreeItemId result;
31069 PyObject * obj0 = 0 ;
31070 PyObject * obj1 = 0 ;
31071 char *kwnames[] = {
31072 (char *) "self",(char *) "item", NULL
31073 };
31074
31075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31077 if (SWIG_arg_fail(1)) SWIG_fail;
31078 {
31079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31080 if (SWIG_arg_fail(2)) SWIG_fail;
31081 if (arg2 == NULL) {
31082 SWIG_null_ref("wxTreeItemId");
31083 }
31084 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31085 }
31086 {
31087 PyThreadState* __tstate = wxPyBeginAllowThreads();
31088 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
31089
31090 wxPyEndAllowThreads(__tstate);
31091 if (PyErr_Occurred()) SWIG_fail;
31092 }
31093 {
31094 wxTreeItemId * resultptr;
32fe5131 31095 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31097 }
31098 return resultobj;
31099 fail:
31100 return NULL;
31101}
31102
31103
c32bde28 31104static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31105 PyObject *resultobj = NULL;
d14a1e28
RD
31106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31107 wxTreeItemId *arg2 = 0 ;
31108 wxTreeItemId result;
31109 PyObject * obj0 = 0 ;
31110 PyObject * obj1 = 0 ;
31111 char *kwnames[] = {
31112 (char *) "self",(char *) "item", NULL
31113 };
31114
31115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31117 if (SWIG_arg_fail(1)) SWIG_fail;
31118 {
31119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31120 if (SWIG_arg_fail(2)) SWIG_fail;
31121 if (arg2 == NULL) {
31122 SWIG_null_ref("wxTreeItemId");
31123 }
31124 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31125 }
31126 {
31127 PyThreadState* __tstate = wxPyBeginAllowThreads();
31128 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
31129
31130 wxPyEndAllowThreads(__tstate);
31131 if (PyErr_Occurred()) SWIG_fail;
31132 }
31133 {
31134 wxTreeItemId * resultptr;
32fe5131 31135 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31137 }
31138 return resultobj;
31139 fail:
31140 return NULL;
31141}
31142
31143
c32bde28 31144static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31145 PyObject *resultobj = NULL;
d14a1e28
RD
31146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31147 wxTreeItemId result;
31148 PyObject * obj0 = 0 ;
31149 char *kwnames[] = {
31150 (char *) "self", NULL
31151 };
31152
31153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
31154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31155 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31156 {
31157 PyThreadState* __tstate = wxPyBeginAllowThreads();
31158 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
31159
31160 wxPyEndAllowThreads(__tstate);
31161 if (PyErr_Occurred()) SWIG_fail;
31162 }
31163 {
31164 wxTreeItemId * resultptr;
32fe5131 31165 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31167 }
31168 return resultobj;
31169 fail:
31170 return NULL;
31171}
31172
31173
c32bde28 31174static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31175 PyObject *resultobj = NULL;
d14a1e28
RD
31176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31177 wxTreeItemId *arg2 = 0 ;
31178 wxTreeItemId result;
31179 PyObject * obj0 = 0 ;
31180 PyObject * obj1 = 0 ;
31181 char *kwnames[] = {
31182 (char *) "self",(char *) "item", NULL
31183 };
31184
31185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31187 if (SWIG_arg_fail(1)) SWIG_fail;
31188 {
31189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31190 if (SWIG_arg_fail(2)) SWIG_fail;
31191 if (arg2 == NULL) {
31192 SWIG_null_ref("wxTreeItemId");
31193 }
31194 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31195 }
31196 {
31197 PyThreadState* __tstate = wxPyBeginAllowThreads();
31198 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
31199
31200 wxPyEndAllowThreads(__tstate);
31201 if (PyErr_Occurred()) SWIG_fail;
31202 }
31203 {
31204 wxTreeItemId * resultptr;
32fe5131 31205 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31207 }
31208 return resultobj;
31209 fail:
31210 return NULL;
31211}
31212
31213
c32bde28 31214static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31215 PyObject *resultobj = NULL;
d14a1e28
RD
31216 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31217 wxTreeItemId *arg2 = 0 ;
31218 wxTreeItemId result;
31219 PyObject * obj0 = 0 ;
31220 PyObject * obj1 = 0 ;
31221 char *kwnames[] = {
31222 (char *) "self",(char *) "item", NULL
31223 };
31224
31225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail;
31228 {
31229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31230 if (SWIG_arg_fail(2)) SWIG_fail;
31231 if (arg2 == NULL) {
31232 SWIG_null_ref("wxTreeItemId");
31233 }
31234 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31235 }
31236 {
31237 PyThreadState* __tstate = wxPyBeginAllowThreads();
31238 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
31239
31240 wxPyEndAllowThreads(__tstate);
31241 if (PyErr_Occurred()) SWIG_fail;
31242 }
31243 {
31244 wxTreeItemId * resultptr;
32fe5131 31245 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31247 }
31248 return resultobj;
31249 fail:
31250 return NULL;
31251}
31252
31253
c32bde28 31254static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31255 PyObject *resultobj = NULL;
d14a1e28
RD
31256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31257 wxString *arg2 = 0 ;
31258 int arg3 = (int) -1 ;
31259 int arg4 = (int) -1 ;
31260 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
31261 wxTreeItemId result;
ae8162c8 31262 bool temp2 = false ;
d14a1e28
RD
31263 PyObject * obj0 = 0 ;
31264 PyObject * obj1 = 0 ;
994141e6
RD
31265 PyObject * obj2 = 0 ;
31266 PyObject * obj3 = 0 ;
d14a1e28
RD
31267 PyObject * obj4 = 0 ;
31268 char *kwnames[] = {
31269 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31270 };
31271
994141e6 31272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
31273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31274 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31275 {
31276 arg2 = wxString_in_helper(obj1);
31277 if (arg2 == NULL) SWIG_fail;
ae8162c8 31278 temp2 = true;
d14a1e28 31279 }
994141e6 31280 if (obj2) {
093d3ff1 31281 {
32fe5131 31282 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31283 if (SWIG_arg_fail(3)) SWIG_fail;
31284 }
994141e6
RD
31285 }
31286 if (obj3) {
093d3ff1 31287 {
32fe5131 31288 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31289 if (SWIG_arg_fail(4)) SWIG_fail;
31290 }
994141e6 31291 }
d14a1e28 31292 if (obj4) {
7e08d4ef 31293 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31294 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
31295 }
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
31299
31300 wxPyEndAllowThreads(__tstate);
31301 if (PyErr_Occurred()) SWIG_fail;
31302 }
31303 {
31304 wxTreeItemId * resultptr;
32fe5131 31305 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31307 }
31308 {
31309 if (temp2)
31310 delete arg2;
31311 }
31312 return resultobj;
31313 fail:
31314 {
31315 if (temp2)
31316 delete arg2;
31317 }
31318 return NULL;
31319}
31320
31321
c32bde28 31322static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31323 PyObject *resultobj = NULL;
d14a1e28
RD
31324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31325 wxTreeItemId *arg2 = 0 ;
31326 wxString *arg3 = 0 ;
31327 int arg4 = (int) -1 ;
31328 int arg5 = (int) -1 ;
31329 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31330 wxTreeItemId result;
ae8162c8 31331 bool temp3 = false ;
d14a1e28
RD
31332 PyObject * obj0 = 0 ;
31333 PyObject * obj1 = 0 ;
31334 PyObject * obj2 = 0 ;
994141e6
RD
31335 PyObject * obj3 = 0 ;
31336 PyObject * obj4 = 0 ;
d14a1e28
RD
31337 PyObject * obj5 = 0 ;
31338 char *kwnames[] = {
31339 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31340 };
31341
994141e6 31342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31344 if (SWIG_arg_fail(1)) SWIG_fail;
31345 {
31346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31347 if (SWIG_arg_fail(2)) SWIG_fail;
31348 if (arg2 == NULL) {
31349 SWIG_null_ref("wxTreeItemId");
31350 }
31351 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31352 }
31353 {
31354 arg3 = wxString_in_helper(obj2);
31355 if (arg3 == NULL) SWIG_fail;
ae8162c8 31356 temp3 = true;
d14a1e28 31357 }
994141e6 31358 if (obj3) {
093d3ff1 31359 {
32fe5131 31360 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31361 if (SWIG_arg_fail(4)) SWIG_fail;
31362 }
994141e6
RD
31363 }
31364 if (obj4) {
093d3ff1 31365 {
32fe5131 31366 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31367 if (SWIG_arg_fail(5)) SWIG_fail;
31368 }
994141e6 31369 }
d14a1e28 31370 if (obj5) {
7e08d4ef 31371 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31372 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
31373 }
31374 {
31375 PyThreadState* __tstate = wxPyBeginAllowThreads();
31376 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31377
31378 wxPyEndAllowThreads(__tstate);
31379 if (PyErr_Occurred()) SWIG_fail;
31380 }
31381 {
31382 wxTreeItemId * resultptr;
32fe5131 31383 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31385 }
31386 {
31387 if (temp3)
31388 delete arg3;
31389 }
31390 return resultobj;
31391 fail:
31392 {
31393 if (temp3)
31394 delete arg3;
31395 }
31396 return NULL;
31397}
31398
31399
c32bde28 31400static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31401 PyObject *resultobj = NULL;
d14a1e28
RD
31402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31403 wxTreeItemId *arg2 = 0 ;
31404 wxTreeItemId *arg3 = 0 ;
31405 wxString *arg4 = 0 ;
31406 int arg5 = (int) -1 ;
31407 int arg6 = (int) -1 ;
31408 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31409 wxTreeItemId result;
ae8162c8 31410 bool temp4 = false ;
d14a1e28
RD
31411 PyObject * obj0 = 0 ;
31412 PyObject * obj1 = 0 ;
31413 PyObject * obj2 = 0 ;
31414 PyObject * obj3 = 0 ;
994141e6
RD
31415 PyObject * obj4 = 0 ;
31416 PyObject * obj5 = 0 ;
d14a1e28
RD
31417 PyObject * obj6 = 0 ;
31418 char *kwnames[] = {
31419 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31420 };
31421
994141e6 31422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
31423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31424 if (SWIG_arg_fail(1)) SWIG_fail;
31425 {
31426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31427 if (SWIG_arg_fail(2)) SWIG_fail;
31428 if (arg2 == NULL) {
31429 SWIG_null_ref("wxTreeItemId");
31430 }
31431 if (SWIG_arg_fail(2)) SWIG_fail;
31432 }
31433 {
31434 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31435 if (SWIG_arg_fail(3)) SWIG_fail;
31436 if (arg3 == NULL) {
31437 SWIG_null_ref("wxTreeItemId");
31438 }
31439 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
31440 }
31441 {
31442 arg4 = wxString_in_helper(obj3);
31443 if (arg4 == NULL) SWIG_fail;
ae8162c8 31444 temp4 = true;
d14a1e28 31445 }
994141e6 31446 if (obj4) {
093d3ff1 31447 {
32fe5131 31448 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31449 if (SWIG_arg_fail(5)) SWIG_fail;
31450 }
994141e6
RD
31451 }
31452 if (obj5) {
093d3ff1 31453 {
32fe5131 31454 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
31455 if (SWIG_arg_fail(6)) SWIG_fail;
31456 }
994141e6 31457 }
d14a1e28 31458 if (obj6) {
7e08d4ef 31459 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31460 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
31461 }
31462 {
31463 PyThreadState* __tstate = wxPyBeginAllowThreads();
31464 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31465
31466 wxPyEndAllowThreads(__tstate);
31467 if (PyErr_Occurred()) SWIG_fail;
31468 }
31469 {
31470 wxTreeItemId * resultptr;
32fe5131 31471 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31473 }
31474 {
31475 if (temp4)
31476 delete arg4;
31477 }
31478 return resultobj;
31479 fail:
31480 {
31481 if (temp4)
31482 delete arg4;
31483 }
31484 return NULL;
31485}
31486
31487
c32bde28 31488static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31489 PyObject *resultobj = NULL;
d14a1e28
RD
31490 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31491 wxTreeItemId *arg2 = 0 ;
31492 size_t arg3 ;
31493 wxString *arg4 = 0 ;
31494 int arg5 = (int) -1 ;
31495 int arg6 = (int) -1 ;
31496 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31497 wxTreeItemId result;
ae8162c8 31498 bool temp4 = false ;
d14a1e28
RD
31499 PyObject * obj0 = 0 ;
31500 PyObject * obj1 = 0 ;
31501 PyObject * obj2 = 0 ;
31502 PyObject * obj3 = 0 ;
994141e6
RD
31503 PyObject * obj4 = 0 ;
31504 PyObject * obj5 = 0 ;
d14a1e28
RD
31505 PyObject * obj6 = 0 ;
31506 char *kwnames[] = {
31507 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31508 };
31509
994141e6 31510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
31511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31512 if (SWIG_arg_fail(1)) SWIG_fail;
31513 {
31514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31515 if (SWIG_arg_fail(2)) SWIG_fail;
31516 if (arg2 == NULL) {
31517 SWIG_null_ref("wxTreeItemId");
31518 }
31519 if (SWIG_arg_fail(2)) SWIG_fail;
31520 }
31521 {
32fe5131 31522 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
31523 if (SWIG_arg_fail(3)) SWIG_fail;
31524 }
d14a1e28
RD
31525 {
31526 arg4 = wxString_in_helper(obj3);
31527 if (arg4 == NULL) SWIG_fail;
ae8162c8 31528 temp4 = true;
d14a1e28 31529 }
994141e6 31530 if (obj4) {
093d3ff1 31531 {
32fe5131 31532 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31533 if (SWIG_arg_fail(5)) SWIG_fail;
31534 }
994141e6
RD
31535 }
31536 if (obj5) {
093d3ff1 31537 {
32fe5131 31538 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
31539 if (SWIG_arg_fail(6)) SWIG_fail;
31540 }
994141e6 31541 }
d14a1e28 31542 if (obj6) {
7e08d4ef 31543 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31544 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
31545 }
31546 {
31547 PyThreadState* __tstate = wxPyBeginAllowThreads();
31548 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31549
31550 wxPyEndAllowThreads(__tstate);
31551 if (PyErr_Occurred()) SWIG_fail;
31552 }
31553 {
31554 wxTreeItemId * resultptr;
32fe5131 31555 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31557 }
31558 {
31559 if (temp4)
31560 delete arg4;
31561 }
31562 return resultobj;
31563 fail:
31564 {
31565 if (temp4)
31566 delete arg4;
31567 }
31568 return NULL;
31569}
31570
31571
c32bde28 31572static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31573 PyObject *resultobj = NULL;
d14a1e28
RD
31574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31575 wxTreeItemId *arg2 = 0 ;
31576 wxString *arg3 = 0 ;
31577 int arg4 = (int) -1 ;
31578 int arg5 = (int) -1 ;
31579 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31580 wxTreeItemId result;
ae8162c8 31581 bool temp3 = false ;
d14a1e28
RD
31582 PyObject * obj0 = 0 ;
31583 PyObject * obj1 = 0 ;
31584 PyObject * obj2 = 0 ;
994141e6
RD
31585 PyObject * obj3 = 0 ;
31586 PyObject * obj4 = 0 ;
d14a1e28
RD
31587 PyObject * obj5 = 0 ;
31588 char *kwnames[] = {
31589 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31590 };
31591
994141e6 31592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail;
31595 {
31596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31597 if (SWIG_arg_fail(2)) SWIG_fail;
31598 if (arg2 == NULL) {
31599 SWIG_null_ref("wxTreeItemId");
31600 }
31601 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31602 }
31603 {
31604 arg3 = wxString_in_helper(obj2);
31605 if (arg3 == NULL) SWIG_fail;
ae8162c8 31606 temp3 = true;
d14a1e28 31607 }
994141e6 31608 if (obj3) {
093d3ff1 31609 {
32fe5131 31610 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31611 if (SWIG_arg_fail(4)) SWIG_fail;
31612 }
994141e6
RD
31613 }
31614 if (obj4) {
093d3ff1 31615 {
32fe5131 31616 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31617 if (SWIG_arg_fail(5)) SWIG_fail;
31618 }
994141e6 31619 }
d14a1e28 31620 if (obj5) {
7e08d4ef 31621 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31622 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
31623 }
31624 {
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31627
31628 wxPyEndAllowThreads(__tstate);
31629 if (PyErr_Occurred()) SWIG_fail;
31630 }
31631 {
31632 wxTreeItemId * resultptr;
32fe5131 31633 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 31634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31635 }
31636 {
31637 if (temp3)
31638 delete arg3;
31639 }
31640 return resultobj;
31641 fail:
31642 {
31643 if (temp3)
31644 delete arg3;
31645 }
31646 return NULL;
31647}
31648
31649
c32bde28 31650static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31651 PyObject *resultobj = NULL;
d14a1e28
RD
31652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31653 wxTreeItemId *arg2 = 0 ;
31654 PyObject * obj0 = 0 ;
31655 PyObject * obj1 = 0 ;
31656 char *kwnames[] = {
31657 (char *) "self",(char *) "item", NULL
31658 };
31659
31660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail;
31663 {
31664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31665 if (SWIG_arg_fail(2)) SWIG_fail;
31666 if (arg2 == NULL) {
31667 SWIG_null_ref("wxTreeItemId");
31668 }
31669 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31670 }
31671 {
31672 PyThreadState* __tstate = wxPyBeginAllowThreads();
31673 (arg1)->Delete((wxTreeItemId const &)*arg2);
31674
31675 wxPyEndAllowThreads(__tstate);
31676 if (PyErr_Occurred()) SWIG_fail;
31677 }
31678 Py_INCREF(Py_None); resultobj = Py_None;
31679 return resultobj;
31680 fail:
31681 return NULL;
31682}
31683
31684
c32bde28 31685static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31686 PyObject *resultobj = NULL;
d14a1e28
RD
31687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31688 wxTreeItemId *arg2 = 0 ;
31689 PyObject * obj0 = 0 ;
31690 PyObject * obj1 = 0 ;
31691 char *kwnames[] = {
31692 (char *) "self",(char *) "item", NULL
31693 };
31694
31695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31697 if (SWIG_arg_fail(1)) SWIG_fail;
31698 {
31699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31700 if (SWIG_arg_fail(2)) SWIG_fail;
31701 if (arg2 == NULL) {
31702 SWIG_null_ref("wxTreeItemId");
31703 }
31704 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31705 }
31706 {
31707 PyThreadState* __tstate = wxPyBeginAllowThreads();
31708 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
31709
31710 wxPyEndAllowThreads(__tstate);
31711 if (PyErr_Occurred()) SWIG_fail;
31712 }
31713 Py_INCREF(Py_None); resultobj = Py_None;
31714 return resultobj;
31715 fail:
31716 return NULL;
31717}
31718
31719
c32bde28 31720static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31721 PyObject *resultobj = NULL;
d14a1e28
RD
31722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31723 PyObject * obj0 = 0 ;
31724 char *kwnames[] = {
31725 (char *) "self", NULL
31726 };
31727
31728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
31729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31731 {
31732 PyThreadState* __tstate = wxPyBeginAllowThreads();
31733 (arg1)->DeleteAllItems();
31734
31735 wxPyEndAllowThreads(__tstate);
31736 if (PyErr_Occurred()) SWIG_fail;
31737 }
31738 Py_INCREF(Py_None); resultobj = Py_None;
31739 return resultobj;
31740 fail:
31741 return NULL;
31742}
31743
31744
c32bde28 31745static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31746 PyObject *resultobj = NULL;
d14a1e28
RD
31747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31748 wxTreeItemId *arg2 = 0 ;
31749 PyObject * obj0 = 0 ;
31750 PyObject * obj1 = 0 ;
31751 char *kwnames[] = {
31752 (char *) "self",(char *) "item", NULL
31753 };
31754
31755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31757 if (SWIG_arg_fail(1)) SWIG_fail;
31758 {
31759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31760 if (SWIG_arg_fail(2)) SWIG_fail;
31761 if (arg2 == NULL) {
31762 SWIG_null_ref("wxTreeItemId");
31763 }
31764 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31765 }
31766 {
31767 PyThreadState* __tstate = wxPyBeginAllowThreads();
31768 (arg1)->Expand((wxTreeItemId const &)*arg2);
31769
31770 wxPyEndAllowThreads(__tstate);
31771 if (PyErr_Occurred()) SWIG_fail;
31772 }
31773 Py_INCREF(Py_None); resultobj = Py_None;
31774 return resultobj;
31775 fail:
31776 return NULL;
31777}
31778
31779
c32bde28 31780static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31781 PyObject *resultobj = NULL;
d14a1e28
RD
31782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31783 wxTreeItemId *arg2 = 0 ;
31784 PyObject * obj0 = 0 ;
31785 PyObject * obj1 = 0 ;
31786 char *kwnames[] = {
31787 (char *) "self",(char *) "item", NULL
31788 };
31789
31790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31792 if (SWIG_arg_fail(1)) SWIG_fail;
31793 {
31794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31795 if (SWIG_arg_fail(2)) SWIG_fail;
31796 if (arg2 == NULL) {
31797 SWIG_null_ref("wxTreeItemId");
31798 }
31799 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31800 }
31801 {
31802 PyThreadState* __tstate = wxPyBeginAllowThreads();
31803 (arg1)->Collapse((wxTreeItemId const &)*arg2);
31804
31805 wxPyEndAllowThreads(__tstate);
31806 if (PyErr_Occurred()) SWIG_fail;
31807 }
31808 Py_INCREF(Py_None); resultobj = Py_None;
31809 return resultobj;
31810 fail:
31811 return NULL;
31812}
31813
31814
c32bde28 31815static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31816 PyObject *resultobj = NULL;
d14a1e28
RD
31817 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31818 wxTreeItemId *arg2 = 0 ;
31819 PyObject * obj0 = 0 ;
31820 PyObject * obj1 = 0 ;
31821 char *kwnames[] = {
31822 (char *) "self",(char *) "item", NULL
31823 };
31824
31825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail;
31828 {
31829 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31830 if (SWIG_arg_fail(2)) SWIG_fail;
31831 if (arg2 == NULL) {
31832 SWIG_null_ref("wxTreeItemId");
31833 }
31834 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31835 }
31836 {
31837 PyThreadState* __tstate = wxPyBeginAllowThreads();
31838 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
31839
31840 wxPyEndAllowThreads(__tstate);
31841 if (PyErr_Occurred()) SWIG_fail;
31842 }
31843 Py_INCREF(Py_None); resultobj = Py_None;
31844 return resultobj;
31845 fail:
31846 return NULL;
31847}
31848
31849
c32bde28 31850static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31851 PyObject *resultobj = NULL;
d14a1e28
RD
31852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31853 wxTreeItemId *arg2 = 0 ;
31854 PyObject * obj0 = 0 ;
31855 PyObject * obj1 = 0 ;
31856 char *kwnames[] = {
31857 (char *) "self",(char *) "item", NULL
31858 };
31859
31860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31862 if (SWIG_arg_fail(1)) SWIG_fail;
31863 {
31864 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31865 if (SWIG_arg_fail(2)) SWIG_fail;
31866 if (arg2 == NULL) {
31867 SWIG_null_ref("wxTreeItemId");
31868 }
31869 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31870 }
31871 {
31872 PyThreadState* __tstate = wxPyBeginAllowThreads();
31873 (arg1)->Toggle((wxTreeItemId const &)*arg2);
31874
31875 wxPyEndAllowThreads(__tstate);
31876 if (PyErr_Occurred()) SWIG_fail;
31877 }
31878 Py_INCREF(Py_None); resultobj = Py_None;
31879 return resultobj;
31880 fail:
31881 return NULL;
31882}
31883
31884
c32bde28 31885static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31886 PyObject *resultobj = NULL;
d14a1e28
RD
31887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31888 PyObject * obj0 = 0 ;
31889 char *kwnames[] = {
31890 (char *) "self", NULL
31891 };
31892
31893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
31894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31895 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31896 {
31897 PyThreadState* __tstate = wxPyBeginAllowThreads();
31898 (arg1)->Unselect();
31899
31900 wxPyEndAllowThreads(__tstate);
31901 if (PyErr_Occurred()) SWIG_fail;
31902 }
31903 Py_INCREF(Py_None); resultobj = Py_None;
31904 return resultobj;
31905 fail:
31906 return NULL;
31907}
31908
31909
c32bde28 31910static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31911 PyObject *resultobj = NULL;
3adfb63b
RD
31912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31913 wxTreeItemId *arg2 = 0 ;
31914 PyObject * obj0 = 0 ;
31915 PyObject * obj1 = 0 ;
31916 char *kwnames[] = {
31917 (char *) "self",(char *) "item", NULL
31918 };
31919
31920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31922 if (SWIG_arg_fail(1)) SWIG_fail;
31923 {
31924 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31925 if (SWIG_arg_fail(2)) SWIG_fail;
31926 if (arg2 == NULL) {
31927 SWIG_null_ref("wxTreeItemId");
31928 }
31929 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
31930 }
31931 {
31932 PyThreadState* __tstate = wxPyBeginAllowThreads();
31933 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
31934
31935 wxPyEndAllowThreads(__tstate);
31936 if (PyErr_Occurred()) SWIG_fail;
31937 }
31938 Py_INCREF(Py_None); resultobj = Py_None;
31939 return resultobj;
31940 fail:
31941 return NULL;
31942}
31943
31944
c32bde28 31945static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31946 PyObject *resultobj = NULL;
d14a1e28
RD
31947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31948 PyObject * obj0 = 0 ;
31949 char *kwnames[] = {
31950 (char *) "self", NULL
31951 };
31952
31953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
31954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31956 {
31957 PyThreadState* __tstate = wxPyBeginAllowThreads();
31958 (arg1)->UnselectAll();
31959
31960 wxPyEndAllowThreads(__tstate);
31961 if (PyErr_Occurred()) SWIG_fail;
31962 }
31963 Py_INCREF(Py_None); resultobj = Py_None;
31964 return resultobj;
31965 fail:
31966 return NULL;
31967}
31968
31969
c32bde28 31970static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31971 PyObject *resultobj = NULL;
3adfb63b
RD
31972 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31973 wxTreeItemId *arg2 = 0 ;
ae8162c8 31974 bool arg3 = (bool) true ;
3adfb63b
RD
31975 PyObject * obj0 = 0 ;
31976 PyObject * obj1 = 0 ;
31977 PyObject * obj2 = 0 ;
31978 char *kwnames[] = {
31979 (char *) "self",(char *) "item",(char *) "select", NULL
31980 };
31981
31982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail;
31985 {
31986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31987 if (SWIG_arg_fail(2)) SWIG_fail;
31988 if (arg2 == NULL) {
31989 SWIG_null_ref("wxTreeItemId");
31990 }
31991 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
31992 }
31993 if (obj2) {
093d3ff1 31994 {
32fe5131 31995 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
31996 if (SWIG_arg_fail(3)) SWIG_fail;
31997 }
3adfb63b
RD
31998 }
31999 {
32000 PyThreadState* __tstate = wxPyBeginAllowThreads();
32001 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
32002
32003 wxPyEndAllowThreads(__tstate);
32004 if (PyErr_Occurred()) SWIG_fail;
32005 }
32006 Py_INCREF(Py_None); resultobj = Py_None;
32007 return resultobj;
32008 fail:
32009 return NULL;
32010}
32011
32012
c32bde28 32013static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32014 PyObject *resultobj = NULL;
d14a1e28
RD
32015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32016 wxTreeItemId *arg2 = 0 ;
32017 PyObject * obj0 = 0 ;
32018 PyObject * obj1 = 0 ;
32019 char *kwnames[] = {
32020 (char *) "self",(char *) "item", NULL
32021 };
32022
3adfb63b 32023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32025 if (SWIG_arg_fail(1)) SWIG_fail;
32026 {
32027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32028 if (SWIG_arg_fail(2)) SWIG_fail;
32029 if (arg2 == NULL) {
32030 SWIG_null_ref("wxTreeItemId");
32031 }
32032 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32033 }
32034 {
32035 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 32036 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
32037
32038 wxPyEndAllowThreads(__tstate);
32039 if (PyErr_Occurred()) SWIG_fail;
32040 }
32041 Py_INCREF(Py_None); resultobj = Py_None;
32042 return resultobj;
32043 fail:
32044 return NULL;
32045}
32046
32047
c32bde28 32048static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32049 PyObject *resultobj = NULL;
d14a1e28
RD
32050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32051 wxTreeItemId *arg2 = 0 ;
32052 PyObject * obj0 = 0 ;
32053 PyObject * obj1 = 0 ;
32054 char *kwnames[] = {
32055 (char *) "self",(char *) "item", NULL
32056 };
32057
32058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32060 if (SWIG_arg_fail(1)) SWIG_fail;
32061 {
32062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32063 if (SWIG_arg_fail(2)) SWIG_fail;
32064 if (arg2 == NULL) {
32065 SWIG_null_ref("wxTreeItemId");
32066 }
32067 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32068 }
32069 {
32070 PyThreadState* __tstate = wxPyBeginAllowThreads();
32071 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
32072
32073 wxPyEndAllowThreads(__tstate);
32074 if (PyErr_Occurred()) SWIG_fail;
32075 }
32076 Py_INCREF(Py_None); resultobj = Py_None;
32077 return resultobj;
32078 fail:
32079 return NULL;
32080}
32081
32082
c32bde28 32083static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32084 PyObject *resultobj = NULL;
d14a1e28
RD
32085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32086 wxTreeItemId *arg2 = 0 ;
32087 PyObject * obj0 = 0 ;
32088 PyObject * obj1 = 0 ;
32089 char *kwnames[] = {
32090 (char *) "self",(char *) "item", NULL
32091 };
32092
32093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32095 if (SWIG_arg_fail(1)) SWIG_fail;
32096 {
32097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32098 if (SWIG_arg_fail(2)) SWIG_fail;
32099 if (arg2 == NULL) {
32100 SWIG_null_ref("wxTreeItemId");
32101 }
32102 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32103 }
32104 {
32105 PyThreadState* __tstate = wxPyBeginAllowThreads();
32106 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
32107
32108 wxPyEndAllowThreads(__tstate);
32109 if (PyErr_Occurred()) SWIG_fail;
32110 }
32111 Py_INCREF(Py_None); resultobj = Py_None;
32112 return resultobj;
32113 fail:
32114 return NULL;
32115}
32116
32117
c32bde28 32118static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32119 PyObject *resultobj = NULL;
d14a1e28
RD
32120 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32121 wxTreeItemId *arg2 = 0 ;
32122 PyObject * obj0 = 0 ;
32123 PyObject * obj1 = 0 ;
32124 char *kwnames[] = {
32125 (char *) "self",(char *) "item", NULL
32126 };
32127
32128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32130 if (SWIG_arg_fail(1)) SWIG_fail;
32131 {
32132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32133 if (SWIG_arg_fail(2)) SWIG_fail;
32134 if (arg2 == NULL) {
32135 SWIG_null_ref("wxTreeItemId");
32136 }
32137 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32138 }
32139 {
32140 PyThreadState* __tstate = wxPyBeginAllowThreads();
32141 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
32142
32143 wxPyEndAllowThreads(__tstate);
32144 if (PyErr_Occurred()) SWIG_fail;
32145 }
32146 Py_INCREF(Py_None); resultobj = Py_None;
32147 return resultobj;
32148 fail:
32149 return NULL;
32150}
32151
32152
c32bde28 32153static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32154 PyObject *resultobj = NULL;
d14a1e28
RD
32155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32156 wxTextCtrl *result;
32157 PyObject * obj0 = 0 ;
32158 char *kwnames[] = {
32159 (char *) "self", NULL
32160 };
32161
32162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
32163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32165 {
32166 PyThreadState* __tstate = wxPyBeginAllowThreads();
32167 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
32168
32169 wxPyEndAllowThreads(__tstate);
32170 if (PyErr_Occurred()) SWIG_fail;
32171 }
32172 {
412d302d 32173 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32174 }
32175 return resultobj;
32176 fail:
32177 return NULL;
32178}
32179
32180
c32bde28 32181static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32182 PyObject *resultobj = NULL;
d14a1e28
RD
32183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32184 wxTreeItemId *arg2 = 0 ;
32185 PyObject * obj0 = 0 ;
32186 PyObject * obj1 = 0 ;
32187 char *kwnames[] = {
32188 (char *) "self",(char *) "item", NULL
32189 };
32190
32191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32193 if (SWIG_arg_fail(1)) SWIG_fail;
32194 {
32195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32196 if (SWIG_arg_fail(2)) SWIG_fail;
32197 if (arg2 == NULL) {
32198 SWIG_null_ref("wxTreeItemId");
32199 }
32200 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32201 }
32202 {
32203 PyThreadState* __tstate = wxPyBeginAllowThreads();
32204 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
32205
32206 wxPyEndAllowThreads(__tstate);
32207 if (PyErr_Occurred()) SWIG_fail;
32208 }
32209 Py_INCREF(Py_None); resultobj = Py_None;
32210 return resultobj;
32211 fail:
32212 return NULL;
32213}
32214
32215
c32bde28 32216static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32217 PyObject *resultobj = NULL;
d14a1e28
RD
32218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32219 wxPoint *arg2 = 0 ;
32220 int *arg3 = 0 ;
32221 wxTreeItemId result;
32222 wxPoint temp2 ;
32223 int temp3 ;
c32bde28 32224 int res3 = 0 ;
d14a1e28
RD
32225 PyObject * obj0 = 0 ;
32226 PyObject * obj1 = 0 ;
32227 char *kwnames[] = {
32228 (char *) "self",(char *) "point", NULL
32229 };
32230
c32bde28 32231 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32235 {
32236 arg2 = &temp2;
32237 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32238 }
32239 {
32240 PyThreadState* __tstate = wxPyBeginAllowThreads();
32241 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
32242
32243 wxPyEndAllowThreads(__tstate);
32244 if (PyErr_Occurred()) SWIG_fail;
32245 }
32246 {
32247 wxTreeItemId * resultptr;
32fe5131 32248 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 32249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 32250 }
c32bde28
RD
32251 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32252 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32253 return resultobj;
32254 fail:
32255 return NULL;
32256}
32257
32258
c32bde28 32259static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32260 PyObject *resultobj = NULL;
d14a1e28
RD
32261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32262 wxTreeItemId *arg2 = 0 ;
ae8162c8 32263 bool arg3 = (bool) false ;
d14a1e28
RD
32264 PyObject *result;
32265 PyObject * obj0 = 0 ;
32266 PyObject * obj1 = 0 ;
32267 PyObject * obj2 = 0 ;
32268 char *kwnames[] = {
32269 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32270 };
32271
32272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32274 if (SWIG_arg_fail(1)) SWIG_fail;
32275 {
32276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32277 if (SWIG_arg_fail(2)) SWIG_fail;
32278 if (arg2 == NULL) {
32279 SWIG_null_ref("wxTreeItemId");
32280 }
32281 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32282 }
32283 if (obj2) {
093d3ff1 32284 {
32fe5131 32285 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32286 if (SWIG_arg_fail(3)) SWIG_fail;
32287 }
d14a1e28
RD
32288 }
32289 {
32290 PyThreadState* __tstate = wxPyBeginAllowThreads();
32291 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
32292
32293 wxPyEndAllowThreads(__tstate);
32294 if (PyErr_Occurred()) SWIG_fail;
32295 }
32296 resultobj = result;
32297 return resultobj;
32298 fail:
32299 return NULL;
32300}
32301
32302
c32bde28 32303static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32304 PyObject *resultobj = NULL;
093d3ff1 32305 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
32306 wxVisualAttributes result;
32307 PyObject * obj0 = 0 ;
32308 char *kwnames[] = {
32309 (char *) "variant", NULL
32310 };
32311
32312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32313 if (obj0) {
093d3ff1 32314 {
32fe5131 32315 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
32316 if (SWIG_arg_fail(1)) SWIG_fail;
32317 }
74a57fcd
RD
32318 }
32319 {
110da5b0 32320 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd 32321 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 32322 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
74a57fcd
RD
32323
32324 wxPyEndAllowThreads(__tstate);
dfbb5885 32325 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
32326 }
32327 {
32328 wxVisualAttributes * resultptr;
32fe5131 32329 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
74a57fcd
RD
32330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32331 }
32332 return resultobj;
32333 fail:
32334 return NULL;
32335}
32336
32337
c32bde28 32338static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32339 PyObject *obj;
32340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32341 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
32342 Py_INCREF(obj);
32343 return Py_BuildValue((char *)"");
32344}
c32bde28 32345static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
b2dc1044
RD
32346 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
32347 return 1;
32348}
32349
32350
093d3ff1 32351static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
32fe5131 32352 PyObject *pyobj = NULL;
b2dc1044
RD
32353
32354 {
32355#if wxUSE_UNICODE
32356 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32357#else
32358 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32359#endif
32360 }
32361 return pyobj;
32362}
32363
32364
c32bde28 32365static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32366 PyObject *resultobj = NULL;
d14a1e28 32367 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 32368 int arg2 = (int) (int)-1 ;
d14a1e28
RD
32369 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
32370 wxString *arg3 = (wxString *) &arg3_defvalue ;
32371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32373 wxSize const &arg5_defvalue = wxDefaultSize ;
32374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32375 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32376 wxString const &arg7_defvalue = wxPyEmptyString ;
32377 wxString *arg7 = (wxString *) &arg7_defvalue ;
32378 int arg8 = (int) 0 ;
b2dc1044 32379 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
32380 wxString *arg9 = (wxString *) &arg9_defvalue ;
32381 wxGenericDirCtrl *result;
ae8162c8 32382 bool temp3 = false ;
d14a1e28
RD
32383 wxPoint temp4 ;
32384 wxSize temp5 ;
ae8162c8
RD
32385 bool temp7 = false ;
32386 bool temp9 = false ;
d14a1e28 32387 PyObject * obj0 = 0 ;
994141e6 32388 PyObject * obj1 = 0 ;
d14a1e28
RD
32389 PyObject * obj2 = 0 ;
32390 PyObject * obj3 = 0 ;
32391 PyObject * obj4 = 0 ;
994141e6 32392 PyObject * obj5 = 0 ;
d14a1e28 32393 PyObject * obj6 = 0 ;
994141e6 32394 PyObject * obj7 = 0 ;
d14a1e28
RD
32395 PyObject * obj8 = 0 ;
32396 char *kwnames[] = {
32397 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32398 };
32399
994141e6 32400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
32401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32402 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 32403 if (obj1) {
093d3ff1 32404 {
32fe5131 32405 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
32406 if (SWIG_arg_fail(2)) SWIG_fail;
32407 }
994141e6 32408 }
d14a1e28
RD
32409 if (obj2) {
32410 {
32411 arg3 = wxString_in_helper(obj2);
32412 if (arg3 == NULL) SWIG_fail;
ae8162c8 32413 temp3 = true;
d14a1e28
RD
32414 }
32415 }
32416 if (obj3) {
32417 {
32418 arg4 = &temp4;
32419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32420 }
32421 }
32422 if (obj4) {
32423 {
32424 arg5 = &temp5;
32425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32426 }
32427 }
994141e6 32428 if (obj5) {
093d3ff1 32429 {
32fe5131 32430 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
32431 if (SWIG_arg_fail(6)) SWIG_fail;
32432 }
994141e6 32433 }
d14a1e28
RD
32434 if (obj6) {
32435 {
32436 arg7 = wxString_in_helper(obj6);
32437 if (arg7 == NULL) SWIG_fail;
ae8162c8 32438 temp7 = true;
d14a1e28
RD
32439 }
32440 }
994141e6 32441 if (obj7) {
093d3ff1 32442 {
32fe5131 32443 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
32444 if (SWIG_arg_fail(8)) SWIG_fail;
32445 }
994141e6 32446 }
d14a1e28
RD
32447 if (obj8) {
32448 {
32449 arg9 = wxString_in_helper(obj8);
32450 if (arg9 == NULL) SWIG_fail;
ae8162c8 32451 temp9 = true;
d14a1e28
RD
32452 }
32453 }
32454 {
e3b71cb8 32455 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32456 PyThreadState* __tstate = wxPyBeginAllowThreads();
32457 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
32458
32459 wxPyEndAllowThreads(__tstate);
110da5b0 32460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32461 }
15afbcd0 32462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
32463 {
32464 if (temp3)
32465 delete arg3;
32466 }
32467 {
32468 if (temp7)
32469 delete arg7;
32470 }
32471 {
32472 if (temp9)
32473 delete arg9;
32474 }
32475 return resultobj;
32476 fail:
32477 {
32478 if (temp3)
32479 delete arg3;
32480 }
32481 {
32482 if (temp7)
32483 delete arg7;
32484 }
32485 {
32486 if (temp9)
32487 delete arg9;
32488 }
32489 return NULL;
32490}
32491
32492
c32bde28 32493static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32494 PyObject *resultobj = NULL;
d14a1e28
RD
32495 wxGenericDirCtrl *result;
32496 char *kwnames[] = {
32497 NULL
32498 };
32499
32500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
32501 {
e3b71cb8 32502 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32503 PyThreadState* __tstate = wxPyBeginAllowThreads();
32504 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
32505
32506 wxPyEndAllowThreads(__tstate);
110da5b0 32507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32508 }
15afbcd0 32509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
32510 return resultobj;
32511 fail:
32512 return NULL;
32513}
32514
32515
c32bde28 32516static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32517 PyObject *resultobj = NULL;
d14a1e28
RD
32518 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32519 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 32520 int arg3 = (int) (int)-1 ;
d14a1e28
RD
32521 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
32522 wxString *arg4 = (wxString *) &arg4_defvalue ;
32523 wxPoint const &arg5_defvalue = wxDefaultPosition ;
32524 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
32525 wxSize const &arg6_defvalue = wxDefaultSize ;
32526 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
32527 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32528 wxString const &arg8_defvalue = wxPyEmptyString ;
32529 wxString *arg8 = (wxString *) &arg8_defvalue ;
32530 int arg9 = (int) 0 ;
b2dc1044 32531 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
32532 wxString *arg10 = (wxString *) &arg10_defvalue ;
32533 bool result;
ae8162c8 32534 bool temp4 = false ;
d14a1e28
RD
32535 wxPoint temp5 ;
32536 wxSize temp6 ;
ae8162c8
RD
32537 bool temp8 = false ;
32538 bool temp10 = false ;
d14a1e28
RD
32539 PyObject * obj0 = 0 ;
32540 PyObject * obj1 = 0 ;
994141e6 32541 PyObject * obj2 = 0 ;
d14a1e28
RD
32542 PyObject * obj3 = 0 ;
32543 PyObject * obj4 = 0 ;
32544 PyObject * obj5 = 0 ;
994141e6 32545 PyObject * obj6 = 0 ;
d14a1e28 32546 PyObject * obj7 = 0 ;
994141e6 32547 PyObject * obj8 = 0 ;
d14a1e28
RD
32548 PyObject * obj9 = 0 ;
32549 char *kwnames[] = {
32550 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32551 };
32552
994141e6 32553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
32554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32555 if (SWIG_arg_fail(1)) SWIG_fail;
32556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32557 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 32558 if (obj2) {
093d3ff1 32559 {
32fe5131 32560 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
32561 if (SWIG_arg_fail(3)) SWIG_fail;
32562 }
994141e6 32563 }
d14a1e28
RD
32564 if (obj3) {
32565 {
32566 arg4 = wxString_in_helper(obj3);
32567 if (arg4 == NULL) SWIG_fail;
ae8162c8 32568 temp4 = true;
d14a1e28
RD
32569 }
32570 }
32571 if (obj4) {
32572 {
32573 arg5 = &temp5;
32574 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
32575 }
32576 }
32577 if (obj5) {
32578 {
32579 arg6 = &temp6;
32580 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
32581 }
32582 }
994141e6 32583 if (obj6) {
093d3ff1 32584 {
32fe5131 32585 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
32586 if (SWIG_arg_fail(7)) SWIG_fail;
32587 }
994141e6 32588 }
d14a1e28
RD
32589 if (obj7) {
32590 {
32591 arg8 = wxString_in_helper(obj7);
32592 if (arg8 == NULL) SWIG_fail;
ae8162c8 32593 temp8 = true;
d14a1e28
RD
32594 }
32595 }
994141e6 32596 if (obj8) {
093d3ff1 32597 {
32fe5131 32598 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
32599 if (SWIG_arg_fail(9)) SWIG_fail;
32600 }
994141e6 32601 }
d14a1e28
RD
32602 if (obj9) {
32603 {
32604 arg10 = wxString_in_helper(obj9);
32605 if (arg10 == NULL) SWIG_fail;
ae8162c8 32606 temp10 = true;
d14a1e28
RD
32607 }
32608 }
32609 {
32610 PyThreadState* __tstate = wxPyBeginAllowThreads();
32611 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
32612
32613 wxPyEndAllowThreads(__tstate);
32614 if (PyErr_Occurred()) SWIG_fail;
32615 }
4f89f6a3
RD
32616 {
32617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32618 }
d14a1e28
RD
32619 {
32620 if (temp4)
32621 delete arg4;
32622 }
32623 {
32624 if (temp8)
32625 delete arg8;
32626 }
32627 {
32628 if (temp10)
32629 delete arg10;
32630 }
32631 return resultobj;
32632 fail:
32633 {
32634 if (temp4)
32635 delete arg4;
32636 }
32637 {
32638 if (temp8)
32639 delete arg8;
32640 }
32641 {
32642 if (temp10)
32643 delete arg10;
32644 }
32645 return NULL;
32646}
32647
32648
c32bde28 32649static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32650 PyObject *resultobj = NULL;
d14a1e28
RD
32651 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32652 wxString *arg2 = 0 ;
32653 bool result;
ae8162c8 32654 bool temp2 = false ;
d14a1e28
RD
32655 PyObject * obj0 = 0 ;
32656 PyObject * obj1 = 0 ;
32657 char *kwnames[] = {
32658 (char *) "self",(char *) "path", NULL
32659 };
32660
32661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32663 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32664 {
32665 arg2 = wxString_in_helper(obj1);
32666 if (arg2 == NULL) SWIG_fail;
ae8162c8 32667 temp2 = true;
d14a1e28
RD
32668 }
32669 {
32670 PyThreadState* __tstate = wxPyBeginAllowThreads();
32671 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
32672
32673 wxPyEndAllowThreads(__tstate);
32674 if (PyErr_Occurred()) SWIG_fail;
32675 }
4f89f6a3
RD
32676 {
32677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32678 }
d14a1e28
RD
32679 {
32680 if (temp2)
32681 delete arg2;
32682 }
32683 return resultobj;
32684 fail:
32685 {
32686 if (temp2)
32687 delete arg2;
32688 }
32689 return NULL;
32690}
32691
32692
c32bde28 32693static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32694 PyObject *resultobj = NULL;
d14a1e28
RD
32695 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32696 wxString result;
32697 PyObject * obj0 = 0 ;
32698 char *kwnames[] = {
32699 (char *) "self", NULL
32700 };
32701
32702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
32703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32704 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32705 {
32706 PyThreadState* __tstate = wxPyBeginAllowThreads();
32707 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
32708
32709 wxPyEndAllowThreads(__tstate);
32710 if (PyErr_Occurred()) SWIG_fail;
32711 }
32712 {
32713#if wxUSE_UNICODE
32714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32715#else
32716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32717#endif
32718 }
32719 return resultobj;
32720 fail:
32721 return NULL;
32722}
32723
32724
c32bde28 32725static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32726 PyObject *resultobj = NULL;
d14a1e28
RD
32727 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32728 wxString *arg2 = 0 ;
ae8162c8 32729 bool temp2 = false ;
d14a1e28
RD
32730 PyObject * obj0 = 0 ;
32731 PyObject * obj1 = 0 ;
32732 char *kwnames[] = {
32733 (char *) "self",(char *) "path", NULL
32734 };
32735
32736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32739 {
32740 arg2 = wxString_in_helper(obj1);
32741 if (arg2 == NULL) SWIG_fail;
ae8162c8 32742 temp2 = true;
d14a1e28
RD
32743 }
32744 {
32745 PyThreadState* __tstate = wxPyBeginAllowThreads();
32746 (arg1)->SetDefaultPath((wxString const &)*arg2);
32747
32748 wxPyEndAllowThreads(__tstate);
32749 if (PyErr_Occurred()) SWIG_fail;
32750 }
32751 Py_INCREF(Py_None); resultobj = Py_None;
32752 {
32753 if (temp2)
32754 delete arg2;
32755 }
32756 return resultobj;
32757 fail:
32758 {
32759 if (temp2)
32760 delete arg2;
32761 }
32762 return NULL;
32763}
32764
32765
c32bde28 32766static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32767 PyObject *resultobj = NULL;
d14a1e28
RD
32768 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32769 wxString result;
32770 PyObject * obj0 = 0 ;
32771 char *kwnames[] = {
32772 (char *) "self", NULL
32773 };
32774
32775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
32776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32777 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32778 {
32779 PyThreadState* __tstate = wxPyBeginAllowThreads();
32780 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
32781
32782 wxPyEndAllowThreads(__tstate);
32783 if (PyErr_Occurred()) SWIG_fail;
32784 }
32785 {
32786#if wxUSE_UNICODE
32787 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32788#else
32789 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32790#endif
32791 }
32792 return resultobj;
32793 fail:
32794 return NULL;
32795}
32796
32797
c32bde28 32798static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32799 PyObject *resultobj = NULL;
d14a1e28
RD
32800 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32801 wxString result;
32802 PyObject * obj0 = 0 ;
32803 char *kwnames[] = {
32804 (char *) "self", NULL
32805 };
32806
32807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
32808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32810 {
32811 PyThreadState* __tstate = wxPyBeginAllowThreads();
32812 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
32813
32814 wxPyEndAllowThreads(__tstate);
32815 if (PyErr_Occurred()) SWIG_fail;
32816 }
32817 {
32818#if wxUSE_UNICODE
32819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32820#else
32821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32822#endif
32823 }
32824 return resultobj;
32825 fail:
32826 return NULL;
32827}
32828
32829
c32bde28 32830static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32831 PyObject *resultobj = NULL;
d14a1e28
RD
32832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32833 wxString *arg2 = 0 ;
ae8162c8 32834 bool temp2 = false ;
d14a1e28
RD
32835 PyObject * obj0 = 0 ;
32836 PyObject * obj1 = 0 ;
32837 char *kwnames[] = {
32838 (char *) "self",(char *) "path", NULL
32839 };
32840
32841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32844 {
32845 arg2 = wxString_in_helper(obj1);
32846 if (arg2 == NULL) SWIG_fail;
ae8162c8 32847 temp2 = true;
d14a1e28
RD
32848 }
32849 {
32850 PyThreadState* __tstate = wxPyBeginAllowThreads();
32851 (arg1)->SetPath((wxString const &)*arg2);
32852
32853 wxPyEndAllowThreads(__tstate);
32854 if (PyErr_Occurred()) SWIG_fail;
32855 }
32856 Py_INCREF(Py_None); resultobj = Py_None;
32857 {
32858 if (temp2)
32859 delete arg2;
32860 }
32861 return resultobj;
32862 fail:
32863 {
32864 if (temp2)
32865 delete arg2;
32866 }
32867 return NULL;
32868}
32869
32870
c32bde28 32871static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32872 PyObject *resultobj = NULL;
d14a1e28
RD
32873 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32874 bool arg2 ;
32875 PyObject * obj0 = 0 ;
32876 PyObject * obj1 = 0 ;
32877 char *kwnames[] = {
32878 (char *) "self",(char *) "show", NULL
32879 };
32880
32881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail;
32884 {
32fe5131 32885 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
32886 if (SWIG_arg_fail(2)) SWIG_fail;
32887 }
d14a1e28
RD
32888 {
32889 PyThreadState* __tstate = wxPyBeginAllowThreads();
32890 (arg1)->ShowHidden(arg2);
32891
32892 wxPyEndAllowThreads(__tstate);
32893 if (PyErr_Occurred()) SWIG_fail;
32894 }
32895 Py_INCREF(Py_None); resultobj = Py_None;
32896 return resultobj;
32897 fail:
32898 return NULL;
32899}
32900
32901
c32bde28 32902static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32903 PyObject *resultobj = NULL;
d14a1e28
RD
32904 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32905 bool result;
32906 PyObject * obj0 = 0 ;
32907 char *kwnames[] = {
32908 (char *) "self", NULL
32909 };
32910
32911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
32912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32913 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32914 {
32915 PyThreadState* __tstate = wxPyBeginAllowThreads();
32916 result = (bool)(arg1)->GetShowHidden();
32917
32918 wxPyEndAllowThreads(__tstate);
32919 if (PyErr_Occurred()) SWIG_fail;
32920 }
4f89f6a3
RD
32921 {
32922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32923 }
d14a1e28
RD
32924 return resultobj;
32925 fail:
32926 return NULL;
32927}
32928
32929
c32bde28 32930static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32931 PyObject *resultobj = NULL;
d14a1e28
RD
32932 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32933 wxString result;
32934 PyObject * obj0 = 0 ;
32935 char *kwnames[] = {
32936 (char *) "self", NULL
32937 };
32938
32939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
32940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32942 {
32943 PyThreadState* __tstate = wxPyBeginAllowThreads();
32944 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
32945
32946 wxPyEndAllowThreads(__tstate);
32947 if (PyErr_Occurred()) SWIG_fail;
32948 }
32949 {
32950#if wxUSE_UNICODE
32951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32952#else
32953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32954#endif
32955 }
32956 return resultobj;
32957 fail:
32958 return NULL;
32959}
32960
32961
c32bde28 32962static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32963 PyObject *resultobj = NULL;
d14a1e28
RD
32964 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32965 wxString *arg2 = 0 ;
ae8162c8 32966 bool temp2 = false ;
d14a1e28
RD
32967 PyObject * obj0 = 0 ;
32968 PyObject * obj1 = 0 ;
32969 char *kwnames[] = {
32970 (char *) "self",(char *) "filter", NULL
32971 };
32972
32973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32976 {
32977 arg2 = wxString_in_helper(obj1);
32978 if (arg2 == NULL) SWIG_fail;
ae8162c8 32979 temp2 = true;
d14a1e28
RD
32980 }
32981 {
32982 PyThreadState* __tstate = wxPyBeginAllowThreads();
32983 (arg1)->SetFilter((wxString const &)*arg2);
32984
32985 wxPyEndAllowThreads(__tstate);
32986 if (PyErr_Occurred()) SWIG_fail;
32987 }
32988 Py_INCREF(Py_None); resultobj = Py_None;
32989 {
32990 if (temp2)
32991 delete arg2;
32992 }
32993 return resultobj;
32994 fail:
32995 {
32996 if (temp2)
32997 delete arg2;
32998 }
32999 return NULL;
33000}
33001
33002
c32bde28 33003static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33004 PyObject *resultobj = NULL;
d14a1e28
RD
33005 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33006 int result;
33007 PyObject * obj0 = 0 ;
33008 char *kwnames[] = {
33009 (char *) "self", NULL
33010 };
33011
33012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
33013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33015 {
33016 PyThreadState* __tstate = wxPyBeginAllowThreads();
33017 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
33018
33019 wxPyEndAllowThreads(__tstate);
33020 if (PyErr_Occurred()) SWIG_fail;
33021 }
093d3ff1 33022 {
32fe5131 33023 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 33024 }
d14a1e28
RD
33025 return resultobj;
33026 fail:
33027 return NULL;
33028}
33029
33030
c32bde28 33031static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33032 PyObject *resultobj = NULL;
d14a1e28
RD
33033 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33034 int arg2 ;
33035 PyObject * obj0 = 0 ;
994141e6 33036 PyObject * obj1 = 0 ;
d14a1e28
RD
33037 char *kwnames[] = {
33038 (char *) "self",(char *) "n", NULL
33039 };
33040
994141e6 33041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail;
33044 {
32fe5131 33045 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33046 if (SWIG_arg_fail(2)) SWIG_fail;
33047 }
d14a1e28
RD
33048 {
33049 PyThreadState* __tstate = wxPyBeginAllowThreads();
33050 (arg1)->SetFilterIndex(arg2);
33051
33052 wxPyEndAllowThreads(__tstate);
33053 if (PyErr_Occurred()) SWIG_fail;
33054 }
33055 Py_INCREF(Py_None); resultobj = Py_None;
33056 return resultobj;
33057 fail:
33058 return NULL;
33059}
33060
33061
c32bde28 33062static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33063 PyObject *resultobj = NULL;
d14a1e28
RD
33064 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33065 wxTreeItemId result;
33066 PyObject * obj0 = 0 ;
33067 char *kwnames[] = {
33068 (char *) "self", NULL
33069 };
33070
33071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
33072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33073 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33074 {
33075 PyThreadState* __tstate = wxPyBeginAllowThreads();
33076 result = (arg1)->GetRootId();
33077
33078 wxPyEndAllowThreads(__tstate);
33079 if (PyErr_Occurred()) SWIG_fail;
33080 }
33081 {
33082 wxTreeItemId * resultptr;
32fe5131 33083 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 33084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
33085 }
33086 return resultobj;
33087 fail:
33088 return NULL;
33089}
33090
33091
c32bde28 33092static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33093 PyObject *resultobj = NULL;
d14a1e28 33094 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 33095 wxPyTreeCtrl *result;
d14a1e28
RD
33096 PyObject * obj0 = 0 ;
33097 char *kwnames[] = {
33098 (char *) "self", NULL
33099 };
33100
33101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
33102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33104 {
33105 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 33106 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
33107
33108 wxPyEndAllowThreads(__tstate);
33109 if (PyErr_Occurred()) SWIG_fail;
33110 }
33111 {
412d302d 33112 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33113 }
33114 return resultobj;
33115 fail:
33116 return NULL;
33117}
33118
33119
c32bde28 33120static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33121 PyObject *resultobj = NULL;
d14a1e28
RD
33122 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33123 wxDirFilterListCtrl *result;
33124 PyObject * obj0 = 0 ;
33125 char *kwnames[] = {
33126 (char *) "self", NULL
33127 };
33128
33129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
33130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33132 {
33133 PyThreadState* __tstate = wxPyBeginAllowThreads();
33134 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
33135
33136 wxPyEndAllowThreads(__tstate);
33137 if (PyErr_Occurred()) SWIG_fail;
33138 }
15afbcd0 33139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
33140 return resultobj;
33141 fail:
33142 return NULL;
33143}
33144
33145
c32bde28 33146static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33147 PyObject *resultobj = NULL;
d14a1e28
RD
33148 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33149 wxTreeItemId arg2 ;
33150 wxString *arg3 = 0 ;
33151 bool *arg4 = 0 ;
33152 wxTreeItemId result;
ae8162c8 33153 bool temp3 = false ;
d14a1e28 33154 bool temp4 ;
c32bde28 33155 int res4 = 0 ;
d14a1e28
RD
33156 PyObject * obj0 = 0 ;
33157 PyObject * obj1 = 0 ;
33158 PyObject * obj2 = 0 ;
33159 char *kwnames[] = {
33160 (char *) "self",(char *) "parentId",(char *) "path", NULL
33161 };
33162
c32bde28 33163 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 33164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33166 if (SWIG_arg_fail(1)) SWIG_fail;
33167 {
33168 wxTreeItemId * argp;
33169 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
33170 if (SWIG_arg_fail(2)) SWIG_fail;
33171 if (argp == NULL) {
33172 SWIG_null_ref("wxTreeItemId");
33173 }
33174 if (SWIG_arg_fail(2)) SWIG_fail;
33175 arg2 = *argp;
33176 }
d14a1e28
RD
33177 {
33178 arg3 = wxString_in_helper(obj2);
33179 if (arg3 == NULL) SWIG_fail;
ae8162c8 33180 temp3 = true;
d14a1e28
RD
33181 }
33182 {
33183 PyThreadState* __tstate = wxPyBeginAllowThreads();
33184 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
33185
33186 wxPyEndAllowThreads(__tstate);
33187 if (PyErr_Occurred()) SWIG_fail;
33188 }
33189 {
33190 wxTreeItemId * resultptr;
32fe5131 33191 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
15afbcd0 33192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 33193 }
c32bde28
RD
33194 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
33195 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d14a1e28
RD
33196 {
33197 if (temp3)
33198 delete arg3;
33199 }
33200 return resultobj;
33201 fail:
33202 {
33203 if (temp3)
33204 delete arg3;
33205 }
33206 return NULL;
33207}
33208
33209
c32bde28 33210static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33211 PyObject *resultobj = NULL;
d14a1e28
RD
33212 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33213 PyObject * obj0 = 0 ;
33214 char *kwnames[] = {
33215 (char *) "self", NULL
33216 };
33217
33218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33221 {
33222 PyThreadState* __tstate = wxPyBeginAllowThreads();
33223 (arg1)->DoResize();
33224
33225 wxPyEndAllowThreads(__tstate);
33226 if (PyErr_Occurred()) SWIG_fail;
33227 }
33228 Py_INCREF(Py_None); resultobj = Py_None;
33229 return resultobj;
33230 fail:
33231 return NULL;
33232}
33233
33234
c32bde28 33235static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33236 PyObject *resultobj = NULL;
d14a1e28
RD
33237 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33238 PyObject * obj0 = 0 ;
33239 char *kwnames[] = {
33240 (char *) "self", NULL
33241 };
33242
33243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
33244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33245 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33246 {
33247 PyThreadState* __tstate = wxPyBeginAllowThreads();
33248 (arg1)->ReCreateTree();
33249
33250 wxPyEndAllowThreads(__tstate);
33251 if (PyErr_Occurred()) SWIG_fail;
33252 }
33253 Py_INCREF(Py_None); resultobj = Py_None;
33254 return resultobj;
33255 fail:
33256 return NULL;
33257}
33258
33259
c32bde28 33260static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33261 PyObject *obj;
33262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33263 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
33264 Py_INCREF(obj);
33265 return Py_BuildValue((char *)"");
33266}
c32bde28 33267static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33268 PyObject *resultobj = NULL;
d14a1e28 33269 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 33270 int arg2 = (int) (int)-1 ;
d14a1e28
RD
33271 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33272 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33273 wxSize const &arg4_defvalue = wxDefaultSize ;
33274 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33275 long arg5 = (long) 0 ;
33276 wxDirFilterListCtrl *result;
33277 wxPoint temp3 ;
33278 wxSize temp4 ;
33279 PyObject * obj0 = 0 ;
994141e6 33280 PyObject * obj1 = 0 ;
d14a1e28
RD
33281 PyObject * obj2 = 0 ;
33282 PyObject * obj3 = 0 ;
994141e6 33283 PyObject * obj4 = 0 ;
d14a1e28
RD
33284 char *kwnames[] = {
33285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33286 };
33287
994141e6 33288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33290 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 33291 if (obj1) {
093d3ff1 33292 {
32fe5131 33293 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
33294 if (SWIG_arg_fail(2)) SWIG_fail;
33295 }
994141e6 33296 }
d14a1e28
RD
33297 if (obj2) {
33298 {
33299 arg3 = &temp3;
33300 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33301 }
33302 }
33303 if (obj3) {
33304 {
33305 arg4 = &temp4;
33306 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33307 }
33308 }
994141e6 33309 if (obj4) {
093d3ff1 33310 {
32fe5131 33311 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
33312 if (SWIG_arg_fail(5)) SWIG_fail;
33313 }
994141e6 33314 }
d14a1e28 33315 {
e3b71cb8 33316 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33317 PyThreadState* __tstate = wxPyBeginAllowThreads();
33318 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33319
33320 wxPyEndAllowThreads(__tstate);
110da5b0 33321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33322 }
15afbcd0 33323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
33324 return resultobj;
33325 fail:
33326 return NULL;
33327}
33328
33329
c32bde28 33330static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33331 PyObject *resultobj = NULL;
d14a1e28
RD
33332 wxDirFilterListCtrl *result;
33333 char *kwnames[] = {
33334 NULL
33335 };
33336
33337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
33338 {
e3b71cb8 33339 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33340 PyThreadState* __tstate = wxPyBeginAllowThreads();
33341 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
33342
33343 wxPyEndAllowThreads(__tstate);
110da5b0 33344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33345 }
15afbcd0 33346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
33347 return resultobj;
33348 fail:
33349 return NULL;
33350}
33351
33352
c32bde28 33353static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33354 PyObject *resultobj = NULL;
d14a1e28
RD
33355 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33356 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 33357 int arg3 = (int) (int)-1 ;
d14a1e28
RD
33358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33360 wxSize const &arg5_defvalue = wxDefaultSize ;
33361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33362 long arg6 = (long) 0 ;
33363 bool result;
33364 wxPoint temp4 ;
33365 wxSize temp5 ;
33366 PyObject * obj0 = 0 ;
33367 PyObject * obj1 = 0 ;
994141e6 33368 PyObject * obj2 = 0 ;
d14a1e28
RD
33369 PyObject * obj3 = 0 ;
33370 PyObject * obj4 = 0 ;
994141e6 33371 PyObject * obj5 = 0 ;
d14a1e28
RD
33372 char *kwnames[] = {
33373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33374 };
33375
994141e6 33376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33378 if (SWIG_arg_fail(1)) SWIG_fail;
33379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33380 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 33381 if (obj2) {
093d3ff1 33382 {
32fe5131 33383 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
33384 if (SWIG_arg_fail(3)) SWIG_fail;
33385 }
994141e6 33386 }
d14a1e28
RD
33387 if (obj3) {
33388 {
33389 arg4 = &temp4;
33390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33391 }
33392 }
33393 if (obj4) {
33394 {
33395 arg5 = &temp5;
33396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33397 }
33398 }
994141e6 33399 if (obj5) {
093d3ff1 33400 {
32fe5131 33401 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
33402 if (SWIG_arg_fail(6)) SWIG_fail;
33403 }
994141e6 33404 }
d14a1e28
RD
33405 {
33406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33407 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
33408
33409 wxPyEndAllowThreads(__tstate);
33410 if (PyErr_Occurred()) SWIG_fail;
33411 }
4f89f6a3
RD
33412 {
33413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33414 }
d14a1e28
RD
33415 return resultobj;
33416 fail:
33417 return NULL;
33418}
33419
33420
c32bde28 33421static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33422 PyObject *resultobj = NULL;
d14a1e28
RD
33423 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33424 wxString *arg2 = 0 ;
33425 int arg3 ;
ae8162c8 33426 bool temp2 = false ;
d14a1e28
RD
33427 PyObject * obj0 = 0 ;
33428 PyObject * obj1 = 0 ;
994141e6 33429 PyObject * obj2 = 0 ;
d14a1e28
RD
33430 char *kwnames[] = {
33431 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33432 };
33433
994141e6 33434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33436 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33437 {
33438 arg2 = wxString_in_helper(obj1);
33439 if (arg2 == NULL) SWIG_fail;
ae8162c8 33440 temp2 = true;
d14a1e28 33441 }
093d3ff1 33442 {
32fe5131 33443 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33444 if (SWIG_arg_fail(3)) SWIG_fail;
33445 }
d14a1e28
RD
33446 {
33447 PyThreadState* __tstate = wxPyBeginAllowThreads();
33448 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
33449
33450 wxPyEndAllowThreads(__tstate);
33451 if (PyErr_Occurred()) SWIG_fail;
33452 }
33453 Py_INCREF(Py_None); resultobj = Py_None;
33454 {
33455 if (temp2)
33456 delete arg2;
33457 }
33458 return resultobj;
33459 fail:
33460 {
33461 if (temp2)
33462 delete arg2;
33463 }
33464 return NULL;
33465}
33466
33467
c32bde28 33468static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33469 PyObject *obj;
33470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33471 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
33472 Py_INCREF(obj);
33473 return Py_BuildValue((char *)"");
33474}
c32bde28 33475static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33476 PyObject *resultobj = NULL;
d14a1e28 33477 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 33478 int arg2 = (int) (int)-1 ;
d14a1e28
RD
33479 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33480 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33481 wxSize const &arg4_defvalue = wxDefaultSize ;
33482 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33483 long arg5 = (long) 0 ;
33484 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33485 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33486 wxString const &arg7_defvalue = wxPyControlNameStr ;
33487 wxString *arg7 = (wxString *) &arg7_defvalue ;
33488 wxPyControl *result;
33489 wxPoint temp3 ;
33490 wxSize temp4 ;
ae8162c8 33491 bool temp7 = false ;
d14a1e28 33492 PyObject * obj0 = 0 ;
994141e6 33493 PyObject * obj1 = 0 ;
d14a1e28
RD
33494 PyObject * obj2 = 0 ;
33495 PyObject * obj3 = 0 ;
994141e6 33496 PyObject * obj4 = 0 ;
d14a1e28
RD
33497 PyObject * obj5 = 0 ;
33498 PyObject * obj6 = 0 ;
33499 char *kwnames[] = {
33500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33501 };
33502
248ed943 33503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
33504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 33506 if (obj1) {
093d3ff1 33507 {
32fe5131 33508 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
33509 if (SWIG_arg_fail(2)) SWIG_fail;
33510 }
248ed943 33511 }
d14a1e28
RD
33512 if (obj2) {
33513 {
33514 arg3 = &temp3;
33515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33516 }
33517 }
33518 if (obj3) {
33519 {
33520 arg4 = &temp4;
33521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33522 }
33523 }
994141e6 33524 if (obj4) {
093d3ff1 33525 {
32fe5131 33526 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
33527 if (SWIG_arg_fail(5)) SWIG_fail;
33528 }
994141e6 33529 }
d14a1e28 33530 if (obj5) {
093d3ff1
RD
33531 {
33532 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33533 if (SWIG_arg_fail(6)) SWIG_fail;
33534 if (arg6 == NULL) {
33535 SWIG_null_ref("wxValidator");
33536 }
33537 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
33538 }
33539 }
33540 if (obj6) {
33541 {
33542 arg7 = wxString_in_helper(obj6);
33543 if (arg7 == NULL) SWIG_fail;
ae8162c8 33544 temp7 = true;
d14a1e28
RD
33545 }
33546 }
33547 {
e3b71cb8 33548 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33549 PyThreadState* __tstate = wxPyBeginAllowThreads();
33550 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33551
33552 wxPyEndAllowThreads(__tstate);
110da5b0 33553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33554 }
15afbcd0 33555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
33556 {
33557 if (temp7)
33558 delete arg7;
33559 }
33560 return resultobj;
33561 fail:
33562 {
33563 if (temp7)
33564 delete arg7;
33565 }
33566 return NULL;
33567}
33568
33569
c32bde28 33570static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33571 PyObject *resultobj = NULL;
1cb4a8aa
RD
33572 wxPyControl *result;
33573 char *kwnames[] = {
33574 NULL
33575 };
33576
33577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
33578 {
e3b71cb8 33579 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
33580 PyThreadState* __tstate = wxPyBeginAllowThreads();
33581 result = (wxPyControl *)new wxPyControl();
33582
33583 wxPyEndAllowThreads(__tstate);
110da5b0 33584 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
33585 }
33586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33587 return resultobj;
33588 fail:
33589 return NULL;
33590}
33591
33592
c32bde28 33593static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33594 PyObject *resultobj = NULL;
d14a1e28
RD
33595 wxPyControl *arg1 = (wxPyControl *) 0 ;
33596 PyObject *arg2 = (PyObject *) 0 ;
33597 PyObject *arg3 = (PyObject *) 0 ;
33598 PyObject * obj0 = 0 ;
33599 PyObject * obj1 = 0 ;
33600 PyObject * obj2 = 0 ;
33601 char *kwnames[] = {
33602 (char *) "self",(char *) "self",(char *) "_class", NULL
33603 };
33604
33605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33607 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33608 arg2 = obj1;
33609 arg3 = obj2;
33610 {
33611 PyThreadState* __tstate = wxPyBeginAllowThreads();
33612 (arg1)->_setCallbackInfo(arg2,arg3);
33613
33614 wxPyEndAllowThreads(__tstate);
33615 if (PyErr_Occurred()) SWIG_fail;
33616 }
33617 Py_INCREF(Py_None); resultobj = Py_None;
33618 return resultobj;
33619 fail:
33620 return NULL;
33621}
33622
33623
c32bde28 33624static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33625 PyObject *resultobj = NULL;
db3e571a
RD
33626 wxPyControl *arg1 = (wxPyControl *) 0 ;
33627 wxSize *arg2 = 0 ;
33628 wxSize temp2 ;
33629 PyObject * obj0 = 0 ;
33630 PyObject * obj1 = 0 ;
33631 char *kwnames[] = {
33632 (char *) "self",(char *) "size", NULL
33633 };
33634
33635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33637 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
33638 {
33639 arg2 = &temp2;
33640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33641 }
33642 {
33643 PyThreadState* __tstate = wxPyBeginAllowThreads();
33644 (arg1)->SetBestSize((wxSize const &)*arg2);
33645
33646 wxPyEndAllowThreads(__tstate);
33647 if (PyErr_Occurred()) SWIG_fail;
33648 }
33649 Py_INCREF(Py_None); resultobj = Py_None;
33650 return resultobj;
33651 fail:
33652 return NULL;
33653}
33654
33655
976dbff5 33656static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33657 PyObject *resultobj = NULL;
976dbff5
RD
33658 wxPyControl *arg1 = (wxPyControl *) 0 ;
33659 wxDC *arg2 = (wxDC *) 0 ;
33660 bool result;
33661 PyObject * obj0 = 0 ;
33662 PyObject * obj1 = 0 ;
33663 char *kwnames[] = {
33664 (char *) "self",(char *) "dc", NULL
33665 };
33666
33667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
33668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33669 if (SWIG_arg_fail(1)) SWIG_fail;
33670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33671 if (SWIG_arg_fail(2)) SWIG_fail;
33672 {
33673 PyThreadState* __tstate = wxPyBeginAllowThreads();
33674 result = (bool)(arg1)->DoEraseBackground(arg2);
33675
33676 wxPyEndAllowThreads(__tstate);
33677 if (PyErr_Occurred()) SWIG_fail;
33678 }
33679 {
33680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33681 }
33682 return resultobj;
33683 fail:
33684 return NULL;
33685}
33686
33687
c26d9ab4 33688static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33689 PyObject *resultobj = NULL;
d14a1e28
RD
33690 wxPyControl *arg1 = (wxPyControl *) 0 ;
33691 int arg2 ;
33692 int arg3 ;
33693 int arg4 ;
33694 int arg5 ;
33695 PyObject * obj0 = 0 ;
994141e6
RD
33696 PyObject * obj1 = 0 ;
33697 PyObject * obj2 = 0 ;
33698 PyObject * obj3 = 0 ;
33699 PyObject * obj4 = 0 ;
d14a1e28
RD
33700 char *kwnames[] = {
33701 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33702 };
33703
c26d9ab4 33704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33706 if (SWIG_arg_fail(1)) SWIG_fail;
33707 {
32fe5131 33708 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33709 if (SWIG_arg_fail(2)) SWIG_fail;
33710 }
33711 {
32fe5131 33712 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33713 if (SWIG_arg_fail(3)) SWIG_fail;
33714 }
33715 {
32fe5131 33716 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
33717 if (SWIG_arg_fail(4)) SWIG_fail;
33718 }
33719 {
32fe5131 33720 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
33721 if (SWIG_arg_fail(5)) SWIG_fail;
33722 }
d14a1e28
RD
33723 {
33724 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33725 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d14a1e28
RD
33726
33727 wxPyEndAllowThreads(__tstate);
33728 if (PyErr_Occurred()) SWIG_fail;
33729 }
33730 Py_INCREF(Py_None); resultobj = Py_None;
33731 return resultobj;
33732 fail:
33733 return NULL;
33734}
33735
33736
c26d9ab4 33737static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33738 PyObject *resultobj = NULL;
d14a1e28
RD
33739 wxPyControl *arg1 = (wxPyControl *) 0 ;
33740 int arg2 ;
33741 int arg3 ;
33742 int arg4 ;
33743 int arg5 ;
33744 int arg6 = (int) wxSIZE_AUTO ;
33745 PyObject * obj0 = 0 ;
994141e6
RD
33746 PyObject * obj1 = 0 ;
33747 PyObject * obj2 = 0 ;
33748 PyObject * obj3 = 0 ;
33749 PyObject * obj4 = 0 ;
33750 PyObject * obj5 = 0 ;
d14a1e28
RD
33751 char *kwnames[] = {
33752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33753 };
33754
c26d9ab4 33755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33757 if (SWIG_arg_fail(1)) SWIG_fail;
33758 {
32fe5131 33759 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33760 if (SWIG_arg_fail(2)) SWIG_fail;
33761 }
33762 {
32fe5131 33763 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33764 if (SWIG_arg_fail(3)) SWIG_fail;
33765 }
33766 {
32fe5131 33767 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
33768 if (SWIG_arg_fail(4)) SWIG_fail;
33769 }
33770 {
32fe5131 33771 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
33772 if (SWIG_arg_fail(5)) SWIG_fail;
33773 }
994141e6 33774 if (obj5) {
093d3ff1 33775 {
32fe5131 33776 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
33777 if (SWIG_arg_fail(6)) SWIG_fail;
33778 }
994141e6 33779 }
d14a1e28
RD
33780 {
33781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33782 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
33783
33784 wxPyEndAllowThreads(__tstate);
33785 if (PyErr_Occurred()) SWIG_fail;
33786 }
33787 Py_INCREF(Py_None); resultobj = Py_None;
33788 return resultobj;
33789 fail:
33790 return NULL;
33791}
33792
33793
c26d9ab4 33794static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33795 PyObject *resultobj = NULL;
d14a1e28
RD
33796 wxPyControl *arg1 = (wxPyControl *) 0 ;
33797 int arg2 ;
33798 int arg3 ;
33799 PyObject * obj0 = 0 ;
994141e6
RD
33800 PyObject * obj1 = 0 ;
33801 PyObject * obj2 = 0 ;
d14a1e28
RD
33802 char *kwnames[] = {
33803 (char *) "self",(char *) "width",(char *) "height", NULL
33804 };
33805
c26d9ab4 33806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33808 if (SWIG_arg_fail(1)) SWIG_fail;
33809 {
32fe5131 33810 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33811 if (SWIG_arg_fail(2)) SWIG_fail;
33812 }
33813 {
32fe5131 33814 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33815 if (SWIG_arg_fail(3)) SWIG_fail;
33816 }
d14a1e28
RD
33817 {
33818 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33819 (arg1)->DoSetClientSize(arg2,arg3);
d14a1e28
RD
33820
33821 wxPyEndAllowThreads(__tstate);
33822 if (PyErr_Occurred()) SWIG_fail;
33823 }
33824 Py_INCREF(Py_None); resultobj = Py_None;
33825 return resultobj;
33826 fail:
33827 return NULL;
33828}
33829
33830
c26d9ab4 33831static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33832 PyObject *resultobj = NULL;
d14a1e28
RD
33833 wxPyControl *arg1 = (wxPyControl *) 0 ;
33834 int arg2 ;
33835 int arg3 ;
33836 PyObject * obj0 = 0 ;
994141e6
RD
33837 PyObject * obj1 = 0 ;
33838 PyObject * obj2 = 0 ;
d14a1e28
RD
33839 char *kwnames[] = {
33840 (char *) "self",(char *) "x",(char *) "y", NULL
33841 };
33842
c26d9ab4 33843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33845 if (SWIG_arg_fail(1)) SWIG_fail;
33846 {
32fe5131 33847 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33848 if (SWIG_arg_fail(2)) SWIG_fail;
33849 }
33850 {
32fe5131 33851 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33852 if (SWIG_arg_fail(3)) SWIG_fail;
33853 }
d14a1e28
RD
33854 {
33855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33856 (arg1)->DoSetVirtualSize(arg2,arg3);
d14a1e28
RD
33857
33858 wxPyEndAllowThreads(__tstate);
33859 if (PyErr_Occurred()) SWIG_fail;
33860 }
33861 Py_INCREF(Py_None); resultobj = Py_None;
33862 return resultobj;
33863 fail:
33864 return NULL;
33865}
33866
33867
c26d9ab4 33868static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33869 PyObject *resultobj = NULL;
d14a1e28
RD
33870 wxPyControl *arg1 = (wxPyControl *) 0 ;
33871 int *arg2 = (int *) 0 ;
33872 int *arg3 = (int *) 0 ;
33873 int temp2 ;
c32bde28 33874 int res2 = 0 ;
d14a1e28 33875 int temp3 ;
c32bde28 33876 int res3 = 0 ;
d14a1e28
RD
33877 PyObject * obj0 = 0 ;
33878 char *kwnames[] = {
33879 (char *) "self", NULL
33880 };
33881
c32bde28
RD
33882 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33883 arg3 = &temp3; res3 = SWIG_NEWOBJ;
c26d9ab4 33884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33887 {
33888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33889 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
d14a1e28
RD
33890
33891 wxPyEndAllowThreads(__tstate);
33892 if (PyErr_Occurred()) SWIG_fail;
33893 }
33894 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
33895 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33896 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33897 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33898 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
33899 return resultobj;
33900 fail:
33901 return NULL;
33902}
33903
33904
c26d9ab4 33905static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33906 PyObject *resultobj = NULL;
d14a1e28
RD
33907 wxPyControl *arg1 = (wxPyControl *) 0 ;
33908 int *arg2 = (int *) 0 ;
33909 int *arg3 = (int *) 0 ;
33910 int temp2 ;
c32bde28 33911 int res2 = 0 ;
d14a1e28 33912 int temp3 ;
c32bde28 33913 int res3 = 0 ;
d14a1e28
RD
33914 PyObject * obj0 = 0 ;
33915 char *kwnames[] = {
33916 (char *) "self", NULL
33917 };
33918
c32bde28
RD
33919 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33920 arg3 = &temp3; res3 = SWIG_NEWOBJ;
c26d9ab4 33921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33923 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33924 {
33925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33926 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
d14a1e28
RD
33927
33928 wxPyEndAllowThreads(__tstate);
33929 if (PyErr_Occurred()) SWIG_fail;
33930 }
33931 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
33932 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33933 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33934 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33935 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
33936 return resultobj;
33937 fail:
33938 return NULL;
33939}
33940
33941
c26d9ab4 33942static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33943 PyObject *resultobj = NULL;
d14a1e28
RD
33944 wxPyControl *arg1 = (wxPyControl *) 0 ;
33945 int *arg2 = (int *) 0 ;
33946 int *arg3 = (int *) 0 ;
33947 int temp2 ;
c32bde28 33948 int res2 = 0 ;
d14a1e28 33949 int temp3 ;
c32bde28 33950 int res3 = 0 ;
d14a1e28
RD
33951 PyObject * obj0 = 0 ;
33952 char *kwnames[] = {
33953 (char *) "self", NULL
33954 };
33955
c32bde28
RD
33956 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33957 arg3 = &temp3; res3 = SWIG_NEWOBJ;
c26d9ab4 33958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
33959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33960 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33961 {
33962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33963 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
d14a1e28
RD
33964
33965 wxPyEndAllowThreads(__tstate);
33966 if (PyErr_Occurred()) SWIG_fail;
33967 }
33968 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
33969 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33970 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33971 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33972 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
33973 return resultobj;
33974 fail:
33975 return NULL;
33976}
33977
33978
c26d9ab4 33979static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33980 PyObject *resultobj = NULL;
d14a1e28
RD
33981 wxPyControl *arg1 = (wxPyControl *) 0 ;
33982 wxSize result;
33983 PyObject * obj0 = 0 ;
33984 char *kwnames[] = {
33985 (char *) "self", NULL
33986 };
33987
c26d9ab4 33988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33991 {
33992 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 33993 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
d14a1e28
RD
33994
33995 wxPyEndAllowThreads(__tstate);
33996 if (PyErr_Occurred()) SWIG_fail;
33997 }
33998 {
33999 wxSize * resultptr;
32fe5131 34000 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 34001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34002 }
34003 return resultobj;
34004 fail:
34005 return NULL;
34006}
34007
34008
c26d9ab4 34009static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34010 PyObject *resultobj = NULL;
d14a1e28
RD
34011 wxPyControl *arg1 = (wxPyControl *) 0 ;
34012 wxSize result;
34013 PyObject * obj0 = 0 ;
34014 char *kwnames[] = {
34015 (char *) "self", NULL
34016 };
34017
c26d9ab4 34018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34021 {
34022 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34023 result = ((wxPyControl const *)arg1)->DoGetBestSize();
d14a1e28
RD
34024
34025 wxPyEndAllowThreads(__tstate);
34026 if (PyErr_Occurred()) SWIG_fail;
34027 }
34028 {
34029 wxSize * resultptr;
32fe5131 34030 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 34031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34032 }
34033 return resultobj;
34034 fail:
34035 return NULL;
34036}
34037
34038
c26d9ab4 34039static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34040 PyObject *resultobj = NULL;
d14a1e28
RD
34041 wxPyControl *arg1 = (wxPyControl *) 0 ;
34042 PyObject * obj0 = 0 ;
34043 char *kwnames[] = {
34044 (char *) "self", NULL
34045 };
34046
c26d9ab4 34047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
34048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34049 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34050 {
34051 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34052 (arg1)->InitDialog();
d14a1e28
RD
34053
34054 wxPyEndAllowThreads(__tstate);
34055 if (PyErr_Occurred()) SWIG_fail;
34056 }
34057 Py_INCREF(Py_None); resultobj = Py_None;
34058 return resultobj;
34059 fail:
34060 return NULL;
34061}
34062
34063
c26d9ab4 34064static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34065 PyObject *resultobj = NULL;
d14a1e28
RD
34066 wxPyControl *arg1 = (wxPyControl *) 0 ;
34067 bool result;
34068 PyObject * obj0 = 0 ;
34069 char *kwnames[] = {
34070 (char *) "self", NULL
34071 };
34072
c26d9ab4 34073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
34074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34076 {
34077 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34078 result = (bool)(arg1)->TransferDataToWindow();
d14a1e28
RD
34079
34080 wxPyEndAllowThreads(__tstate);
34081 if (PyErr_Occurred()) SWIG_fail;
34082 }
4f89f6a3
RD
34083 {
34084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34085 }
d14a1e28
RD
34086 return resultobj;
34087 fail:
34088 return NULL;
34089}
34090
34091
c26d9ab4 34092static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34093 PyObject *resultobj = NULL;
d14a1e28
RD
34094 wxPyControl *arg1 = (wxPyControl *) 0 ;
34095 bool result;
34096 PyObject * obj0 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self", NULL
34099 };
34100
c26d9ab4 34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
34102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34104 {
34105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34106 result = (bool)(arg1)->TransferDataFromWindow();
d14a1e28
RD
34107
34108 wxPyEndAllowThreads(__tstate);
34109 if (PyErr_Occurred()) SWIG_fail;
34110 }
4f89f6a3
RD
34111 {
34112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34113 }
d14a1e28
RD
34114 return resultobj;
34115 fail:
34116 return NULL;
34117}
34118
34119
c26d9ab4 34120static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34121 PyObject *resultobj = NULL;
d14a1e28
RD
34122 wxPyControl *arg1 = (wxPyControl *) 0 ;
34123 bool result;
34124 PyObject * obj0 = 0 ;
34125 char *kwnames[] = {
34126 (char *) "self", NULL
34127 };
34128
c26d9ab4 34129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
34130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34132 {
34133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34134 result = (bool)(arg1)->Validate();
d14a1e28
RD
34135
34136 wxPyEndAllowThreads(__tstate);
34137 if (PyErr_Occurred()) SWIG_fail;
34138 }
4f89f6a3
RD
34139 {
34140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34141 }
d14a1e28
RD
34142 return resultobj;
34143 fail:
34144 return NULL;
34145}
34146
34147
c26d9ab4 34148static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34149 PyObject *resultobj = NULL;
d14a1e28
RD
34150 wxPyControl *arg1 = (wxPyControl *) 0 ;
34151 bool result;
34152 PyObject * obj0 = 0 ;
34153 char *kwnames[] = {
34154 (char *) "self", NULL
34155 };
34156
c26d9ab4 34157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
34158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34160 {
34161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34162 result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
d14a1e28
RD
34163
34164 wxPyEndAllowThreads(__tstate);
34165 if (PyErr_Occurred()) SWIG_fail;
34166 }
4f89f6a3
RD
34167 {
34168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34169 }
d14a1e28
RD
34170 return resultobj;
34171 fail:
34172 return NULL;
34173}
34174
34175
c26d9ab4 34176static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34177 PyObject *resultobj = NULL;
d14a1e28
RD
34178 wxPyControl *arg1 = (wxPyControl *) 0 ;
34179 bool result;
34180 PyObject * obj0 = 0 ;
34181 char *kwnames[] = {
34182 (char *) "self", NULL
34183 };
34184
c26d9ab4 34185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
34186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34188 {
34189 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34190 result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
d14a1e28
RD
34191
34192 wxPyEndAllowThreads(__tstate);
34193 if (PyErr_Occurred()) SWIG_fail;
34194 }
4f89f6a3
RD
34195 {
34196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34197 }
d14a1e28
RD
34198 return resultobj;
34199 fail:
34200 return NULL;
34201}
34202
34203
c26d9ab4 34204static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34205 PyObject *resultobj = NULL;
d14a1e28
RD
34206 wxPyControl *arg1 = (wxPyControl *) 0 ;
34207 wxSize result;
34208 PyObject * obj0 = 0 ;
34209 char *kwnames[] = {
34210 (char *) "self", NULL
34211 };
34212
c26d9ab4 34213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34216 {
34217 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34218 result = ((wxPyControl const *)arg1)->GetMaxSize();
d14a1e28
RD
34219
34220 wxPyEndAllowThreads(__tstate);
34221 if (PyErr_Occurred()) SWIG_fail;
34222 }
34223 {
34224 wxSize * resultptr;
32fe5131 34225 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 34226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34227 }
34228 return resultobj;
34229 fail:
34230 return NULL;
34231}
34232
34233
c26d9ab4 34234static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34235 PyObject *resultobj = NULL;
d14a1e28
RD
34236 wxPyControl *arg1 = (wxPyControl *) 0 ;
34237 wxWindow *arg2 = (wxWindow *) 0 ;
34238 PyObject * obj0 = 0 ;
34239 PyObject * obj1 = 0 ;
34240 char *kwnames[] = {
34241 (char *) "self",(char *) "child", NULL
34242 };
34243
c26d9ab4 34244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34246 if (SWIG_arg_fail(1)) SWIG_fail;
34247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34248 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34249 {
34250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34251 (arg1)->AddChild(arg2);
d14a1e28
RD
34252
34253 wxPyEndAllowThreads(__tstate);
34254 if (PyErr_Occurred()) SWIG_fail;
34255 }
34256 Py_INCREF(Py_None); resultobj = Py_None;
34257 return resultobj;
34258 fail:
34259 return NULL;
34260}
34261
34262
c26d9ab4 34263static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34264 PyObject *resultobj = NULL;
d14a1e28
RD
34265 wxPyControl *arg1 = (wxPyControl *) 0 ;
34266 wxWindow *arg2 = (wxWindow *) 0 ;
34267 PyObject * obj0 = 0 ;
34268 PyObject * obj1 = 0 ;
34269 char *kwnames[] = {
34270 (char *) "self",(char *) "child", NULL
34271 };
34272
c26d9ab4 34273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34275 if (SWIG_arg_fail(1)) SWIG_fail;
34276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34277 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34278 {
34279 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34280 (arg1)->RemoveChild(arg2);
d14a1e28
RD
34281
34282 wxPyEndAllowThreads(__tstate);
34283 if (PyErr_Occurred()) SWIG_fail;
34284 }
34285 Py_INCREF(Py_None); resultobj = Py_None;
34286 return resultobj;
34287 fail:
34288 return NULL;
34289}
34290
34291
c26d9ab4 34292static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34293 PyObject *resultobj = NULL;
1cb4a8aa
RD
34294 wxPyControl *arg1 = (wxPyControl *) 0 ;
34295 bool result;
34296 PyObject * obj0 = 0 ;
34297 char *kwnames[] = {
34298 (char *) "self", NULL
34299 };
34300
c26d9ab4 34301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
34302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34303 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
34304 {
34305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34306 result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
1cb4a8aa
RD
34307
34308 wxPyEndAllowThreads(__tstate);
34309 if (PyErr_Occurred()) SWIG_fail;
34310 }
34311 {
34312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34313 }
34314 return resultobj;
34315 fail:
34316 return NULL;
34317}
34318
34319
c26d9ab4 34320static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34321 PyObject *resultobj = NULL;
db3e571a
RD
34322 wxPyControl *arg1 = (wxPyControl *) 0 ;
34323 wxVisualAttributes result;
34324 PyObject * obj0 = 0 ;
34325 char *kwnames[] = {
34326 (char *) "self", NULL
34327 };
34328
c26d9ab4 34329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
34330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34331 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
34332 {
34333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34334 result = (arg1)->GetDefaultAttributes();
db3e571a
RD
34335
34336 wxPyEndAllowThreads(__tstate);
34337 if (PyErr_Occurred()) SWIG_fail;
34338 }
34339 {
34340 wxVisualAttributes * resultptr;
32fe5131 34341 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
db3e571a
RD
34342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34343 }
34344 return resultobj;
34345 fail:
34346 return NULL;
34347}
34348
34349
c26d9ab4 34350static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34351 PyObject *resultobj = NULL;
8d38bd1d
RD
34352 wxPyControl *arg1 = (wxPyControl *) 0 ;
34353 PyObject * obj0 = 0 ;
34354 char *kwnames[] = {
34355 (char *) "self", NULL
34356 };
34357
c26d9ab4 34358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
34359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail;
34361 {
34362 PyThreadState* __tstate = wxPyBeginAllowThreads();
c26d9ab4 34363 (arg1)->OnInternalIdle();
8d38bd1d
RD
34364
34365 wxPyEndAllowThreads(__tstate);
34366 if (PyErr_Occurred()) SWIG_fail;
34367 }
34368 Py_INCREF(Py_None); resultobj = Py_None;
34369 return resultobj;
34370 fail:
34371 return NULL;
34372}
34373
34374
c32bde28 34375static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34376 PyObject *obj;
34377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34378 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
34379 Py_INCREF(obj);
34380 return Py_BuildValue((char *)"");
34381}
c32bde28 34382static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34383 PyObject *resultobj = NULL;
d14a1e28 34384 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 34385 int arg2 = (int) 0 ;
d14a1e28
RD
34386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34388 wxHelpEvent *result;
34389 wxPoint temp3 ;
994141e6
RD
34390 PyObject * obj0 = 0 ;
34391 PyObject * obj1 = 0 ;
d14a1e28
RD
34392 PyObject * obj2 = 0 ;
34393 char *kwnames[] = {
34394 (char *) "type",(char *) "winid",(char *) "pt", NULL
34395 };
34396
994141e6
RD
34397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
34398 if (obj0) {
093d3ff1 34399 {
32fe5131 34400 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
34401 if (SWIG_arg_fail(1)) SWIG_fail;
34402 }
994141e6
RD
34403 }
34404 if (obj1) {
093d3ff1 34405 {
32fe5131 34406 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34407 if (SWIG_arg_fail(2)) SWIG_fail;
34408 }
994141e6 34409 }
d14a1e28
RD
34410 if (obj2) {
34411 {
34412 arg3 = &temp3;
34413 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34414 }
34415 }
34416 {
34417 PyThreadState* __tstate = wxPyBeginAllowThreads();
34418 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
34419
34420 wxPyEndAllowThreads(__tstate);
34421 if (PyErr_Occurred()) SWIG_fail;
34422 }
15afbcd0 34423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
34424 return resultobj;
34425 fail:
34426 return NULL;
34427}
34428
34429
c32bde28 34430static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34431 PyObject *resultobj = NULL;
d14a1e28 34432 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 34433 wxPoint result;
d14a1e28
RD
34434 PyObject * obj0 = 0 ;
34435 char *kwnames[] = {
34436 (char *) "self", NULL
34437 };
34438
34439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
34440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34441 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34442 {
34443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 34444 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
34445
34446 wxPyEndAllowThreads(__tstate);
34447 if (PyErr_Occurred()) SWIG_fail;
34448 }
15afbcd0
RD
34449 {
34450 wxPoint * resultptr;
32fe5131 34451 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
15afbcd0
RD
34452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34453 }
d14a1e28
RD
34454 return resultobj;
34455 fail:
34456 return NULL;
34457}
34458
34459
c32bde28 34460static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34461 PyObject *resultobj = NULL;
d14a1e28
RD
34462 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34463 wxPoint *arg2 = 0 ;
34464 wxPoint temp2 ;
34465 PyObject * obj0 = 0 ;
34466 PyObject * obj1 = 0 ;
34467 char *kwnames[] = {
34468 (char *) "self",(char *) "pos", NULL
34469 };
34470
34471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34473 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34474 {
34475 arg2 = &temp2;
34476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34477 }
34478 {
34479 PyThreadState* __tstate = wxPyBeginAllowThreads();
34480 (arg1)->SetPosition((wxPoint const &)*arg2);
34481
34482 wxPyEndAllowThreads(__tstate);
34483 if (PyErr_Occurred()) SWIG_fail;
34484 }
34485 Py_INCREF(Py_None); resultobj = Py_None;
34486 return resultobj;
34487 fail:
34488 return NULL;
34489}
34490
34491
c32bde28 34492static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34493 PyObject *resultobj = NULL;
d14a1e28
RD
34494 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34495 wxString *result;
34496 PyObject * obj0 = 0 ;
34497 char *kwnames[] = {
34498 (char *) "self", NULL
34499 };
34500
34501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
34502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34503 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34504 {
34505 PyThreadState* __tstate = wxPyBeginAllowThreads();
34506 {
34507 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
34508 result = (wxString *) &_result_ref;
34509 }
34510
34511 wxPyEndAllowThreads(__tstate);
34512 if (PyErr_Occurred()) SWIG_fail;
34513 }
cc6dd355
RD
34514 {
34515#if wxUSE_UNICODE
34516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34517#else
34518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34519#endif
34520 }
d14a1e28
RD
34521 return resultobj;
34522 fail:
34523 return NULL;
34524}
34525
34526
c32bde28 34527static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34528 PyObject *resultobj = NULL;
d14a1e28
RD
34529 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34530 wxString *arg2 = 0 ;
ae8162c8 34531 bool temp2 = false ;
d14a1e28
RD
34532 PyObject * obj0 = 0 ;
34533 PyObject * obj1 = 0 ;
34534 char *kwnames[] = {
34535 (char *) "self",(char *) "link", NULL
34536 };
34537
34538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34540 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34541 {
34542 arg2 = wxString_in_helper(obj1);
34543 if (arg2 == NULL) SWIG_fail;
ae8162c8 34544 temp2 = true;
d14a1e28
RD
34545 }
34546 {
34547 PyThreadState* __tstate = wxPyBeginAllowThreads();
34548 (arg1)->SetLink((wxString const &)*arg2);
34549
34550 wxPyEndAllowThreads(__tstate);
34551 if (PyErr_Occurred()) SWIG_fail;
34552 }
34553 Py_INCREF(Py_None); resultobj = Py_None;
34554 {
34555 if (temp2)
34556 delete arg2;
34557 }
34558 return resultobj;
34559 fail:
34560 {
34561 if (temp2)
34562 delete arg2;
34563 }
34564 return NULL;
34565}
34566
34567
c32bde28 34568static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34569 PyObject *resultobj = NULL;
d14a1e28
RD
34570 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34571 wxString *result;
34572 PyObject * obj0 = 0 ;
34573 char *kwnames[] = {
34574 (char *) "self", NULL
34575 };
34576
34577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
34578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34579 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34580 {
34581 PyThreadState* __tstate = wxPyBeginAllowThreads();
34582 {
34583 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
34584 result = (wxString *) &_result_ref;
34585 }
34586
34587 wxPyEndAllowThreads(__tstate);
34588 if (PyErr_Occurred()) SWIG_fail;
34589 }
cc6dd355
RD
34590 {
34591#if wxUSE_UNICODE
34592 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34593#else
34594 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34595#endif
34596 }
d14a1e28
RD
34597 return resultobj;
34598 fail:
34599 return NULL;
34600}
34601
34602
c32bde28 34603static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34604 PyObject *resultobj = NULL;
d14a1e28
RD
34605 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34606 wxString *arg2 = 0 ;
ae8162c8 34607 bool temp2 = false ;
d14a1e28
RD
34608 PyObject * obj0 = 0 ;
34609 PyObject * obj1 = 0 ;
34610 char *kwnames[] = {
34611 (char *) "self",(char *) "target", NULL
34612 };
34613
34614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34616 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34617 {
34618 arg2 = wxString_in_helper(obj1);
34619 if (arg2 == NULL) SWIG_fail;
ae8162c8 34620 temp2 = true;
d14a1e28
RD
34621 }
34622 {
34623 PyThreadState* __tstate = wxPyBeginAllowThreads();
34624 (arg1)->SetTarget((wxString const &)*arg2);
34625
34626 wxPyEndAllowThreads(__tstate);
34627 if (PyErr_Occurred()) SWIG_fail;
34628 }
34629 Py_INCREF(Py_None); resultobj = Py_None;
34630 {
34631 if (temp2)
34632 delete arg2;
34633 }
34634 return resultobj;
34635 fail:
34636 {
34637 if (temp2)
34638 delete arg2;
34639 }
34640 return NULL;
34641}
34642
34643
c32bde28 34644static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34645 PyObject *obj;
34646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34647 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
34648 Py_INCREF(obj);
34649 return Py_BuildValue((char *)"");
34650}
c32bde28 34651static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34652 PyObject *resultobj = NULL;
d14a1e28 34653 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 34654 bool arg2 = (bool) true ;
d14a1e28
RD
34655 wxContextHelp *result;
34656 PyObject * obj0 = 0 ;
34657 PyObject * obj1 = 0 ;
34658 char *kwnames[] = {
34659 (char *) "window",(char *) "doNow", NULL
34660 };
34661
34662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
34663 if (obj0) {
093d3ff1
RD
34664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34666 }
34667 if (obj1) {
093d3ff1 34668 {
32fe5131 34669 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
34670 if (SWIG_arg_fail(2)) SWIG_fail;
34671 }
d14a1e28
RD
34672 }
34673 {
e3b71cb8 34674 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
34675 PyThreadState* __tstate = wxPyBeginAllowThreads();
34676 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
34677
34678 wxPyEndAllowThreads(__tstate);
110da5b0 34679 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34680 }
15afbcd0 34681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
34682 return resultobj;
34683 fail:
34684 return NULL;
34685}
34686
34687
c32bde28 34688static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34689 PyObject *resultobj = NULL;
d14a1e28
RD
34690 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34691 PyObject * obj0 = 0 ;
34692 char *kwnames[] = {
34693 (char *) "self", NULL
34694 };
34695
34696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
34697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34698 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34699 {
34700 PyThreadState* __tstate = wxPyBeginAllowThreads();
34701 delete arg1;
34702
34703 wxPyEndAllowThreads(__tstate);
34704 if (PyErr_Occurred()) SWIG_fail;
34705 }
34706 Py_INCREF(Py_None); resultobj = Py_None;
34707 return resultobj;
34708 fail:
34709 return NULL;
34710}
34711
34712
c32bde28 34713static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34714 PyObject *resultobj = NULL;
d14a1e28
RD
34715 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34716 wxWindow *arg2 = (wxWindow *) NULL ;
34717 bool result;
34718 PyObject * obj0 = 0 ;
34719 PyObject * obj1 = 0 ;
34720 char *kwnames[] = {
34721 (char *) "self",(char *) "window", NULL
34722 };
34723
34724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34726 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 34727 if (obj1) {
093d3ff1
RD
34728 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34729 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34730 }
34731 {
34732 PyThreadState* __tstate = wxPyBeginAllowThreads();
34733 result = (bool)(arg1)->BeginContextHelp(arg2);
34734
34735 wxPyEndAllowThreads(__tstate);
34736 if (PyErr_Occurred()) SWIG_fail;
34737 }
4f89f6a3
RD
34738 {
34739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34740 }
d14a1e28
RD
34741 return resultobj;
34742 fail:
34743 return NULL;
34744}
34745
34746
c32bde28 34747static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34748 PyObject *resultobj = NULL;
d14a1e28
RD
34749 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34750 bool result;
34751 PyObject * obj0 = 0 ;
34752 char *kwnames[] = {
34753 (char *) "self", NULL
34754 };
34755
34756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
34757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34758 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34759 {
34760 PyThreadState* __tstate = wxPyBeginAllowThreads();
34761 result = (bool)(arg1)->EndContextHelp();
34762
34763 wxPyEndAllowThreads(__tstate);
34764 if (PyErr_Occurred()) SWIG_fail;
34765 }
4f89f6a3
RD
34766 {
34767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34768 }
d14a1e28
RD
34769 return resultobj;
34770 fail:
34771 return NULL;
34772}
34773
34774
c32bde28 34775static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34776 PyObject *obj;
34777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34778 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
34779 Py_INCREF(obj);
34780 return Py_BuildValue((char *)"");
34781}
c32bde28 34782static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34783 PyObject *resultobj = NULL;
d14a1e28 34784 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 34785 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
34786 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34787 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34788 wxSize const &arg4_defvalue = wxDefaultSize ;
34789 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34790 long arg5 = (long) wxBU_AUTODRAW ;
34791 wxContextHelpButton *result;
34792 wxPoint temp3 ;
34793 wxSize temp4 ;
34794 PyObject * obj0 = 0 ;
994141e6 34795 PyObject * obj1 = 0 ;
d14a1e28
RD
34796 PyObject * obj2 = 0 ;
34797 PyObject * obj3 = 0 ;
994141e6 34798 PyObject * obj4 = 0 ;
d14a1e28
RD
34799 char *kwnames[] = {
34800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34801 };
34802
994141e6 34803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34805 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 34806 if (obj1) {
093d3ff1 34807 {
32fe5131 34808 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34809 if (SWIG_arg_fail(2)) SWIG_fail;
34810 }
994141e6 34811 }
d14a1e28
RD
34812 if (obj2) {
34813 {
34814 arg3 = &temp3;
34815 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34816 }
34817 }
34818 if (obj3) {
34819 {
34820 arg4 = &temp4;
34821 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34822 }
34823 }
994141e6 34824 if (obj4) {
093d3ff1 34825 {
32fe5131 34826 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
34827 if (SWIG_arg_fail(5)) SWIG_fail;
34828 }
994141e6 34829 }
d14a1e28 34830 {
e3b71cb8 34831 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
34832 PyThreadState* __tstate = wxPyBeginAllowThreads();
34833 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
34834
34835 wxPyEndAllowThreads(__tstate);
110da5b0 34836 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34837 }
15afbcd0 34838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
34839 return resultobj;
34840 fail:
34841 return NULL;
34842}
34843
34844
c32bde28 34845static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34846 PyObject *obj;
34847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34848 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
34849 Py_INCREF(obj);
34850 return Py_BuildValue((char *)"");
34851}
c32bde28 34852static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34853 PyObject *resultobj = NULL;
d14a1e28
RD
34854 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34855 wxHelpProvider *result;
34856 PyObject * obj0 = 0 ;
34857 char *kwnames[] = {
34858 (char *) "helpProvider", NULL
34859 };
34860
34861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
7e08d4ef 34862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 34863 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34864 {
34865 PyThreadState* __tstate = wxPyBeginAllowThreads();
34866 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
34867
34868 wxPyEndAllowThreads(__tstate);
34869 if (PyErr_Occurred()) SWIG_fail;
34870 }
7e08d4ef 34871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1);
d14a1e28
RD
34872 return resultobj;
34873 fail:
34874 return NULL;
34875}
34876
34877
c32bde28 34878static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34879 PyObject *resultobj = NULL;
d14a1e28
RD
34880 wxHelpProvider *result;
34881 char *kwnames[] = {
34882 NULL
34883 };
34884
34885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
34886 {
34887 PyThreadState* __tstate = wxPyBeginAllowThreads();
34888 result = (wxHelpProvider *)wxHelpProvider::Get();
34889
34890 wxPyEndAllowThreads(__tstate);
34891 if (PyErr_Occurred()) SWIG_fail;
34892 }
15afbcd0 34893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
34894 return resultobj;
34895 fail:
34896 return NULL;
34897}
34898
34899
c32bde28 34900static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34901 PyObject *resultobj = NULL;
d14a1e28
RD
34902 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34903 wxWindow *arg2 = (wxWindow *) 0 ;
34904 wxString result;
34905 PyObject * obj0 = 0 ;
34906 PyObject * obj1 = 0 ;
34907 char *kwnames[] = {
34908 (char *) "self",(char *) "window", NULL
34909 };
34910
34911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34913 if (SWIG_arg_fail(1)) SWIG_fail;
34914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34915 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34916 {
34917 PyThreadState* __tstate = wxPyBeginAllowThreads();
34918 result = (arg1)->GetHelp((wxWindow const *)arg2);
34919
34920 wxPyEndAllowThreads(__tstate);
34921 if (PyErr_Occurred()) SWIG_fail;
34922 }
34923 {
34924#if wxUSE_UNICODE
34925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34926#else
34927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34928#endif
34929 }
34930 return resultobj;
34931 fail:
34932 return NULL;
34933}
34934
34935
c32bde28 34936static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34937 PyObject *resultobj = NULL;
d14a1e28
RD
34938 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34939 wxWindow *arg2 = (wxWindow *) 0 ;
34940 bool result;
34941 PyObject * obj0 = 0 ;
34942 PyObject * obj1 = 0 ;
34943 char *kwnames[] = {
34944 (char *) "self",(char *) "window", NULL
34945 };
34946
34947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34949 if (SWIG_arg_fail(1)) SWIG_fail;
34950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34951 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34952 {
34953 PyThreadState* __tstate = wxPyBeginAllowThreads();
34954 result = (bool)(arg1)->ShowHelp(arg2);
34955
34956 wxPyEndAllowThreads(__tstate);
34957 if (PyErr_Occurred()) SWIG_fail;
34958 }
4f89f6a3
RD
34959 {
34960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34961 }
d14a1e28
RD
34962 return resultobj;
34963 fail:
34964 return NULL;
34965}
34966
34967
c32bde28 34968static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34969 PyObject *resultobj = NULL;
d14a1e28
RD
34970 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34971 wxWindow *arg2 = (wxWindow *) 0 ;
34972 wxString *arg3 = 0 ;
ae8162c8 34973 bool temp3 = false ;
d14a1e28
RD
34974 PyObject * obj0 = 0 ;
34975 PyObject * obj1 = 0 ;
34976 PyObject * obj2 = 0 ;
34977 char *kwnames[] = {
34978 (char *) "self",(char *) "window",(char *) "text", NULL
34979 };
34980
34981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34983 if (SWIG_arg_fail(1)) SWIG_fail;
34984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34985 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34986 {
34987 arg3 = wxString_in_helper(obj2);
34988 if (arg3 == NULL) SWIG_fail;
ae8162c8 34989 temp3 = true;
d14a1e28
RD
34990 }
34991 {
34992 PyThreadState* __tstate = wxPyBeginAllowThreads();
34993 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
34994
34995 wxPyEndAllowThreads(__tstate);
34996 if (PyErr_Occurred()) SWIG_fail;
34997 }
34998 Py_INCREF(Py_None); resultobj = Py_None;
34999 {
35000 if (temp3)
35001 delete arg3;
35002 }
35003 return resultobj;
35004 fail:
35005 {
35006 if (temp3)
35007 delete arg3;
35008 }
35009 return NULL;
35010}
35011
35012
c32bde28 35013static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35014 PyObject *resultobj = NULL;
d14a1e28 35015 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 35016 int arg2 ;
d14a1e28 35017 wxString *arg3 = 0 ;
ae8162c8 35018 bool temp3 = false ;
d14a1e28 35019 PyObject * obj0 = 0 ;
994141e6 35020 PyObject * obj1 = 0 ;
d14a1e28
RD
35021 PyObject * obj2 = 0 ;
35022 char *kwnames[] = {
35023 (char *) "self",(char *) "id",(char *) "text", NULL
35024 };
35025
994141e6 35026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35028 if (SWIG_arg_fail(1)) SWIG_fail;
35029 {
32fe5131 35030 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35031 if (SWIG_arg_fail(2)) SWIG_fail;
35032 }
d14a1e28
RD
35033 {
35034 arg3 = wxString_in_helper(obj2);
35035 if (arg3 == NULL) SWIG_fail;
ae8162c8 35036 temp3 = true;
d14a1e28
RD
35037 }
35038 {
35039 PyThreadState* __tstate = wxPyBeginAllowThreads();
35040 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35041
35042 wxPyEndAllowThreads(__tstate);
35043 if (PyErr_Occurred()) SWIG_fail;
35044 }
35045 Py_INCREF(Py_None); resultobj = Py_None;
35046 {
35047 if (temp3)
35048 delete arg3;
35049 }
35050 return resultobj;
35051 fail:
35052 {
35053 if (temp3)
35054 delete arg3;
35055 }
35056 return NULL;
35057}
35058
35059
c32bde28 35060static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35061 PyObject *resultobj = NULL;
15afbcd0
RD
35062 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35063 wxWindow *arg2 = (wxWindow *) 0 ;
35064 PyObject * obj0 = 0 ;
35065 PyObject * obj1 = 0 ;
35066 char *kwnames[] = {
35067 (char *) "self",(char *) "window", NULL
35068 };
35069
35070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35072 if (SWIG_arg_fail(1)) SWIG_fail;
35073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35074 if (SWIG_arg_fail(2)) SWIG_fail;
15afbcd0
RD
35075 {
35076 PyThreadState* __tstate = wxPyBeginAllowThreads();
35077 (arg1)->RemoveHelp(arg2);
35078
35079 wxPyEndAllowThreads(__tstate);
35080 if (PyErr_Occurred()) SWIG_fail;
35081 }
35082 Py_INCREF(Py_None); resultobj = Py_None;
35083 return resultobj;
35084 fail:
35085 return NULL;
35086}
35087
35088
c32bde28 35089static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35090 PyObject *resultobj = NULL;
d14a1e28
RD
35091 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35092 PyObject * obj0 = 0 ;
35093 char *kwnames[] = {
35094 (char *) "self", NULL
35095 };
35096
35097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
35098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35100 {
35101 PyThreadState* __tstate = wxPyBeginAllowThreads();
35102 wxHelpProvider_Destroy(arg1);
35103
35104 wxPyEndAllowThreads(__tstate);
35105 if (PyErr_Occurred()) SWIG_fail;
35106 }
35107 Py_INCREF(Py_None); resultobj = Py_None;
35108 return resultobj;
35109 fail:
35110 return NULL;
35111}
35112
35113
c32bde28 35114static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35115 PyObject *obj;
35116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35117 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
35118 Py_INCREF(obj);
35119 return Py_BuildValue((char *)"");
35120}
c32bde28 35121static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35122 PyObject *resultobj = NULL;
d14a1e28
RD
35123 wxSimpleHelpProvider *result;
35124 char *kwnames[] = {
35125 NULL
35126 };
35127
35128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
35129 {
35130 PyThreadState* __tstate = wxPyBeginAllowThreads();
35131 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
35132
35133 wxPyEndAllowThreads(__tstate);
35134 if (PyErr_Occurred()) SWIG_fail;
35135 }
15afbcd0 35136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
35137 return resultobj;
35138 fail:
35139 return NULL;
35140}
35141
35142
c32bde28 35143static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35144 PyObject *obj;
35145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35146 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
35147 Py_INCREF(obj);
35148 return Py_BuildValue((char *)"");
35149}
c32bde28 35150static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35151 PyObject *resultobj = NULL;
e811c8ce
RD
35152 wxBitmap *arg1 = 0 ;
35153 wxCursor const &arg2_defvalue = wxNullCursor ;
35154 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35155 wxGenericDragImage *result;
35156 PyObject * obj0 = 0 ;
35157 PyObject * obj1 = 0 ;
35158 char *kwnames[] = {
35159 (char *) "image",(char *) "cursor", NULL
35160 };
35161
35162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35163 {
35164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35165 if (SWIG_arg_fail(1)) SWIG_fail;
35166 if (arg1 == NULL) {
35167 SWIG_null_ref("wxBitmap");
35168 }
35169 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35170 }
35171 if (obj1) {
093d3ff1
RD
35172 {
35173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35174 if (SWIG_arg_fail(2)) SWIG_fail;
35175 if (arg2 == NULL) {
35176 SWIG_null_ref("wxCursor");
35177 }
35178 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
35179 }
35180 }
35181 {
e3b71cb8 35182 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
35183 PyThreadState* __tstate = wxPyBeginAllowThreads();
35184 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
35185
35186 wxPyEndAllowThreads(__tstate);
110da5b0 35187 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 35188 }
15afbcd0 35189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
35190 return resultobj;
35191 fail:
35192 return NULL;
35193}
35194
35195
c32bde28 35196static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35197 PyObject *resultobj = NULL;
e811c8ce
RD
35198 wxIcon *arg1 = 0 ;
35199 wxCursor const &arg2_defvalue = wxNullCursor ;
35200 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35201 wxGenericDragImage *result;
35202 PyObject * obj0 = 0 ;
35203 PyObject * obj1 = 0 ;
35204 char *kwnames[] = {
35205 (char *) "image",(char *) "cursor", NULL
35206 };
35207
35208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35209 {
35210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
35211 if (SWIG_arg_fail(1)) SWIG_fail;
35212 if (arg1 == NULL) {
35213 SWIG_null_ref("wxIcon");
35214 }
35215 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35216 }
35217 if (obj1) {
093d3ff1
RD
35218 {
35219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35220 if (SWIG_arg_fail(2)) SWIG_fail;
35221 if (arg2 == NULL) {
35222 SWIG_null_ref("wxCursor");
35223 }
35224 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
35225 }
35226 }
35227 {
e3b71cb8 35228 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
35229 PyThreadState* __tstate = wxPyBeginAllowThreads();
35230 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
35231
35232 wxPyEndAllowThreads(__tstate);
110da5b0 35233 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 35234 }
15afbcd0 35235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
35236 return resultobj;
35237 fail:
35238 return NULL;
35239}
35240
35241
c32bde28 35242static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35243 PyObject *resultobj = NULL;
e811c8ce
RD
35244 wxString *arg1 = 0 ;
35245 wxCursor const &arg2_defvalue = wxNullCursor ;
35246 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35247 wxGenericDragImage *result;
ae8162c8 35248 bool temp1 = false ;
e811c8ce
RD
35249 PyObject * obj0 = 0 ;
35250 PyObject * obj1 = 0 ;
35251 char *kwnames[] = {
35252 (char *) "str",(char *) "cursor", NULL
35253 };
35254
35255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
35256 {
35257 arg1 = wxString_in_helper(obj0);
35258 if (arg1 == NULL) SWIG_fail;
ae8162c8 35259 temp1 = true;
e811c8ce
RD
35260 }
35261 if (obj1) {
093d3ff1
RD
35262 {
35263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35264 if (SWIG_arg_fail(2)) SWIG_fail;
35265 if (arg2 == NULL) {
35266 SWIG_null_ref("wxCursor");
35267 }
35268 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
35269 }
35270 }
35271 {
e3b71cb8 35272 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
35273 PyThreadState* __tstate = wxPyBeginAllowThreads();
35274 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
35275
35276 wxPyEndAllowThreads(__tstate);
110da5b0 35277 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 35278 }
15afbcd0 35279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
35280 {
35281 if (temp1)
35282 delete arg1;
35283 }
35284 return resultobj;
35285 fail:
35286 {
35287 if (temp1)
35288 delete arg1;
35289 }
35290 return NULL;
35291}
35292
35293
c32bde28 35294static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35295 PyObject *resultobj = NULL;
e811c8ce
RD
35296 wxPyTreeCtrl *arg1 = 0 ;
35297 wxTreeItemId *arg2 = 0 ;
35298 wxGenericDragImage *result;
35299 PyObject * obj0 = 0 ;
35300 PyObject * obj1 = 0 ;
35301 char *kwnames[] = {
35302 (char *) "treeCtrl",(char *) "id", NULL
35303 };
35304
35305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35306 {
35307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
35308 if (SWIG_arg_fail(1)) SWIG_fail;
35309 if (arg1 == NULL) {
35310 SWIG_null_ref("wxPyTreeCtrl");
35311 }
35312 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 35313 }
093d3ff1
RD
35314 {
35315 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
35316 if (SWIG_arg_fail(2)) SWIG_fail;
35317 if (arg2 == NULL) {
35318 SWIG_null_ref("wxTreeItemId");
35319 }
35320 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
35321 }
35322 {
e3b71cb8 35323 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
35324 PyThreadState* __tstate = wxPyBeginAllowThreads();
35325 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
35326
35327 wxPyEndAllowThreads(__tstate);
110da5b0 35328 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 35329 }
15afbcd0 35330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
35331 return resultobj;
35332 fail:
35333 return NULL;
35334}
35335
35336
c32bde28 35337static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35338 PyObject *resultobj = NULL;
e811c8ce
RD
35339 wxPyListCtrl *arg1 = 0 ;
35340 long arg2 ;
35341 wxGenericDragImage *result;
35342 PyObject * obj0 = 0 ;
994141e6 35343 PyObject * obj1 = 0 ;
e811c8ce
RD
35344 char *kwnames[] = {
35345 (char *) "listCtrl",(char *) "id", NULL
35346 };
35347
994141e6 35348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35349 {
35350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
35351 if (SWIG_arg_fail(1)) SWIG_fail;
35352 if (arg1 == NULL) {
35353 SWIG_null_ref("wxPyListCtrl");
35354 }
35355 if (SWIG_arg_fail(1)) SWIG_fail;
35356 }
35357 {
32fe5131 35358 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1 35359 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 35360 }
e811c8ce 35361 {
e3b71cb8 35362 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
35363 PyThreadState* __tstate = wxPyBeginAllowThreads();
35364 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
35365
35366 wxPyEndAllowThreads(__tstate);
110da5b0 35367 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 35368 }
15afbcd0 35369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
35370 return resultobj;
35371 fail:
35372 return NULL;
35373}
35374
35375
c32bde28 35376static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35377 PyObject *resultobj = NULL;
e811c8ce
RD
35378 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35379 PyObject * obj0 = 0 ;
35380 char *kwnames[] = {
35381 (char *) "self", NULL
35382 };
35383
35384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
35385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35386 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35387 {
35388 PyThreadState* __tstate = wxPyBeginAllowThreads();
35389 delete arg1;
35390
35391 wxPyEndAllowThreads(__tstate);
35392 if (PyErr_Occurred()) SWIG_fail;
35393 }
35394 Py_INCREF(Py_None); resultobj = Py_None;
35395 return resultobj;
35396 fail:
35397 return NULL;
35398}
35399
35400
c32bde28 35401static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35402 PyObject *resultobj = NULL;
e811c8ce
RD
35403 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35404 wxBitmap *arg2 = (wxBitmap *) 0 ;
35405 PyObject * obj0 = 0 ;
35406 PyObject * obj1 = 0 ;
35407 char *kwnames[] = {
35408 (char *) "self",(char *) "bitmap", NULL
35409 };
35410
35411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35413 if (SWIG_arg_fail(1)) SWIG_fail;
35414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35415 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
35416 {
35417 PyThreadState* __tstate = wxPyBeginAllowThreads();
35418 (arg1)->SetBackingBitmap(arg2);
35419
35420 wxPyEndAllowThreads(__tstate);
35421 if (PyErr_Occurred()) SWIG_fail;
35422 }
35423 Py_INCREF(Py_None); resultobj = Py_None;
35424 return resultobj;
35425 fail:
35426 return NULL;
35427}
35428
35429
c32bde28 35430static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35431 PyObject *resultobj = NULL;
e811c8ce
RD
35432 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35433 wxPoint *arg2 = 0 ;
35434 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 35435 bool arg4 = (bool) false ;
e811c8ce
RD
35436 wxRect *arg5 = (wxRect *) NULL ;
35437 bool result;
35438 wxPoint temp2 ;
35439 PyObject * obj0 = 0 ;
35440 PyObject * obj1 = 0 ;
35441 PyObject * obj2 = 0 ;
35442 PyObject * obj3 = 0 ;
35443 PyObject * obj4 = 0 ;
35444 char *kwnames[] = {
35445 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35446 };
35447
35448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35450 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35451 {
35452 arg2 = &temp2;
35453 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35454 }
093d3ff1
RD
35455 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35456 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce 35457 if (obj3) {
093d3ff1 35458 {
32fe5131 35459 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
35460 if (SWIG_arg_fail(4)) SWIG_fail;
35461 }
e811c8ce
RD
35462 }
35463 if (obj4) {
093d3ff1
RD
35464 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
35465 if (SWIG_arg_fail(5)) SWIG_fail;
e811c8ce
RD
35466 }
35467 {
35468 PyThreadState* __tstate = wxPyBeginAllowThreads();
35469 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
35470
35471 wxPyEndAllowThreads(__tstate);
35472 if (PyErr_Occurred()) SWIG_fail;
35473 }
4f89f6a3
RD
35474 {
35475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35476 }
e811c8ce
RD
35477 return resultobj;
35478 fail:
35479 return NULL;
35480}
35481
35482
c32bde28 35483static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35484 PyObject *resultobj = NULL;
e811c8ce
RD
35485 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35486 wxPoint *arg2 = 0 ;
35487 wxWindow *arg3 = (wxWindow *) 0 ;
35488 wxWindow *arg4 = (wxWindow *) 0 ;
35489 bool result;
35490 wxPoint temp2 ;
35491 PyObject * obj0 = 0 ;
35492 PyObject * obj1 = 0 ;
35493 PyObject * obj2 = 0 ;
35494 PyObject * obj3 = 0 ;
35495 char *kwnames[] = {
35496 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35497 };
35498
35499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
35500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35501 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35502 {
35503 arg2 = &temp2;
35504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35505 }
093d3ff1
RD
35506 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35507 if (SWIG_arg_fail(3)) SWIG_fail;
35508 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35509 if (SWIG_arg_fail(4)) SWIG_fail;
e811c8ce
RD
35510 {
35511 PyThreadState* __tstate = wxPyBeginAllowThreads();
35512 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
35513
35514 wxPyEndAllowThreads(__tstate);
35515 if (PyErr_Occurred()) SWIG_fail;
35516 }
4f89f6a3
RD
35517 {
35518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35519 }
e811c8ce
RD
35520 return resultobj;
35521 fail:
35522 return NULL;
35523}
35524
35525
c32bde28 35526static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35527 PyObject *resultobj = NULL;
e811c8ce
RD
35528 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35529 bool result;
35530 PyObject * obj0 = 0 ;
35531 char *kwnames[] = {
35532 (char *) "self", NULL
35533 };
35534
35535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
35536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35537 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35538 {
35539 PyThreadState* __tstate = wxPyBeginAllowThreads();
35540 result = (bool)(arg1)->EndDrag();
35541
35542 wxPyEndAllowThreads(__tstate);
35543 if (PyErr_Occurred()) SWIG_fail;
35544 }
4f89f6a3
RD
35545 {
35546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35547 }
e811c8ce
RD
35548 return resultobj;
35549 fail:
35550 return NULL;
35551}
35552
35553
c32bde28 35554static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35555 PyObject *resultobj = NULL;
e811c8ce
RD
35556 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35557 wxPoint *arg2 = 0 ;
35558 bool result;
35559 wxPoint temp2 ;
35560 PyObject * obj0 = 0 ;
35561 PyObject * obj1 = 0 ;
35562 char *kwnames[] = {
35563 (char *) "self",(char *) "pt", NULL
35564 };
35565
35566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35568 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35569 {
35570 arg2 = &temp2;
35571 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35572 }
35573 {
35574 PyThreadState* __tstate = wxPyBeginAllowThreads();
35575 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
35576
35577 wxPyEndAllowThreads(__tstate);
35578 if (PyErr_Occurred()) SWIG_fail;
35579 }
4f89f6a3
RD
35580 {
35581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35582 }
e811c8ce
RD
35583 return resultobj;
35584 fail:
35585 return NULL;
35586}
35587
35588
c32bde28 35589static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35590 PyObject *resultobj = NULL;
e811c8ce
RD
35591 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35592 bool result;
35593 PyObject * obj0 = 0 ;
35594 char *kwnames[] = {
35595 (char *) "self", NULL
35596 };
35597
35598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
35599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35600 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35601 {
35602 PyThreadState* __tstate = wxPyBeginAllowThreads();
35603 result = (bool)(arg1)->Show();
35604
35605 wxPyEndAllowThreads(__tstate);
35606 if (PyErr_Occurred()) SWIG_fail;
35607 }
4f89f6a3
RD
35608 {
35609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35610 }
e811c8ce
RD
35611 return resultobj;
35612 fail:
35613 return NULL;
35614}
35615
35616
c32bde28 35617static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35618 PyObject *resultobj = NULL;
e811c8ce
RD
35619 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35620 bool result;
35621 PyObject * obj0 = 0 ;
35622 char *kwnames[] = {
35623 (char *) "self", NULL
35624 };
35625
35626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
35627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35628 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35629 {
35630 PyThreadState* __tstate = wxPyBeginAllowThreads();
35631 result = (bool)(arg1)->Hide();
35632
35633 wxPyEndAllowThreads(__tstate);
35634 if (PyErr_Occurred()) SWIG_fail;
35635 }
4f89f6a3
RD
35636 {
35637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35638 }
e811c8ce
RD
35639 return resultobj;
35640 fail:
35641 return NULL;
35642}
35643
35644
c32bde28 35645static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35646 PyObject *resultobj = NULL;
e811c8ce
RD
35647 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35648 wxPoint *arg2 = 0 ;
35649 wxRect result;
35650 wxPoint temp2 ;
35651 PyObject * obj0 = 0 ;
35652 PyObject * obj1 = 0 ;
35653 char *kwnames[] = {
35654 (char *) "self",(char *) "pos", NULL
35655 };
35656
35657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35659 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35660 {
35661 arg2 = &temp2;
35662 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35663 }
35664 {
35665 PyThreadState* __tstate = wxPyBeginAllowThreads();
35666 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
35667
35668 wxPyEndAllowThreads(__tstate);
35669 if (PyErr_Occurred()) SWIG_fail;
35670 }
35671 {
35672 wxRect * resultptr;
32fe5131 35673 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 35674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
35675 }
35676 return resultobj;
35677 fail:
35678 return NULL;
35679}
35680
35681
c32bde28 35682static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35683 PyObject *resultobj = NULL;
e811c8ce
RD
35684 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35685 wxDC *arg2 = 0 ;
35686 wxPoint *arg3 = 0 ;
35687 bool result;
35688 wxPoint temp3 ;
35689 PyObject * obj0 = 0 ;
35690 PyObject * obj1 = 0 ;
35691 PyObject * obj2 = 0 ;
35692 char *kwnames[] = {
35693 (char *) "self",(char *) "dc",(char *) "pos", NULL
35694 };
35695
35696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35698 if (SWIG_arg_fail(1)) SWIG_fail;
35699 {
35700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35701 if (SWIG_arg_fail(2)) SWIG_fail;
35702 if (arg2 == NULL) {
35703 SWIG_null_ref("wxDC");
35704 }
35705 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
35706 }
35707 {
35708 arg3 = &temp3;
35709 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35710 }
35711 {
35712 PyThreadState* __tstate = wxPyBeginAllowThreads();
35713 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
35714
35715 wxPyEndAllowThreads(__tstate);
35716 if (PyErr_Occurred()) SWIG_fail;
35717 }
4f89f6a3
RD
35718 {
35719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35720 }
e811c8ce
RD
35721 return resultobj;
35722 fail:
35723 return NULL;
35724}
35725
35726
c32bde28 35727static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35728 PyObject *resultobj = NULL;
e811c8ce
RD
35729 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35730 wxDC *arg2 = 0 ;
35731 wxMemoryDC *arg3 = 0 ;
35732 wxRect *arg4 = 0 ;
35733 wxRect *arg5 = 0 ;
35734 bool result;
35735 wxRect temp4 ;
35736 wxRect temp5 ;
35737 PyObject * obj0 = 0 ;
35738 PyObject * obj1 = 0 ;
35739 PyObject * obj2 = 0 ;
35740 PyObject * obj3 = 0 ;
35741 PyObject * obj4 = 0 ;
35742 char *kwnames[] = {
35743 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35744 };
35745
35746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35748 if (SWIG_arg_fail(1)) SWIG_fail;
35749 {
35750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35751 if (SWIG_arg_fail(2)) SWIG_fail;
35752 if (arg2 == NULL) {
35753 SWIG_null_ref("wxDC");
35754 }
35755 if (SWIG_arg_fail(2)) SWIG_fail;
35756 }
35757 {
35758 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
35759 if (SWIG_arg_fail(3)) SWIG_fail;
35760 if (arg3 == NULL) {
35761 SWIG_null_ref("wxMemoryDC");
35762 }
35763 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce
RD
35764 }
35765 {
35766 arg4 = &temp4;
35767 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
35768 }
35769 {
35770 arg5 = &temp5;
35771 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
35772 }
35773 {
35774 PyThreadState* __tstate = wxPyBeginAllowThreads();
35775 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
35776
35777 wxPyEndAllowThreads(__tstate);
35778 if (PyErr_Occurred()) SWIG_fail;
35779 }
4f89f6a3
RD
35780 {
35781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35782 }
e811c8ce
RD
35783 return resultobj;
35784 fail:
35785 return NULL;
35786}
35787
35788
c32bde28 35789static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35790 PyObject *resultobj = NULL;
e811c8ce
RD
35791 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35792 wxPoint *arg2 = 0 ;
35793 wxPoint *arg3 = 0 ;
35794 bool arg4 ;
35795 bool arg5 ;
35796 bool result;
35797 wxPoint temp2 ;
35798 wxPoint temp3 ;
35799 PyObject * obj0 = 0 ;
35800 PyObject * obj1 = 0 ;
35801 PyObject * obj2 = 0 ;
35802 PyObject * obj3 = 0 ;
35803 PyObject * obj4 = 0 ;
35804 char *kwnames[] = {
35805 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35806 };
35807
35808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35810 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
35811 {
35812 arg2 = &temp2;
35813 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35814 }
35815 {
35816 arg3 = &temp3;
35817 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35818 }
093d3ff1 35819 {
32fe5131 35820 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
35821 if (SWIG_arg_fail(4)) SWIG_fail;
35822 }
35823 {
32fe5131 35824 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
35825 if (SWIG_arg_fail(5)) SWIG_fail;
35826 }
e811c8ce
RD
35827 {
35828 PyThreadState* __tstate = wxPyBeginAllowThreads();
35829 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
35830
35831 wxPyEndAllowThreads(__tstate);
35832 if (PyErr_Occurred()) SWIG_fail;
35833 }
4f89f6a3
RD
35834 {
35835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35836 }
e811c8ce
RD
35837 return resultobj;
35838 fail:
35839 return NULL;
35840}
35841
35842
c32bde28 35843static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
e811c8ce
RD
35844 PyObject *obj;
35845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35846 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
35847 Py_INCREF(obj);
35848 return Py_BuildValue((char *)"");
35849}
53aa7709
RD
35850static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
35851 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
35852 return 1;
35853}
35854
35855
35856static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
32fe5131 35857 PyObject *pyobj = NULL;
53aa7709
RD
35858
35859 {
35860#if wxUSE_UNICODE
35861 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35862#else
35863 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35864#endif
35865 }
35866 return pyobj;
35867}
35868
35869
35870static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35871 PyObject *resultobj = NULL;
53aa7709
RD
35872 wxWindow *arg1 = (wxWindow *) 0 ;
35873 int arg2 = (int) -1 ;
35874 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
35875 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
35876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
35877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
35878 wxSize const &arg5_defvalue = wxDefaultSize ;
35879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
35880 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
35881 wxValidator const &arg7_defvalue = wxDefaultValidator ;
35882 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
35883 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
35884 wxString *arg8 = (wxString *) &arg8_defvalue ;
35885 wxDatePickerCtrl *result;
35886 wxPoint temp4 ;
35887 wxSize temp5 ;
35888 bool temp8 = false ;
35889 PyObject * obj0 = 0 ;
35890 PyObject * obj1 = 0 ;
35891 PyObject * obj2 = 0 ;
35892 PyObject * obj3 = 0 ;
35893 PyObject * obj4 = 0 ;
35894 PyObject * obj5 = 0 ;
35895 PyObject * obj6 = 0 ;
35896 PyObject * obj7 = 0 ;
35897 char *kwnames[] = {
35898 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35899 };
35900
35901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
35902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35903 if (SWIG_arg_fail(1)) SWIG_fail;
35904 if (obj1) {
35905 {
32fe5131 35906 arg2 = static_cast<int >(SWIG_As_int(obj1));
53aa7709
RD
35907 if (SWIG_arg_fail(2)) SWIG_fail;
35908 }
35909 }
35910 if (obj2) {
35911 {
35912 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35913 if (SWIG_arg_fail(3)) SWIG_fail;
35914 if (arg3 == NULL) {
35915 SWIG_null_ref("wxDateTime");
35916 }
35917 if (SWIG_arg_fail(3)) SWIG_fail;
35918 }
35919 }
35920 if (obj3) {
35921 {
35922 arg4 = &temp4;
35923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
35924 }
35925 }
35926 if (obj4) {
35927 {
35928 arg5 = &temp5;
35929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
35930 }
35931 }
35932 if (obj5) {
35933 {
32fe5131 35934 arg6 = static_cast<long >(SWIG_As_long(obj5));
53aa7709
RD
35935 if (SWIG_arg_fail(6)) SWIG_fail;
35936 }
35937 }
35938 if (obj6) {
35939 {
35940 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
35941 if (SWIG_arg_fail(7)) SWIG_fail;
35942 if (arg7 == NULL) {
35943 SWIG_null_ref("wxValidator");
35944 }
35945 if (SWIG_arg_fail(7)) SWIG_fail;
35946 }
35947 }
35948 if (obj7) {
35949 {
35950 arg8 = wxString_in_helper(obj7);
35951 if (arg8 == NULL) SWIG_fail;
35952 temp8 = true;
35953 }
35954 }
35955 {
35956 if (!wxPyCheckForApp()) SWIG_fail;
35957 PyThreadState* __tstate = wxPyBeginAllowThreads();
35958 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
35959
35960 wxPyEndAllowThreads(__tstate);
35961 if (PyErr_Occurred()) SWIG_fail;
35962 }
35963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35964 {
35965 if (temp8)
35966 delete arg8;
35967 }
35968 return resultobj;
35969 fail:
35970 {
35971 if (temp8)
35972 delete arg8;
35973 }
35974 return NULL;
35975}
35976
35977
35978static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35979 PyObject *resultobj = NULL;
53aa7709
RD
35980 wxDatePickerCtrl *result;
35981 char *kwnames[] = {
35982 NULL
35983 };
35984
35985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
35986 {
35987 if (!wxPyCheckForApp()) SWIG_fail;
35988 PyThreadState* __tstate = wxPyBeginAllowThreads();
35989 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
35990
35991 wxPyEndAllowThreads(__tstate);
35992 if (PyErr_Occurred()) SWIG_fail;
35993 }
35994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35995 return resultobj;
35996 fail:
35997 return NULL;
35998}
35999
36000
36001static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36002 PyObject *resultobj = NULL;
53aa7709
RD
36003 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36004 wxWindow *arg2 = (wxWindow *) 0 ;
36005 int arg3 = (int) -1 ;
36006 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
36007 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
36008 wxPoint const &arg5_defvalue = wxDefaultPosition ;
36009 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
36010 wxSize const &arg6_defvalue = wxDefaultSize ;
36011 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
36012 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36013 wxValidator const &arg8_defvalue = wxDefaultValidator ;
36014 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
36015 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
36016 wxString *arg9 = (wxString *) &arg9_defvalue ;
36017 bool result;
36018 wxPoint temp5 ;
36019 wxSize temp6 ;
36020 bool temp9 = false ;
36021 PyObject * obj0 = 0 ;
36022 PyObject * obj1 = 0 ;
36023 PyObject * obj2 = 0 ;
36024 PyObject * obj3 = 0 ;
36025 PyObject * obj4 = 0 ;
36026 PyObject * obj5 = 0 ;
36027 PyObject * obj6 = 0 ;
36028 PyObject * obj7 = 0 ;
36029 PyObject * obj8 = 0 ;
36030 char *kwnames[] = {
36031 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36032 };
36033
36034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36036 if (SWIG_arg_fail(1)) SWIG_fail;
36037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36038 if (SWIG_arg_fail(2)) SWIG_fail;
36039 if (obj2) {
36040 {
32fe5131 36041 arg3 = static_cast<int >(SWIG_As_int(obj2));
53aa7709
RD
36042 if (SWIG_arg_fail(3)) SWIG_fail;
36043 }
36044 }
36045 if (obj3) {
36046 {
36047 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36048 if (SWIG_arg_fail(4)) SWIG_fail;
36049 if (arg4 == NULL) {
36050 SWIG_null_ref("wxDateTime");
36051 }
36052 if (SWIG_arg_fail(4)) SWIG_fail;
36053 }
36054 }
36055 if (obj4) {
36056 {
36057 arg5 = &temp5;
36058 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36059 }
36060 }
36061 if (obj5) {
36062 {
36063 arg6 = &temp6;
36064 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36065 }
36066 }
36067 if (obj6) {
36068 {
32fe5131 36069 arg7 = static_cast<long >(SWIG_As_long(obj6));
53aa7709
RD
36070 if (SWIG_arg_fail(7)) SWIG_fail;
36071 }
36072 }
36073 if (obj7) {
36074 {
36075 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36076 if (SWIG_arg_fail(8)) SWIG_fail;
36077 if (arg8 == NULL) {
36078 SWIG_null_ref("wxValidator");
36079 }
36080 if (SWIG_arg_fail(8)) SWIG_fail;
36081 }
36082 }
36083 if (obj8) {
36084 {
36085 arg9 = wxString_in_helper(obj8);
36086 if (arg9 == NULL) SWIG_fail;
36087 temp9 = true;
36088 }
36089 }
36090 {
36091 PyThreadState* __tstate = wxPyBeginAllowThreads();
36092 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
36093
36094 wxPyEndAllowThreads(__tstate);
36095 if (PyErr_Occurred()) SWIG_fail;
36096 }
36097 {
36098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36099 }
36100 {
36101 if (temp9)
36102 delete arg9;
36103 }
36104 return resultobj;
36105 fail:
36106 {
36107 if (temp9)
36108 delete arg9;
36109 }
36110 return NULL;
36111}
36112
36113
36114static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36115 PyObject *resultobj = NULL;
53aa7709
RD
36116 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36117 wxDateTime *arg2 = 0 ;
36118 PyObject * obj0 = 0 ;
36119 PyObject * obj1 = 0 ;
36120 char *kwnames[] = {
36121 (char *) "self",(char *) "dt", NULL
36122 };
36123
36124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36126 if (SWIG_arg_fail(1)) SWIG_fail;
36127 {
36128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36129 if (SWIG_arg_fail(2)) SWIG_fail;
36130 if (arg2 == NULL) {
36131 SWIG_null_ref("wxDateTime");
36132 }
36133 if (SWIG_arg_fail(2)) SWIG_fail;
36134 }
36135 {
36136 PyThreadState* __tstate = wxPyBeginAllowThreads();
36137 (arg1)->SetValue((wxDateTime const &)*arg2);
36138
36139 wxPyEndAllowThreads(__tstate);
36140 if (PyErr_Occurred()) SWIG_fail;
36141 }
36142 Py_INCREF(Py_None); resultobj = Py_None;
36143 return resultobj;
36144 fail:
36145 return NULL;
36146}
36147
36148
36149static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36150 PyObject *resultobj = NULL;
53aa7709
RD
36151 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36152 wxDateTime result;
36153 PyObject * obj0 = 0 ;
36154 char *kwnames[] = {
36155 (char *) "self", NULL
36156 };
36157
36158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
36159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36160 if (SWIG_arg_fail(1)) SWIG_fail;
36161 {
36162 PyThreadState* __tstate = wxPyBeginAllowThreads();
36163 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
36164
36165 wxPyEndAllowThreads(__tstate);
36166 if (PyErr_Occurred()) SWIG_fail;
36167 }
36168 {
36169 wxDateTime * resultptr;
32fe5131 36170 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36172 }
36173 return resultobj;
36174 fail:
36175 return NULL;
36176}
36177
36178
36179static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36180 PyObject *resultobj = NULL;
53aa7709
RD
36181 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36182 wxDateTime *arg2 = 0 ;
36183 wxDateTime *arg3 = 0 ;
36184 PyObject * obj0 = 0 ;
36185 PyObject * obj1 = 0 ;
36186 PyObject * obj2 = 0 ;
36187 char *kwnames[] = {
36188 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36189 };
36190
36191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36193 if (SWIG_arg_fail(1)) SWIG_fail;
36194 {
36195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36196 if (SWIG_arg_fail(2)) SWIG_fail;
36197 if (arg2 == NULL) {
36198 SWIG_null_ref("wxDateTime");
36199 }
36200 if (SWIG_arg_fail(2)) SWIG_fail;
36201 }
36202 {
36203 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36204 if (SWIG_arg_fail(3)) SWIG_fail;
36205 if (arg3 == NULL) {
36206 SWIG_null_ref("wxDateTime");
36207 }
36208 if (SWIG_arg_fail(3)) SWIG_fail;
36209 }
36210 {
36211 PyThreadState* __tstate = wxPyBeginAllowThreads();
36212 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
36213
36214 wxPyEndAllowThreads(__tstate);
36215 if (PyErr_Occurred()) SWIG_fail;
36216 }
36217 Py_INCREF(Py_None); resultobj = Py_None;
36218 return resultobj;
36219 fail:
36220 return NULL;
36221}
36222
36223
36224static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36225 PyObject *resultobj = NULL;
53aa7709
RD
36226 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36227 wxDateTime result;
36228 PyObject * obj0 = 0 ;
36229 char *kwnames[] = {
36230 (char *) "self", NULL
36231 };
36232
36233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
36234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36235 if (SWIG_arg_fail(1)) SWIG_fail;
36236 {
36237 PyThreadState* __tstate = wxPyBeginAllowThreads();
36238 result = wxDatePickerCtrl_GetLowerLimit(arg1);
36239
36240 wxPyEndAllowThreads(__tstate);
36241 if (PyErr_Occurred()) SWIG_fail;
36242 }
36243 {
36244 wxDateTime * resultptr;
32fe5131 36245 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36247 }
36248 return resultobj;
36249 fail:
36250 return NULL;
36251}
36252
36253
36254static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36255 PyObject *resultobj = NULL;
53aa7709
RD
36256 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36257 wxDateTime result;
36258 PyObject * obj0 = 0 ;
36259 char *kwnames[] = {
36260 (char *) "self", NULL
36261 };
36262
36263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
36264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36265 if (SWIG_arg_fail(1)) SWIG_fail;
36266 {
36267 PyThreadState* __tstate = wxPyBeginAllowThreads();
36268 result = wxDatePickerCtrl_GetUpperLimit(arg1);
36269
36270 wxPyEndAllowThreads(__tstate);
36271 if (PyErr_Occurred()) SWIG_fail;
36272 }
36273 {
36274 wxDateTime * resultptr;
32fe5131 36275 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36277 }
36278 return resultobj;
36279 fail:
36280 return NULL;
36281}
36282
36283
36284static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
36285 PyObject *obj;
36286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36287 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
36288 Py_INCREF(obj);
36289 return Py_BuildValue((char *)"");
36290}
e811c8ce 36291static PyMethodDef SwigMethods[] = {
093d3ff1
RD
36292 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
36293 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
36294 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36295 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36296 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36297 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36298 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
36299 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36300 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36301 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36302 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36303 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36304 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36305 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 36306 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction) _wrap_BitmapButton_GetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36307 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36308 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36309 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36310 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 36311 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36312 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36313 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
36314 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
36315 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
36316 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36317 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36318 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36319 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36320 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36321 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36322 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36323 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36324 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
36325 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
36326 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36327 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
36328 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
36329 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
36330 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 36331 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36332 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36333 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
36334 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36335 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36336 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36337 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36338 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36339 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36340 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36341 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36342 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36343 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36344 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36345 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36346 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36347 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3 36348 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 36349 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36350 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36351 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36352 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36353 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36354 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36355 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36356 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36357 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36358 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36359 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36360 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36361 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36362 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36363 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36364 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36365 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
36366 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
36367 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
36368 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36369 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36370 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36371 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36372 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36373 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36374 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36375 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36376 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36377 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36378 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36379 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
36380 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36381 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36382 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36383 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36384 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
36385 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36386 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36387 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36388 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36389 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36390 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36391 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
36392 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36393 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36394 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 36395 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36396 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36397 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
36398 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36399 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36400 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36401 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36402 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36403 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36404 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36405 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
36406 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36407 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36408 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36409 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
36410 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
36411 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36412 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36413 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36414 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36415 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
36416 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36417 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36418 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36419 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
36420 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
36421 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36422 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36423 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
36424 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36425 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36426 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36427 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36428 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
36429 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36430 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36431 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36432 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36433 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
36434 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36435 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36436 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
36437 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
36438 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36439 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36440 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
36441 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36442 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36443 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36444 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36445 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36446 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36447 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36448 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36449 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36450 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36451 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36452 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36453 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36454 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36455 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36456 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36457 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36458 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36459 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36460 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36461 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36462 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36463 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36464 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36465 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36466 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36467 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
36468 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
36469 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36470 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36471 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36472 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36473 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36474 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36475 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
36476 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
36477 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
36478 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
36479 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36480 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36481 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
36482 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36483 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36484 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36485 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36486 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36487 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
36488 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
36489 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
36490 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
36491 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
36492 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
36493 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
36494 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
36495 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36496 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36497 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36498 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36499 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36500 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
36501 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36502 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36503 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
36504 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36505 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36506 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36507 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36508 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36509 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36510 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36511 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36512 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36513 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36514 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36515 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36516 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36517 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36518 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36519 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36520 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36521 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
36522 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36523 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36524 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
36525 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36526 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36527 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
36528 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36529 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
36530 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36531 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36532 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36533 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36534 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
36535 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36536 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36537 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36538 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36539 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
36540 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36541 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
36542 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36543 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36544 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36545 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36546 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36547 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36548 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36549 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36550 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36551 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36552 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36553 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36554 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
36555 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36556 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36557 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36558 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36559 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36560 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
36561 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36562 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36563 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36564 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36565 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36566 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
36567 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36568 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36569 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36570 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
36571 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36572 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36573 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36574 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36575 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36576 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36577 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36578 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36579 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
36580 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36581 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36582 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
36583 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
36584 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36585 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36586 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36587 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36588 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
36589 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36590 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36591 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36592 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36593 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36594 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36595 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
36596 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
36597 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
36598 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36599 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36600 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36601 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36602 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36603 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36604 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36605 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36606 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36607 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36608 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36609 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36610 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36611 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36612 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36613 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36614 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
36615 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
36616 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
36617 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36618 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
36619 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36620 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36621 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
36622 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36623 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36624 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36625 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36626 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
36630 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36635 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36637 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36638 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef
RD
36643 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36645 { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
36646 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36647 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36648 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36654 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36656 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
36657 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36660 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
36663 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
36664 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36670 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
8e738329 36671 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36672 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
36674 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36675 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
36676 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
36678 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36679 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
36681 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
36683 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe 36686 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36687 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
36689 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
7e08d4ef
RD
36691 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36700 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
36702 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
36705 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
36707 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36712 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
36713 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
36715 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36716 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
36720 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36726 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36727 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36728 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36734 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36736 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36737 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36738 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36740 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36741 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
36745 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36753 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
36766 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36767 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36775 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36778 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
36782 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
36788 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
36790 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36791 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36792 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36793 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
36796 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36797 { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36798 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36800 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36802 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36807 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36808 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
36810 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36816 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36817 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
36819 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36821 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36824 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36826 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36828 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
36831 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36832 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36833 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36834 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36836 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36838 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36841 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36846 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36850 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
36852 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
36854 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
36857 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
36858 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
36859 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
36860 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
36862 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36868 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36870 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36871 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
36874 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36878 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36879 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36882 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36883 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36885 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
36886 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
36887 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
36888 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
36889 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36890 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36892 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36894 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36897 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36898 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
36900 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36902 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36904 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36912 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
36913 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36914 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36916 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36918 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36920 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36924 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36926 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
36935 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36936 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
36937 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
36941 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36942 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
36943 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36946 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
36947 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 36948 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36949 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
36952 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36953 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36955 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd
RD
36956 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36958 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
36962 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36965 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36966 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36969 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
36974 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
36979 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
36982 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36983 { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36984 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
36990 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37001 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
562ecc31 37005 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37006 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
37007 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37008 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37009 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37013 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37014 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37015 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37016 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37018 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37019 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37021 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37025 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37027 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37034 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a 37035 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37036 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37040 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
37044 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
37045 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37054 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
37055 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37056 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37057 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
37058 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
37059 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37060 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
37061 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
37062 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
37063 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37064 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37065 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
37066 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
37067 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
37068 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
37069 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
37070 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37071 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
37072 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37073 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37074 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37075 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
37076 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37077 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37078 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37079 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37080 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37081 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37082 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
37083 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37084 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37085 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37086 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
37087 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37088 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37089 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37090 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
37091 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37092 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37093 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37094 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37095 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37096 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37097 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37098 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
37099 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37100 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37101 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
37102 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
37103 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
37104 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
37105 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37106 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37107 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37108 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
37109 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
37110 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37111 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37112 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37113 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 37114 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
37115 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37116 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37117 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37118 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37119 { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37120 { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37121 { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37122 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37123 { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37124 { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
37125 { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37126 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37127 { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
37128 { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
37129 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
37130 { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
37131 { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
37132 { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
37133 { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
37134 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37135 { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37136 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
37137 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37138 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37139 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37140 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37141 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37142 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37143 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37144 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
37145 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37146 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37147 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37148 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37149 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
37150 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
37151 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
37152 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
37153 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
37154 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37155 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37156 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37157 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
37158 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37159 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37160 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
37161 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
37162 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
37163 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37164 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
37165 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
37166 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
37167 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37168 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37169 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
37170 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37171 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
37172 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37173 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
37174 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
37175 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
37176 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
37177 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37178 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37179 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37180 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
37181 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37182 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37183 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37184 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37185 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37186 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
37187 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37188 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37189 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c32bde28 37190 { NULL, NULL, 0, NULL }
d14a1e28
RD
37191};
37192
37193
37194/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37195
d14a1e28
RD
37196static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37198}
37199static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37200 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37201}
37202static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37203 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37204}
37205static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37206 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37207}
37208static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37209 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37210}
8ac8dba0
RD
37211static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
37212 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37213}
d14a1e28
RD
37214static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
37215 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37216}
37217static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37218 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37219}
37220static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37221 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37222}
37223static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37224 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37225}
37226static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
37227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
37228}
d14a1e28
RD
37229static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37230 return (void *)((wxEvent *) ((wxPyEvent *) x));
37231}
37232static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37233 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37234}
37235static void *_p_wxListEventTo_p_wxEvent(void *x) {
37236 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37237}
37238static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 37239 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
37240}
37241static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 37242 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 37243}
2ef75293 37244static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 37245 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 37246}
7e08d4ef
RD
37247static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
37248 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37249}
37250static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
37251 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37252}
d14a1e28
RD
37253static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
37254 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
37255}
37256static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37257 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37258}
37259static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37261}
37262static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37263 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37264}
37265static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37266 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37267}
37268static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37269 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37270}
37271static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37272 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37273}
37274static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37275 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37276}
37277static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37278 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37279}
53aa7709
RD
37280static void *_p_wxDateEventTo_p_wxEvent(void *x) {
37281 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
37282}
d14a1e28
RD
37283static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37284 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37285}
37286static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37287 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37288}
37289static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37290 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37291}
37292static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37293 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37294}
37295static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37296 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37297}
37298static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37299 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37300}
37301static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37302 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37303}
37304static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37305 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37306}
37307static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37308 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37309}
37310static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37311 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37312}
37313static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37314 return (void *)((wxEvent *) ((wxShowEvent *) x));
37315}
37316static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37317 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37318}
37319static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37320 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37321}
37322static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37323 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37324}
37325static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37326 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37327}
37328static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37329 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37330}
37331static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37332 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37333}
d1e20054
RD
37334static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
37335 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37336}
d14a1e28
RD
37337static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
37338 return (void *)((wxItemContainer *) ((wxComboBox *) x));
37339}
37340static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
37341 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37342}
37343static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
37344 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
37345}
37346static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37347 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37348}
37349static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
37350 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
37351}
37352static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
37353 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37354}
37355static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
37356 return (void *)((wxPyListCtrl *) ((wxListView *) x));
37357}
8ac8dba0
RD
37358static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
37359 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d14a1e28
RD
37360}
37361static void *_p_wxToolBarTo_p_wxControl(void *x) {
37362 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
37363}
2ef75293
RD
37364static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
37365 return (void *)((wxControl *) ((wxToggleButton *) x));
d14a1e28 37366}
2ef75293
RD
37367static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
37368 return (void *)((wxControl *) ((wxRadioButton *) x));
d14a1e28 37369}
7e08d4ef
RD
37370static void *_p_wxToolbookTo_p_wxControl(void *x) {
37371 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
d14a1e28 37372}
2ef75293
RD
37373static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
37374 return (void *)((wxControl *) ((wxToolBarBase *) x));
37375}
37376static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
37377 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d14a1e28
RD
37378}
37379static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
37380 return (void *)((wxControl *) ((wxPyListCtrl *) x));
37381}
2ef75293
RD
37382static void *_p_wxComboBoxTo_p_wxControl(void *x) {
37383 return (void *)((wxControl *) ((wxComboBox *) x));
d14a1e28 37384}
7e08d4ef
RD
37385static void *_p_wxPyControlTo_p_wxControl(void *x) {
37386 return (void *)((wxControl *) ((wxPyControl *) x));
37387}
2ef75293
RD
37388static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
37389 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d14a1e28
RD
37390}
37391static void *_p_wxScrollBarTo_p_wxControl(void *x) {
37392 return (void *)((wxControl *) ((wxScrollBar *) x));
37393}
2ef75293
RD
37394static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37395 return (void *)((wxControl *) ((wxControlWithItems *) x));
d14a1e28
RD
37396}
37397static void *_p_wxGaugeTo_p_wxControl(void *x) {
37398 return (void *)((wxControl *) ((wxGauge *) x));
37399}
2ef75293
RD
37400static void *_p_wxStaticLineTo_p_wxControl(void *x) {
37401 return (void *)((wxControl *) ((wxStaticLine *) x));
d14a1e28 37402}
2ef75293 37403static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 37404 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d14a1e28 37405}
2ef75293 37406static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 37407 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28 37408}
2ef75293
RD
37409static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
37410 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d14a1e28 37411}
2ef75293
RD
37412static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
37413 return (void *)((wxControl *) ((wxCheckBox *) x));
d14a1e28
RD
37414}
37415static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
37416 return (void *)((wxControl *) ((wxRadioBox *) x));
37417}
2ef75293
RD
37418static void *_p_wxChoiceTo_p_wxControl(void *x) {
37419 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
37420}
37421static void *_p_wxListBoxTo_p_wxControl(void *x) {
37422 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
37423}
37424static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
37425 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37426}
37427static void *_p_wxListViewTo_p_wxControl(void *x) {
37428 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
37429}
d14a1e28 37430static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 37431 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28 37432}
2ef75293
RD
37433static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
37434 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d14a1e28 37435}
2ef75293
RD
37436static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
37437 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d14a1e28 37438}
2ef75293
RD
37439static void *_p_wxStaticTextTo_p_wxControl(void *x) {
37440 return (void *)((wxControl *) ((wxStaticText *) x));
d14a1e28 37441}
2ef75293
RD
37442static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
37443 return (void *)((wxControl *) ((wxStaticBox *) x));
d14a1e28
RD
37444}
37445static void *_p_wxSliderTo_p_wxControl(void *x) {
37446 return (void *)((wxControl *) ((wxSlider *) x));
37447}
7e08d4ef
RD
37448static void *_p_wxTreebookTo_p_wxControl(void *x) {
37449 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
d14a1e28 37450}
2ef75293
RD
37451static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
37452 return (void *)((wxControl *) ((wxSpinButton *) x));
d14a1e28 37453}
2ef75293
RD
37454static void *_p_wxButtonTo_p_wxControl(void *x) {
37455 return (void *)((wxControl *) ((wxButton *) x));
d14a1e28 37456}
2ef75293
RD
37457static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
37458 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
37459}
7e08d4ef
RD
37460static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
37461 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37462}
53aa7709
RD
37463static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
37464 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
37465}
2ef75293
RD
37466static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
37467 return (void *)((wxControl *) ((wxTextCtrl *) x));
d14a1e28
RD
37468}
37469static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
37470 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
37471}
37472static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
37473 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
37474}
8ac8dba0
RD
37475static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
37476 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37477}
d14a1e28
RD
37478static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
37479 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
37480}
d14a1e28
RD
37481static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
37482 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
37483}
d1e20054
RD
37484static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
37485 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
37486}
d14a1e28 37487static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 37488 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
37489}
37490static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 37491 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 37492}
2ef75293 37493static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
37494 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37495}
7e08d4ef
RD
37496static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
37497 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37498}
37499static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
37500 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37501}
8ac8dba0
RD
37502static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
37503 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
37504}
37505static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
37506 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
2ef75293 37507}
7e08d4ef
RD
37508static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
37509 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
37510}
37511static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
37512 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
37513}
8ac8dba0
RD
37514static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
37515 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
37516}
37517static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37518 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37519}
8ac8dba0
RD
37520static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
37521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37522}
d14a1e28
RD
37523static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37524 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37525}
37526static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37527 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37528}
37529static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
37530 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37531}
37532static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37533 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37534}
37535static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
37536 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
37537}
37538static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
37539 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
37540}
7e08d4ef
RD
37541static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
37542 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37543}
d14a1e28
RD
37544static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37545 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37546}
37547static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37548 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37549}
d14a1e28
RD
37550static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
37551 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
37552}
7e08d4ef
RD
37553static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
37554 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37555}
2ef75293
RD
37556static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
37557 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37558}
d14a1e28
RD
37559static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
37560 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37561}
37562static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
37563 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
37564}
37565static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37566 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37567}
37568static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
37569 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37570}
37571static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
37572 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
37573}
37574static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37575 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37576}
37577static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
37578 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
37579}
37580static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
37581 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
37582}
2ef75293 37583static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37584 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 37585}
d14a1e28 37586static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37587 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
37588}
37589static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
37590 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37591}
37592static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
37593 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
37594}
37595static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
37596 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
37597}
37598static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
37599 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37600}
37601static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
37602 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37603}
37604static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
37605 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37606}
37607static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37608 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
37609}
37610static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
37611 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37612}
37613static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
37614 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37615}
37616static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
37617 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37618}
37619static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
37620 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
37621}
37622static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
37623 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
37624}
37625static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
37626 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
37627}
7e08d4ef
RD
37628static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
37629 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37630}
d14a1e28
RD
37631static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
37632 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
37633}
37634static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
37635 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
37636}
37637static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
37638 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37639}
37640static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
37641 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37642}
53aa7709
RD
37643static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
37644 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37645}
d14a1e28
RD
37646static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
37647 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37648}
37649static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
37650 return (void *)((wxListBox *) ((wxCheckListBox *) x));
37651}
d14a1e28
RD
37652static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
37653 return (void *)((wxButton *) ((wxBitmapButton *) x));
37654}
37655static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
37656 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
37657}
37658static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
37659 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
37660}
37661static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
37662 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
37663}
37664static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37665 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37666}
7e08d4ef
RD
37667static void *_p_wxToolbookTo_p_wxObject(void *x) {
37668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37669}
d14a1e28
RD
37670static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37671 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37672}
37673static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37674 return (void *)((wxObject *) ((wxSizerItem *) x));
37675}
37676static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37678}
37679static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37680 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37681}
37682static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
37683 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
37684}
d14a1e28
RD
37685static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37686 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37687}
37688static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37689 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37690}
37691static void *_p_wxSizerTo_p_wxObject(void *x) {
37692 return (void *)((wxObject *) ((wxSizer *) x));
37693}
37694static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37695 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37696}
37697static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
37698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
37699}
37700static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
37701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37702}
37703static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37704 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37705}
37706static void *_p_wxEventTo_p_wxObject(void *x) {
37707 return (void *)((wxObject *) ((wxEvent *) x));
37708}
37709static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37710 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37711}
37712static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37713 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37714}
37715static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37716 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37717}
37718static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
37719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37720}
37721static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
37722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37723}
37724static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
37725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37726}
37727static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37728 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37729}
37730static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37731 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37732}
37733static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37734 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37735}
37736static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37737 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37738}
37739static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37740 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37741}
37742static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37743 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37744}
37745static void *_p_wxStaticLineTo_p_wxObject(void *x) {
37746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
37747}
37748static void *_p_wxControlTo_p_wxObject(void *x) {
37749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37750}
37751static void *_p_wxPyControlTo_p_wxObject(void *x) {
37752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
37753}
37754static void *_p_wxGaugeTo_p_wxObject(void *x) {
37755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
37756}
37757static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
37758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
37759}
37760static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
37761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
37762}
37763static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
37764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37765}
37766static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37767 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37768}
37769static void *_p_wxChoiceTo_p_wxObject(void *x) {
37770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37771}
37772static void *_p_wxFSFileTo_p_wxObject(void *x) {
37773 return (void *)((wxObject *) ((wxFSFile *) x));
37774}
37775static void *_p_wxPySizerTo_p_wxObject(void *x) {
37776 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37777}
7e08d4ef
RD
37778static void *_p_wxTreebookTo_p_wxObject(void *x) {
37779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37780}
d14a1e28
RD
37781static void *_p_wxListViewTo_p_wxObject(void *x) {
37782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37783}
37784static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
37785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37786}
37787static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 37788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
37789}
37790static void *_p_wxPyEventTo_p_wxObject(void *x) {
37791 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37792}
37793static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37795}
2ef75293 37796static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 37797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 37798}
d14a1e28 37799static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 37800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
37801}
37802static void *_p_wxShowEventTo_p_wxObject(void *x) {
37803 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37804}
37805static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
37806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37807}
37808static void *_p_wxSliderTo_p_wxObject(void *x) {
37809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
37810}
37811static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37812 return (void *)((wxObject *) ((wxMenuItem *) x));
37813}
53aa7709
RD
37814static void *_p_wxDateEventTo_p_wxObject(void *x) {
37815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
37816}
d14a1e28
RD
37817static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37818 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37819}
37820static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37821 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37822}
37823static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37824 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37825}
37826static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37827 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37828}
37829static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37830 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37831}
37832static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37833 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37834}
37835static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37836 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37837}
37838static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37839 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37840}
37841static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
37842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
37843}
37844static void *_p_wxContextHelpTo_p_wxObject(void *x) {
37845 return (void *)((wxObject *) ((wxContextHelp *) x));
37846}
8ac8dba0
RD
37847static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
37848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37849}
d14a1e28
RD
37850static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37851 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37852}
37853static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37854 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37855}
37856static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37857 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37858}
37859static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37860 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37861}
37862static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37863 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37864}
37865static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37866 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37867}
37868static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37869 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37870}
37871static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37872 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37873}
37874static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37875 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37876}
943e8dfd
RD
37877static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
37878 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
37879}
d14a1e28
RD
37880static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37881 return (void *)((wxObject *) ((wxImageHandler *) x));
37882}
943e8dfd
RD
37883static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37884 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37885}
d14a1e28
RD
37886static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
37887 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37888}
37889static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
37890 return (void *)((wxObject *) ((wxEvtHandler *) x));
37891}
37892static void *_p_wxListEventTo_p_wxObject(void *x) {
37893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37894}
37895static void *_p_wxListBoxTo_p_wxObject(void *x) {
37896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37897}
37898static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
37899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37900}
d14a1e28
RD
37901static void *_p_wxButtonTo_p_wxObject(void *x) {
37902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
37903}
1e0c8722
RD
37904static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
37905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37906}
d14a1e28
RD
37907static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
37908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
37909}
37910static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
37911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37912}
e505d15e
RD
37913static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
37914 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
37915}
1e0c8722
RD
37916static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
37917 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
37918}
d14a1e28
RD
37919static void *_p_wxScrollBarTo_p_wxObject(void *x) {
37920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
37921}
37922static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
37923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
37924}
37925static void *_p_wxComboBoxTo_p_wxObject(void *x) {
37926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
37927}
37928static void *_p_wxHelpEventTo_p_wxObject(void *x) {
37929 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
37930}
37931static void *_p_wxListItemTo_p_wxObject(void *x) {
37932 return (void *)((wxObject *) ((wxListItem *) x));
37933}
37934static void *_p_wxImageTo_p_wxObject(void *x) {
37935 return (void *)((wxObject *) ((wxImage *) x));
37936}
d14a1e28
RD
37937static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37938 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37939}
d1e20054
RD
37940static void *_p_wxSpinEventTo_p_wxObject(void *x) {
37941 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37942}
e811c8ce
RD
37943static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
37944 return (void *)((wxObject *) ((wxGenericDragImage *) x));
37945}
d14a1e28
RD
37946static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
37947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37948}
37949static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 37950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
37951}
37952static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 37953 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 37954}
2ef75293 37955static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 37956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 37957}
7e08d4ef
RD
37958static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
37959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37960}
37961static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
37962 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37963}
d14a1e28
RD
37964static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37965 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37966}
37967static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37968 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37969}
37970static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37971 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37972}
37973static void *_p_wxWindowTo_p_wxObject(void *x) {
37974 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
37975}
37976static void *_p_wxMenuTo_p_wxObject(void *x) {
37977 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
37978}
37979static void *_p_wxMenuBarTo_p_wxObject(void *x) {
37980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
37981}
37982static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37983 return (void *)((wxObject *) ((wxFileSystem *) x));
37984}
37985static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
37986 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
37987}
37988static void *_p_wxMenuEventTo_p_wxObject(void *x) {
37989 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
37990}
37991static void *_p_wxPyAppTo_p_wxObject(void *x) {
37992 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
37993}
37994static void *_p_wxCloseEventTo_p_wxObject(void *x) {
37995 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
37996}
37997static void *_p_wxMouseEventTo_p_wxObject(void *x) {
37998 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
37999}
38000static void *_p_wxEraseEventTo_p_wxObject(void *x) {
38001 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
38002}
8ac8dba0
RD
38003static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
38004 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38005}
d14a1e28
RD
38006static void *_p_wxTreeEventTo_p_wxObject(void *x) {
38007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
38008}
38009static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
38010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
38011}
38012static void *_p_wxCommandEventTo_p_wxObject(void *x) {
38013 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
38014}
38015static void *_p_wxStaticTextTo_p_wxObject(void *x) {
38016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
38017}
38018static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
38019 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
38020}
38021static void *_p_wxFocusEventTo_p_wxObject(void *x) {
38022 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
38023}
38024static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
38025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
38026}
53aa7709
RD
38027static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
38028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
38029}
d14a1e28
RD
38030static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
38031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
38032}
38033static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
38034 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
38035}
38036static void *_p_wxToolBarTo_p_wxObject(void *x) {
38037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38038}
38039static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
38040 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
38041}
38042static void *_p_wxValidatorTo_p_wxObject(void *x) {
38043 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
38044}
d14a1e28
RD
38045static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
38046 return (void *)((wxWindow *) ((wxMenuBar *) x));
38047}
8ac8dba0
RD
38048static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
38049 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
38050}
d14a1e28
RD
38051static void *_p_wxToolBarTo_p_wxWindow(void *x) {
38052 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38053}
38054static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
38055 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
38056}
38057static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
38058 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
38059}
7e08d4ef
RD
38060static void *_p_wxToolbookTo_p_wxWindow(void *x) {
38061 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
38062}
d14a1e28
RD
38063static void *_p_wxControlTo_p_wxWindow(void *x) {
38064 return (void *)((wxWindow *) ((wxControl *) x));
38065}
38066static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
38067 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
38068}
d14a1e28
RD
38069static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
38070 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
38071}
38072static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
38073 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
38074}
7e08d4ef
RD
38075static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
38076 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
38077}
2ef75293
RD
38078static void *_p_wxPyControlTo_p_wxWindow(void *x) {
38079 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
38080}
d14a1e28
RD
38081static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
38082 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
38083}
38084static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
38085 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
38086}
38087static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
38088 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
38089}
38090static void *_p_wxGaugeTo_p_wxWindow(void *x) {
38091 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
38092}
38093static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
38094 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
38095}
2ef75293 38096static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 38097 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 38098}
d14a1e28 38099static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 38100 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
38101}
38102static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
38103 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
38104}
38105static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
38106 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
38107}
38108static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
38109 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
38110}
38111static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
38112 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38113}
38114static void *_p_wxChoiceTo_p_wxWindow(void *x) {
38115 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
38116}
38117static void *_p_wxListBoxTo_p_wxWindow(void *x) {
38118 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38119}
38120static void *_p_wxListViewTo_p_wxWindow(void *x) {
38121 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
38122}
38123static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 38124 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
38125}
38126static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
38127 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
38128}
38129static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
38130 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
38131}
38132static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
38133 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
38134}
38135static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
38136 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
38137}
38138static void *_p_wxSliderTo_p_wxWindow(void *x) {
38139 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
38140}
7e08d4ef
RD
38141static void *_p_wxTreebookTo_p_wxWindow(void *x) {
38142 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
38143}
d14a1e28
RD
38144static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
38145 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
38146}
38147static void *_p_wxButtonTo_p_wxWindow(void *x) {
38148 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
38149}
38150static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
38151 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
38152}
38153static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
38154 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38155}
53aa7709
RD
38156static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
38157 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
38158}
d14a1e28
RD
38159static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
38160 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
38161}
8ac8dba0
RD
38162static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38163 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38164}
38165static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38166 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38167}
38168static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38169 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38170}
7e08d4ef
RD
38171static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38172 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38173}
38174static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38175 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38176}
d14a1e28
RD
38177static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
38178 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38179}
d14a1e28
RD
38180static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
38181 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
38182}
38183static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
38184 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
38185}
38186static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
38187 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
38188}
38189static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
38190 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
38191}
38192static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
38193 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
38194}
38195static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 38196 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28
RD
38197}
38198static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 38199 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28 38200}
53aa7709
RD
38201static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
38202 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38203}
7e08d4ef
RD
38204static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
38205 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38206}
38207static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
38208 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38209}
53aa7709
RD
38210static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
38211 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
38212}
d14a1e28
RD
38213static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
38214 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
38215}
2ef75293
RD
38216static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
38217 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
38218}
8ac8dba0
RD
38219static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
38220 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38221}
d14a1e28
RD
38222static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
38223 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
38224}
d1e20054
RD
38225static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
38226 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
38227}
d14a1e28
RD
38228static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
38229 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
38230}
38231static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
38232 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
38233}
38234static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
38235 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
38236}
38237static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
38238 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
38239}
38240static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
38241 return (void *)((wxControlWithItems *) ((wxChoice *) x));
38242}
38243static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
38244 return (void *)((wxControlWithItems *) ((wxListBox *) x));
38245}
38246static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
38247 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
38248}
38249static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
38250 return (void *)((wxValidator *) ((wxPyValidator *) x));
38251}
32fe5131
RD
38252static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
38253static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
38254static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38255static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
38256static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
38257static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38258static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38259static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38260static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
38261static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38262static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38263static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38264static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38265static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38266static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38267static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
38268static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38269static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38270static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38271static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38272static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38273static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
38274static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38275static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38276static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38277static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
38278static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38279static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38280static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38281static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
38282static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38283static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38284static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38285static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38286static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
38287static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38288static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38289static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
38290static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38291static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38292static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38293static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38294static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38295static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
38296static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
38297static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
38298static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38299static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38300static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
38301static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
38302static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38303static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38304static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
38305static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
38306static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
38307static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
38308static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
38309static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
7e08d4ef 38310static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
32fe5131
RD
38311static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38312static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
32fe5131
RD
38313static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38314static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38315static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
38316static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
38317static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38318static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38319static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38320static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
38321static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
38322static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
38323static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
38324static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
38325static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38326static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38327static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38328static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38329static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38330static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38331static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38332static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38333static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38334static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38335static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38336static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38337static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38338static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
38339static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38340static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38341static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38342static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38343static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38344static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38345static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38346static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
38347static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38348static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
38349static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
38350static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38351static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38352static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
38353static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
38354static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
38355static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
38356static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38357static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
38358static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
38359static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
32fe5131
RD
38360static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
38361static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
38362static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
38363static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
38364static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
38365static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
38366static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
38367static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
38368static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
38369static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
38370static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
7e08d4ef
RD
38371static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
38372static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
32fe5131
RD
38373static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38374static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38375static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
38376static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
38377static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38378static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38379static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38380static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38381static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38382static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38383static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38384static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38385static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
38386static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38387static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38388static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
38389static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38390static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38391static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38392static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38393static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38394static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38395static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38396static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38397static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
38398static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38399static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38400static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38401static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38402static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38403static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38404static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
7e08d4ef
RD
38405static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38406static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38407static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
32fe5131
RD
38408static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38409static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
7e08d4ef
RD
38410static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38411static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
32fe5131
RD
38412static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38413static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38414static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38415static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38416static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38417static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38418
38419static swig_type_info *swig_type_initial[] = {
38420 &_swigt__p_bool,
38421 &_swigt__p_char,
38422 &_swigt__p_form_ops_t,
38423 &_swigt__p_int,
38424 &_swigt__p_long,
38425 &_swigt__p_unsigned_char,
38426 &_swigt__p_unsigned_int,
38427 &_swigt__p_unsigned_long,
38428 &_swigt__p_void,
38429 &_swigt__p_wxANIHandler,
38430 &_swigt__p_wxAcceleratorTable,
38431 &_swigt__p_wxActivateEvent,
38432 &_swigt__p_wxArrayInt,
38433 &_swigt__p_wxArrayString,
38434 &_swigt__p_wxBMPHandler,
38435 &_swigt__p_wxBitmap,
38436 &_swigt__p_wxBitmapButton,
38437 &_swigt__p_wxBookCtrlBase,
38438 &_swigt__p_wxBookCtrlBaseEvent,
38439 &_swigt__p_wxBoxSizer,
38440 &_swigt__p_wxButton,
38441 &_swigt__p_wxCURHandler,
38442 &_swigt__p_wxCheckBox,
38443 &_swigt__p_wxCheckListBox,
38444 &_swigt__p_wxChildFocusEvent,
38445 &_swigt__p_wxChoice,
38446 &_swigt__p_wxChoicebook,
38447 &_swigt__p_wxChoicebookEvent,
38448 &_swigt__p_wxCloseEvent,
38449 &_swigt__p_wxColour,
38450 &_swigt__p_wxComboBox,
38451 &_swigt__p_wxCommandEvent,
38452 &_swigt__p_wxContextHelp,
38453 &_swigt__p_wxContextHelpButton,
38454 &_swigt__p_wxContextMenuEvent,
38455 &_swigt__p_wxControl,
38456 &_swigt__p_wxControlWithItems,
38457 &_swigt__p_wxCursor,
38458 &_swigt__p_wxDC,
38459 &_swigt__p_wxDateEvent,
38460 &_swigt__p_wxDatePickerCtrl,
38461 &_swigt__p_wxDateTime,
38462 &_swigt__p_wxDirFilterListCtrl,
38463 &_swigt__p_wxDisplayChangedEvent,
38464 &_swigt__p_wxDropFilesEvent,
38465 &_swigt__p_wxDuplexMode,
38466 &_swigt__p_wxEraseEvent,
38467 &_swigt__p_wxEvent,
38468 &_swigt__p_wxEvtHandler,
38469 &_swigt__p_wxFSFile,
38470 &_swigt__p_wxFileSystem,
38471 &_swigt__p_wxFlexGridSizer,
38472 &_swigt__p_wxFocusEvent,
38473 &_swigt__p_wxFont,
38474 &_swigt__p_wxGBSizerItem,
38475 &_swigt__p_wxGIFHandler,
38476 &_swigt__p_wxGauge,
38477 &_swigt__p_wxGenericDirCtrl,
38478 &_swigt__p_wxGenericDragImage,
38479 &_swigt__p_wxGridBagSizer,
38480 &_swigt__p_wxGridSizer,
38481 &_swigt__p_wxHelpEvent,
38482 &_swigt__p_wxHelpProvider,
38483 &_swigt__p_wxICOHandler,
38484 &_swigt__p_wxIcon,
38485 &_swigt__p_wxIconizeEvent,
38486 &_swigt__p_wxIdleEvent,
38487 &_swigt__p_wxImage,
38488 &_swigt__p_wxImageHandler,
38489 &_swigt__p_wxImageList,
38490 &_swigt__p_wxIndividualLayoutConstraint,
38491 &_swigt__p_wxInitDialogEvent,
38492 &_swigt__p_wxItemContainer,
38493 &_swigt__p_wxJPEGHandler,
38494 &_swigt__p_wxKeyEvent,
38495 &_swigt__p_wxLayoutConstraints,
38496 &_swigt__p_wxListBox,
38497 &_swigt__p_wxListEvent,
38498 &_swigt__p_wxListItem,
38499 &_swigt__p_wxListItemAttr,
38500 &_swigt__p_wxListView,
38501 &_swigt__p_wxListbook,
38502 &_swigt__p_wxListbookEvent,
38503 &_swigt__p_wxMaximizeEvent,
38504 &_swigt__p_wxMemoryDC,
38505 &_swigt__p_wxMenu,
38506 &_swigt__p_wxMenuBar,
38507 &_swigt__p_wxMenuEvent,
38508 &_swigt__p_wxMenuItem,
38509 &_swigt__p_wxMouseCaptureChangedEvent,
38510 &_swigt__p_wxMouseEvent,
38511 &_swigt__p_wxMoveEvent,
38512 &_swigt__p_wxNavigationKeyEvent,
38513 &_swigt__p_wxNcPaintEvent,
38514 &_swigt__p_wxNotebook,
38515 &_swigt__p_wxNotebookEvent,
38516 &_swigt__p_wxNotifyEvent,
38517 &_swigt__p_wxObject,
38518 &_swigt__p_wxPCXHandler,
38519 &_swigt__p_wxPNGHandler,
38520 &_swigt__p_wxPNMHandler,
38521 &_swigt__p_wxPaintEvent,
38522 &_swigt__p_wxPaletteChangedEvent,
38523 &_swigt__p_wxPaperSize,
38524 &_swigt__p_wxPoint,
38525 &_swigt__p_wxPyApp,
38526 &_swigt__p_wxPyCommandEvent,
38527 &_swigt__p_wxPyControl,
38528 &_swigt__p_wxPyEvent,
38529 &_swigt__p_wxPyImageHandler,
38530 &_swigt__p_wxPyListCtrl,
38531 &_swigt__p_wxPySizer,
38532 &_swigt__p_wxPyTreeCtrl,
38533 &_swigt__p_wxPyTreeItemData,
38534 &_swigt__p_wxPyValidator,
38535 &_swigt__p_wxQueryNewPaletteEvent,
38536 &_swigt__p_wxRadioBox,
38537 &_swigt__p_wxRadioButton,
38538 &_swigt__p_wxRect,
38539 &_swigt__p_wxScrollBar,
38540 &_swigt__p_wxScrollEvent,
38541 &_swigt__p_wxScrollWinEvent,
38542 &_swigt__p_wxSetCursorEvent,
38543 &_swigt__p_wxShowEvent,
38544 &_swigt__p_wxSimpleHelpProvider,
38545 &_swigt__p_wxSize,
38546 &_swigt__p_wxSizeEvent,
38547 &_swigt__p_wxSizer,
38548 &_swigt__p_wxSizerItem,
38549 &_swigt__p_wxSlider,
38550 &_swigt__p_wxSpinButton,
38551 &_swigt__p_wxSpinCtrl,
38552 &_swigt__p_wxSpinEvent,
38553 &_swigt__p_wxStaticBitmap,
38554 &_swigt__p_wxStaticBox,
38555 &_swigt__p_wxStaticBoxSizer,
38556 &_swigt__p_wxStaticLine,
38557 &_swigt__p_wxStaticText,
38558 &_swigt__p_wxStdDialogButtonSizer,
38559 &_swigt__p_wxString,
38560 &_swigt__p_wxSysColourChangedEvent,
38561 &_swigt__p_wxTIFFHandler,
38562 &_swigt__p_wxTextAttr,
38563 &_swigt__p_wxTextCtrl,
38564 &_swigt__p_wxTextUrlEvent,
38565 &_swigt__p_wxToggleButton,
38566 &_swigt__p_wxToolBar,
38567 &_swigt__p_wxToolBarBase,
38568 &_swigt__p_wxToolBarToolBase,
7e08d4ef
RD
38569 &_swigt__p_wxToolbook,
38570 &_swigt__p_wxToolbookEvent,
38571 &_swigt__p_wxTreeCtrl,
32fe5131
RD
38572 &_swigt__p_wxTreeEvent,
38573 &_swigt__p_wxTreeItemId,
7e08d4ef
RD
38574 &_swigt__p_wxTreebook,
38575 &_swigt__p_wxTreebookEvent,
32fe5131
RD
38576 &_swigt__p_wxUpdateUIEvent,
38577 &_swigt__p_wxValidator,
38578 &_swigt__p_wxVisualAttributes,
38579 &_swigt__p_wxWindow,
38580 &_swigt__p_wxWindowCreateEvent,
38581 &_swigt__p_wxWindowDestroyEvent,
38582 &_swigt__p_wxXPMHandler,
38583 &_swigt__ptrdiff_t,
38584 &_swigt__std__ptrdiff_t,
38585 &_swigt__unsigned_int,
38586};
38587
38588static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
38589static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
38590static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
38591static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
38592static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
38593static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
38594static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38595static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
38596static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
38597static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
38598static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
38599static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
38600static swig_cast_info _swigc__p_wxBitmapButton[] = { {&_swigt__p_wxBitmapButton, 0, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38601static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
38602static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38603static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxButton, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxButton, 0, 0},{0, 0, 0, 0}};
38604static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
38605static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
38606static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
38607static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
38608static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38609static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
38610static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
38611static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
38612static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
38613static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
38614static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38615static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38616static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
38617static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
38618static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38619static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_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_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_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_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_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38620static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
38621static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38622static 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_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_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_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_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_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_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38623static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
38624static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
38625static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
38626static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
38627static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
38628static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
38629static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
38630static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38631static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
38632static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
38633static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
38634static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
38635static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
38636static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
38637static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
38638static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38639static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38640static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
38641static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38642static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
38643static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38644static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38645static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38646static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38647static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38648static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38649static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
38650static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38651static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
38652static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38653static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38654static 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_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_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_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_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_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},{0, 0, 0, 0}};
32fe5131
RD
38655static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
38656static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
38657static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
38658static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38659static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38660static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
38661static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
38662static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
38663static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
38664static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
38665static swig_cast_info _swigc__p_wxHelpProvider[] = { {&_swigt__p_wxHelpProvider, 0, 0, 0}, {&_swigt__p_wxSimpleHelpProvider, _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0},{0, 0, 0, 0}};
38666static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
38667static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
38668static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
38669static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38670static swig_cast_info _swigc__p_wxListBox[] = { {&_swigt__p_wxListBox, 0, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxListBox, 0, 0},{0, 0, 0, 0}};
38671static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
38672static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
38673static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
38674static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
38675static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
38676static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38677static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
38678static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
38679static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
38680static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38681static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38682static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
38683static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38684static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38685static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
38686static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38687static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38688static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
38689static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
38690static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38691static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38692static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
38693static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
38694static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38695static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38696static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38697static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
38698static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
38699static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
38700static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
38701static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
38702static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
38703static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
38704static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
38705static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38706static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
38707static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38708static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
38709static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
38710static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
38711static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38712static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_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_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_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_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38713static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
38714static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
38715static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
38716static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
38717static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38718static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
38719static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
38720static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
38721static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
38722static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
38723static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
38724static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
38725static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
38726static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
38727static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
38728static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
38729static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
38730static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
38731static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
38732static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
38733static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
38734static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
38735static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
38736static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
38737static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
38738static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
38739static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase, 0, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxToolBarBase, 0, 0},{0, 0, 0, 0}};
38740static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38741static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
38742static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38743static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38744static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
38745static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38746static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
38747static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38748static 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}};
38749static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38750static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38751static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38752static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38753static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38754
38755static swig_cast_info *swig_cast_initial[] = {
38756 _swigc__p_bool,
38757 _swigc__p_char,
38758 _swigc__p_form_ops_t,
38759 _swigc__p_int,
38760 _swigc__p_long,
38761 _swigc__p_unsigned_char,
38762 _swigc__p_unsigned_int,
38763 _swigc__p_unsigned_long,
38764 _swigc__p_void,
38765 _swigc__p_wxANIHandler,
38766 _swigc__p_wxAcceleratorTable,
38767 _swigc__p_wxActivateEvent,
38768 _swigc__p_wxArrayInt,
38769 _swigc__p_wxArrayString,
38770 _swigc__p_wxBMPHandler,
38771 _swigc__p_wxBitmap,
38772 _swigc__p_wxBitmapButton,
38773 _swigc__p_wxBookCtrlBase,
38774 _swigc__p_wxBookCtrlBaseEvent,
38775 _swigc__p_wxBoxSizer,
38776 _swigc__p_wxButton,
38777 _swigc__p_wxCURHandler,
38778 _swigc__p_wxCheckBox,
38779 _swigc__p_wxCheckListBox,
38780 _swigc__p_wxChildFocusEvent,
38781 _swigc__p_wxChoice,
38782 _swigc__p_wxChoicebook,
38783 _swigc__p_wxChoicebookEvent,
38784 _swigc__p_wxCloseEvent,
38785 _swigc__p_wxColour,
38786 _swigc__p_wxComboBox,
38787 _swigc__p_wxCommandEvent,
38788 _swigc__p_wxContextHelp,
38789 _swigc__p_wxContextHelpButton,
38790 _swigc__p_wxContextMenuEvent,
38791 _swigc__p_wxControl,
38792 _swigc__p_wxControlWithItems,
38793 _swigc__p_wxCursor,
38794 _swigc__p_wxDC,
38795 _swigc__p_wxDateEvent,
38796 _swigc__p_wxDatePickerCtrl,
38797 _swigc__p_wxDateTime,
38798 _swigc__p_wxDirFilterListCtrl,
38799 _swigc__p_wxDisplayChangedEvent,
38800 _swigc__p_wxDropFilesEvent,
38801 _swigc__p_wxDuplexMode,
38802 _swigc__p_wxEraseEvent,
38803 _swigc__p_wxEvent,
38804 _swigc__p_wxEvtHandler,
38805 _swigc__p_wxFSFile,
38806 _swigc__p_wxFileSystem,
38807 _swigc__p_wxFlexGridSizer,
38808 _swigc__p_wxFocusEvent,
38809 _swigc__p_wxFont,
38810 _swigc__p_wxGBSizerItem,
38811 _swigc__p_wxGIFHandler,
38812 _swigc__p_wxGauge,
38813 _swigc__p_wxGenericDirCtrl,
38814 _swigc__p_wxGenericDragImage,
38815 _swigc__p_wxGridBagSizer,
38816 _swigc__p_wxGridSizer,
38817 _swigc__p_wxHelpEvent,
38818 _swigc__p_wxHelpProvider,
38819 _swigc__p_wxICOHandler,
38820 _swigc__p_wxIcon,
38821 _swigc__p_wxIconizeEvent,
38822 _swigc__p_wxIdleEvent,
38823 _swigc__p_wxImage,
38824 _swigc__p_wxImageHandler,
38825 _swigc__p_wxImageList,
38826 _swigc__p_wxIndividualLayoutConstraint,
38827 _swigc__p_wxInitDialogEvent,
38828 _swigc__p_wxItemContainer,
38829 _swigc__p_wxJPEGHandler,
38830 _swigc__p_wxKeyEvent,
38831 _swigc__p_wxLayoutConstraints,
38832 _swigc__p_wxListBox,
38833 _swigc__p_wxListEvent,
38834 _swigc__p_wxListItem,
38835 _swigc__p_wxListItemAttr,
38836 _swigc__p_wxListView,
38837 _swigc__p_wxListbook,
38838 _swigc__p_wxListbookEvent,
38839 _swigc__p_wxMaximizeEvent,
38840 _swigc__p_wxMemoryDC,
38841 _swigc__p_wxMenu,
38842 _swigc__p_wxMenuBar,
38843 _swigc__p_wxMenuEvent,
38844 _swigc__p_wxMenuItem,
38845 _swigc__p_wxMouseCaptureChangedEvent,
38846 _swigc__p_wxMouseEvent,
38847 _swigc__p_wxMoveEvent,
38848 _swigc__p_wxNavigationKeyEvent,
38849 _swigc__p_wxNcPaintEvent,
38850 _swigc__p_wxNotebook,
38851 _swigc__p_wxNotebookEvent,
38852 _swigc__p_wxNotifyEvent,
38853 _swigc__p_wxObject,
38854 _swigc__p_wxPCXHandler,
38855 _swigc__p_wxPNGHandler,
38856 _swigc__p_wxPNMHandler,
38857 _swigc__p_wxPaintEvent,
38858 _swigc__p_wxPaletteChangedEvent,
38859 _swigc__p_wxPaperSize,
38860 _swigc__p_wxPoint,
38861 _swigc__p_wxPyApp,
38862 _swigc__p_wxPyCommandEvent,
38863 _swigc__p_wxPyControl,
38864 _swigc__p_wxPyEvent,
38865 _swigc__p_wxPyImageHandler,
38866 _swigc__p_wxPyListCtrl,
38867 _swigc__p_wxPySizer,
38868 _swigc__p_wxPyTreeCtrl,
38869 _swigc__p_wxPyTreeItemData,
38870 _swigc__p_wxPyValidator,
38871 _swigc__p_wxQueryNewPaletteEvent,
38872 _swigc__p_wxRadioBox,
38873 _swigc__p_wxRadioButton,
38874 _swigc__p_wxRect,
38875 _swigc__p_wxScrollBar,
38876 _swigc__p_wxScrollEvent,
38877 _swigc__p_wxScrollWinEvent,
38878 _swigc__p_wxSetCursorEvent,
38879 _swigc__p_wxShowEvent,
38880 _swigc__p_wxSimpleHelpProvider,
38881 _swigc__p_wxSize,
38882 _swigc__p_wxSizeEvent,
38883 _swigc__p_wxSizer,
38884 _swigc__p_wxSizerItem,
38885 _swigc__p_wxSlider,
38886 _swigc__p_wxSpinButton,
38887 _swigc__p_wxSpinCtrl,
38888 _swigc__p_wxSpinEvent,
38889 _swigc__p_wxStaticBitmap,
38890 _swigc__p_wxStaticBox,
38891 _swigc__p_wxStaticBoxSizer,
38892 _swigc__p_wxStaticLine,
38893 _swigc__p_wxStaticText,
38894 _swigc__p_wxStdDialogButtonSizer,
38895 _swigc__p_wxString,
38896 _swigc__p_wxSysColourChangedEvent,
38897 _swigc__p_wxTIFFHandler,
38898 _swigc__p_wxTextAttr,
38899 _swigc__p_wxTextCtrl,
38900 _swigc__p_wxTextUrlEvent,
38901 _swigc__p_wxToggleButton,
38902 _swigc__p_wxToolBar,
38903 _swigc__p_wxToolBarBase,
38904 _swigc__p_wxToolBarToolBase,
7e08d4ef
RD
38905 _swigc__p_wxToolbook,
38906 _swigc__p_wxToolbookEvent,
38907 _swigc__p_wxTreeCtrl,
32fe5131
RD
38908 _swigc__p_wxTreeEvent,
38909 _swigc__p_wxTreeItemId,
7e08d4ef
RD
38910 _swigc__p_wxTreebook,
38911 _swigc__p_wxTreebookEvent,
32fe5131
RD
38912 _swigc__p_wxUpdateUIEvent,
38913 _swigc__p_wxValidator,
38914 _swigc__p_wxVisualAttributes,
38915 _swigc__p_wxWindow,
38916 _swigc__p_wxWindowCreateEvent,
38917 _swigc__p_wxWindowDestroyEvent,
38918 _swigc__p_wxXPMHandler,
38919 _swigc__ptrdiff_t,
38920 _swigc__std__ptrdiff_t,
38921 _swigc__unsigned_int,
d14a1e28
RD
38922};
38923
38924
38925/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38926
38927static swig_const_info swig_const_table[] = {
c32bde28 38928{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
38929
38930#ifdef __cplusplus
38931}
38932#endif
32fe5131
RD
38933/*************************************************************************
38934 * Type initialization:
38935 * This problem is tough by the requirement that no dynamic
38936 * memory is used. Also, since swig_type_info structures store pointers to
38937 * swig_cast_info structures and swig_cast_info structures store pointers back
38938 * to swig_type_info structures, we need some lookup code at initialization.
38939 * The idea is that swig generates all the structures that are needed.
38940 * The runtime then collects these partially filled structures.
38941 * The SWIG_InitializeModule function takes these initial arrays out of
38942 * swig_module, and does all the lookup, filling in the swig_module.types
38943 * array with the correct data and linking the correct swig_cast_info
38944 * structures together.
38945
38946 * The generated swig_type_info structures are assigned staticly to an initial
38947 * array. We just loop though that array, and handle each type individually.
38948 * First we lookup if this type has been already loaded, and if so, use the
38949 * loaded structure instead of the generated one. Then we have to fill in the
38950 * cast linked list. The cast data is initially stored in something like a
38951 * two-dimensional array. Each row corresponds to a type (there are the same
38952 * number of rows as there are in the swig_type_initial array). Each entry in
38953 * a column is one of the swig_cast_info structures for that type.
38954 * The cast_initial array is actually an array of arrays, because each row has
38955 * a variable number of columns. So to actually build the cast linked list,
38956 * we find the array of casts associated with the type, and loop through it
38957 * adding the casts to the list. The one last trick we need to do is making
38958 * sure the type pointer in the swig_cast_info struct is correct.
38959
38960 * First off, we lookup the cast->type name to see if it is already loaded.
38961 * There are three cases to handle:
38962 * 1) If the cast->type has already been loaded AND the type we are adding
38963 * casting info to has not been loaded (it is in this module), THEN we
38964 * replace the cast->type pointer with the type pointer that has already
38965 * been loaded.
38966 * 2) If BOTH types (the one we are adding casting info to, and the
38967 * cast->type) are loaded, THEN the cast info has already been loaded by
38968 * the previous module so we just ignore it.
38969 * 3) Finally, if cast->type has not already been loaded, then we add that
38970 * swig_cast_info to the linked list (because the cast->type) pointer will
38971 * be correct.
38972**/
38973
38974#ifdef __cplusplus
38975extern "C" {
38976#if 0
38977} /* c-mode */
38978#endif
38979#endif
38980
38981#if 0
38982#define SWIGRUNTIME_DEBUG
38983#endif
38984
38985SWIGRUNTIME void
38986SWIG_InitializeModule(void *clientdata) {
38987 size_t i;
38988 swig_module_info *module_head;
38989 static int init_run = 0;
38990
38991 clientdata = clientdata;
38992
38993 if (init_run) return;
38994 init_run = 1;
38995
38996 /* Initialize the swig_module */
38997 swig_module.type_initial = swig_type_initial;
38998 swig_module.cast_initial = swig_cast_initial;
38999
39000 /* Try and load any already created modules */
39001 module_head = SWIG_GetModule(clientdata);
39002 if (module_head) {
39003 swig_module.next = module_head->next;
39004 module_head->next = &swig_module;
39005 } else {
39006 /* This is the first module loaded */
39007 swig_module.next = &swig_module;
39008 SWIG_SetModule(clientdata, &swig_module);
39009 }
39010
39011 /* Now work on filling in swig_module.types */
39012#ifdef SWIGRUNTIME_DEBUG
39013 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
39014#endif
39015 for (i = 0; i < swig_module.size; ++i) {
39016 swig_type_info *type = 0;
39017 swig_type_info *ret;
39018 swig_cast_info *cast;
39019
39020#ifdef SWIGRUNTIME_DEBUG
39021 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39022#endif
39023
39024 /* if there is another module already loaded */
39025 if (swig_module.next != &swig_module) {
39026 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
39027 }
39028 if (type) {
39029 /* Overwrite clientdata field */
39030#ifdef SWIGRUNTIME_DEBUG
39031 printf("SWIG_InitializeModule: found type %s\n", type->name);
39032#endif
39033 if (swig_module.type_initial[i]->clientdata) {
39034 type->clientdata = swig_module.type_initial[i]->clientdata;
39035#ifdef SWIGRUNTIME_DEBUG
39036 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
39037#endif
39038 }
39039 } else {
39040 type = swig_module.type_initial[i];
39041 }
39042
39043 /* Insert casting types */
39044 cast = swig_module.cast_initial[i];
39045 while (cast->type) {
39046 /* Don't need to add information already in the list */
39047 ret = 0;
39048#ifdef SWIGRUNTIME_DEBUG
39049 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
39050#endif
39051 if (swig_module.next != &swig_module) {
39052 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
39053#ifdef SWIGRUNTIME_DEBUG
39054 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
39055#endif
39056 }
39057 if (ret) {
39058 if (type == swig_module.type_initial[i]) {
39059#ifdef SWIGRUNTIME_DEBUG
39060 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
39061#endif
39062 cast->type = ret;
39063 ret = 0;
39064 } else {
39065 /* Check for casting already in the list */
39066 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
39067#ifdef SWIGRUNTIME_DEBUG
39068 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
39069#endif
39070 if (!ocast) ret = 0;
39071 }
39072 }
39073
39074 if (!ret) {
39075#ifdef SWIGRUNTIME_DEBUG
39076 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
39077#endif
39078 if (type->cast) {
39079 type->cast->prev = cast;
39080 cast->next = type->cast;
39081 }
39082 type->cast = cast;
39083 }
39084 cast++;
39085 }
39086 /* Set entry in modules->types array equal to the type */
39087 swig_module.types[i] = type;
39088 }
39089 swig_module.types[i] = 0;
39090
39091#ifdef SWIGRUNTIME_DEBUG
39092 printf("**** SWIG_InitializeModule: Cast List ******\n");
39093 for (i = 0; i < swig_module.size; ++i) {
39094 int j = 0;
39095 swig_cast_info *cast = swig_module.cast_initial[i];
39096 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39097 while (cast->type) {
39098 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
39099 cast++;
39100 ++j;
39101 }
39102 printf("---- Total casts: %d\n",j);
39103 }
39104 printf("**** SWIG_InitializeModule: Cast List ******\n");
39105#endif
39106}
39107
39108/* This function will propagate the clientdata field of type to
39109* any new swig_type_info structures that have been added into the list
39110* of equivalent types. It is like calling
39111* SWIG_TypeClientData(type, clientdata) a second time.
39112*/
39113SWIGRUNTIME void
39114SWIG_PropagateClientData(void) {
39115 size_t i;
39116 swig_cast_info *equiv;
39117 static int init_run = 0;
39118
39119 if (init_run) return;
39120 init_run = 1;
39121
39122 for (i = 0; i < swig_module.size; i++) {
39123 if (swig_module.types[i]->clientdata) {
39124 equiv = swig_module.types[i]->cast;
39125 while (equiv) {
39126 if (!equiv->converter) {
39127 if (equiv->type && !equiv->type->clientdata)
39128 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
39129 }
39130 equiv = equiv->next;
39131 }
39132 }
39133 }
39134}
39135
39136#ifdef __cplusplus
39137#if 0
39138{
39139 /* c-mode */
39140#endif
39141}
39142#endif
39143
d14a1e28 39144
093d3ff1
RD
39145
39146#ifdef __cplusplus
39147extern "C" {
39148#endif
39149
39150 /* Python-specific SWIG API */
39151#define SWIG_newvarlink() SWIG_Python_newvarlink()
39152#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39153#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39154
39155 /* -----------------------------------------------------------------------------
39156 * global variable support code.
39157 * ----------------------------------------------------------------------------- */
39158
39159 typedef struct swig_globalvar {
39160 char *name; /* Name of global variable */
32fe5131 39161 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
39162 int (*set_attr)(PyObject *); /* Set the value */
39163 struct swig_globalvar *next;
39164 } swig_globalvar;
39165
39166 typedef struct swig_varlinkobject {
39167 PyObject_HEAD
39168 swig_globalvar *vars;
39169 } swig_varlinkobject;
39170
32fe5131 39171 SWIGINTERN PyObject *
093d3ff1
RD
39172 swig_varlink_repr(swig_varlinkobject *v) {
39173 v = v;
39174 return PyString_FromString("<Swig global variables>");
39175 }
39176
32fe5131 39177 SWIGINTERN int
093d3ff1
RD
39178 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
39179 swig_globalvar *var;
39180 flags = flags;
39181 fprintf(fp,"Swig global variables { ");
39182 for (var = v->vars; var; var=var->next) {
39183 fprintf(fp,"%s", var->name);
39184 if (var->next) fprintf(fp,", ");
39185 }
39186 fprintf(fp," }\n");
39187 return 0;
39188 }
39189
32fe5131 39190 SWIGINTERN PyObject *
093d3ff1
RD
39191 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
39192 swig_globalvar *var = v->vars;
39193 while (var) {
39194 if (strcmp(var->name,n) == 0) {
39195 return (*var->get_attr)();
39196 }
39197 var = var->next;
39198 }
39199 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39200 return NULL;
39201 }
39202
32fe5131 39203 SWIGINTERN int
093d3ff1
RD
39204 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
39205 swig_globalvar *var = v->vars;
39206 while (var) {
39207 if (strcmp(var->name,n) == 0) {
39208 return (*var->set_attr)(p);
39209 }
39210 var = var->next;
39211 }
39212 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39213 return 1;
39214 }
39215
32fe5131
RD
39216 SWIGINTERN PyTypeObject*
39217 swig_varlink_type(void) {
39218 static char varlink__doc__[] = "Swig var link object";
39219 static PyTypeObject varlink_type
39220#if !defined(__cplusplus)
39221 ;
39222 static int type_init = 0;
39223 if (!type_init) {
39224 PyTypeObject tmp
39225#endif
39226 = {
39227 PyObject_HEAD_INIT(&PyType_Type)
39228 0, /* Number of items in variable part (ob_size) */
39229 (char *)"swigvarlink", /* Type name (tp_name) */
39230 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
39231 0, /* Itemsize (tp_itemsize) */
39232 0, /* Deallocator (tp_dealloc) */
39233 (printfunc) swig_varlink_print, /* Print (tp_print) */
39234 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
39235 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
39236 0, /* tp_compare */
39237 (reprfunc) swig_varlink_repr, /* tp_repr */
39238 0, /* tp_as_number */
39239 0, /* tp_as_sequence */
39240 0, /* tp_as_mapping */
39241 0, /* tp_hash */
39242 0, /* tp_call */
39243 0, /* tp_str */
39244 0, /* tp_getattro */
39245 0, /* tp_setattro */
39246 0, /* tp_as_buffer */
39247 0, /* tp_flags */
39248 varlink__doc__, /* tp_doc */
093d3ff1 39249#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
39250 0, /* tp_traverse */
39251 0, /* tp_clear */
093d3ff1
RD
39252#endif
39253#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
39254 0, /* tp_richcompare */
39255 0, /* tp_weaklistoffset */
093d3ff1
RD
39256#endif
39257#if PY_VERSION_HEX >= 0x02020000
32fe5131 39258 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
093d3ff1
RD
39259#endif
39260#if PY_VERSION_HEX >= 0x02030000
32fe5131 39261 0, /* tp_del */
093d3ff1
RD
39262#endif
39263#ifdef COUNT_ALLOCS
32fe5131 39264 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 39265#endif
32fe5131
RD
39266 };
39267#if !defined(__cplusplus)
39268 varlink_type = tmp;
39269 type_init = 1;
39270 }
39271#endif
39272 return &varlink_type;
39273 }
093d3ff1
RD
39274
39275 /* Create a variable linking object for use later */
32fe5131 39276 SWIGINTERN PyObject *
093d3ff1 39277 SWIG_Python_newvarlink(void) {
32fe5131
RD
39278 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
39279 if (result) {
39280 result->vars = 0;
39281 }
093d3ff1
RD
39282 return ((PyObject*) result);
39283 }
39284
32fe5131 39285 SWIGINTERN void
093d3ff1 39286 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
39287 swig_varlinkobject *v = (swig_varlinkobject *) p;
39288 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
39289 if (gv) {
39290 size_t size = strlen(name)+1;
39291 gv->name = (char *)malloc(size);
39292 if (gv->name) {
39293 strncpy(gv->name,name,size);
39294 gv->get_attr = get_attr;
39295 gv->set_attr = set_attr;
39296 gv->next = v->vars;
39297 }
39298 }
093d3ff1
RD
39299 v->vars = gv;
39300 }
39301
39302 /* -----------------------------------------------------------------------------
39303 * constants/methods manipulation
39304 * ----------------------------------------------------------------------------- */
39305
39306 /* Install Constants */
32fe5131 39307 SWIGINTERN void
093d3ff1
RD
39308 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
39309 PyObject *obj = 0;
39310 size_t i;
32fe5131 39311 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
39312 switch(constants[i].type) {
39313 case SWIG_PY_INT:
39314 obj = PyInt_FromLong(constants[i].lvalue);
39315 break;
39316 case SWIG_PY_FLOAT:
39317 obj = PyFloat_FromDouble(constants[i].dvalue);
39318 break;
39319 case SWIG_PY_STRING:
39320 if (constants[i].pvalue) {
39321 obj = PyString_FromString((char *) constants[i].pvalue);
39322 } else {
39323 Py_INCREF(Py_None);
39324 obj = Py_None;
39325 }
39326 break;
39327 case SWIG_PY_POINTER:
39328 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
39329 break;
39330 case SWIG_PY_BINARY:
39331 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
39332 break;
39333 default:
39334 obj = 0;
39335 break;
39336 }
39337 if (obj) {
39338 PyDict_SetItemString(d,constants[i].name,obj);
39339 Py_DECREF(obj);
39340 }
39341 }
39342 }
39343
39344 /* -----------------------------------------------------------------------------*/
39345 /* Fix SwigMethods to carry the callback ptrs when needed */
39346 /* -----------------------------------------------------------------------------*/
39347
32fe5131 39348 SWIGINTERN void
093d3ff1
RD
39349 SWIG_Python_FixMethods(PyMethodDef *methods,
39350 swig_const_info *const_table,
39351 swig_type_info **types,
39352 swig_type_info **types_initial) {
39353 size_t i;
39354 for (i = 0; methods[i].ml_name; ++i) {
39355 char *c = methods[i].ml_doc;
39356 if (c && (c = strstr(c, "swig_ptr: "))) {
39357 int j;
39358 swig_const_info *ci = 0;
39359 char *name = c + 10;
32fe5131 39360 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
39361 if (strncmp(const_table[j].name, name,
39362 strlen(const_table[j].name)) == 0) {
39363 ci = &(const_table[j]);
39364 break;
39365 }
39366 }
39367 if (ci) {
39368 size_t shift = (ci->ptype) - types;
39369 swig_type_info *ty = types_initial[shift];
39370 size_t ldoc = (c - methods[i].ml_doc);
39371 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
39372 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
39373 if (ndoc) {
39374 char *buff = ndoc;
39375 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
39376 if (ptr) {
39377 strncpy(buff, methods[i].ml_doc, ldoc);
39378 buff += ldoc;
39379 strncpy(buff, "swig_ptr: ", 10);
39380 buff += 10;
39381 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
39382 methods[i].ml_doc = ndoc;
39383 }
39384 }
093d3ff1
RD
39385 }
39386 }
39387 }
39388 }
39389
39390 /* -----------------------------------------------------------------------------*
39391 * Initialize type list
39392 * -----------------------------------------------------------------------------*/
39393
093d3ff1
RD
39394#ifdef __cplusplus
39395}
39396#endif
39397
39398/* -----------------------------------------------------------------------------*
39399 * Partial Init method
39400 * -----------------------------------------------------------------------------*/
39401
d14a1e28
RD
39402#ifdef __cplusplus
39403extern "C"
39404#endif
32fe5131 39405SWIGEXPORT void SWIG_init(void) {
d14a1e28 39406 static PyObject *SWIG_globals = 0;
d14a1e28 39407 PyObject *m, *d;
d14a1e28 39408 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
39409
39410 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 39411 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 39412
d14a1e28
RD
39413 m = Py_InitModule((char *) SWIG_name, SwigMethods);
39414 d = PyModule_GetDict(m);
39415
32fe5131 39416 SWIG_InitializeModule(0);
d14a1e28
RD
39417 SWIG_InstallConstants(d,swig_const_table);
39418
b2dc1044
RD
39419 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
39420 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1 39421 {
32fe5131 39422 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
093d3ff1
RD
39423 }
39424 {
32fe5131 39425 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
093d3ff1
RD
39426 }
39427 {
32fe5131 39428 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
093d3ff1
RD
39429 }
39430 {
32fe5131 39431 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
093d3ff1
RD
39432 }
39433 {
32fe5131 39434 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
093d3ff1
RD
39435 }
39436 {
32fe5131 39437 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
093d3ff1
RD
39438 }
39439 {
32fe5131 39440 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
093d3ff1 39441 }
b2dc1044 39442 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1 39443 {
32fe5131 39444 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
093d3ff1
RD
39445 }
39446 {
32fe5131 39447 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
093d3ff1
RD
39448 }
39449 {
32fe5131 39450 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
093d3ff1
RD
39451 }
39452 {
32fe5131 39453 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
093d3ff1
RD
39454 }
39455 {
32fe5131 39456 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
093d3ff1
RD
39457 }
39458 {
32fe5131 39459 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
093d3ff1 39460 }
b2dc1044
RD
39461 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
39462 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
39463 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1 39464 {
32fe5131 39465 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
093d3ff1
RD
39466 }
39467 {
32fe5131 39468 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
093d3ff1
RD
39469 }
39470 {
32fe5131 39471 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
093d3ff1
RD
39472 }
39473 {
32fe5131 39474 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
093d3ff1 39475 }
b2dc1044
RD
39476 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
39477 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
39478 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
39479 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
39480 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1 39481 {
32fe5131 39482 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
093d3ff1
RD
39483 }
39484 {
32fe5131 39485 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
093d3ff1
RD
39486 }
39487 {
32fe5131 39488 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
093d3ff1
RD
39489 }
39490 {
32fe5131 39491 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
093d3ff1
RD
39492 }
39493 {
32fe5131 39494 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
093d3ff1
RD
39495 }
39496 {
32fe5131 39497 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
093d3ff1
RD
39498 }
39499 {
32fe5131 39500 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
093d3ff1
RD
39501 }
39502 {
32fe5131 39503 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
093d3ff1
RD
39504 }
39505 {
32fe5131 39506 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
093d3ff1
RD
39507 }
39508 {
32fe5131 39509 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
093d3ff1
RD
39510 }
39511 {
32fe5131 39512 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
093d3ff1
RD
39513 }
39514 {
32fe5131 39515 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
093d3ff1
RD
39516 }
39517 {
32fe5131 39518 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
093d3ff1
RD
39519 }
39520 {
32fe5131 39521 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
093d3ff1
RD
39522 }
39523 {
32fe5131 39524 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
093d3ff1
RD
39525 }
39526 {
32fe5131 39527 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
093d3ff1
RD
39528 }
39529 {
32fe5131 39530 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
093d3ff1 39531 }
08d9e66e 39532 {
32fe5131 39533 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
08d9e66e
RD
39534 }
39535 {
32fe5131 39536 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
08d9e66e 39537 }
093d3ff1 39538 {
32fe5131 39539 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
093d3ff1 39540 }
88c6b281 39541 {
32fe5131 39542 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
88c6b281 39543 }
093d3ff1 39544 {
32fe5131 39545 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
093d3ff1
RD
39546 }
39547 {
32fe5131 39548 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
093d3ff1
RD
39549 }
39550 {
32fe5131 39551 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
093d3ff1
RD
39552 }
39553 {
32fe5131 39554 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
093d3ff1
RD
39555 }
39556 {
32fe5131 39557 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
093d3ff1
RD
39558 }
39559 {
32fe5131 39560 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
093d3ff1
RD
39561 }
39562 {
32fe5131 39563 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
093d3ff1
RD
39564 }
39565 {
32fe5131 39566 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
093d3ff1
RD
39567 }
39568 {
32fe5131 39569 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
093d3ff1
RD
39570 }
39571 {
32fe5131 39572 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
093d3ff1
RD
39573 }
39574 {
32fe5131 39575 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
093d3ff1
RD
39576 }
39577 {
32fe5131 39578 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
093d3ff1
RD
39579 }
39580 {
32fe5131 39581 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
093d3ff1
RD
39582 }
39583 {
32fe5131 39584 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
093d3ff1
RD
39585 }
39586 {
32fe5131 39587 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
093d3ff1
RD
39588 }
39589 {
32fe5131 39590 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
093d3ff1
RD
39591 }
39592 {
32fe5131 39593 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
093d3ff1
RD
39594 }
39595 {
32fe5131 39596 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
093d3ff1
RD
39597 }
39598 {
32fe5131 39599 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
093d3ff1
RD
39600 }
39601 {
32fe5131 39602 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
093d3ff1
RD
39603 }
39604 {
32fe5131 39605 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
093d3ff1
RD
39606 }
39607 {
32fe5131 39608 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
093d3ff1
RD
39609 }
39610 {
32fe5131 39611 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
093d3ff1 39612 }
7557b9b5 39613 {
32fe5131 39614 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
7557b9b5
RD
39615 }
39616 {
32fe5131 39617 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
7557b9b5 39618 }
d14a1e28
RD
39619 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
39620 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
39621 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
39622 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
39623 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
39624 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
39625 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1 39626 {
32fe5131 39627 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
093d3ff1
RD
39628 }
39629 {
32fe5131 39630 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
093d3ff1
RD
39631 }
39632 {
32fe5131 39633 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
093d3ff1
RD
39634 }
39635 {
32fe5131 39636 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
093d3ff1 39637 }
d14a1e28 39638 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
39639 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
39640 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
39641 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
7557b9b5 39642 {
32fe5131 39643 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
7557b9b5
RD
39644 }
39645 {
32fe5131 39646 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
7557b9b5 39647 }
70b7a5fe 39648 {
32fe5131 39649 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
70b7a5fe 39650 }
7557b9b5 39651 {
32fe5131 39652 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
7557b9b5
RD
39653 }
39654 {
32fe5131 39655 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
7557b9b5
RD
39656 }
39657 {
32fe5131 39658 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
7557b9b5
RD
39659 }
39660 {
32fe5131 39661 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
7557b9b5
RD
39662 }
39663 {
32fe5131 39664 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
7557b9b5
RD
39665 }
39666 {
32fe5131 39667 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
7557b9b5
RD
39668 }
39669 {
32fe5131 39670 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
7557b9b5
RD
39671 }
39672 {
32fe5131 39673 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
7557b9b5
RD
39674 }
39675 {
32fe5131 39676 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
7557b9b5 39677 }
b2dc1044 39678 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 39679 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 39680 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
7e08d4ef
RD
39681 {
39682 PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
39683 }
39684 {
39685 PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
39686 }
39687 {
39688 PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
39689 }
39690 {
39691 PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
39692 }
39693 {
39694 PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
39695 }
39696 {
39697 PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
39698 }
093d3ff1 39699 {
32fe5131 39700 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
093d3ff1
RD
39701 }
39702 {
32fe5131 39703 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
093d3ff1
RD
39704 }
39705 {
32fe5131 39706 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
093d3ff1
RD
39707 }
39708 {
32fe5131 39709 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
093d3ff1
RD
39710 }
39711 {
32fe5131 39712 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
093d3ff1
RD
39713 }
39714 {
32fe5131 39715 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
093d3ff1 39716 }
8e738329 39717 {
32fe5131 39718 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
8e738329 39719 }
093d3ff1 39720 {
32fe5131 39721 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
093d3ff1
RD
39722 }
39723 {
32fe5131 39724 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
093d3ff1
RD
39725 }
39726 {
32fe5131 39727 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
093d3ff1
RD
39728 }
39729 {
32fe5131 39730 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
093d3ff1 39731 }
d14a1e28
RD
39732 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
39733 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1 39734 {
32fe5131 39735 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
093d3ff1
RD
39736 }
39737 {
32fe5131 39738 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
093d3ff1
RD
39739 }
39740 {
32fe5131 39741 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
093d3ff1
RD
39742 }
39743 {
32fe5131 39744 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
093d3ff1
RD
39745 }
39746 {
32fe5131 39747 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
093d3ff1
RD
39748 }
39749 {
32fe5131 39750 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
093d3ff1 39751 }
d14a1e28
RD
39752 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
39753 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1 39754 {
32fe5131 39755 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
093d3ff1
RD
39756 }
39757 {
32fe5131 39758 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
093d3ff1
RD
39759 }
39760 {
32fe5131 39761 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
093d3ff1
RD
39762 }
39763 {
32fe5131 39764 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
093d3ff1
RD
39765 }
39766 {
32fe5131 39767 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
093d3ff1
RD
39768 }
39769 {
32fe5131 39770 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
093d3ff1 39771 }
2ef75293
RD
39772 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
39773 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
7e08d4ef
RD
39774 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
39775 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
39776 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
39777 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
39778 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
39779 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
093d3ff1 39780 {
32fe5131 39781 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
093d3ff1
RD
39782 }
39783 {
32fe5131 39784 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
093d3ff1
RD
39785 }
39786 {
32fe5131 39787 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
093d3ff1
RD
39788 }
39789 {
32fe5131 39790 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
093d3ff1
RD
39791 }
39792 {
32fe5131 39793 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
093d3ff1
RD
39794 }
39795 {
32fe5131 39796 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
093d3ff1
RD
39797 }
39798 {
32fe5131 39799 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
093d3ff1
RD
39800 }
39801 {
32fe5131 39802 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
093d3ff1
RD
39803 }
39804 {
32fe5131 39805 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
093d3ff1
RD
39806 }
39807 {
32fe5131 39808 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
093d3ff1
RD
39809 }
39810 {
32fe5131 39811 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
093d3ff1
RD
39812 }
39813 {
32fe5131 39814 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
093d3ff1
RD
39815 }
39816 {
32fe5131 39817 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
093d3ff1
RD
39818 }
39819 {
32fe5131 39820 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
093d3ff1 39821 }
b2dc1044 39822 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1 39823 {
32fe5131 39824 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
093d3ff1
RD
39825 }
39826 {
32fe5131 39827 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
093d3ff1
RD
39828 }
39829 {
32fe5131 39830 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
093d3ff1
RD
39831 }
39832 {
32fe5131 39833 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
093d3ff1
RD
39834 }
39835 {
32fe5131 39836 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
093d3ff1
RD
39837 }
39838 {
32fe5131 39839 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
093d3ff1
RD
39840 }
39841 {
32fe5131 39842 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
093d3ff1
RD
39843 }
39844 {
32fe5131 39845 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
093d3ff1
RD
39846 }
39847 {
32fe5131 39848 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
093d3ff1
RD
39849 }
39850 {
32fe5131 39851 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
093d3ff1
RD
39852 }
39853 {
32fe5131 39854 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
093d3ff1
RD
39855 }
39856 {
32fe5131 39857 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
093d3ff1
RD
39858 }
39859 {
32fe5131 39860 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
093d3ff1
RD
39861 }
39862 {
32fe5131 39863 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
093d3ff1
RD
39864 }
39865 {
32fe5131 39866 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
093d3ff1
RD
39867 }
39868 {
32fe5131 39869 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
093d3ff1
RD
39870 }
39871 {
32fe5131 39872 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
093d3ff1
RD
39873 }
39874 {
32fe5131 39875 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
093d3ff1
RD
39876 }
39877 {
32fe5131 39878 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
093d3ff1
RD
39879 }
39880 {
32fe5131 39881 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
093d3ff1
RD
39882 }
39883 {
32fe5131 39884 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
093d3ff1
RD
39885 }
39886 {
32fe5131 39887 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
093d3ff1
RD
39888 }
39889 {
32fe5131 39890 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
093d3ff1
RD
39891 }
39892 {
32fe5131 39893 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
093d3ff1
RD
39894 }
39895 {
32fe5131 39896 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
093d3ff1
RD
39897 }
39898 {
32fe5131 39899 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
093d3ff1
RD
39900 }
39901 {
32fe5131 39902 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
093d3ff1
RD
39903 }
39904 {
32fe5131 39905 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
093d3ff1
RD
39906 }
39907 {
32fe5131 39908 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
093d3ff1
RD
39909 }
39910 {
32fe5131 39911 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
093d3ff1
RD
39912 }
39913 {
32fe5131 39914 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
093d3ff1
RD
39915 }
39916 {
32fe5131 39917 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
093d3ff1
RD
39918 }
39919 {
32fe5131 39920 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
093d3ff1
RD
39921 }
39922 {
32fe5131 39923 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
093d3ff1
RD
39924 }
39925 {
32fe5131 39926 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
093d3ff1
RD
39927 }
39928 {
32fe5131 39929 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
093d3ff1
RD
39930 }
39931 {
32fe5131 39932 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
093d3ff1
RD
39933 }
39934 {
32fe5131 39935 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
093d3ff1
RD
39936 }
39937 {
32fe5131 39938 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
093d3ff1
RD
39939 }
39940 {
32fe5131 39941 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
093d3ff1
RD
39942 }
39943 {
32fe5131 39944 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
093d3ff1
RD
39945 }
39946 {
32fe5131 39947 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
093d3ff1
RD
39948 }
39949 {
32fe5131 39950 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
093d3ff1
RD
39951 }
39952 {
32fe5131 39953 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
093d3ff1
RD
39954 }
39955 {
32fe5131 39956 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
093d3ff1
RD
39957 }
39958 {
32fe5131 39959 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
093d3ff1
RD
39960 }
39961 {
32fe5131 39962 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
093d3ff1
RD
39963 }
39964 {
32fe5131 39965 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
093d3ff1
RD
39966 }
39967 {
32fe5131 39968 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
093d3ff1
RD
39969 }
39970 {
32fe5131 39971 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
093d3ff1
RD
39972 }
39973 {
32fe5131 39974 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
093d3ff1
RD
39975 }
39976 {
32fe5131 39977 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
093d3ff1
RD
39978 }
39979 {
32fe5131 39980 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
093d3ff1
RD
39981 }
39982 {
32fe5131 39983 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
093d3ff1
RD
39984 }
39985 {
32fe5131 39986 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
093d3ff1
RD
39987 }
39988 {
32fe5131 39989 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
093d3ff1
RD
39990 }
39991 {
32fe5131 39992 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
093d3ff1
RD
39993 }
39994 {
32fe5131 39995 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
093d3ff1
RD
39996 }
39997 {
32fe5131 39998 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
093d3ff1
RD
39999 }
40000 {
32fe5131 40001 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
093d3ff1
RD
40002 }
40003 {
32fe5131 40004 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
093d3ff1
RD
40005 }
40006 {
32fe5131 40007 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
093d3ff1
RD
40008 }
40009 {
32fe5131 40010 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
093d3ff1
RD
40011 }
40012 {
32fe5131 40013 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
093d3ff1
RD
40014 }
40015 {
32fe5131 40016 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
093d3ff1
RD
40017 }
40018 {
32fe5131 40019 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
093d3ff1
RD
40020 }
40021 {
32fe5131 40022 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
093d3ff1
RD
40023 }
40024 {
32fe5131 40025 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
093d3ff1 40026 }
d14a1e28
RD
40027 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
40028 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
40029 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
40030 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
40031 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
40032 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d14a1e28
RD
40033 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
40034 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
40035 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
40036 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
40037 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
40038 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
40039 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
40040 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
40041 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
40042 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
40043 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
40044 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
40045 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
40046 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
40047
40048 // Map renamed classes back to their common name for OOR
40049 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40050
b2dc1044 40051 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1 40052 {
32fe5131 40053 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
093d3ff1
RD
40054 }
40055 {
32fe5131 40056 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
093d3ff1
RD
40057 }
40058 {
32fe5131 40059 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
093d3ff1
RD
40060 }
40061 {
32fe5131 40062 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
093d3ff1
RD
40063 }
40064 {
32fe5131 40065 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
093d3ff1
RD
40066 }
40067 {
32fe5131 40068 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
093d3ff1
RD
40069 }
40070 {
32fe5131 40071 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
093d3ff1
RD
40072 }
40073 {
32fe5131 40074 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
093d3ff1
RD
40075 }
40076 {
32fe5131 40077 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
093d3ff1
RD
40078 }
40079 {
32fe5131 40080 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
093d3ff1
RD
40081 }
40082 {
32fe5131 40083 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
093d3ff1
RD
40084 }
40085 {
32fe5131 40086 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
093d3ff1
RD
40087 }
40088 {
32fe5131 40089 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
093d3ff1
RD
40090 }
40091 {
32fe5131 40092 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
093d3ff1
RD
40093 }
40094 {
32fe5131 40095 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
093d3ff1
RD
40096 }
40097 {
32fe5131 40098 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
093d3ff1
RD
40099 }
40100 {
32fe5131 40101 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
093d3ff1
RD
40102 }
40103 {
32fe5131 40104 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
093d3ff1
RD
40105 }
40106 {
32fe5131 40107 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
093d3ff1
RD
40108 }
40109 {
32fe5131 40110 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
093d3ff1
RD
40111 }
40112 {
32fe5131 40113 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
093d3ff1
RD
40114 }
40115 {
32fe5131 40116 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
093d3ff1
RD
40117 }
40118 {
32fe5131 40119 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
093d3ff1
RD
40120 }
40121 {
32fe5131 40122 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
093d3ff1
RD
40123 }
40124 {
32fe5131 40125 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
093d3ff1
RD
40126 }
40127 {
32fe5131 40128 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
093d3ff1
RD
40129 }
40130 {
32fe5131 40131 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
093d3ff1
RD
40132 }
40133 {
32fe5131 40134 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
093d3ff1
RD
40135 }
40136 {
32fe5131 40137 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
093d3ff1
RD
40138 }
40139 {
32fe5131 40140 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
093d3ff1
RD
40141 }
40142 {
32fe5131 40143 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
093d3ff1
RD
40144 }
40145 {
32fe5131 40146 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
093d3ff1
RD
40147 }
40148 {
32fe5131 40149 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
093d3ff1
RD
40150 }
40151 {
32fe5131 40152 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
093d3ff1
RD
40153 }
40154 {
32fe5131 40155 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
093d3ff1 40156 }
d14a1e28
RD
40157 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
40158 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
40159 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
40160 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
40161 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
40162 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
40163 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
40164 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
40165 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
40166 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
40167 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
40168 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
40169 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
40170 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
40171 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
40172 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
40173 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
40174 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
40175 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 40176 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
e505d15e 40177 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d14a1e28
RD
40178
40179 // Map renamed classes back to their common name for OOR
40180 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40181 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40182
b2dc1044 40183 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1 40184 {
32fe5131 40185 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
093d3ff1
RD
40186 }
40187 {
32fe5131 40188 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
093d3ff1
RD
40189 }
40190 {
32fe5131 40191 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
093d3ff1
RD
40192 }
40193 {
32fe5131 40194 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
093d3ff1
RD
40195 }
40196 {
32fe5131 40197 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
093d3ff1
RD
40198 }
40199 {
32fe5131 40200 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
093d3ff1
RD
40201 }
40202 {
32fe5131 40203 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
093d3ff1 40204 }
d14a1e28
RD
40205 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
40206 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
40207
40208 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40209
53aa7709
RD
40210 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
40211 {
32fe5131 40212 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
53aa7709
RD
40213 }
40214 {
32fe5131 40215 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
53aa7709
RD
40216 }
40217 {
32fe5131 40218 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
53aa7709
RD
40219 }
40220 {
32fe5131 40221 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
53aa7709
RD
40222 }
40223 {
32fe5131 40224 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
53aa7709 40225 }
d14a1e28
RD
40226}
40227