]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
cleanup magic number usage and comments
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
7449af73 3 * Version 1.3.27
d55e5bfc
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
d55e5bfc
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};
d55e5bfc
RD
27#endif
28
7449af73
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d55e5bfc 35
7449af73
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
7449af73 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d55e5bfc 44
7449af73
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
d55e5bfc 96
093d3ff1 97#include <Python.h>
d55e5bfc
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d55e5bfc 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d55e5bfc
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 */
7449af73 109#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
7449af73
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)
d55e5bfc 116#else
7449af73 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*/
7449af73 128
093d3ff1 129#ifndef SWIGRUNTIME
7449af73 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
7449af73 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
7449af73 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
135#endif
136
7449af73
RD
137#include <string.h>
138
d55e5bfc
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
7449af73 146/* Structure to store inforomation on one type */
d55e5bfc 147typedef struct swig_type_info {
7449af73
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 */
d55e5bfc
RD
153} swig_type_info;
154
7449af73
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;
7449af73 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>|...
7449af73 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 }
7449af73 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
7449af73
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*/
7449af73
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 }
7449af73
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
7449af73 229 return equiv;
093d3ff1
RD
230}
231
7449af73
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*/
7449af73 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
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 *
7449af73 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
7449af73
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;
7449af73
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 }
7449af73
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 }
7449af73
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 }
7449af73
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
7449af73 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
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) {
7449af73 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;
7449af73 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
7449af73 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}
d55e5bfc 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}
d55e5bfc
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d55e5bfc 526
093d3ff1
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c32bde28 530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d55e5bfc 534
093d3ff1 535#ifndef SWIGINTERN
7449af73 536# define SWIGINTERN static SWIGUNUSED
093d3ff1 537#endif
d55e5bfc 538
7449af73
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 541#endif
d55e5bfc 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 * ----------------------------------------------------------------------------- */
d55e5bfc 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;
d55e5bfc 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
d55e5bfc
RD
587
588#ifdef __cplusplus
093d3ff1
RD
589}
590#endif
d55e5bfc 591
d55e5bfc 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 ************************************************************************/
d55e5bfc 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)
9d7dfdff 607
d55e5bfc 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)
d55e5bfc 612
7449af73
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 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
d55e5bfc 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 632
d55e5bfc 633
7449af73
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
d55e5bfc 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
d55e5bfc 649
7449af73
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 * ----------------------------------------------------------------------------- */
d55e5bfc 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)
d55e5bfc 684{
093d3ff1 685 char result[SWIG_BUFFER_SIZE];
7449af73 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;
d55e5bfc 692 }
093d3ff1 693}
9d7dfdff 694
093d3ff1
RD
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;
d55e5bfc
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}
d55e5bfc 710
093d3ff1
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
d55e5bfc 713{
7449af73
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{
7449af73 736 return PySwigObject_format("%o",v);
d55e5bfc
RD
737}
738
093d3ff1
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
7449af73 742 return PySwigObject_format("%x",v);
093d3ff1 743}
d55e5bfc 744
093d3ff1
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
7449af73 750 return (c > 0) ? 1 : -1;
c32bde28 751 } else {
093d3ff1
RD
752 void *i = v->ptr;
753 void *j = w->ptr;
7449af73 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c32bde28 755 }
d55e5bfc 756}
093d3ff1
RD
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
c32bde28 760{
7449af73 761 PyObject_Del(self);
c32bde28 762}
093d3ff1
RD
763
764SWIGRUNTIME PyTypeObject*
7449af73
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1 767 "Swig object carries a C/C++ instance pointer";
9d7dfdff 768
093d3ff1
RD
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*/
7449af73 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 */
7449af73
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
7449af73
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
7449af73
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
7449af73 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 */
7449af73
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 */
d55e5bfc 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 };
7449af73
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1
RD
849 type_init = 1;
850 }
7449af73
RD
851#endif
852 return &pyswigobject_type;
093d3ff1
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
7449af73
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) {
7449af73 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];
7449af73 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}
9d7dfdff 909
093d3ff1
RD
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 {
7449af73 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) {
7449af73 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
7449af73 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);
7449af73 950 PyObject_Del(self);
093d3ff1
RD
951}
952
953SWIGRUNTIME PyTypeObject*
7449af73
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
7449af73
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
7449af73
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
7449af73 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 */
7449af73
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 };
7449af73
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1
RD
1006 type_init = 1;
1007 }
7449af73
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
7449af73 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
7449af73
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) {
7449af73 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)
7449af73 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 }
7449af73 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];
7449af73 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) {
7449af73 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;
9d7dfdff 1168
093d3ff1
RD
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 }
7449af73 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) {
7449af73 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) {
7449af73 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;
7449af73 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;
7449af73
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
7449af73
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
7449af73
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1
RD
1381}
1382
7449af73
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}
7449af73 1413#endif
093d3ff1 1414
7449af73
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
7449af73
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};
7449af73
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
7e08d4ef 1626 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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)) {
7449af73 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
7449af73 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
7449af73 1701SWIGINTERNINLINE int
c32bde28 1702SWIG_As_int(PyObject* obj)
d55e5bfc 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));
d55e5bfc 1710 }
c32bde28 1711 return v;
d55e5bfc
RD
1712}
1713
1714
7449af73 1715SWIGINTERNINLINE long
c32bde28 1716SWIG_As_long(PyObject* obj)
d55e5bfc 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));
d55e5bfc 1724 }
c32bde28 1725 return v;
d55e5bfc
RD
1726}
1727
c32bde28 1728
7449af73 1729SWIGINTERNINLINE int
c32bde28
RD
1730SWIG_Check_int(PyObject* obj)
1731{
1732 return SWIG_AsVal_int(obj, (int*)0);
1733}
d55e5bfc 1734
c32bde28 1735
7449af73 1736SWIGINTERNINLINE int
c32bde28 1737SWIG_Check_long(PyObject* obj)
d55e5bfc 1738{
c32bde28 1739 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1740}
1741
c32bde28 1742 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1743
093d3ff1 1744SWIGINTERN int
c32bde28 1745 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 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;
d55e5bfc
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
7449af73 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
7449af73 1783SWIGINTERNINLINE int
c32bde28
RD
1784SWIG_Check_bool(PyObject* obj)
1785{
1786 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1787}
1788
1789 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1790 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
f78cc896 1791
7e08d4ef 1792 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1793#define SWIG_From_long PyInt_FromLong
1794/*@@*/
1795
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 }
f78cc896
RD
1821
1822
d55e5bfc
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);
1827
1828#include <wx/checklst.h>
1829
1830
1831 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1832static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
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){
d55e5bfc
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){
d55e5bfc
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){
d55e5bfc
RD
1861 #ifdef __WXMSW__
1862 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1863 self->GetItem(item)->SetFont(f);
1864 #endif
1865 }
1866 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1867
093d3ff1 1868SWIGINTERN int
c32bde28 1869SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1870{
c32bde28
RD
1871 long v = 0;
1872 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1873 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1874 }
c32bde28
RD
1875 else if (val)
1876 *val = (unsigned long)v;
1877 return 1;
d55e5bfc
RD
1878}
1879
1880
7449af73 1881SWIGINTERNINLINE unsigned long
c32bde28 1882SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 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));
d55e5bfc 1890 }
c32bde28
RD
1891 return v;
1892}
1893
1894
7449af73 1895SWIGINTERNINLINE int
c32bde28
RD
1896SWIG_Check_unsigned_SS_long(PyObject* obj)
1897{
1898 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1899}
1900
093d3ff1 1901static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1902 self->AppendText(text);
1903 }
093d3ff1 1904static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1905 return self->GetValue().Mid(from, to - from);
1906 }
1907 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1908 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1909 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1910 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1911 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1912
1913#include <wx/slider.h>
1914
1915
1916 static const wxString wxPySliderNameStr(wxSliderNameStr);
1917 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1918
1919#if !wxUSE_TOGGLEBTN
1920// implement dummy items for platforms that don't have this class
1921
1922#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1923
1924class wxToggleButton : public wxControl
1925{
1926public:
1927 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1928 const wxPoint&, const wxSize&, long,
1929 const wxValidator&, const wxString&)
1930 { wxPyRaiseNotImplemented(); }
1931
1932 wxToggleButton()
1933 { wxPyRaiseNotImplemented(); }
1934};
1935#endif
1936
51b83b37 1937 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1938
7449af73 1939SWIGINTERNINLINE PyObject*
c32bde28 1940 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1941{
1942 return (value > LONG_MAX) ?
1943 PyLong_FromUnsignedLong(value)
7449af73 1944 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
1945}
1946
7e08d4ef
RD
1947
1948#if UINT_MAX < LONG_MAX
1949/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1950#define SWIG_From_unsigned_SS_int SWIG_From_long
1951/*@@*/
1952#else
1953/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1954#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1955/*@@*/
1956#endif
1957
1958
1959SWIGINTERNINLINE int
1960 SWIG_CheckUnsignedLongInRange(unsigned long value,
1961 unsigned long max_value,
1962 const char *errmsg)
1963{
1964 if (value > max_value) {
1965 if (errmsg) {
1966 PyErr_Format(PyExc_OverflowError,
1967 "value %lu is greater than '%s' minimum %lu",
1968 value, errmsg, max_value);
1969 }
1970 return 0;
1971 }
1972 return 1;
1973 }
1974
1975
1976#if UINT_MAX != ULONG_MAX
1977SWIGINTERN int
1978 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1979{
1980 const char* errmsg = val ? "unsigned int" : (char*)0;
1981 unsigned long v;
1982 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1983 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1984 if (val) *val = static_cast<unsigned int >(v);
1985 return 1;
1986 }
1987 } else {
1988 PyErr_Clear();
1989 }
1990 if (val) {
1991 SWIG_type_error(errmsg, obj);
1992 }
1993 return 0;
1994}
1995#else
1996SWIGINTERNINLINE unsigned int
1997 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1998{
1999 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2000}
2001#endif
2002
2003
2004SWIGINTERNINLINE unsigned int
2005SWIG_As_unsigned_SS_int(PyObject* obj)
2006{
2007 unsigned int v;
2008 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2009 /*
2010 this is needed to make valgrind/purify happier.
2011 */
2012 memset((void*)&v, 0, sizeof(unsigned int));
2013 }
2014 return v;
2015}
2016
2017
2018SWIGINTERNINLINE int
2019SWIG_Check_unsigned_SS_int(PyObject* obj)
2020{
2021 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2022}
2023
d55e5bfc 2024 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 2025static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2026 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2027 if (udata) {
2028 Py_INCREF(udata->m_obj);
2029 return udata->m_obj;
2030 } else {
2031 Py_INCREF(Py_None);
2032 return Py_None;
2033 }
2034 }
093d3ff1 2035static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2036 self->SetClientData(new wxPyUserData(clientData));
2037 }
093d3ff1 2038static 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){
d55e5bfc
RD
2039 wxPyUserData* udata = NULL;
2040 if (clientData && clientData != Py_None)
2041 udata = new wxPyUserData(clientData);
2042 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2043 shortHelp, longHelp, udata);
2044 }
093d3ff1 2045static 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){
d55e5bfc
RD
2046 wxPyUserData* udata = NULL;
2047 if (clientData && clientData != Py_None)
2048 udata = new wxPyUserData(clientData);
2049 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2050 shortHelp, longHelp, udata);
2051 }
093d3ff1 2052static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
2053 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2054 if (udata) {
2055 Py_INCREF(udata->m_obj);
2056 return udata->m_obj;
2057 } else {
2058 Py_INCREF(Py_None);
2059 return Py_None;
2060 }
2061 }
093d3ff1 2062static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
2063 self->SetToolClientData(id, new wxPyUserData(clientData));
2064 }
2065
2066#include <wx/listctrl.h>
2067
fef4c27a 2068 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
093d3ff1 2069static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
2070 // Python aware sorting function for wxPyListCtrl
2071 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
2072 int retval = 0;
2073 PyObject* func = (PyObject*)funcPtr;
5a446332 2074 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2075
2076 PyObject* args = Py_BuildValue("(ii)", item1, item2);
2077 PyObject* result = PyEval_CallObject(func, args);
2078 Py_DECREF(args);
2079 if (result) {
2080 retval = PyInt_AsLong(result);
2081 Py_DECREF(result);
2082 }
2083
2084 wxPyEndBlockThreads(blocked);
2085 return retval;
2086 }
2087
2088 // C++ Version of a Python aware class
2089class wxPyListCtrl : public wxListCtrl {
7449af73 2090 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
2091public:
2092 wxPyListCtrl() : wxListCtrl() {}
2093 wxPyListCtrl(wxWindow* parent, wxWindowID id,
2094 const wxPoint& pos,
2095 const wxSize& size,
2096 long style,
2097 const wxValidator& validator,
2098 const wxString& name) :
2099 wxListCtrl(parent, id, pos, size, style, validator, name) {}
2100
2101 bool Create(wxWindow* parent, wxWindowID id,
2102 const wxPoint& pos,
2103 const wxSize& size,
2104 long style,
2105 const wxValidator& validator,
2106 const wxString& name) {
2107 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
2108 }
2109
2110 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
2111 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
2112
84f85550
RD
2113 // use the virtual version to avoid a confusing assert in the base class
2114 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 2115 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 2116
d55e5bfc
RD
2117 PYPRIVATE;
2118};
2119
2120IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
2121
2122IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 2123IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 2124IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
2125IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
2126
d55e5bfc 2127
093d3ff1 2128static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
2129 wxListItem item;
2130 item.SetMask( wxLIST_MASK_STATE |
2131 wxLIST_MASK_TEXT |
2132 wxLIST_MASK_IMAGE |
2133 wxLIST_MASK_DATA |
2134 wxLIST_SET_ITEM |
2135 wxLIST_MASK_WIDTH |
2136 wxLIST_MASK_FORMAT
2137 );
2138 if (self->GetColumn(col, item))
2139 return new wxListItem(item);
2140 else
2141 return NULL;
2142 }
093d3ff1 2143static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
2144 wxListItem* info = new wxListItem;
2145 info->m_itemId = itemId;
2146 info->m_col = col;
2147 info->m_mask = 0xFFFF;
2148 self->GetItem(*info);
2149 return info;
2150 }
093d3ff1 2151static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
2152 wxPoint pos;
2153 self->GetItemPosition(item, pos);
2154 return pos;
2155 }
093d3ff1 2156static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
2157 wxRect rect;
2158 self->GetItemRect(item, rect, code);
2159 return rect;
2160 }
c32bde28 2161
093d3ff1 2162static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 2163 if (!PyCallable_Check(func))
ae8162c8 2164 return false;
d55e5bfc
RD
2165 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2166 }
093d3ff1 2167static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
2168
2169 return self;
2170
2171
2172
2173 }
2174
2175#include <wx/treectrl.h>
2176#include "wx/wxPython/pytree.h"
2177
2178 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
093d3ff1
RD
2179static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
2180static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
2181static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
2182 // C++ version of Python aware wxTreeCtrl
2183class wxPyTreeCtrl : public wxTreeCtrl {
7449af73 2184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
2185public:
2186 wxPyTreeCtrl() : wxTreeCtrl() {}
2187 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
2188 const wxPoint& pos,
2189 const wxSize& size,
2190 long style,
2191 const wxValidator& validator,
2192 const wxString& name) :
2193 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
2194
2195 bool Create(wxWindow *parent, wxWindowID id,
2196 const wxPoint& pos,
2197 const wxSize& size,
2198 long style,
2199 const wxValidator& validator,
2200 const wxString& name) {
2201 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
2202 }
2203
2204
2205 int OnCompareItems(const wxTreeItemId& item1,
2206 const wxTreeItemId& item2) {
2207 int rval = 0;
2208 bool found;
5a446332 2209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2210 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
2211 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
2212 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
2213 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2214 Py_DECREF(o1);
2215 Py_DECREF(o2);
2216 }
2217 wxPyEndBlockThreads(blocked);
2218 if (! found)
2219 rval = wxTreeCtrl::OnCompareItems(item1, item2);
2220 return rval;
2221 }
2222 PYPRIVATE;
2223};
2224
2225IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
2226
2227
093d3ff1 2228static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2229 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2230 if (data == NULL) {
2231 data = new wxPyTreeItemData();
2232 data->SetId(item); // set the id
2233 self->SetItemData(item, data);
2234 }
2235 return data;
2236 }
093d3ff1 2237static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2238 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2239 if (data == NULL) {
2240 data = new wxPyTreeItemData();
2241 data->SetId(item); // set the id
2242 self->SetItemData(item, data);
2243 }
2244 return data->GetData();
2245 }
093d3ff1 2246static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2247 data->SetId(item); // set the id
2248 self->SetItemData(item, data);
2249 }
093d3ff1 2250static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2251 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2252 if (data == NULL) {
2253 data = new wxPyTreeItemData(obj);
2254 data->SetId(item); // set the id
2255 self->SetItemData(item, data);
2256 } else
2257 data->SetData(obj);
2258 }
093d3ff1 2259static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2260 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2261 PyObject* rval = PyList_New(0);
2262 wxArrayTreeItemIds array;
2263 size_t num, x;
2264 num = self->GetSelections(array);
2265 for (x=0; x < num; x++) {
2266 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 2267 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2268 PyList_Append(rval, item);
a07a67e6 2269 Py_DECREF(item);
d55e5bfc
RD
2270 }
2271 wxPyEndBlockThreads(blocked);
2272 return rval;
2273 }
093d3ff1 2274static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2275 void* cookie = 0;
2276 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2277 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2278 PyObject* tup = PyTuple_New(2);
ae8162c8 2279 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2280 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2281 wxPyEndBlockThreads(blocked);
2282 return tup;
2283 }
093d3ff1 2284static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 2285 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2286 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2287 PyObject* tup = PyTuple_New(2);
ae8162c8 2288 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2289 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2290 wxPyEndBlockThreads(blocked);
2291 return tup;
2292 }
093d3ff1 2293static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2294 wxRect rect;
2295 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2296 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2297 wxRect* r = new wxRect(rect);
ae8162c8 2298 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2299 wxPyEndBlockThreads(blocked);
2300 return val;
2301 }
2302 else
2303 RETURN_NONE();
2304 }
2305 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 2306
7449af73 2307SWIGINTERNINLINE PyObject*
c32bde28
RD
2308 SWIG_From_bool(bool value)
2309{
2310 PyObject *obj = value ? Py_True : Py_False;
2311 Py_INCREF(obj);
2312 return obj;
2313}
2314
2315
d55e5bfc
RD
2316 // C++ version of Python aware wxControl
2317class wxPyControl : public wxControl
2318{
2319 DECLARE_DYNAMIC_CLASS(wxPyControl)
2320public:
2321 wxPyControl() : wxControl() {}
2322 wxPyControl(wxWindow* parent, const wxWindowID id,
2323 const wxPoint& pos = wxDefaultPosition,
2324 const wxSize& size = wxDefaultSize,
2325 long style = 0,
2326 const wxValidator& validator=wxDefaultValidator,
2327 const wxString& name = wxPyControlNameStr)
2328 : wxControl(parent, id, pos, size, style, validator, name) {}
2329
caef1a4d 2330 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 2331
60d5fcc1
RD
2332 bool DoEraseBackground(wxDC* dc) {
2333#ifdef __WXMSW__
2334 return wxWindow::DoEraseBackground(dc->GetHDC());
2335#else
2336 dc->SetBackground(wxBrush(GetBackgroundColour()));
2337 dc->Clear();
2338 return true;
2339#endif
2340 }
2341
d55e5bfc
RD
2342 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2343 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2344 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2345 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2346
2347 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2348 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2349 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2350
2351 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2352 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2353
2354 DEC_PYCALLBACK__(InitDialog);
2355 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2356 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2357 DEC_PYCALLBACK_BOOL_(Validate);
2358
2359 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2360 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2361 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2362
2363 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2364 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2365
caef1a4d 2366 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2367 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2368
51b83b37
RD
2369 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2370
8d38bd1d
RD
2371 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2372
d55e5bfc
RD
2373 PYPRIVATE;
2374};
2375
2376IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2377
2378IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2379IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2380IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2381IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2382
2383IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2384IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2385IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2386
2387IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2388IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2389
2390IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2391IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2392IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2393IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2394
2395IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2396IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2397IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2398
2399IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2400IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2401
caef1a4d 2402IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
caef1a4d 2403IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2404
51b83b37 2405IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
2406
2407IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2408
d55e5bfc
RD
2409
2410
093d3ff1 2411static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2412
2413#include <wx/generic/dragimgg.h>
2414
53aa7709
RD
2415 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2416static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2417 wxDateTime rv;
2418 self->GetRange(&rv, NULL);
2419 return rv;
2420 }
2421static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2422 wxDateTime rv;
2423 self->GetRange(NULL, &rv);
2424 return rv;
2425 }
d55e5bfc
RD
2426#ifdef __cplusplus
2427extern "C" {
2428#endif
c32bde28 2429static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2430 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2431 return 1;
2432}
2433
2434
093d3ff1 2435static PyObject *_wrap_ButtonNameStr_get(void) {
7449af73 2436 PyObject *pyobj = NULL;
d55e5bfc
RD
2437
2438 {
2439#if wxUSE_UNICODE
2440 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2441#else
2442 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2443#endif
2444 }
2445 return pyobj;
2446}
2447
2448
c32bde28 2449static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2450 PyObject *resultobj = NULL;
d55e5bfc 2451 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2452 int arg2 = (int) -1 ;
2453 wxString const &arg3_defvalue = wxPyEmptyString ;
2454 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2455 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2456 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2457 wxSize const &arg5_defvalue = wxDefaultSize ;
2458 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2459 long arg6 = (long) 0 ;
2460 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2461 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2462 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2463 wxString *arg8 = (wxString *) &arg8_defvalue ;
2464 wxButton *result;
ae8162c8 2465 bool temp3 = false ;
d55e5bfc
RD
2466 wxPoint temp4 ;
2467 wxSize temp5 ;
ae8162c8 2468 bool temp8 = false ;
d55e5bfc
RD
2469 PyObject * obj0 = 0 ;
2470 PyObject * obj1 = 0 ;
2471 PyObject * obj2 = 0 ;
2472 PyObject * obj3 = 0 ;
2473 PyObject * obj4 = 0 ;
2474 PyObject * obj5 = 0 ;
2475 PyObject * obj6 = 0 ;
2476 PyObject * obj7 = 0 ;
2477 char *kwnames[] = {
2478 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2479 };
2480
248ed943 2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2483 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2484 if (obj1) {
093d3ff1 2485 {
7449af73 2486 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
2487 if (SWIG_arg_fail(2)) SWIG_fail;
2488 }
248ed943
RD
2489 }
2490 if (obj2) {
2491 {
2492 arg3 = wxString_in_helper(obj2);
2493 if (arg3 == NULL) SWIG_fail;
ae8162c8 2494 temp3 = true;
248ed943 2495 }
d55e5bfc
RD
2496 }
2497 if (obj3) {
2498 {
2499 arg4 = &temp4;
2500 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2501 }
2502 }
2503 if (obj4) {
2504 {
2505 arg5 = &temp5;
2506 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2507 }
2508 }
2509 if (obj5) {
093d3ff1 2510 {
7449af73 2511 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2512 if (SWIG_arg_fail(6)) SWIG_fail;
2513 }
d55e5bfc
RD
2514 }
2515 if (obj6) {
093d3ff1
RD
2516 {
2517 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2518 if (SWIG_arg_fail(7)) SWIG_fail;
2519 if (arg7 == NULL) {
2520 SWIG_null_ref("wxValidator");
2521 }
2522 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2523 }
2524 }
2525 if (obj7) {
2526 {
2527 arg8 = wxString_in_helper(obj7);
2528 if (arg8 == NULL) SWIG_fail;
ae8162c8 2529 temp8 = true;
d55e5bfc
RD
2530 }
2531 }
2532 {
0439c23b 2533 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
2535 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2536
2537 wxPyEndAllowThreads(__tstate);
110da5b0 2538 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2539 }
b0f7404b 2540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2541 {
2542 if (temp3)
2543 delete arg3;
2544 }
2545 {
2546 if (temp8)
2547 delete arg8;
2548 }
2549 return resultobj;
2550 fail:
2551 {
2552 if (temp3)
2553 delete arg3;
2554 }
2555 {
2556 if (temp8)
2557 delete arg8;
2558 }
2559 return NULL;
2560}
2561
2562
c32bde28 2563static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2564 PyObject *resultobj = NULL;
d55e5bfc
RD
2565 wxButton *result;
2566 char *kwnames[] = {
2567 NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2571 {
0439c23b 2572 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
2574 result = (wxButton *)new wxButton();
2575
2576 wxPyEndAllowThreads(__tstate);
110da5b0 2577 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2578 }
b0f7404b 2579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2580 return resultobj;
2581 fail:
2582 return NULL;
2583}
2584
2585
c32bde28 2586static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2587 PyObject *resultobj = NULL;
d55e5bfc
RD
2588 wxButton *arg1 = (wxButton *) 0 ;
2589 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2590 int arg3 = (int) -1 ;
2591 wxString const &arg4_defvalue = wxPyEmptyString ;
2592 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2593 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2594 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2595 wxSize const &arg6_defvalue = wxDefaultSize ;
2596 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2597 long arg7 = (long) 0 ;
2598 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2599 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2600 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2601 wxString *arg9 = (wxString *) &arg9_defvalue ;
2602 bool result;
ae8162c8 2603 bool temp4 = false ;
d55e5bfc
RD
2604 wxPoint temp5 ;
2605 wxSize temp6 ;
ae8162c8 2606 bool temp9 = false ;
d55e5bfc
RD
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 PyObject * obj2 = 0 ;
2610 PyObject * obj3 = 0 ;
2611 PyObject * obj4 = 0 ;
2612 PyObject * obj5 = 0 ;
2613 PyObject * obj6 = 0 ;
2614 PyObject * obj7 = 0 ;
2615 PyObject * obj8 = 0 ;
2616 char *kwnames[] = {
2617 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2618 };
2619
248ed943 2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2622 if (SWIG_arg_fail(1)) SWIG_fail;
2623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2624 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2625 if (obj2) {
093d3ff1 2626 {
7449af73 2627 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
2628 if (SWIG_arg_fail(3)) SWIG_fail;
2629 }
248ed943
RD
2630 }
2631 if (obj3) {
2632 {
2633 arg4 = wxString_in_helper(obj3);
2634 if (arg4 == NULL) SWIG_fail;
ae8162c8 2635 temp4 = true;
248ed943 2636 }
d55e5bfc
RD
2637 }
2638 if (obj4) {
2639 {
2640 arg5 = &temp5;
2641 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2642 }
2643 }
2644 if (obj5) {
2645 {
2646 arg6 = &temp6;
2647 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2648 }
2649 }
2650 if (obj6) {
093d3ff1 2651 {
7449af73 2652 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
2653 if (SWIG_arg_fail(7)) SWIG_fail;
2654 }
d55e5bfc
RD
2655 }
2656 if (obj7) {
093d3ff1
RD
2657 {
2658 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2659 if (SWIG_arg_fail(8)) SWIG_fail;
2660 if (arg8 == NULL) {
2661 SWIG_null_ref("wxValidator");
2662 }
2663 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2664 }
2665 }
2666 if (obj8) {
2667 {
2668 arg9 = wxString_in_helper(obj8);
2669 if (arg9 == NULL) SWIG_fail;
ae8162c8 2670 temp9 = true;
d55e5bfc
RD
2671 }
2672 }
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 {
2681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2682 }
2683 {
2684 if (temp4)
2685 delete arg4;
2686 }
2687 {
2688 if (temp9)
2689 delete arg9;
2690 }
2691 return resultobj;
2692 fail:
2693 {
2694 if (temp4)
2695 delete arg4;
2696 }
2697 {
2698 if (temp9)
2699 delete arg9;
2700 }
2701 return NULL;
2702}
2703
2704
c32bde28 2705static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2706 PyObject *resultobj = NULL;
d55e5bfc
RD
2707 wxButton *arg1 = (wxButton *) 0 ;
2708 PyObject * obj0 = 0 ;
2709 char *kwnames[] = {
2710 (char *) "self", NULL
2711 };
2712
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 (arg1)->SetDefault();
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 Py_INCREF(Py_None); resultobj = Py_None;
2724 return resultobj;
2725 fail:
2726 return NULL;
2727}
2728
2729
c32bde28 2730static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2731 PyObject *resultobj = NULL;
d55e5bfc
RD
2732 wxSize result;
2733 char *kwnames[] = {
2734 NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = wxButton::GetDefaultSize();
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 {
2746 wxSize * resultptr;
7449af73 2747 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
2748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2749 }
2750 return resultobj;
2751 fail:
2752 return NULL;
2753}
2754
2755
c32bde28 2756static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2757 PyObject *resultobj = NULL;
093d3ff1 2758 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2759 wxVisualAttributes result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "variant", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2766 if (obj0) {
093d3ff1 2767 {
7449af73 2768 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
2769 if (SWIG_arg_fail(1)) SWIG_fail;
2770 }
f20a2e1f
RD
2771 }
2772 {
19272049 2773 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 2775 result = wxButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
2776
2777 wxPyEndAllowThreads(__tstate);
110da5b0 2778 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2779 }
2780 {
2781 wxVisualAttributes * resultptr;
7449af73 2782 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
2783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2784 }
2785 return resultobj;
2786 fail:
2787 return NULL;
2788}
2789
2790
c32bde28 2791static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2792 PyObject *obj;
2793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2794 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2795 Py_INCREF(obj);
2796 return Py_BuildValue((char *)"");
2797}
c32bde28 2798static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2799 PyObject *resultobj = NULL;
d55e5bfc 2800 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2801 int arg2 = (int) -1 ;
2802 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2803 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2806 wxSize const &arg5_defvalue = wxDefaultSize ;
2807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2808 long arg6 = (long) wxBU_AUTODRAW ;
2809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2811 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2812 wxString *arg8 = (wxString *) &arg8_defvalue ;
2813 wxBitmapButton *result;
2814 wxPoint temp4 ;
2815 wxSize temp5 ;
ae8162c8 2816 bool temp8 = false ;
d55e5bfc
RD
2817 PyObject * obj0 = 0 ;
2818 PyObject * obj1 = 0 ;
2819 PyObject * obj2 = 0 ;
2820 PyObject * obj3 = 0 ;
2821 PyObject * obj4 = 0 ;
2822 PyObject * obj5 = 0 ;
2823 PyObject * obj6 = 0 ;
2824 PyObject * obj7 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2827 };
2828
248ed943 2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2831 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2832 if (obj1) {
093d3ff1 2833 {
7449af73 2834 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
2835 if (SWIG_arg_fail(2)) SWIG_fail;
2836 }
248ed943
RD
2837 }
2838 if (obj2) {
093d3ff1
RD
2839 {
2840 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2841 if (SWIG_arg_fail(3)) SWIG_fail;
2842 if (arg3 == NULL) {
2843 SWIG_null_ref("wxBitmap");
2844 }
2845 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2846 }
d55e5bfc
RD
2847 }
2848 if (obj3) {
2849 {
2850 arg4 = &temp4;
2851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2852 }
2853 }
2854 if (obj4) {
2855 {
2856 arg5 = &temp5;
2857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2858 }
2859 }
2860 if (obj5) {
093d3ff1 2861 {
7449af73 2862 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2863 if (SWIG_arg_fail(6)) SWIG_fail;
2864 }
d55e5bfc
RD
2865 }
2866 if (obj6) {
093d3ff1
RD
2867 {
2868 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2869 if (SWIG_arg_fail(7)) SWIG_fail;
2870 if (arg7 == NULL) {
2871 SWIG_null_ref("wxValidator");
2872 }
2873 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2874 }
2875 }
2876 if (obj7) {
2877 {
2878 arg8 = wxString_in_helper(obj7);
2879 if (arg8 == NULL) SWIG_fail;
ae8162c8 2880 temp8 = true;
d55e5bfc
RD
2881 }
2882 }
2883 {
0439c23b 2884 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2887
2888 wxPyEndAllowThreads(__tstate);
110da5b0 2889 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2890 }
b0f7404b 2891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2892 {
2893 if (temp8)
2894 delete arg8;
2895 }
2896 return resultobj;
2897 fail:
2898 {
2899 if (temp8)
2900 delete arg8;
2901 }
2902 return NULL;
2903}
2904
2905
c32bde28 2906static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2907 PyObject *resultobj = NULL;
d55e5bfc
RD
2908 wxBitmapButton *result;
2909 char *kwnames[] = {
2910 NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2914 {
0439c23b 2915 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2916 PyThreadState* __tstate = wxPyBeginAllowThreads();
2917 result = (wxBitmapButton *)new wxBitmapButton();
2918
2919 wxPyEndAllowThreads(__tstate);
110da5b0 2920 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2921 }
b0f7404b 2922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2923 return resultobj;
2924 fail:
2925 return NULL;
2926}
2927
2928
c32bde28 2929static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2930 PyObject *resultobj = NULL;
d55e5bfc
RD
2931 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2932 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2933 int arg3 = (int) -1 ;
2934 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2935 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2936 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2937 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2938 wxSize const &arg6_defvalue = wxDefaultSize ;
2939 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2940 long arg7 = (long) wxBU_AUTODRAW ;
2941 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2942 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2943 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2944 wxString *arg9 = (wxString *) &arg9_defvalue ;
2945 bool result;
2946 wxPoint temp5 ;
2947 wxSize temp6 ;
ae8162c8 2948 bool temp9 = false ;
d55e5bfc
RD
2949 PyObject * obj0 = 0 ;
2950 PyObject * obj1 = 0 ;
2951 PyObject * obj2 = 0 ;
2952 PyObject * obj3 = 0 ;
2953 PyObject * obj4 = 0 ;
2954 PyObject * obj5 = 0 ;
2955 PyObject * obj6 = 0 ;
2956 PyObject * obj7 = 0 ;
2957 PyObject * obj8 = 0 ;
2958 char *kwnames[] = {
2959 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2960 };
2961
248ed943 2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2964 if (SWIG_arg_fail(1)) SWIG_fail;
2965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2966 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2967 if (obj2) {
093d3ff1 2968 {
7449af73 2969 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
2970 if (SWIG_arg_fail(3)) SWIG_fail;
2971 }
248ed943
RD
2972 }
2973 if (obj3) {
093d3ff1
RD
2974 {
2975 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2976 if (SWIG_arg_fail(4)) SWIG_fail;
2977 if (arg4 == NULL) {
2978 SWIG_null_ref("wxBitmap");
2979 }
2980 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2981 }
d55e5bfc
RD
2982 }
2983 if (obj4) {
2984 {
2985 arg5 = &temp5;
2986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2987 }
2988 }
2989 if (obj5) {
2990 {
2991 arg6 = &temp6;
2992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2993 }
2994 }
2995 if (obj6) {
093d3ff1 2996 {
7449af73 2997 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
2998 if (SWIG_arg_fail(7)) SWIG_fail;
2999 }
d55e5bfc
RD
3000 }
3001 if (obj7) {
093d3ff1
RD
3002 {
3003 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3004 if (SWIG_arg_fail(8)) SWIG_fail;
3005 if (arg8 == NULL) {
3006 SWIG_null_ref("wxValidator");
3007 }
3008 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3009 }
3010 }
3011 if (obj8) {
3012 {
3013 arg9 = wxString_in_helper(obj8);
3014 if (arg9 == NULL) SWIG_fail;
ae8162c8 3015 temp9 = true;
d55e5bfc
RD
3016 }
3017 }
3018 {
3019 PyThreadState* __tstate = wxPyBeginAllowThreads();
3020 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 {
3026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3027 }
3028 {
3029 if (temp9)
3030 delete arg9;
3031 }
3032 return resultobj;
3033 fail:
3034 {
3035 if (temp9)
3036 delete arg9;
3037 }
3038 return NULL;
3039}
3040
3041
c32bde28 3042static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3043 PyObject *resultobj = NULL;
d55e5bfc
RD
3044 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3045 wxBitmap result;
3046 PyObject * obj0 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
3052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 result = (arg1)->GetBitmapLabel();
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 {
3062 wxBitmap * resultptr;
7449af73 3063 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3065 }
3066 return resultobj;
3067 fail:
3068 return NULL;
3069}
3070
3071
c32bde28 3072static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3073 PyObject *resultobj = NULL;
d55e5bfc
RD
3074 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3075 wxBitmap result;
3076 PyObject * obj0 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
3082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3084 {
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 result = (arg1)->GetBitmapDisabled();
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 }
3091 {
3092 wxBitmap * resultptr;
7449af73 3093 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3094 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3095 }
3096 return resultobj;
3097 fail:
3098 return NULL;
3099}
3100
3101
c32bde28 3102static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3103 PyObject *resultobj = NULL;
d55e5bfc
RD
3104 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3105 wxBitmap result;
3106 PyObject * obj0 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
3112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 result = (arg1)->GetBitmapFocus();
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 {
3122 wxBitmap * resultptr;
7449af73 3123 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3125 }
3126 return resultobj;
3127 fail:
3128 return NULL;
3129}
3130
3131
c32bde28 3132static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3133 PyObject *resultobj = NULL;
d55e5bfc
RD
3134 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3135 wxBitmap result;
3136 PyObject * obj0 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
3142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 result = (arg1)->GetBitmapSelected();
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 {
3152 wxBitmap * resultptr;
7449af73 3153 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3155 }
3156 return resultobj;
3157 fail:
3158 return NULL;
3159}
3160
3161
b1fcee84
RD
3162static PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) {
3163 PyObject *resultobj = NULL;
3164 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3165 wxBitmap result;
3166 PyObject * obj0 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapHover",kwnames,&obj0)) goto fail;
3172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail;
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 result = (arg1)->GetBitmapHover();
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 {
3182 wxBitmap * resultptr;
3183 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3185 }
3186 return resultobj;
3187 fail:
3188 return NULL;
3189}
3190
3191
c32bde28 3192static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3193 PyObject *resultobj = NULL;
d55e5bfc
RD
3194 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3195 wxBitmap *arg2 = 0 ;
3196 PyObject * obj0 = 0 ;
3197 PyObject * obj1 = 0 ;
3198 char *kwnames[] = {
3199 (char *) "self",(char *) "bitmap", NULL
3200 };
3201
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail;
3205 {
3206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3207 if (SWIG_arg_fail(2)) SWIG_fail;
3208 if (arg2 == NULL) {
3209 SWIG_null_ref("wxBitmap");
3210 }
3211 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3212 }
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 Py_INCREF(Py_None); resultobj = Py_None;
3221 return resultobj;
3222 fail:
3223 return NULL;
3224}
3225
3226
c32bde28 3227static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3228 PyObject *resultobj = NULL;
d55e5bfc
RD
3229 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3230 wxBitmap *arg2 = 0 ;
3231 PyObject * obj0 = 0 ;
3232 PyObject * obj1 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self",(char *) "bitmap", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail;
3240 {
3241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3242 if (SWIG_arg_fail(2)) SWIG_fail;
3243 if (arg2 == NULL) {
3244 SWIG_null_ref("wxBitmap");
3245 }
3246 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3247 }
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3251
3252 wxPyEndAllowThreads(__tstate);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 }
3255 Py_INCREF(Py_None); resultobj = Py_None;
3256 return resultobj;
3257 fail:
3258 return NULL;
3259}
3260
3261
c32bde28 3262static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3263 PyObject *resultobj = NULL;
d55e5bfc
RD
3264 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3265 wxBitmap *arg2 = 0 ;
3266 PyObject * obj0 = 0 ;
3267 PyObject * obj1 = 0 ;
3268 char *kwnames[] = {
3269 (char *) "self",(char *) "bitmap", NULL
3270 };
3271
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3274 if (SWIG_arg_fail(1)) SWIG_fail;
3275 {
3276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3277 if (SWIG_arg_fail(2)) SWIG_fail;
3278 if (arg2 == NULL) {
3279 SWIG_null_ref("wxBitmap");
3280 }
3281 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3282 }
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 Py_INCREF(Py_None); resultobj = Py_None;
3291 return resultobj;
3292 fail:
3293 return NULL;
3294}
3295
3296
c32bde28 3297static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3298 PyObject *resultobj = NULL;
d55e5bfc
RD
3299 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3300 wxBitmap *arg2 = 0 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 char *kwnames[] = {
3304 (char *) "self",(char *) "bitmap", NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3309 if (SWIG_arg_fail(1)) SWIG_fail;
3310 {
3311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(2)) SWIG_fail;
3313 if (arg2 == NULL) {
3314 SWIG_null_ref("wxBitmap");
3315 }
3316 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 Py_INCREF(Py_None); resultobj = Py_None;
3326 return resultobj;
3327 fail:
3328 return NULL;
3329}
3330
3331
b1fcee84
RD
3332static PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *, PyObject *args, PyObject *kwargs) {
3333 PyObject *resultobj = NULL;
3334 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3335 wxBitmap *arg2 = 0 ;
3336 PyObject * obj0 = 0 ;
3337 PyObject * obj1 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "self",(char *) "hover", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) goto fail;
3343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail;
3345 {
3346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3347 if (SWIG_arg_fail(2)) SWIG_fail;
3348 if (arg2 == NULL) {
3349 SWIG_null_ref("wxBitmap");
3350 }
3351 if (SWIG_arg_fail(2)) SWIG_fail;
3352 }
3353 {
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
3356
3357 wxPyEndAllowThreads(__tstate);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 }
3360 Py_INCREF(Py_None); resultobj = Py_None;
3361 return resultobj;
3362 fail:
3363 return NULL;
3364}
3365
3366
c32bde28 3367static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3368 PyObject *resultobj = NULL;
d55e5bfc
RD
3369 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3370 int arg2 ;
3371 int arg3 ;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 PyObject * obj2 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self",(char *) "x",(char *) "y", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail;
3382 {
7449af73 3383 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3384 if (SWIG_arg_fail(2)) SWIG_fail;
3385 }
3386 {
7449af73 3387 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3388 if (SWIG_arg_fail(3)) SWIG_fail;
3389 }
d55e5bfc
RD
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 (arg1)->SetMargins(arg2,arg3);
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 Py_INCREF(Py_None); resultobj = Py_None;
3398 return resultobj;
3399 fail:
3400 return NULL;
3401}
3402
3403
c32bde28 3404static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3405 PyObject *resultobj = NULL;
d55e5bfc
RD
3406 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3407 int result;
3408 PyObject * obj0 = 0 ;
3409 char *kwnames[] = {
3410 (char *) "self", NULL
3411 };
3412
3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
093d3ff1 3423 {
7449af73 3424 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3425 }
d55e5bfc
RD
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
c32bde28 3432static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3433 PyObject *resultobj = NULL;
d55e5bfc
RD
3434 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3435 int result;
3436 PyObject * obj0 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3443 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3444 {
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3447
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
093d3ff1 3451 {
7449af73 3452 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3453 }
d55e5bfc
RD
3454 return resultobj;
3455 fail:
3456 return NULL;
3457}
3458
3459
c32bde28 3460static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3461 PyObject *obj;
3462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3463 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3464 Py_INCREF(obj);
3465 return Py_BuildValue((char *)"");
3466}
c32bde28 3467static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3468 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3469 return 1;
3470}
3471
3472
093d3ff1 3473static PyObject *_wrap_CheckBoxNameStr_get(void) {
7449af73 3474 PyObject *pyobj = NULL;
d55e5bfc
RD
3475
3476 {
3477#if wxUSE_UNICODE
3478 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3479#else
3480 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3481#endif
3482 }
3483 return pyobj;
3484}
3485
3486
c32bde28 3487static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3488 PyObject *resultobj = NULL;
d55e5bfc 3489 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3490 int arg2 = (int) -1 ;
3491 wxString const &arg3_defvalue = wxPyEmptyString ;
3492 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3495 wxSize const &arg5_defvalue = wxDefaultSize ;
3496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3497 long arg6 = (long) 0 ;
3498 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3499 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3500 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3501 wxString *arg8 = (wxString *) &arg8_defvalue ;
3502 wxCheckBox *result;
ae8162c8 3503 bool temp3 = false ;
d55e5bfc
RD
3504 wxPoint temp4 ;
3505 wxSize temp5 ;
ae8162c8 3506 bool temp8 = false ;
d55e5bfc
RD
3507 PyObject * obj0 = 0 ;
3508 PyObject * obj1 = 0 ;
3509 PyObject * obj2 = 0 ;
3510 PyObject * obj3 = 0 ;
3511 PyObject * obj4 = 0 ;
3512 PyObject * obj5 = 0 ;
3513 PyObject * obj6 = 0 ;
3514 PyObject * obj7 = 0 ;
3515 char *kwnames[] = {
3516 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3517 };
3518
248ed943 3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3522 if (obj1) {
093d3ff1 3523 {
7449af73 3524 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3525 if (SWIG_arg_fail(2)) SWIG_fail;
3526 }
248ed943
RD
3527 }
3528 if (obj2) {
3529 {
3530 arg3 = wxString_in_helper(obj2);
3531 if (arg3 == NULL) SWIG_fail;
ae8162c8 3532 temp3 = true;
248ed943 3533 }
d55e5bfc
RD
3534 }
3535 if (obj3) {
3536 {
3537 arg4 = &temp4;
3538 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3539 }
3540 }
3541 if (obj4) {
3542 {
3543 arg5 = &temp5;
3544 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3545 }
3546 }
3547 if (obj5) {
093d3ff1 3548 {
7449af73 3549 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
3550 if (SWIG_arg_fail(6)) SWIG_fail;
3551 }
d55e5bfc
RD
3552 }
3553 if (obj6) {
093d3ff1
RD
3554 {
3555 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3556 if (SWIG_arg_fail(7)) SWIG_fail;
3557 if (arg7 == NULL) {
3558 SWIG_null_ref("wxValidator");
3559 }
3560 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3561 }
3562 }
3563 if (obj7) {
3564 {
3565 arg8 = wxString_in_helper(obj7);
3566 if (arg8 == NULL) SWIG_fail;
ae8162c8 3567 temp8 = true;
d55e5bfc
RD
3568 }
3569 }
3570 {
0439c23b 3571 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3574
3575 wxPyEndAllowThreads(__tstate);
110da5b0 3576 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3577 }
3578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3579 {
3580 if (temp3)
3581 delete arg3;
3582 }
3583 {
3584 if (temp8)
3585 delete arg8;
3586 }
3587 return resultobj;
3588 fail:
3589 {
3590 if (temp3)
3591 delete arg3;
3592 }
3593 {
3594 if (temp8)
3595 delete arg8;
3596 }
3597 return NULL;
3598}
3599
3600
c32bde28 3601static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3602 PyObject *resultobj = NULL;
d55e5bfc
RD
3603 wxCheckBox *result;
3604 char *kwnames[] = {
3605 NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3609 {
0439c23b 3610 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 result = (wxCheckBox *)new wxCheckBox();
3613
3614 wxPyEndAllowThreads(__tstate);
110da5b0 3615 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3616 }
3617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3618 return resultobj;
3619 fail:
3620 return NULL;
3621}
3622
3623
c32bde28 3624static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3625 PyObject *resultobj = NULL;
d55e5bfc
RD
3626 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3627 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3628 int arg3 = (int) -1 ;
3629 wxString const &arg4_defvalue = wxPyEmptyString ;
3630 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3631 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3632 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3633 wxSize const &arg6_defvalue = wxDefaultSize ;
3634 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3635 long arg7 = (long) 0 ;
3636 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3637 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3638 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3639 wxString *arg9 = (wxString *) &arg9_defvalue ;
3640 bool result;
ae8162c8 3641 bool temp4 = false ;
d55e5bfc
RD
3642 wxPoint temp5 ;
3643 wxSize temp6 ;
ae8162c8 3644 bool temp9 = false ;
d55e5bfc
RD
3645 PyObject * obj0 = 0 ;
3646 PyObject * obj1 = 0 ;
3647 PyObject * obj2 = 0 ;
3648 PyObject * obj3 = 0 ;
3649 PyObject * obj4 = 0 ;
3650 PyObject * obj5 = 0 ;
3651 PyObject * obj6 = 0 ;
3652 PyObject * obj7 = 0 ;
3653 PyObject * obj8 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3656 };
3657
248ed943 3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3660 if (SWIG_arg_fail(1)) SWIG_fail;
3661 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3662 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3663 if (obj2) {
093d3ff1 3664 {
7449af73 3665 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3666 if (SWIG_arg_fail(3)) SWIG_fail;
3667 }
248ed943
RD
3668 }
3669 if (obj3) {
3670 {
3671 arg4 = wxString_in_helper(obj3);
3672 if (arg4 == NULL) SWIG_fail;
ae8162c8 3673 temp4 = true;
248ed943 3674 }
d55e5bfc
RD
3675 }
3676 if (obj4) {
3677 {
3678 arg5 = &temp5;
3679 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3680 }
3681 }
3682 if (obj5) {
3683 {
3684 arg6 = &temp6;
3685 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3686 }
3687 }
3688 if (obj6) {
093d3ff1 3689 {
7449af73 3690 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
3691 if (SWIG_arg_fail(7)) SWIG_fail;
3692 }
d55e5bfc
RD
3693 }
3694 if (obj7) {
093d3ff1
RD
3695 {
3696 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3697 if (SWIG_arg_fail(8)) SWIG_fail;
3698 if (arg8 == NULL) {
3699 SWIG_null_ref("wxValidator");
3700 }
3701 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3702 }
3703 }
3704 if (obj8) {
3705 {
3706 arg9 = wxString_in_helper(obj8);
3707 if (arg9 == NULL) SWIG_fail;
ae8162c8 3708 temp9 = true;
d55e5bfc
RD
3709 }
3710 }
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3714
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 {
3719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3720 }
3721 {
3722 if (temp4)
3723 delete arg4;
3724 }
3725 {
3726 if (temp9)
3727 delete arg9;
3728 }
3729 return resultobj;
3730 fail:
3731 {
3732 if (temp4)
3733 delete arg4;
3734 }
3735 {
3736 if (temp9)
3737 delete arg9;
3738 }
3739 return NULL;
3740}
3741
3742
c32bde28 3743static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3744 PyObject *resultobj = NULL;
d55e5bfc
RD
3745 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3746 bool result;
3747 PyObject * obj0 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 result = (bool)(arg1)->GetValue();
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 {
3763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3764 }
3765 return resultobj;
3766 fail:
3767 return NULL;
3768}
3769
3770
c32bde28 3771static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3772 PyObject *resultobj = NULL;
d55e5bfc
RD
3773 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3774 bool result;
3775 PyObject * obj0 = 0 ;
3776 char *kwnames[] = {
3777 (char *) "self", NULL
3778 };
3779
3780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3782 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (bool)(arg1)->IsChecked();
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 {
3791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3792 }
3793 return resultobj;
3794 fail:
3795 return NULL;
3796}
3797
3798
c32bde28 3799static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3800 PyObject *resultobj = NULL;
d55e5bfc
RD
3801 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3802 bool arg2 ;
3803 PyObject * obj0 = 0 ;
3804 PyObject * obj1 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self",(char *) "state", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3811 if (SWIG_arg_fail(1)) SWIG_fail;
3812 {
7449af73 3813 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
093d3ff1
RD
3814 if (SWIG_arg_fail(2)) SWIG_fail;
3815 }
d55e5bfc
RD
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 (arg1)->SetValue(arg2);
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
3823 Py_INCREF(Py_None); resultobj = Py_None;
3824 return resultobj;
3825 fail:
3826 return NULL;
3827}
3828
3829
c32bde28 3830static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3831 PyObject *resultobj = NULL;
d55e5bfc 3832 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3833 wxCheckBoxState result;
d55e5bfc
RD
3834 PyObject * obj0 = 0 ;
3835 char *kwnames[] = {
3836 (char *) "self", NULL
3837 };
3838
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3844 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
093d3ff1 3849 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3850 return resultobj;
3851 fail:
3852 return NULL;
3853}
3854
3855
c32bde28 3856static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3857 PyObject *resultobj = NULL;
d55e5bfc 3858 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3859 wxCheckBoxState arg2 ;
d55e5bfc
RD
3860 PyObject * obj0 = 0 ;
3861 PyObject * obj1 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self",(char *) "state", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail;
3869 {
7449af73 3870 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
093d3ff1
RD
3871 if (SWIG_arg_fail(2)) SWIG_fail;
3872 }
d55e5bfc
RD
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3875 (arg1)->Set3StateValue(arg2);
d55e5bfc
RD
3876
3877 wxPyEndAllowThreads(__tstate);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 }
3880 Py_INCREF(Py_None); resultobj = Py_None;
3881 return resultobj;
3882 fail:
3883 return NULL;
3884}
3885
3886
c32bde28 3887static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3888 PyObject *resultobj = NULL;
d55e5bfc
RD
3889 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3890 bool result;
3891 PyObject * obj0 = 0 ;
3892 char *kwnames[] = {
3893 (char *) "self", NULL
3894 };
3895
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3899 {
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3902
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 {
3907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3908 }
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
c32bde28 3915static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3916 PyObject *resultobj = NULL;
d55e5bfc
RD
3917 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3918 bool result;
3919 PyObject * obj0 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 {
3935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3936 }
3937 return resultobj;
3938 fail:
3939 return NULL;
3940}
3941
3942
c32bde28 3943static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3944 PyObject *resultobj = NULL;
093d3ff1 3945 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3946 wxVisualAttributes result;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "variant", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3953 if (obj0) {
093d3ff1 3954 {
7449af73 3955 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
3956 if (SWIG_arg_fail(1)) SWIG_fail;
3957 }
f20a2e1f
RD
3958 }
3959 {
19272049 3960 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3962 result = wxCheckBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
3963
3964 wxPyEndAllowThreads(__tstate);
110da5b0 3965 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3966 }
3967 {
3968 wxVisualAttributes * resultptr;
7449af73 3969 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
3970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3971 }
3972 return resultobj;
3973 fail:
3974 return NULL;
3975}
3976
3977
c32bde28 3978static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3979 PyObject *obj;
3980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3981 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3982 Py_INCREF(obj);
3983 return Py_BuildValue((char *)"");
3984}
c32bde28 3985static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3986 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3987 return 1;
3988}
3989
3990
093d3ff1 3991static PyObject *_wrap_ChoiceNameStr_get(void) {
7449af73 3992 PyObject *pyobj = NULL;
d55e5bfc
RD
3993
3994 {
3995#if wxUSE_UNICODE
3996 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3997#else
3998 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3999#endif
4000 }
4001 return pyobj;
4002}
4003
4004
c32bde28 4005static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4006 PyObject *resultobj = NULL;
d55e5bfc
RD
4007 wxWindow *arg1 = (wxWindow *) 0 ;
4008 int arg2 = (int) -1 ;
4009 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4010 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4011 wxSize const &arg4_defvalue = wxDefaultSize ;
4012 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4013 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4014 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4015 long arg6 = (long) 0 ;
4016 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4017 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4018 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
4019 wxString *arg8 = (wxString *) &arg8_defvalue ;
4020 wxChoice *result;
4021 wxPoint temp3 ;
4022 wxSize temp4 ;
ae8162c8
RD
4023 bool temp5 = false ;
4024 bool temp8 = false ;
d55e5bfc
RD
4025 PyObject * obj0 = 0 ;
4026 PyObject * obj1 = 0 ;
4027 PyObject * obj2 = 0 ;
4028 PyObject * obj3 = 0 ;
4029 PyObject * obj4 = 0 ;
4030 PyObject * obj5 = 0 ;
4031 PyObject * obj6 = 0 ;
4032 PyObject * obj7 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4040 if (obj1) {
093d3ff1 4041 {
7449af73 4042 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4043 if (SWIG_arg_fail(2)) SWIG_fail;
4044 }
d55e5bfc
RD
4045 }
4046 if (obj2) {
4047 {
4048 arg3 = &temp3;
4049 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4050 }
4051 }
4052 if (obj3) {
4053 {
4054 arg4 = &temp4;
4055 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4056 }
4057 }
4058 if (obj4) {
4059 {
4060 if (! PySequence_Check(obj4)) {
4061 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4062 SWIG_fail;
4063 }
4064 arg5 = new wxArrayString;
ae8162c8 4065 temp5 = true;
d55e5bfc
RD
4066 int i, len=PySequence_Length(obj4);
4067 for (i=0; i<len; i++) {
4068 PyObject* item = PySequence_GetItem(obj4, i);
71237536 4069 wxString* s = wxString_in_helper(item);
d55e5bfc 4070 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4071 arg5->Add(*s);
4072 delete s;
d55e5bfc 4073 Py_DECREF(item);
d55e5bfc
RD
4074 }
4075 }
4076 }
4077 if (obj5) {
093d3ff1 4078 {
7449af73 4079 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
4080 if (SWIG_arg_fail(6)) SWIG_fail;
4081 }
d55e5bfc
RD
4082 }
4083 if (obj6) {
093d3ff1
RD
4084 {
4085 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4086 if (SWIG_arg_fail(7)) SWIG_fail;
4087 if (arg7 == NULL) {
4088 SWIG_null_ref("wxValidator");
4089 }
4090 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
4091 }
4092 }
4093 if (obj7) {
4094 {
4095 arg8 = wxString_in_helper(obj7);
4096 if (arg8 == NULL) SWIG_fail;
ae8162c8 4097 temp8 = true;
d55e5bfc
RD
4098 }
4099 }
4100 {
0439c23b 4101 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4102 PyThreadState* __tstate = wxPyBeginAllowThreads();
4103 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4104
4105 wxPyEndAllowThreads(__tstate);
110da5b0 4106 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4107 }
4108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4109 {
4110 if (temp5) delete arg5;
4111 }
4112 {
4113 if (temp8)
4114 delete arg8;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp5) delete arg5;
4120 }
4121 {
4122 if (temp8)
4123 delete arg8;
4124 }
4125 return NULL;
4126}
4127
4128
c32bde28 4129static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4130 PyObject *resultobj = NULL;
d55e5bfc
RD
4131 wxChoice *result;
4132 char *kwnames[] = {
4133 NULL
4134 };
4135
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
4137 {
0439c23b 4138 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (wxChoice *)new wxChoice();
4141
4142 wxPyEndAllowThreads(__tstate);
110da5b0 4143 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4144 }
4145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4146 return resultobj;
4147 fail:
4148 return NULL;
4149}
4150
4151
c32bde28 4152static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4153 PyObject *resultobj = NULL;
d55e5bfc
RD
4154 wxChoice *arg1 = (wxChoice *) 0 ;
4155 wxWindow *arg2 = (wxWindow *) 0 ;
4156 int arg3 = (int) -1 ;
4157 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4158 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4159 wxSize const &arg5_defvalue = wxDefaultSize ;
4160 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4161 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4162 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4163 long arg7 = (long) 0 ;
4164 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4165 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4166 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
4167 wxString *arg9 = (wxString *) &arg9_defvalue ;
4168 bool result;
4169 wxPoint temp4 ;
4170 wxSize temp5 ;
ae8162c8
RD
4171 bool temp6 = false ;
4172 bool temp9 = false ;
d55e5bfc
RD
4173 PyObject * obj0 = 0 ;
4174 PyObject * obj1 = 0 ;
4175 PyObject * obj2 = 0 ;
4176 PyObject * obj3 = 0 ;
4177 PyObject * obj4 = 0 ;
4178 PyObject * obj5 = 0 ;
4179 PyObject * obj6 = 0 ;
4180 PyObject * obj7 = 0 ;
4181 PyObject * obj8 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail;
4189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4190 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4191 if (obj2) {
093d3ff1 4192 {
7449af73 4193 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4194 if (SWIG_arg_fail(3)) SWIG_fail;
4195 }
d55e5bfc
RD
4196 }
4197 if (obj3) {
4198 {
4199 arg4 = &temp4;
4200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4201 }
4202 }
4203 if (obj4) {
4204 {
4205 arg5 = &temp5;
4206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4207 }
4208 }
4209 if (obj5) {
4210 {
4211 if (! PySequence_Check(obj5)) {
4212 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4213 SWIG_fail;
4214 }
4215 arg6 = new wxArrayString;
ae8162c8 4216 temp6 = true;
d55e5bfc
RD
4217 int i, len=PySequence_Length(obj5);
4218 for (i=0; i<len; i++) {
4219 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4220 wxString* s = wxString_in_helper(item);
d55e5bfc 4221 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4222 arg6->Add(*s);
4223 delete s;
d55e5bfc 4224 Py_DECREF(item);
d55e5bfc
RD
4225 }
4226 }
4227 }
4228 if (obj6) {
093d3ff1 4229 {
7449af73 4230 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
4231 if (SWIG_arg_fail(7)) SWIG_fail;
4232 }
d55e5bfc
RD
4233 }
4234 if (obj7) {
093d3ff1
RD
4235 {
4236 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4237 if (SWIG_arg_fail(8)) SWIG_fail;
4238 if (arg8 == NULL) {
4239 SWIG_null_ref("wxValidator");
4240 }
4241 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4242 }
4243 }
4244 if (obj8) {
4245 {
4246 arg9 = wxString_in_helper(obj8);
4247 if (arg9 == NULL) SWIG_fail;
ae8162c8 4248 temp9 = true;
d55e5bfc
RD
4249 }
4250 }
4251 {
4252 PyThreadState* __tstate = wxPyBeginAllowThreads();
4253 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4254
4255 wxPyEndAllowThreads(__tstate);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 {
4259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4260 }
4261 {
4262 if (temp6) delete arg6;
4263 }
4264 {
4265 if (temp9)
4266 delete arg9;
4267 }
4268 return resultobj;
4269 fail:
4270 {
4271 if (temp6) delete arg6;
4272 }
4273 {
4274 if (temp9)
4275 delete arg9;
4276 }
4277 return NULL;
4278}
4279
4280
9d7dfdff 4281static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4282 PyObject *resultobj = NULL;
9d7dfdff
RD
4283 wxChoice *arg1 = (wxChoice *) 0 ;
4284 int result;
4285 PyObject * obj0 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
4291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4292 if (SWIG_arg_fail(1)) SWIG_fail;
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 {
7449af73 4301 resultobj = SWIG_From_int(static_cast<int >(result));
9d7dfdff
RD
4302 }
4303 return resultobj;
4304 fail:
4305 return NULL;
4306}
4307
4308
c32bde28 4309static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4310 PyObject *resultobj = NULL;
093d3ff1 4311 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4312 wxVisualAttributes result;
4313 PyObject * obj0 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "variant", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4319 if (obj0) {
093d3ff1 4320 {
7449af73 4321 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 }
f20a2e1f
RD
4324 }
4325 {
19272049 4326 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4328 result = wxChoice::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
4329
4330 wxPyEndAllowThreads(__tstate);
110da5b0 4331 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4332 }
4333 {
4334 wxVisualAttributes * resultptr;
7449af73 4335 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
4336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4337 }
4338 return resultobj;
4339 fail:
4340 return NULL;
4341}
4342
4343
c32bde28 4344static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4345 PyObject *obj;
4346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4347 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4348 Py_INCREF(obj);
4349 return Py_BuildValue((char *)"");
4350}
c32bde28 4351static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4352 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4353 return 1;
4354}
4355
4356
093d3ff1 4357static PyObject *_wrap_ComboBoxNameStr_get(void) {
7449af73 4358 PyObject *pyobj = NULL;
d55e5bfc
RD
4359
4360 {
4361#if wxUSE_UNICODE
4362 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4363#else
4364 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4365#endif
4366 }
4367 return pyobj;
4368}
4369
4370
c32bde28 4371static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4372 PyObject *resultobj = NULL;
d55e5bfc
RD
4373 wxWindow *arg1 = (wxWindow *) 0 ;
4374 int arg2 = (int) -1 ;
4375 wxString const &arg3_defvalue = wxPyEmptyString ;
4376 wxString *arg3 = (wxString *) &arg3_defvalue ;
4377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4379 wxSize const &arg5_defvalue = wxDefaultSize ;
4380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4381 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4382 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4383 long arg7 = (long) 0 ;
4384 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4385 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4386 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4387 wxString *arg9 = (wxString *) &arg9_defvalue ;
4388 wxComboBox *result;
ae8162c8 4389 bool temp3 = false ;
d55e5bfc
RD
4390 wxPoint temp4 ;
4391 wxSize temp5 ;
ae8162c8
RD
4392 bool temp6 = false ;
4393 bool temp9 = false ;
d55e5bfc
RD
4394 PyObject * obj0 = 0 ;
4395 PyObject * obj1 = 0 ;
4396 PyObject * obj2 = 0 ;
4397 PyObject * obj3 = 0 ;
4398 PyObject * obj4 = 0 ;
4399 PyObject * obj5 = 0 ;
4400 PyObject * obj6 = 0 ;
4401 PyObject * obj7 = 0 ;
4402 PyObject * obj8 = 0 ;
4403 char *kwnames[] = {
4404 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4410 if (obj1) {
093d3ff1 4411 {
7449af73 4412 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4413 if (SWIG_arg_fail(2)) SWIG_fail;
4414 }
d55e5bfc
RD
4415 }
4416 if (obj2) {
4417 {
4418 arg3 = wxString_in_helper(obj2);
4419 if (arg3 == NULL) SWIG_fail;
ae8162c8 4420 temp3 = true;
d55e5bfc
RD
4421 }
4422 }
4423 if (obj3) {
4424 {
4425 arg4 = &temp4;
4426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4427 }
4428 }
4429 if (obj4) {
4430 {
4431 arg5 = &temp5;
4432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4433 }
4434 }
4435 if (obj5) {
4436 {
4437 if (! PySequence_Check(obj5)) {
4438 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4439 SWIG_fail;
4440 }
4441 arg6 = new wxArrayString;
ae8162c8 4442 temp6 = true;
d55e5bfc
RD
4443 int i, len=PySequence_Length(obj5);
4444 for (i=0; i<len; i++) {
4445 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4446 wxString* s = wxString_in_helper(item);
d55e5bfc 4447 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4448 arg6->Add(*s);
4449 delete s;
d55e5bfc 4450 Py_DECREF(item);
d55e5bfc
RD
4451 }
4452 }
4453 }
4454 if (obj6) {
093d3ff1 4455 {
7449af73 4456 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
4457 if (SWIG_arg_fail(7)) SWIG_fail;
4458 }
d55e5bfc
RD
4459 }
4460 if (obj7) {
093d3ff1
RD
4461 {
4462 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4463 if (SWIG_arg_fail(8)) SWIG_fail;
4464 if (arg8 == NULL) {
4465 SWIG_null_ref("wxValidator");
4466 }
4467 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4468 }
4469 }
4470 if (obj8) {
4471 {
4472 arg9 = wxString_in_helper(obj8);
4473 if (arg9 == NULL) SWIG_fail;
ae8162c8 4474 temp9 = true;
d55e5bfc
RD
4475 }
4476 }
4477 {
0439c23b 4478 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 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);
4481
4482 wxPyEndAllowThreads(__tstate);
110da5b0 4483 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4484 }
4485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4486 {
4487 if (temp3)
4488 delete arg3;
4489 }
4490 {
4491 if (temp6) delete arg6;
4492 }
4493 {
4494 if (temp9)
4495 delete arg9;
4496 }
4497 return resultobj;
4498 fail:
4499 {
4500 if (temp3)
4501 delete arg3;
4502 }
4503 {
4504 if (temp6) delete arg6;
4505 }
4506 {
4507 if (temp9)
4508 delete arg9;
4509 }
4510 return NULL;
4511}
4512
4513
c32bde28 4514static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4515 PyObject *resultobj = NULL;
d55e5bfc
RD
4516 wxComboBox *result;
4517 char *kwnames[] = {
4518 NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4522 {
0439c23b 4523 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 result = (wxComboBox *)new wxComboBox();
4526
4527 wxPyEndAllowThreads(__tstate);
110da5b0 4528 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4529 }
4530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4531 return resultobj;
4532 fail:
4533 return NULL;
4534}
4535
4536
c32bde28 4537static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4538 PyObject *resultobj = NULL;
d55e5bfc
RD
4539 wxComboBox *arg1 = (wxComboBox *) 0 ;
4540 wxWindow *arg2 = (wxWindow *) 0 ;
4541 int arg3 = (int) -1 ;
4542 wxString const &arg4_defvalue = wxPyEmptyString ;
4543 wxString *arg4 = (wxString *) &arg4_defvalue ;
4544 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4545 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4546 wxSize const &arg6_defvalue = wxDefaultSize ;
4547 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4548 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4549 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4550 long arg8 = (long) 0 ;
4551 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4552 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4553 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4554 wxString *arg10 = (wxString *) &arg10_defvalue ;
4555 bool result;
ae8162c8 4556 bool temp4 = false ;
d55e5bfc
RD
4557 wxPoint temp5 ;
4558 wxSize temp6 ;
ae8162c8
RD
4559 bool temp7 = false ;
4560 bool temp10 = false ;
d55e5bfc
RD
4561 PyObject * obj0 = 0 ;
4562 PyObject * obj1 = 0 ;
4563 PyObject * obj2 = 0 ;
4564 PyObject * obj3 = 0 ;
4565 PyObject * obj4 = 0 ;
4566 PyObject * obj5 = 0 ;
4567 PyObject * obj6 = 0 ;
4568 PyObject * obj7 = 0 ;
4569 PyObject * obj8 = 0 ;
4570 PyObject * obj9 = 0 ;
4571 char *kwnames[] = {
4572 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4573 };
4574
4575 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
4576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail;
4578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4579 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4580 if (obj2) {
093d3ff1 4581 {
7449af73 4582 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4583 if (SWIG_arg_fail(3)) SWIG_fail;
4584 }
d55e5bfc
RD
4585 }
4586 if (obj3) {
4587 {
4588 arg4 = wxString_in_helper(obj3);
4589 if (arg4 == NULL) SWIG_fail;
ae8162c8 4590 temp4 = true;
d55e5bfc
RD
4591 }
4592 }
4593 if (obj4) {
4594 {
4595 arg5 = &temp5;
4596 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4597 }
4598 }
4599 if (obj5) {
4600 {
4601 arg6 = &temp6;
4602 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4603 }
4604 }
4605 if (obj6) {
4606 {
4607 if (! PySequence_Check(obj6)) {
4608 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4609 SWIG_fail;
4610 }
4611 arg7 = new wxArrayString;
ae8162c8 4612 temp7 = true;
d55e5bfc
RD
4613 int i, len=PySequence_Length(obj6);
4614 for (i=0; i<len; i++) {
4615 PyObject* item = PySequence_GetItem(obj6, i);
71237536 4616 wxString* s = wxString_in_helper(item);
d55e5bfc 4617 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4618 arg7->Add(*s);
4619 delete s;
d55e5bfc 4620 Py_DECREF(item);
d55e5bfc
RD
4621 }
4622 }
4623 }
4624 if (obj7) {
093d3ff1 4625 {
7449af73 4626 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
4627 if (SWIG_arg_fail(8)) SWIG_fail;
4628 }
d55e5bfc
RD
4629 }
4630 if (obj8) {
093d3ff1
RD
4631 {
4632 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4633 if (SWIG_arg_fail(9)) SWIG_fail;
4634 if (arg9 == NULL) {
4635 SWIG_null_ref("wxValidator");
4636 }
4637 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4638 }
4639 }
4640 if (obj9) {
4641 {
4642 arg10 = wxString_in_helper(obj9);
4643 if (arg10 == NULL) SWIG_fail;
ae8162c8 4644 temp10 = true;
d55e5bfc
RD
4645 }
4646 }
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 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);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 {
4655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4656 }
4657 {
4658 if (temp4)
4659 delete arg4;
4660 }
4661 {
4662 if (temp7) delete arg7;
4663 }
4664 {
4665 if (temp10)
4666 delete arg10;
4667 }
4668 return resultobj;
4669 fail:
4670 {
4671 if (temp4)
4672 delete arg4;
4673 }
4674 {
4675 if (temp7) delete arg7;
4676 }
4677 {
4678 if (temp10)
4679 delete arg10;
4680 }
4681 return NULL;
4682}
4683
4684
c32bde28 4685static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4686 PyObject *resultobj = NULL;
d55e5bfc
RD
4687 wxComboBox *arg1 = (wxComboBox *) 0 ;
4688 wxString result;
4689 PyObject * obj0 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4696 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 result = ((wxComboBox const *)arg1)->GetValue();
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 {
4705#if wxUSE_UNICODE
4706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4707#else
4708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4709#endif
4710 }
4711 return resultobj;
4712 fail:
4713 return NULL;
4714}
4715
4716
c32bde28 4717static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4718 PyObject *resultobj = NULL;
d55e5bfc
RD
4719 wxComboBox *arg1 = (wxComboBox *) 0 ;
4720 wxString *arg2 = 0 ;
ae8162c8 4721 bool temp2 = false ;
d55e5bfc
RD
4722 PyObject * obj0 = 0 ;
4723 PyObject * obj1 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "value", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4731 {
4732 arg2 = wxString_in_helper(obj1);
4733 if (arg2 == NULL) SWIG_fail;
ae8162c8 4734 temp2 = true;
d55e5bfc
RD
4735 }
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 (arg1)->SetValue((wxString const &)*arg2);
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 Py_INCREF(Py_None); resultobj = Py_None;
4744 {
4745 if (temp2)
4746 delete arg2;
4747 }
4748 return resultobj;
4749 fail:
4750 {
4751 if (temp2)
4752 delete arg2;
4753 }
4754 return NULL;
4755}
4756
4757
c32bde28 4758static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4759 PyObject *resultobj = NULL;
d55e5bfc
RD
4760 wxComboBox *arg1 = (wxComboBox *) 0 ;
4761 PyObject * obj0 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 (arg1)->Copy();
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 Py_INCREF(Py_None); resultobj = Py_None;
4777 return resultobj;
4778 fail:
4779 return NULL;
4780}
4781
4782
c32bde28 4783static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4784 PyObject *resultobj = NULL;
d55e5bfc
RD
4785 wxComboBox *arg1 = (wxComboBox *) 0 ;
4786 PyObject * obj0 = 0 ;
4787 char *kwnames[] = {
4788 (char *) "self", NULL
4789 };
4790
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 (arg1)->Cut();
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 Py_INCREF(Py_None); resultobj = Py_None;
4802 return resultobj;
4803 fail:
4804 return NULL;
4805}
4806
4807
c32bde28 4808static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4809 PyObject *resultobj = NULL;
d55e5bfc
RD
4810 wxComboBox *arg1 = (wxComboBox *) 0 ;
4811 PyObject * obj0 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "self", NULL
4814 };
4815
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4819 {
4820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4821 (arg1)->Paste();
4822
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 Py_INCREF(Py_None); resultobj = Py_None;
4827 return resultobj;
4828 fail:
4829 return NULL;
4830}
4831
4832
c32bde28 4833static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4834 PyObject *resultobj = NULL;
d55e5bfc
RD
4835 wxComboBox *arg1 = (wxComboBox *) 0 ;
4836 long arg2 ;
4837 PyObject * obj0 = 0 ;
4838 PyObject * obj1 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self",(char *) "pos", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4845 if (SWIG_arg_fail(1)) SWIG_fail;
4846 {
7449af73 4847 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4848 if (SWIG_arg_fail(2)) SWIG_fail;
4849 }
d55e5bfc
RD
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 (arg1)->SetInsertionPoint(arg2);
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 Py_INCREF(Py_None); resultobj = Py_None;
4858 return resultobj;
4859 fail:
4860 return NULL;
4861}
4862
4863
c32bde28 4864static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4865 PyObject *resultobj = NULL;
d55e5bfc
RD
4866 wxComboBox *arg1 = (wxComboBox *) 0 ;
4867 long result;
4868 PyObject * obj0 = 0 ;
4869 char *kwnames[] = {
4870 (char *) "self", NULL
4871 };
4872
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
093d3ff1 4883 {
7449af73 4884 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 4885 }
d55e5bfc
RD
4886 return resultobj;
4887 fail:
4888 return NULL;
4889}
4890
4891
c32bde28 4892static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4893 PyObject *resultobj = NULL;
d55e5bfc
RD
4894 wxComboBox *arg1 = (wxComboBox *) 0 ;
4895 long result;
4896 PyObject * obj0 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
093d3ff1 4911 {
7449af73 4912 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 4913 }
d55e5bfc
RD
4914 return resultobj;
4915 fail:
4916 return NULL;
4917}
4918
4919
c32bde28 4920static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4921 PyObject *resultobj = NULL;
d55e5bfc
RD
4922 wxComboBox *arg1 = (wxComboBox *) 0 ;
4923 long arg2 ;
4924 long arg3 ;
4925 wxString *arg4 = 0 ;
ae8162c8 4926 bool temp4 = false ;
d55e5bfc
RD
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 PyObject * obj2 = 0 ;
4930 PyObject * obj3 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4937 if (SWIG_arg_fail(1)) SWIG_fail;
4938 {
7449af73 4939 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4940 if (SWIG_arg_fail(2)) SWIG_fail;
4941 }
4942 {
7449af73 4943 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
4944 if (SWIG_arg_fail(3)) SWIG_fail;
4945 }
d55e5bfc
RD
4946 {
4947 arg4 = wxString_in_helper(obj3);
4948 if (arg4 == NULL) SWIG_fail;
ae8162c8 4949 temp4 = true;
d55e5bfc
RD
4950 }
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 {
4960 if (temp4)
4961 delete arg4;
4962 }
4963 return resultobj;
4964 fail:
4965 {
4966 if (temp4)
4967 delete arg4;
4968 }
4969 return NULL;
4970}
4971
4972
c32bde28 4973static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4974 PyObject *resultobj = NULL;
d55e5bfc
RD
4975 wxComboBox *arg1 = (wxComboBox *) 0 ;
4976 int arg2 ;
4977 PyObject * obj0 = 0 ;
4978 PyObject * obj1 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self",(char *) "n", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail;
4986 {
7449af73 4987 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4988 if (SWIG_arg_fail(2)) SWIG_fail;
4989 }
d55e5bfc
RD
4990 {
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 (arg1)->SetSelection(arg2);
4993
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 Py_INCREF(Py_None); resultobj = Py_None;
4998 return resultobj;
4999 fail:
5000 return NULL;
5001}
5002
5003
c32bde28 5004static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5005 PyObject *resultobj = NULL;
d55e5bfc
RD
5006 wxComboBox *arg1 = (wxComboBox *) 0 ;
5007 long arg2 ;
5008 long arg3 ;
5009 PyObject * obj0 = 0 ;
5010 PyObject * obj1 = 0 ;
5011 PyObject * obj2 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self",(char *) "from",(char *) "to", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail;
5019 {
7449af73 5020 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5021 if (SWIG_arg_fail(2)) SWIG_fail;
5022 }
5023 {
7449af73 5024 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5025 if (SWIG_arg_fail(3)) SWIG_fail;
5026 }
d55e5bfc
RD
5027 {
5028 PyThreadState* __tstate = wxPyBeginAllowThreads();
5029 (arg1)->SetSelection(arg2,arg3);
5030
5031 wxPyEndAllowThreads(__tstate);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 }
5034 Py_INCREF(Py_None); resultobj = Py_None;
5035 return resultobj;
5036 fail:
5037 return NULL;
5038}
5039
5040
f78cc896 5041static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5042 PyObject *resultobj = NULL;
f78cc896
RD
5043 wxComboBox *arg1 = (wxComboBox *) 0 ;
5044 long *arg2 = (long *) 0 ;
5045 long *arg3 = (long *) 0 ;
5046 long temp2 ;
5047 int res2 = 0 ;
5048 long temp3 ;
5049 int res3 = 0 ;
5050 PyObject * obj0 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self", NULL
5053 };
5054
5055 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5056 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
093d3ff1
RD
5058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail;
f78cc896
RD
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 (arg1)->GetSelection(arg2,arg3);
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 Py_INCREF(Py_None); resultobj = Py_None;
5068 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5069 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
5070 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5071 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
5072 return resultobj;
5073 fail:
5074 return NULL;
5075}
5076
5077
9d7dfdff 5078static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5079 PyObject *resultobj = NULL;
9d7dfdff
RD
5080 wxComboBox *arg1 = (wxComboBox *) 0 ;
5081 int result;
5082 PyObject * obj0 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
5088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 {
7449af73 5098 resultobj = SWIG_From_int(static_cast<int >(result));
9d7dfdff
RD
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103}
5104
5105
c32bde28 5106static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5107 PyObject *resultobj = NULL;
121b9a67
RD
5108 wxComboBox *arg1 = (wxComboBox *) 0 ;
5109 wxString *arg2 = 0 ;
5110 bool result;
ae8162c8 5111 bool temp2 = false ;
121b9a67
RD
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self",(char *) "string", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5120 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
5121 {
5122 arg2 = wxString_in_helper(obj1);
5123 if (arg2 == NULL) SWIG_fail;
ae8162c8 5124 temp2 = true;
121b9a67
RD
5125 }
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5129
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 {
5134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5135 }
5136 {
5137 if (temp2)
5138 delete arg2;
5139 }
5140 return resultobj;
5141 fail:
5142 {
5143 if (temp2)
5144 delete arg2;
5145 }
5146 return NULL;
5147}
5148
5149
c32bde28 5150static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5151 PyObject *resultobj = NULL;
121b9a67
RD
5152 wxComboBox *arg1 = (wxComboBox *) 0 ;
5153 int arg2 ;
5154 wxString *arg3 = 0 ;
ae8162c8 5155 bool temp3 = false ;
121b9a67
RD
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 PyObject * obj2 = 0 ;
5159 char *kwnames[] = {
5160 (char *) "self",(char *) "n",(char *) "string", NULL
5161 };
5162
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5165 if (SWIG_arg_fail(1)) SWIG_fail;
5166 {
7449af73 5167 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5168 if (SWIG_arg_fail(2)) SWIG_fail;
5169 }
121b9a67
RD
5170 {
5171 arg3 = wxString_in_helper(obj2);
5172 if (arg3 == NULL) SWIG_fail;
ae8162c8 5173 temp3 = true;
121b9a67
RD
5174 }
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->SetString(arg2,(wxString const &)*arg3);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 {
5184 if (temp3)
5185 delete arg3;
5186 }
5187 return resultobj;
5188 fail:
5189 {
5190 if (temp3)
5191 delete arg3;
5192 }
5193 return NULL;
5194}
5195
5196
c32bde28 5197static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5198 PyObject *resultobj = NULL;
d55e5bfc
RD
5199 wxComboBox *arg1 = (wxComboBox *) 0 ;
5200 bool arg2 ;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self",(char *) "editable", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail;
5210 {
7449af73 5211 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
5212 if (SWIG_arg_fail(2)) SWIG_fail;
5213 }
d55e5bfc
RD
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 (arg1)->SetEditable(arg2);
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
5221 Py_INCREF(Py_None); resultobj = Py_None;
5222 return resultobj;
5223 fail:
5224 return NULL;
5225}
5226
5227
c32bde28 5228static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5229 PyObject *resultobj = NULL;
d55e5bfc
RD
5230 wxComboBox *arg1 = (wxComboBox *) 0 ;
5231 PyObject * obj0 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
5237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 (arg1)->SetInsertionPointEnd();
5242
5243 wxPyEndAllowThreads(__tstate);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 }
5246 Py_INCREF(Py_None); resultobj = Py_None;
5247 return resultobj;
5248 fail:
5249 return NULL;
5250}
5251
5252
c32bde28 5253static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5254 PyObject *resultobj = NULL;
d55e5bfc
RD
5255 wxComboBox *arg1 = (wxComboBox *) 0 ;
5256 long arg2 ;
5257 long arg3 ;
5258 PyObject * obj0 = 0 ;
5259 PyObject * obj1 = 0 ;
5260 PyObject * obj2 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self",(char *) "from",(char *) "to", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5267 if (SWIG_arg_fail(1)) SWIG_fail;
5268 {
7449af73 5269 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5270 if (SWIG_arg_fail(2)) SWIG_fail;
5271 }
5272 {
7449af73 5273 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5274 if (SWIG_arg_fail(3)) SWIG_fail;
5275 }
d55e5bfc
RD
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 (arg1)->Remove(arg2,arg3);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 Py_INCREF(Py_None); resultobj = Py_None;
5284 return resultobj;
5285 fail:
5286 return NULL;
5287}
5288
5289
b519803b 5290static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5291 PyObject *resultobj = NULL;
b519803b
RD
5292 wxComboBox *arg1 = (wxComboBox *) 0 ;
5293 bool result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 {
5310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5311 }
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
5318static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5319 PyObject *resultobj = NULL;
b519803b
RD
5320 wxComboBox *arg1 = (wxComboBox *) 0 ;
5321 PyObject * obj0 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5328 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 (arg1)->Undo();
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 return resultobj;
5338 fail:
5339 return NULL;
5340}
5341
5342
5343static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5344 PyObject *resultobj = NULL;
b519803b
RD
5345 wxComboBox *arg1 = (wxComboBox *) 0 ;
5346 PyObject * obj0 = 0 ;
5347 char *kwnames[] = {
5348 (char *) "self", NULL
5349 };
5350
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 (arg1)->Redo();
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 Py_INCREF(Py_None); resultobj = Py_None;
5362 return resultobj;
5363 fail:
5364 return NULL;
5365}
5366
5367
5368static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5369 PyObject *resultobj = NULL;
b519803b
RD
5370 wxComboBox *arg1 = (wxComboBox *) 0 ;
5371 PyObject * obj0 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5378 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->SelectAll();
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 Py_INCREF(Py_None); resultobj = Py_None;
5387 return resultobj;
5388 fail:
5389 return NULL;
5390}
5391
5392
5393static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5394 PyObject *resultobj = NULL;
b519803b
RD
5395 wxComboBox *arg1 = (wxComboBox *) 0 ;
5396 bool result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5404 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 {
5413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5414 }
5415 return resultobj;
5416 fail:
5417 return NULL;
5418}
5419
5420
5421static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5422 PyObject *resultobj = NULL;
b519803b
RD
5423 wxComboBox *arg1 = (wxComboBox *) 0 ;
5424 bool result;
5425 PyObject * obj0 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5432 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 result = (bool)((wxComboBox const *)arg1)->CanCut();
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 {
5441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5442 }
5443 return resultobj;
5444 fail:
5445 return NULL;
5446}
5447
5448
5449static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5450 PyObject *resultobj = NULL;
b519803b
RD
5451 wxComboBox *arg1 = (wxComboBox *) 0 ;
5452 bool result;
5453 PyObject * obj0 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5460 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 {
5469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5470 }
5471 return resultobj;
5472 fail:
5473 return NULL;
5474}
5475
5476
5477static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5478 PyObject *resultobj = NULL;
b519803b
RD
5479 wxComboBox *arg1 = (wxComboBox *) 0 ;
5480 bool result;
5481 PyObject * obj0 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5488 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 {
5497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5498 }
5499 return resultobj;
5500 fail:
5501 return NULL;
5502}
5503
5504
5505static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5506 PyObject *resultobj = NULL;
b519803b
RD
5507 wxComboBox *arg1 = (wxComboBox *) 0 ;
5508 bool result;
5509 PyObject * obj0 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5516 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 {
5525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5526 }
5527 return resultobj;
5528 fail:
5529 return NULL;
5530}
5531
5532
c32bde28 5533static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5534 PyObject *resultobj = NULL;
093d3ff1 5535 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5536 wxVisualAttributes result;
5537 PyObject * obj0 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "variant", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5543 if (obj0) {
093d3ff1 5544 {
7449af73 5545 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
5546 if (SWIG_arg_fail(1)) SWIG_fail;
5547 }
f20a2e1f
RD
5548 }
5549 {
19272049 5550 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 5552 result = wxComboBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
5553
5554 wxPyEndAllowThreads(__tstate);
110da5b0 5555 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5556 }
5557 {
5558 wxVisualAttributes * resultptr;
7449af73 5559 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
5560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5561 }
5562 return resultobj;
5563 fail:
5564 return NULL;
5565}
5566
5567
c32bde28 5568static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5569 PyObject *obj;
5570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5571 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5572 Py_INCREF(obj);
5573 return Py_BuildValue((char *)"");
5574}
c32bde28 5575static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5576 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5577 return 1;
5578}
5579
5580
093d3ff1 5581static PyObject *_wrap_GaugeNameStr_get(void) {
7449af73 5582 PyObject *pyobj = NULL;
d55e5bfc
RD
5583
5584 {
5585#if wxUSE_UNICODE
5586 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5587#else
5588 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5589#endif
5590 }
5591 return pyobj;
5592}
5593
5594
c32bde28 5595static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5596 PyObject *resultobj = NULL;
d55e5bfc 5597 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5598 int arg2 = (int) -1 ;
5599 int arg3 = (int) 100 ;
d55e5bfc
RD
5600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5602 wxSize const &arg5_defvalue = wxDefaultSize ;
5603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5604 long arg6 = (long) wxGA_HORIZONTAL ;
5605 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5606 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5607 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5608 wxString *arg8 = (wxString *) &arg8_defvalue ;
5609 wxGauge *result;
5610 wxPoint temp4 ;
5611 wxSize temp5 ;
ae8162c8 5612 bool temp8 = false ;
d55e5bfc
RD
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 PyObject * obj2 = 0 ;
5616 PyObject * obj3 = 0 ;
5617 PyObject * obj4 = 0 ;
5618 PyObject * obj5 = 0 ;
5619 PyObject * obj6 = 0 ;
5620 PyObject * obj7 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5623 };
5624
248ed943 5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5628 if (obj1) {
093d3ff1 5629 {
7449af73 5630 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5631 if (SWIG_arg_fail(2)) SWIG_fail;
5632 }
248ed943
RD
5633 }
5634 if (obj2) {
093d3ff1 5635 {
7449af73 5636 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5637 if (SWIG_arg_fail(3)) SWIG_fail;
5638 }
248ed943 5639 }
d55e5bfc
RD
5640 if (obj3) {
5641 {
5642 arg4 = &temp4;
5643 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5644 }
5645 }
5646 if (obj4) {
5647 {
5648 arg5 = &temp5;
5649 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5650 }
5651 }
5652 if (obj5) {
093d3ff1 5653 {
7449af73 5654 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
5655 if (SWIG_arg_fail(6)) SWIG_fail;
5656 }
d55e5bfc
RD
5657 }
5658 if (obj6) {
093d3ff1
RD
5659 {
5660 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5661 if (SWIG_arg_fail(7)) SWIG_fail;
5662 if (arg7 == NULL) {
5663 SWIG_null_ref("wxValidator");
5664 }
5665 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5666 }
5667 }
5668 if (obj7) {
5669 {
5670 arg8 = wxString_in_helper(obj7);
5671 if (arg8 == NULL) SWIG_fail;
ae8162c8 5672 temp8 = true;
d55e5bfc
RD
5673 }
5674 }
5675 {
0439c23b 5676 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5679
5680 wxPyEndAllowThreads(__tstate);
110da5b0 5681 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5682 }
5683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5684 {
5685 if (temp8)
5686 delete arg8;
5687 }
5688 return resultobj;
5689 fail:
5690 {
5691 if (temp8)
5692 delete arg8;
5693 }
5694 return NULL;
5695}
5696
5697
c32bde28 5698static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5699 PyObject *resultobj = NULL;
d55e5bfc
RD
5700 wxGauge *result;
5701 char *kwnames[] = {
5702 NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5706 {
0439c23b 5707 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (wxGauge *)new wxGauge();
5710
5711 wxPyEndAllowThreads(__tstate);
110da5b0 5712 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5713 }
5714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5715 return resultobj;
5716 fail:
5717 return NULL;
5718}
5719
5720
c32bde28 5721static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5722 PyObject *resultobj = NULL;
d55e5bfc
RD
5723 wxGauge *arg1 = (wxGauge *) 0 ;
5724 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5725 int arg3 = (int) -1 ;
5726 int arg4 = (int) 100 ;
d55e5bfc
RD
5727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5729 wxSize const &arg6_defvalue = wxDefaultSize ;
5730 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5731 long arg7 = (long) wxGA_HORIZONTAL ;
5732 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5733 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5734 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5735 wxString *arg9 = (wxString *) &arg9_defvalue ;
5736 bool result;
5737 wxPoint temp5 ;
5738 wxSize temp6 ;
ae8162c8 5739 bool temp9 = false ;
d55e5bfc
RD
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
5742 PyObject * obj2 = 0 ;
5743 PyObject * obj3 = 0 ;
5744 PyObject * obj4 = 0 ;
5745 PyObject * obj5 = 0 ;
5746 PyObject * obj6 = 0 ;
5747 PyObject * obj7 = 0 ;
5748 PyObject * obj8 = 0 ;
5749 char *kwnames[] = {
5750 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5751 };
5752
248ed943 5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5755 if (SWIG_arg_fail(1)) SWIG_fail;
5756 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5757 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5758 if (obj2) {
093d3ff1 5759 {
7449af73 5760 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5761 if (SWIG_arg_fail(3)) SWIG_fail;
5762 }
248ed943
RD
5763 }
5764 if (obj3) {
093d3ff1 5765 {
7449af73 5766 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
5767 if (SWIG_arg_fail(4)) SWIG_fail;
5768 }
248ed943 5769 }
d55e5bfc
RD
5770 if (obj4) {
5771 {
5772 arg5 = &temp5;
5773 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5774 }
5775 }
5776 if (obj5) {
5777 {
5778 arg6 = &temp6;
5779 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5780 }
5781 }
5782 if (obj6) {
093d3ff1 5783 {
7449af73 5784 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
5785 if (SWIG_arg_fail(7)) SWIG_fail;
5786 }
d55e5bfc
RD
5787 }
5788 if (obj7) {
093d3ff1
RD
5789 {
5790 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5791 if (SWIG_arg_fail(8)) SWIG_fail;
5792 if (arg8 == NULL) {
5793 SWIG_null_ref("wxValidator");
5794 }
5795 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5796 }
5797 }
5798 if (obj8) {
5799 {
5800 arg9 = wxString_in_helper(obj8);
5801 if (arg9 == NULL) SWIG_fail;
ae8162c8 5802 temp9 = true;
d55e5bfc
RD
5803 }
5804 }
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 {
5813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5814 }
5815 {
5816 if (temp9)
5817 delete arg9;
5818 }
5819 return resultobj;
5820 fail:
5821 {
5822 if (temp9)
5823 delete arg9;
5824 }
5825 return NULL;
5826}
5827
5828
c32bde28 5829static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5830 PyObject *resultobj = NULL;
d55e5bfc
RD
5831 wxGauge *arg1 = (wxGauge *) 0 ;
5832 int arg2 ;
5833 PyObject * obj0 = 0 ;
5834 PyObject * obj1 = 0 ;
5835 char *kwnames[] = {
5836 (char *) "self",(char *) "range", NULL
5837 };
5838
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5841 if (SWIG_arg_fail(1)) SWIG_fail;
5842 {
7449af73 5843 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5844 if (SWIG_arg_fail(2)) SWIG_fail;
5845 }
d55e5bfc
RD
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 (arg1)->SetRange(arg2);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857}
5858
5859
c32bde28 5860static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5861 PyObject *resultobj = NULL;
d55e5bfc
RD
5862 wxGauge *arg1 = (wxGauge *) 0 ;
5863 int result;
5864 PyObject * obj0 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "self", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 result = (int)((wxGauge const *)arg1)->GetRange();
5875
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
093d3ff1 5879 {
7449af73 5880 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5881 }
d55e5bfc
RD
5882 return resultobj;
5883 fail:
5884 return NULL;
5885}
5886
5887
c32bde28 5888static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5889 PyObject *resultobj = NULL;
d55e5bfc
RD
5890 wxGauge *arg1 = (wxGauge *) 0 ;
5891 int arg2 ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self",(char *) "pos", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail;
5901 {
7449af73 5902 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5903 if (SWIG_arg_fail(2)) SWIG_fail;
5904 }
d55e5bfc
RD
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 (arg1)->SetValue(arg2);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 Py_INCREF(Py_None); resultobj = Py_None;
5913 return resultobj;
5914 fail:
5915 return NULL;
5916}
5917
5918
c32bde28 5919static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5920 PyObject *resultobj = NULL;
d55e5bfc
RD
5921 wxGauge *arg1 = (wxGauge *) 0 ;
5922 int result;
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (int)((wxGauge const *)arg1)->GetValue();
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
093d3ff1 5938 {
7449af73 5939 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5940 }
d55e5bfc
RD
5941 return resultobj;
5942 fail:
5943 return NULL;
5944}
5945
5946
c32bde28 5947static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5948 PyObject *resultobj = NULL;
d55e5bfc
RD
5949 wxGauge *arg1 = (wxGauge *) 0 ;
5950 bool result;
5951 PyObject * obj0 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5958 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (bool)((wxGauge const *)arg1)->IsVertical();
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 {
5967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5968 }
5969 return resultobj;
5970 fail:
5971 return NULL;
5972}
5973
5974
c32bde28 5975static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5976 PyObject *resultobj = NULL;
d55e5bfc
RD
5977 wxGauge *arg1 = (wxGauge *) 0 ;
5978 int arg2 ;
5979 PyObject * obj0 = 0 ;
5980 PyObject * obj1 = 0 ;
5981 char *kwnames[] = {
5982 (char *) "self",(char *) "w", NULL
5983 };
5984
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5987 if (SWIG_arg_fail(1)) SWIG_fail;
5988 {
7449af73 5989 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5990 if (SWIG_arg_fail(2)) SWIG_fail;
5991 }
d55e5bfc
RD
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 (arg1)->SetShadowWidth(arg2);
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 Py_INCREF(Py_None); resultobj = Py_None;
6000 return resultobj;
6001 fail:
6002 return NULL;
6003}
6004
6005
c32bde28 6006static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6007 PyObject *resultobj = NULL;
d55e5bfc
RD
6008 wxGauge *arg1 = (wxGauge *) 0 ;
6009 int result;
6010 PyObject * obj0 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
6016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
6021
6022 wxPyEndAllowThreads(__tstate);
6023 if (PyErr_Occurred()) SWIG_fail;
6024 }
093d3ff1 6025 {
7449af73 6026 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6027 }
d55e5bfc
RD
6028 return resultobj;
6029 fail:
6030 return NULL;
6031}
6032
6033
c32bde28 6034static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6035 PyObject *resultobj = NULL;
d55e5bfc
RD
6036 wxGauge *arg1 = (wxGauge *) 0 ;
6037 int arg2 ;
6038 PyObject * obj0 = 0 ;
6039 PyObject * obj1 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self",(char *) "w", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6046 if (SWIG_arg_fail(1)) SWIG_fail;
6047 {
7449af73 6048 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6049 if (SWIG_arg_fail(2)) SWIG_fail;
6050 }
d55e5bfc
RD
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 (arg1)->SetBezelFace(arg2);
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 Py_INCREF(Py_None); resultobj = Py_None;
6059 return resultobj;
6060 fail:
6061 return NULL;
6062}
6063
6064
c32bde28 6065static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6066 PyObject *resultobj = NULL;
d55e5bfc
RD
6067 wxGauge *arg1 = (wxGauge *) 0 ;
6068 int result;
6069 PyObject * obj0 = 0 ;
6070 char *kwnames[] = {
6071 (char *) "self", NULL
6072 };
6073
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
6075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 result = (int)((wxGauge const *)arg1)->GetBezelFace();
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
093d3ff1 6084 {
7449af73 6085 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6086 }
d55e5bfc
RD
6087 return resultobj;
6088 fail:
6089 return NULL;
6090}
6091
6092
c32bde28 6093static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6094 PyObject *resultobj = NULL;
093d3ff1 6095 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6096 wxVisualAttributes result;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "variant", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6103 if (obj0) {
093d3ff1 6104 {
7449af73 6105 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6106 if (SWIG_arg_fail(1)) SWIG_fail;
6107 }
f20a2e1f
RD
6108 }
6109 {
19272049 6110 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6112 result = wxGauge::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6113
6114 wxPyEndAllowThreads(__tstate);
110da5b0 6115 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6116 }
6117 {
6118 wxVisualAttributes * resultptr;
7449af73 6119 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6121 }
6122 return resultobj;
6123 fail:
6124 return NULL;
6125}
6126
6127
c32bde28 6128static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6129 PyObject *obj;
6130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6131 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6132 Py_INCREF(obj);
6133 return Py_BuildValue((char *)"");
6134}
c32bde28 6135static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
6136 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6137 return 1;
6138}
6139
6140
093d3ff1 6141static PyObject *_wrap_StaticBitmapNameStr_get(void) {
7449af73 6142 PyObject *pyobj = NULL;
d55e5bfc
RD
6143
6144 {
6145#if wxUSE_UNICODE
6146 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6147#else
6148 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6149#endif
6150 }
6151 return pyobj;
6152}
6153
6154
c32bde28 6155static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
6156 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6157 return 1;
6158}
6159
6160
093d3ff1 6161static PyObject *_wrap_StaticBoxNameStr_get(void) {
7449af73 6162 PyObject *pyobj = NULL;
d55e5bfc
RD
6163
6164 {
6165#if wxUSE_UNICODE
6166 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6167#else
6168 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6169#endif
6170 }
6171 return pyobj;
6172}
6173
6174
c32bde28 6175static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
6176 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6177 return 1;
6178}
6179
6180
093d3ff1 6181static PyObject *_wrap_StaticTextNameStr_get(void) {
7449af73 6182 PyObject *pyobj = NULL;
d55e5bfc
RD
6183
6184 {
6185#if wxUSE_UNICODE
6186 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6187#else
6188 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6189#endif
6190 }
6191 return pyobj;
6192}
6193
6194
c32bde28 6195static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6196 PyObject *resultobj = NULL;
d55e5bfc 6197 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6198 int arg2 = (int) -1 ;
6199 wxString const &arg3_defvalue = wxPyEmptyString ;
6200 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6201 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6202 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6203 wxSize const &arg5_defvalue = wxDefaultSize ;
6204 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6205 long arg6 = (long) 0 ;
6206 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6207 wxString *arg7 = (wxString *) &arg7_defvalue ;
6208 wxStaticBox *result;
ae8162c8 6209 bool temp3 = false ;
d55e5bfc
RD
6210 wxPoint temp4 ;
6211 wxSize temp5 ;
ae8162c8 6212 bool temp7 = false ;
d55e5bfc
RD
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
6215 PyObject * obj2 = 0 ;
6216 PyObject * obj3 = 0 ;
6217 PyObject * obj4 = 0 ;
6218 PyObject * obj5 = 0 ;
6219 PyObject * obj6 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6222 };
6223
248ed943 6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6226 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6227 if (obj1) {
093d3ff1 6228 {
7449af73 6229 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6230 if (SWIG_arg_fail(2)) SWIG_fail;
6231 }
248ed943
RD
6232 }
6233 if (obj2) {
6234 {
6235 arg3 = wxString_in_helper(obj2);
6236 if (arg3 == NULL) SWIG_fail;
ae8162c8 6237 temp3 = true;
248ed943 6238 }
d55e5bfc
RD
6239 }
6240 if (obj3) {
6241 {
6242 arg4 = &temp4;
6243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6244 }
6245 }
6246 if (obj4) {
6247 {
6248 arg5 = &temp5;
6249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6250 }
6251 }
6252 if (obj5) {
093d3ff1 6253 {
7449af73 6254 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6255 if (SWIG_arg_fail(6)) SWIG_fail;
6256 }
d55e5bfc
RD
6257 }
6258 if (obj6) {
6259 {
6260 arg7 = wxString_in_helper(obj6);
6261 if (arg7 == NULL) SWIG_fail;
ae8162c8 6262 temp7 = true;
d55e5bfc
RD
6263 }
6264 }
6265 {
0439c23b 6266 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6269
6270 wxPyEndAllowThreads(__tstate);
110da5b0 6271 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6272 }
b0f7404b 6273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6274 {
6275 if (temp3)
6276 delete arg3;
6277 }
6278 {
6279 if (temp7)
6280 delete arg7;
6281 }
6282 return resultobj;
6283 fail:
6284 {
6285 if (temp3)
6286 delete arg3;
6287 }
6288 {
6289 if (temp7)
6290 delete arg7;
6291 }
6292 return NULL;
6293}
6294
6295
c32bde28 6296static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6297 PyObject *resultobj = NULL;
d55e5bfc
RD
6298 wxStaticBox *result;
6299 char *kwnames[] = {
6300 NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6304 {
0439c23b 6305 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (wxStaticBox *)new wxStaticBox();
6308
6309 wxPyEndAllowThreads(__tstate);
110da5b0 6310 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6311 }
b0f7404b 6312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6313 return resultobj;
6314 fail:
6315 return NULL;
6316}
6317
6318
c32bde28 6319static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6320 PyObject *resultobj = NULL;
d55e5bfc
RD
6321 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6322 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6323 int arg3 = (int) -1 ;
6324 wxString const &arg4_defvalue = wxPyEmptyString ;
6325 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6326 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6327 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6328 wxSize const &arg6_defvalue = wxDefaultSize ;
6329 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6330 long arg7 = (long) 0 ;
6331 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6332 wxString *arg8 = (wxString *) &arg8_defvalue ;
6333 bool result;
ae8162c8 6334 bool temp4 = false ;
d55e5bfc
RD
6335 wxPoint temp5 ;
6336 wxSize temp6 ;
ae8162c8 6337 bool temp8 = false ;
d55e5bfc
RD
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 PyObject * obj2 = 0 ;
6341 PyObject * obj3 = 0 ;
6342 PyObject * obj4 = 0 ;
6343 PyObject * obj5 = 0 ;
6344 PyObject * obj6 = 0 ;
6345 PyObject * obj7 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6348 };
6349
248ed943 6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6352 if (SWIG_arg_fail(1)) SWIG_fail;
6353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6354 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6355 if (obj2) {
093d3ff1 6356 {
7449af73 6357 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6358 if (SWIG_arg_fail(3)) SWIG_fail;
6359 }
248ed943
RD
6360 }
6361 if (obj3) {
6362 {
6363 arg4 = wxString_in_helper(obj3);
6364 if (arg4 == NULL) SWIG_fail;
ae8162c8 6365 temp4 = true;
248ed943 6366 }
d55e5bfc
RD
6367 }
6368 if (obj4) {
6369 {
6370 arg5 = &temp5;
6371 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6372 }
6373 }
6374 if (obj5) {
6375 {
6376 arg6 = &temp6;
6377 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6378 }
6379 }
6380 if (obj6) {
093d3ff1 6381 {
7449af73 6382 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6383 if (SWIG_arg_fail(7)) SWIG_fail;
6384 }
d55e5bfc
RD
6385 }
6386 if (obj7) {
6387 {
6388 arg8 = wxString_in_helper(obj7);
6389 if (arg8 == NULL) SWIG_fail;
ae8162c8 6390 temp8 = true;
d55e5bfc
RD
6391 }
6392 }
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 {
6401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6402 }
6403 {
6404 if (temp4)
6405 delete arg4;
6406 }
6407 {
6408 if (temp8)
6409 delete arg8;
6410 }
6411 return resultobj;
6412 fail:
6413 {
6414 if (temp4)
6415 delete arg4;
6416 }
6417 {
6418 if (temp8)
6419 delete arg8;
6420 }
6421 return NULL;
6422}
6423
6424
c32bde28 6425static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6426 PyObject *resultobj = NULL;
093d3ff1 6427 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6428 wxVisualAttributes result;
6429 PyObject * obj0 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "variant", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6435 if (obj0) {
093d3ff1 6436 {
7449af73 6437 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6438 if (SWIG_arg_fail(1)) SWIG_fail;
6439 }
f20a2e1f
RD
6440 }
6441 {
19272049 6442 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6444 result = wxStaticBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6445
6446 wxPyEndAllowThreads(__tstate);
110da5b0 6447 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6448 }
6449 {
6450 wxVisualAttributes * resultptr;
7449af73 6451 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6453 }
6454 return resultobj;
6455 fail:
6456 return NULL;
6457}
6458
6459
c32bde28 6460static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6461 PyObject *obj;
6462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6463 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6464 Py_INCREF(obj);
6465 return Py_BuildValue((char *)"");
6466}
c32bde28 6467static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6468 PyObject *resultobj = NULL;
d55e5bfc 6469 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6470 int arg2 = (int) -1 ;
d55e5bfc
RD
6471 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6472 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6473 wxSize const &arg4_defvalue = wxDefaultSize ;
6474 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6475 long arg5 = (long) wxLI_HORIZONTAL ;
6476 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6477 wxString *arg6 = (wxString *) &arg6_defvalue ;
6478 wxStaticLine *result;
6479 wxPoint temp3 ;
6480 wxSize temp4 ;
ae8162c8 6481 bool temp6 = false ;
d55e5bfc
RD
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 PyObject * obj2 = 0 ;
6485 PyObject * obj3 = 0 ;
6486 PyObject * obj4 = 0 ;
6487 PyObject * obj5 = 0 ;
6488 char *kwnames[] = {
6489 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6490 };
6491
248ed943 6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6494 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6495 if (obj1) {
093d3ff1 6496 {
7449af73 6497 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6498 if (SWIG_arg_fail(2)) SWIG_fail;
6499 }
248ed943 6500 }
d55e5bfc
RD
6501 if (obj2) {
6502 {
6503 arg3 = &temp3;
6504 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6505 }
6506 }
6507 if (obj3) {
6508 {
6509 arg4 = &temp4;
6510 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6511 }
6512 }
6513 if (obj4) {
093d3ff1 6514 {
7449af73 6515 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
6516 if (SWIG_arg_fail(5)) SWIG_fail;
6517 }
d55e5bfc
RD
6518 }
6519 if (obj5) {
6520 {
6521 arg6 = wxString_in_helper(obj5);
6522 if (arg6 == NULL) SWIG_fail;
ae8162c8 6523 temp6 = true;
d55e5bfc
RD
6524 }
6525 }
6526 {
0439c23b 6527 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6528 PyThreadState* __tstate = wxPyBeginAllowThreads();
6529 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6530
6531 wxPyEndAllowThreads(__tstate);
110da5b0 6532 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6533 }
6534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6535 {
6536 if (temp6)
6537 delete arg6;
6538 }
6539 return resultobj;
6540 fail:
6541 {
6542 if (temp6)
6543 delete arg6;
6544 }
6545 return NULL;
6546}
6547
6548
c32bde28 6549static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6550 PyObject *resultobj = NULL;
d55e5bfc
RD
6551 wxStaticLine *result;
6552 char *kwnames[] = {
6553 NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6557 {
0439c23b 6558 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 result = (wxStaticLine *)new wxStaticLine();
6561
6562 wxPyEndAllowThreads(__tstate);
110da5b0 6563 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6564 }
6565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6566 return resultobj;
6567 fail:
6568 return NULL;
6569}
6570
6571
c32bde28 6572static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6573 PyObject *resultobj = NULL;
d55e5bfc
RD
6574 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6575 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6576 int arg3 = (int) -1 ;
d55e5bfc
RD
6577 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6578 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6579 wxSize const &arg5_defvalue = wxDefaultSize ;
6580 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6581 long arg6 = (long) wxLI_HORIZONTAL ;
6582 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6583 wxString *arg7 = (wxString *) &arg7_defvalue ;
6584 bool result;
6585 wxPoint temp4 ;
6586 wxSize temp5 ;
ae8162c8 6587 bool temp7 = false ;
d55e5bfc
RD
6588 PyObject * obj0 = 0 ;
6589 PyObject * obj1 = 0 ;
6590 PyObject * obj2 = 0 ;
6591 PyObject * obj3 = 0 ;
6592 PyObject * obj4 = 0 ;
6593 PyObject * obj5 = 0 ;
6594 PyObject * obj6 = 0 ;
6595 char *kwnames[] = {
6596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6597 };
6598
248ed943 6599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail;
6602 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6603 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6604 if (obj2) {
093d3ff1 6605 {
7449af73 6606 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6607 if (SWIG_arg_fail(3)) SWIG_fail;
6608 }
248ed943 6609 }
d55e5bfc
RD
6610 if (obj3) {
6611 {
6612 arg4 = &temp4;
6613 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6614 }
6615 }
6616 if (obj4) {
6617 {
6618 arg5 = &temp5;
6619 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6620 }
6621 }
6622 if (obj5) {
093d3ff1 6623 {
7449af73 6624 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6625 if (SWIG_arg_fail(6)) SWIG_fail;
6626 }
d55e5bfc
RD
6627 }
6628 if (obj6) {
6629 {
6630 arg7 = wxString_in_helper(obj6);
6631 if (arg7 == NULL) SWIG_fail;
ae8162c8 6632 temp7 = true;
d55e5bfc
RD
6633 }
6634 }
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 {
6643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6644 }
6645 {
6646 if (temp7)
6647 delete arg7;
6648 }
6649 return resultobj;
6650 fail:
6651 {
6652 if (temp7)
6653 delete arg7;
6654 }
6655 return NULL;
6656}
6657
6658
c32bde28 6659static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6660 PyObject *resultobj = NULL;
d55e5bfc
RD
6661 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6662 bool result;
6663 PyObject * obj0 = 0 ;
6664 char *kwnames[] = {
6665 (char *) "self", NULL
6666 };
6667
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6674
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 {
6679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6680 }
6681 return resultobj;
6682 fail:
6683 return NULL;
6684}
6685
6686
c32bde28 6687static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6688 PyObject *resultobj = NULL;
d55e5bfc
RD
6689 int result;
6690 char *kwnames[] = {
6691 NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 result = (int)wxStaticLine::GetDefaultSize();
6698
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
093d3ff1 6702 {
7449af73 6703 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6704 }
d55e5bfc
RD
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
c32bde28 6711static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6712 PyObject *resultobj = NULL;
093d3ff1 6713 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6714 wxVisualAttributes result;
6715 PyObject * obj0 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "variant", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6721 if (obj0) {
093d3ff1 6722 {
7449af73 6723 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6724 if (SWIG_arg_fail(1)) SWIG_fail;
6725 }
f20a2e1f
RD
6726 }
6727 {
19272049 6728 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6730 result = wxStaticLine::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6731
6732 wxPyEndAllowThreads(__tstate);
110da5b0 6733 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6734 }
6735 {
6736 wxVisualAttributes * resultptr;
7449af73 6737 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6739 }
6740 return resultobj;
6741 fail:
6742 return NULL;
6743}
6744
6745
c32bde28 6746static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6747 PyObject *obj;
6748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6749 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6750 Py_INCREF(obj);
6751 return Py_BuildValue((char *)"");
6752}
c32bde28 6753static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6754 PyObject *resultobj = NULL;
d55e5bfc 6755 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6756 int arg2 = (int) -1 ;
6757 wxString const &arg3_defvalue = wxPyEmptyString ;
6758 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6759 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6760 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6761 wxSize const &arg5_defvalue = wxDefaultSize ;
6762 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6763 long arg6 = (long) 0 ;
6764 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6765 wxString *arg7 = (wxString *) &arg7_defvalue ;
6766 wxStaticText *result;
ae8162c8 6767 bool temp3 = false ;
d55e5bfc
RD
6768 wxPoint temp4 ;
6769 wxSize temp5 ;
ae8162c8 6770 bool temp7 = false ;
d55e5bfc
RD
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773 PyObject * obj2 = 0 ;
6774 PyObject * obj3 = 0 ;
6775 PyObject * obj4 = 0 ;
6776 PyObject * obj5 = 0 ;
6777 PyObject * obj6 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6780 };
6781
248ed943 6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6784 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6785 if (obj1) {
093d3ff1 6786 {
7449af73 6787 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6788 if (SWIG_arg_fail(2)) SWIG_fail;
6789 }
248ed943
RD
6790 }
6791 if (obj2) {
6792 {
6793 arg3 = wxString_in_helper(obj2);
6794 if (arg3 == NULL) SWIG_fail;
ae8162c8 6795 temp3 = true;
248ed943 6796 }
d55e5bfc
RD
6797 }
6798 if (obj3) {
6799 {
6800 arg4 = &temp4;
6801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6802 }
6803 }
6804 if (obj4) {
6805 {
6806 arg5 = &temp5;
6807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6808 }
6809 }
6810 if (obj5) {
093d3ff1 6811 {
7449af73 6812 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6813 if (SWIG_arg_fail(6)) SWIG_fail;
6814 }
d55e5bfc
RD
6815 }
6816 if (obj6) {
6817 {
6818 arg7 = wxString_in_helper(obj6);
6819 if (arg7 == NULL) SWIG_fail;
ae8162c8 6820 temp7 = true;
d55e5bfc
RD
6821 }
6822 }
6823 {
0439c23b 6824 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6827
6828 wxPyEndAllowThreads(__tstate);
110da5b0 6829 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6830 }
6831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6832 {
6833 if (temp3)
6834 delete arg3;
6835 }
6836 {
6837 if (temp7)
6838 delete arg7;
6839 }
6840 return resultobj;
6841 fail:
6842 {
6843 if (temp3)
6844 delete arg3;
6845 }
6846 {
6847 if (temp7)
6848 delete arg7;
6849 }
6850 return NULL;
6851}
6852
6853
c32bde28 6854static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6855 PyObject *resultobj = NULL;
d55e5bfc
RD
6856 wxStaticText *result;
6857 char *kwnames[] = {
6858 NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6862 {
0439c23b 6863 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (wxStaticText *)new wxStaticText();
6866
6867 wxPyEndAllowThreads(__tstate);
110da5b0 6868 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6869 }
6870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6871 return resultobj;
6872 fail:
6873 return NULL;
6874}
6875
6876
c32bde28 6877static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6878 PyObject *resultobj = NULL;
d55e5bfc
RD
6879 wxStaticText *arg1 = (wxStaticText *) 0 ;
6880 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6881 int arg3 = (int) -1 ;
6882 wxString const &arg4_defvalue = wxPyEmptyString ;
6883 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6884 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6885 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6886 wxSize const &arg6_defvalue = wxDefaultSize ;
6887 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6888 long arg7 = (long) 0 ;
6889 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6890 wxString *arg8 = (wxString *) &arg8_defvalue ;
6891 bool result;
ae8162c8 6892 bool temp4 = false ;
d55e5bfc
RD
6893 wxPoint temp5 ;
6894 wxSize temp6 ;
ae8162c8 6895 bool temp8 = false ;
d55e5bfc
RD
6896 PyObject * obj0 = 0 ;
6897 PyObject * obj1 = 0 ;
6898 PyObject * obj2 = 0 ;
6899 PyObject * obj3 = 0 ;
6900 PyObject * obj4 = 0 ;
6901 PyObject * obj5 = 0 ;
6902 PyObject * obj6 = 0 ;
6903 PyObject * obj7 = 0 ;
6904 char *kwnames[] = {
6905 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6906 };
6907
248ed943 6908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6910 if (SWIG_arg_fail(1)) SWIG_fail;
6911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6912 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6913 if (obj2) {
093d3ff1 6914 {
7449af73 6915 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6916 if (SWIG_arg_fail(3)) SWIG_fail;
6917 }
248ed943
RD
6918 }
6919 if (obj3) {
6920 {
6921 arg4 = wxString_in_helper(obj3);
6922 if (arg4 == NULL) SWIG_fail;
ae8162c8 6923 temp4 = true;
248ed943 6924 }
d55e5bfc
RD
6925 }
6926 if (obj4) {
6927 {
6928 arg5 = &temp5;
6929 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6930 }
6931 }
6932 if (obj5) {
6933 {
6934 arg6 = &temp6;
6935 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6936 }
6937 }
6938 if (obj6) {
093d3ff1 6939 {
7449af73 6940 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6941 if (SWIG_arg_fail(7)) SWIG_fail;
6942 }
d55e5bfc
RD
6943 }
6944 if (obj7) {
6945 {
6946 arg8 = wxString_in_helper(obj7);
6947 if (arg8 == NULL) SWIG_fail;
ae8162c8 6948 temp8 = true;
d55e5bfc
RD
6949 }
6950 }
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 {
6959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6960 }
6961 {
6962 if (temp4)
6963 delete arg4;
6964 }
6965 {
6966 if (temp8)
6967 delete arg8;
6968 }
6969 return resultobj;
6970 fail:
6971 {
6972 if (temp4)
6973 delete arg4;
6974 }
6975 {
6976 if (temp8)
6977 delete arg8;
6978 }
6979 return NULL;
6980}
6981
6982
9d7dfdff 6983static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6984 PyObject *resultobj = NULL;
9d7dfdff
RD
6985 wxStaticText *arg1 = (wxStaticText *) 0 ;
6986 int arg2 ;
6987 PyObject * obj0 = 0 ;
6988 PyObject * obj1 = 0 ;
6989 char *kwnames[] = {
6990 (char *) "self",(char *) "width", NULL
6991 };
6992
6993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6995 if (SWIG_arg_fail(1)) SWIG_fail;
6996 {
7449af73 6997 arg2 = static_cast<int >(SWIG_As_int(obj1));
9d7dfdff
RD
6998 if (SWIG_arg_fail(2)) SWIG_fail;
6999 }
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 (arg1)->Wrap(arg2);
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 Py_INCREF(Py_None); resultobj = Py_None;
7008 return resultobj;
7009 fail:
7010 return NULL;
7011}
7012
7013
c32bde28 7014static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7015 PyObject *resultobj = NULL;
093d3ff1 7016 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7017 wxVisualAttributes result;
7018 PyObject * obj0 = 0 ;
7019 char *kwnames[] = {
7020 (char *) "variant", NULL
7021 };
7022
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7024 if (obj0) {
093d3ff1 7025 {
7449af73 7026 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
7027 if (SWIG_arg_fail(1)) SWIG_fail;
7028 }
f20a2e1f
RD
7029 }
7030 {
19272049 7031 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 7033 result = wxStaticText::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7034
7035 wxPyEndAllowThreads(__tstate);
110da5b0 7036 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7037 }
7038 {
7039 wxVisualAttributes * resultptr;
7449af73 7040 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7041 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7042 }
7043 return resultobj;
7044 fail:
7045 return NULL;
7046}
7047
7048
c32bde28 7049static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7050 PyObject *obj;
7051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7052 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
7053 Py_INCREF(obj);
7054 return Py_BuildValue((char *)"");
7055}
c32bde28 7056static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7057 PyObject *resultobj = NULL;
d55e5bfc 7058 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
7059 int arg2 = (int) -1 ;
7060 wxBitmap const &arg3_defvalue = wxNullBitmap ;
7061 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
7062 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7063 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7064 wxSize const &arg5_defvalue = wxDefaultSize ;
7065 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7066 long arg6 = (long) 0 ;
7067 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
7068 wxString *arg7 = (wxString *) &arg7_defvalue ;
7069 wxStaticBitmap *result;
7070 wxPoint temp4 ;
7071 wxSize temp5 ;
ae8162c8 7072 bool temp7 = false ;
d55e5bfc
RD
7073 PyObject * obj0 = 0 ;
7074 PyObject * obj1 = 0 ;
7075 PyObject * obj2 = 0 ;
7076 PyObject * obj3 = 0 ;
7077 PyObject * obj4 = 0 ;
7078 PyObject * obj5 = 0 ;
7079 PyObject * obj6 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7082 };
7083
248ed943 7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7087 if (obj1) {
093d3ff1 7088 {
7449af73 7089 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7090 if (SWIG_arg_fail(2)) SWIG_fail;
7091 }
248ed943
RD
7092 }
7093 if (obj2) {
093d3ff1
RD
7094 {
7095 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7096 if (SWIG_arg_fail(3)) SWIG_fail;
7097 if (arg3 == NULL) {
7098 SWIG_null_ref("wxBitmap");
7099 }
7100 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 7101 }
d55e5bfc
RD
7102 }
7103 if (obj3) {
7104 {
7105 arg4 = &temp4;
7106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7107 }
7108 }
7109 if (obj4) {
7110 {
7111 arg5 = &temp5;
7112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7113 }
7114 }
7115 if (obj5) {
093d3ff1 7116 {
7449af73 7117 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7118 if (SWIG_arg_fail(6)) SWIG_fail;
7119 }
d55e5bfc
RD
7120 }
7121 if (obj6) {
7122 {
7123 arg7 = wxString_in_helper(obj6);
7124 if (arg7 == NULL) SWIG_fail;
ae8162c8 7125 temp7 = true;
d55e5bfc
RD
7126 }
7127 }
7128 {
0439c23b 7129 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7132
7133 wxPyEndAllowThreads(__tstate);
110da5b0 7134 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7135 }
7136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7137 {
7138 if (temp7)
7139 delete arg7;
7140 }
7141 return resultobj;
7142 fail:
7143 {
7144 if (temp7)
7145 delete arg7;
7146 }
7147 return NULL;
7148}
7149
7150
c32bde28 7151static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7152 PyObject *resultobj = NULL;
d55e5bfc
RD
7153 wxStaticBitmap *result;
7154 char *kwnames[] = {
7155 NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7159 {
0439c23b 7160 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 result = (wxStaticBitmap *)new wxStaticBitmap();
7163
7164 wxPyEndAllowThreads(__tstate);
110da5b0 7165 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7166 }
7167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7168 return resultobj;
7169 fail:
7170 return NULL;
7171}
7172
7173
c32bde28 7174static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7175 PyObject *resultobj = NULL;
d55e5bfc
RD
7176 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7177 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
7178 int arg3 = (int) -1 ;
7179 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7180 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
7181 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7182 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7183 wxSize const &arg6_defvalue = wxDefaultSize ;
7184 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7185 long arg7 = (long) 0 ;
7186 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7187 wxString *arg8 = (wxString *) &arg8_defvalue ;
7188 bool result;
7189 wxPoint temp5 ;
7190 wxSize temp6 ;
ae8162c8 7191 bool temp8 = false ;
d55e5bfc
RD
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 PyObject * obj2 = 0 ;
7195 PyObject * obj3 = 0 ;
7196 PyObject * obj4 = 0 ;
7197 PyObject * obj5 = 0 ;
7198 PyObject * obj6 = 0 ;
7199 PyObject * obj7 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7202 };
7203
248ed943 7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail;
7207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7208 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7209 if (obj2) {
093d3ff1 7210 {
7449af73 7211 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7212 if (SWIG_arg_fail(3)) SWIG_fail;
7213 }
248ed943
RD
7214 }
7215 if (obj3) {
093d3ff1
RD
7216 {
7217 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7218 if (SWIG_arg_fail(4)) SWIG_fail;
7219 if (arg4 == NULL) {
7220 SWIG_null_ref("wxBitmap");
7221 }
7222 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 7223 }
d55e5bfc
RD
7224 }
7225 if (obj4) {
7226 {
7227 arg5 = &temp5;
7228 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7229 }
7230 }
7231 if (obj5) {
7232 {
7233 arg6 = &temp6;
7234 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7235 }
7236 }
7237 if (obj6) {
093d3ff1 7238 {
7449af73 7239 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
7240 if (SWIG_arg_fail(7)) SWIG_fail;
7241 }
d55e5bfc
RD
7242 }
7243 if (obj7) {
7244 {
7245 arg8 = wxString_in_helper(obj7);
7246 if (arg8 == NULL) SWIG_fail;
ae8162c8 7247 temp8 = true;
d55e5bfc
RD
7248 }
7249 }
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 {
7258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7259 }
7260 {
7261 if (temp8)
7262 delete arg8;
7263 }
7264 return resultobj;
7265 fail:
7266 {
7267 if (temp8)
7268 delete arg8;
7269 }
7270 return NULL;
7271}
7272
7273
c32bde28 7274static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7275 PyObject *resultobj = NULL;
d55e5bfc
RD
7276 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7277 wxBitmap result;
7278 PyObject * obj0 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
7284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7286 {
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 result = (arg1)->GetBitmap();
7289
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 {
7294 wxBitmap * resultptr;
7449af73 7295 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
7296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7297 }
7298 return resultobj;
7299 fail:
7300 return NULL;
7301}
7302
7303
c32bde28 7304static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7305 PyObject *resultobj = NULL;
d55e5bfc
RD
7306 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7307 wxBitmap *arg2 = 0 ;
7308 PyObject * obj0 = 0 ;
7309 PyObject * obj1 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "bitmap", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7316 if (SWIG_arg_fail(1)) SWIG_fail;
7317 {
7318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7319 if (SWIG_arg_fail(2)) SWIG_fail;
7320 if (arg2 == NULL) {
7321 SWIG_null_ref("wxBitmap");
7322 }
7323 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7324 }
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 return resultobj;
7334 fail:
7335 return NULL;
7336}
7337
7338
c32bde28 7339static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7340 PyObject *resultobj = NULL;
d55e5bfc
RD
7341 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7342 wxIcon *arg2 = 0 ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 char *kwnames[] = {
7346 (char *) "self",(char *) "icon", NULL
7347 };
7348
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7351 if (SWIG_arg_fail(1)) SWIG_fail;
7352 {
7353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7354 if (SWIG_arg_fail(2)) SWIG_fail;
7355 if (arg2 == NULL) {
7356 SWIG_null_ref("wxIcon");
7357 }
7358 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7359 }
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 (arg1)->SetIcon((wxIcon const &)*arg2);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 Py_INCREF(Py_None); resultobj = Py_None;
7368 return resultobj;
7369 fail:
7370 return NULL;
7371}
7372
7373
c32bde28 7374static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7375 PyObject *resultobj = NULL;
093d3ff1 7376 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7377 wxVisualAttributes result;
7378 PyObject * obj0 = 0 ;
7379 char *kwnames[] = {
7380 (char *) "variant", NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7384 if (obj0) {
093d3ff1 7385 {
7449af73 7386 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
7387 if (SWIG_arg_fail(1)) SWIG_fail;
7388 }
f20a2e1f
RD
7389 }
7390 {
19272049 7391 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 7393 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7394
7395 wxPyEndAllowThreads(__tstate);
110da5b0 7396 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7397 }
7398 {
7399 wxVisualAttributes * resultptr;
7449af73 7400 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7402 }
7403 return resultobj;
7404 fail:
7405 return NULL;
7406}
7407
7408
c32bde28 7409static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7410 PyObject *obj;
7411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7412 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7413 Py_INCREF(obj);
7414 return Py_BuildValue((char *)"");
7415}
c32bde28 7416static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7417 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7418 return 1;
7419}
7420
7421
093d3ff1 7422static PyObject *_wrap_ListBoxNameStr_get(void) {
7449af73 7423 PyObject *pyobj = NULL;
d55e5bfc
RD
7424
7425 {
7426#if wxUSE_UNICODE
7427 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7428#else
7429 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7430#endif
7431 }
7432 return pyobj;
7433}
7434
7435
c32bde28 7436static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7437 PyObject *resultobj = NULL;
d55e5bfc 7438 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7439 int arg2 = (int) -1 ;
d55e5bfc
RD
7440 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7441 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7442 wxSize const &arg4_defvalue = wxDefaultSize ;
7443 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7444 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7445 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7446 long arg6 = (long) 0 ;
7447 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7448 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7449 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7450 wxString *arg8 = (wxString *) &arg8_defvalue ;
7451 wxListBox *result;
7452 wxPoint temp3 ;
7453 wxSize temp4 ;
ae8162c8
RD
7454 bool temp5 = false ;
7455 bool temp8 = false ;
d55e5bfc
RD
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 PyObject * obj2 = 0 ;
7459 PyObject * obj3 = 0 ;
7460 PyObject * obj4 = 0 ;
7461 PyObject * obj5 = 0 ;
7462 PyObject * obj6 = 0 ;
7463 PyObject * obj7 = 0 ;
7464 char *kwnames[] = {
7465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7466 };
7467
248ed943 7468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7470 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7471 if (obj1) {
093d3ff1 7472 {
7449af73 7473 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7474 if (SWIG_arg_fail(2)) SWIG_fail;
7475 }
248ed943 7476 }
d55e5bfc
RD
7477 if (obj2) {
7478 {
7479 arg3 = &temp3;
7480 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7481 }
7482 }
7483 if (obj3) {
7484 {
7485 arg4 = &temp4;
7486 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7487 }
7488 }
7489 if (obj4) {
7490 {
7491 if (! PySequence_Check(obj4)) {
7492 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7493 SWIG_fail;
7494 }
7495 arg5 = new wxArrayString;
ae8162c8 7496 temp5 = true;
d55e5bfc
RD
7497 int i, len=PySequence_Length(obj4);
7498 for (i=0; i<len; i++) {
7499 PyObject* item = PySequence_GetItem(obj4, i);
71237536 7500 wxString* s = wxString_in_helper(item);
d55e5bfc 7501 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7502 arg5->Add(*s);
7503 delete s;
d55e5bfc 7504 Py_DECREF(item);
d55e5bfc
RD
7505 }
7506 }
7507 }
7508 if (obj5) {
093d3ff1 7509 {
7449af73 7510 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7511 if (SWIG_arg_fail(6)) SWIG_fail;
7512 }
d55e5bfc
RD
7513 }
7514 if (obj6) {
093d3ff1
RD
7515 {
7516 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7517 if (SWIG_arg_fail(7)) SWIG_fail;
7518 if (arg7 == NULL) {
7519 SWIG_null_ref("wxValidator");
7520 }
7521 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7522 }
7523 }
7524 if (obj7) {
7525 {
7526 arg8 = wxString_in_helper(obj7);
7527 if (arg8 == NULL) SWIG_fail;
ae8162c8 7528 temp8 = true;
d55e5bfc
RD
7529 }
7530 }
7531 {
0439c23b 7532 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7535
7536 wxPyEndAllowThreads(__tstate);
110da5b0 7537 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7538 }
7539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7540 {
7541 if (temp5) delete arg5;
7542 }
7543 {
7544 if (temp8)
7545 delete arg8;
7546 }
7547 return resultobj;
7548 fail:
7549 {
7550 if (temp5) delete arg5;
7551 }
7552 {
7553 if (temp8)
7554 delete arg8;
7555 }
7556 return NULL;
7557}
7558
7559
c32bde28 7560static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7561 PyObject *resultobj = NULL;
d55e5bfc
RD
7562 wxListBox *result;
7563 char *kwnames[] = {
7564 NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7568 {
0439c23b 7569 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 result = (wxListBox *)new wxListBox();
7572
7573 wxPyEndAllowThreads(__tstate);
110da5b0 7574 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7575 }
7576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7577 return resultobj;
7578 fail:
7579 return NULL;
7580}
7581
7582
c32bde28 7583static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7584 PyObject *resultobj = NULL;
d55e5bfc
RD
7585 wxListBox *arg1 = (wxListBox *) 0 ;
7586 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7587 int arg3 = (int) -1 ;
d55e5bfc
RD
7588 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7589 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7590 wxSize const &arg5_defvalue = wxDefaultSize ;
7591 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7592 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7593 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7594 long arg7 = (long) 0 ;
7595 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7596 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7597 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7598 wxString *arg9 = (wxString *) &arg9_defvalue ;
7599 bool result;
7600 wxPoint temp4 ;
7601 wxSize temp5 ;
ae8162c8
RD
7602 bool temp6 = false ;
7603 bool temp9 = false ;
d55e5bfc
RD
7604 PyObject * obj0 = 0 ;
7605 PyObject * obj1 = 0 ;
7606 PyObject * obj2 = 0 ;
7607 PyObject * obj3 = 0 ;
7608 PyObject * obj4 = 0 ;
7609 PyObject * obj5 = 0 ;
7610 PyObject * obj6 = 0 ;
7611 PyObject * obj7 = 0 ;
7612 PyObject * obj8 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7615 };
7616
248ed943 7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail;
7620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7621 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7622 if (obj2) {
093d3ff1 7623 {
7449af73 7624 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7625 if (SWIG_arg_fail(3)) SWIG_fail;
7626 }
248ed943 7627 }
d55e5bfc
RD
7628 if (obj3) {
7629 {
7630 arg4 = &temp4;
7631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7632 }
7633 }
7634 if (obj4) {
7635 {
7636 arg5 = &temp5;
7637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7638 }
7639 }
7640 if (obj5) {
7641 {
7642 if (! PySequence_Check(obj5)) {
7643 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7644 SWIG_fail;
7645 }
7646 arg6 = new wxArrayString;
ae8162c8 7647 temp6 = true;
d55e5bfc
RD
7648 int i, len=PySequence_Length(obj5);
7649 for (i=0; i<len; i++) {
7650 PyObject* item = PySequence_GetItem(obj5, i);
71237536 7651 wxString* s = wxString_in_helper(item);
d55e5bfc 7652 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7653 arg6->Add(*s);
7654 delete s;
d55e5bfc 7655 Py_DECREF(item);
d55e5bfc
RD
7656 }
7657 }
7658 }
7659 if (obj6) {
093d3ff1 7660 {
7449af73 7661 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
7662 if (SWIG_arg_fail(7)) SWIG_fail;
7663 }
d55e5bfc
RD
7664 }
7665 if (obj7) {
093d3ff1
RD
7666 {
7667 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(8)) SWIG_fail;
7669 if (arg8 == NULL) {
7670 SWIG_null_ref("wxValidator");
7671 }
7672 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7673 }
7674 }
7675 if (obj8) {
7676 {
7677 arg9 = wxString_in_helper(obj8);
7678 if (arg9 == NULL) SWIG_fail;
ae8162c8 7679 temp9 = true;
d55e5bfc
RD
7680 }
7681 }
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 {
7690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7691 }
7692 {
7693 if (temp6) delete arg6;
7694 }
7695 {
7696 if (temp9)
7697 delete arg9;
7698 }
7699 return resultobj;
7700 fail:
7701 {
7702 if (temp6) delete arg6;
7703 }
7704 {
7705 if (temp9)
7706 delete arg9;
7707 }
7708 return NULL;
7709}
7710
7711
c32bde28 7712static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7713 PyObject *resultobj = NULL;
d55e5bfc
RD
7714 wxListBox *arg1 = (wxListBox *) 0 ;
7715 wxString *arg2 = 0 ;
7716 int arg3 ;
7717 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7718 bool temp2 = false ;
d55e5bfc
RD
7719 PyObject * obj0 = 0 ;
7720 PyObject * obj1 = 0 ;
7721 PyObject * obj2 = 0 ;
7722 PyObject * obj3 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7730 {
7731 arg2 = wxString_in_helper(obj1);
7732 if (arg2 == NULL) SWIG_fail;
ae8162c8 7733 temp2 = true;
d55e5bfc 7734 }
093d3ff1 7735 {
7449af73 7736 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7737 if (SWIG_arg_fail(3)) SWIG_fail;
7738 }
d55e5bfc
RD
7739 if (obj3) {
7740 arg4 = obj3;
7741 }
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 Py_INCREF(Py_None); resultobj = Py_None;
7750 {
7751 if (temp2)
7752 delete arg2;
7753 }
7754 return resultobj;
7755 fail:
7756 {
7757 if (temp2)
7758 delete arg2;
7759 }
7760 return NULL;
7761}
7762
7763
c32bde28 7764static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7765 PyObject *resultobj = NULL;
d55e5bfc
RD
7766 wxListBox *arg1 = (wxListBox *) 0 ;
7767 wxArrayString *arg2 = 0 ;
7768 int arg3 ;
ae8162c8 7769 bool temp2 = false ;
d55e5bfc
RD
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 PyObject * obj2 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "items",(char *) "pos", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7780 {
7781 if (! PySequence_Check(obj1)) {
7782 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7783 SWIG_fail;
7784 }
7785 arg2 = new wxArrayString;
ae8162c8 7786 temp2 = true;
d55e5bfc
RD
7787 int i, len=PySequence_Length(obj1);
7788 for (i=0; i<len; i++) {
7789 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7790 wxString* s = wxString_in_helper(item);
d55e5bfc 7791 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7792 arg2->Add(*s);
7793 delete s;
d55e5bfc 7794 Py_DECREF(item);
d55e5bfc
RD
7795 }
7796 }
093d3ff1 7797 {
7449af73 7798 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7799 if (SWIG_arg_fail(3)) SWIG_fail;
7800 }
d55e5bfc
RD
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 {
7810 if (temp2) delete arg2;
7811 }
7812 return resultobj;
7813 fail:
7814 {
7815 if (temp2) delete arg2;
7816 }
7817 return NULL;
7818}
7819
7820
c32bde28 7821static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7822 PyObject *resultobj = NULL;
d55e5bfc
RD
7823 wxListBox *arg1 = (wxListBox *) 0 ;
7824 wxArrayString *arg2 = 0 ;
ae8162c8 7825 bool temp2 = false ;
d55e5bfc
RD
7826 PyObject * obj0 = 0 ;
7827 PyObject * obj1 = 0 ;
7828 char *kwnames[] = {
7829 (char *) "self",(char *) "items", NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7835 {
7836 if (! PySequence_Check(obj1)) {
7837 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7838 SWIG_fail;
7839 }
7840 arg2 = new wxArrayString;
ae8162c8 7841 temp2 = true;
d55e5bfc
RD
7842 int i, len=PySequence_Length(obj1);
7843 for (i=0; i<len; i++) {
7844 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7845 wxString* s = wxString_in_helper(item);
d55e5bfc 7846 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7847 arg2->Add(*s);
7848 delete s;
d55e5bfc 7849 Py_DECREF(item);
d55e5bfc
RD
7850 }
7851 }
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 (arg1)->Set((wxArrayString const &)*arg2);
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 Py_INCREF(Py_None); resultobj = Py_None;
7860 {
7861 if (temp2) delete arg2;
7862 }
7863 return resultobj;
7864 fail:
7865 {
7866 if (temp2) delete arg2;
7867 }
7868 return NULL;
7869}
7870
7871
c32bde28 7872static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7873 PyObject *resultobj = NULL;
d55e5bfc
RD
7874 wxListBox *arg1 = (wxListBox *) 0 ;
7875 int arg2 ;
7876 bool result;
7877 PyObject * obj0 = 0 ;
7878 PyObject * obj1 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self",(char *) "n", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7885 if (SWIG_arg_fail(1)) SWIG_fail;
7886 {
7449af73 7887 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7888 if (SWIG_arg_fail(2)) SWIG_fail;
7889 }
d55e5bfc
RD
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 {
7898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7899 }
7900 return resultobj;
7901 fail:
7902 return NULL;
7903}
7904
7905
c32bde28 7906static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7907 PyObject *resultobj = NULL;
d55e5bfc
RD
7908 wxListBox *arg1 = (wxListBox *) 0 ;
7909 int arg2 ;
ae8162c8 7910 bool arg3 = (bool) true ;
d55e5bfc
RD
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 PyObject * obj2 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "n",(char *) "select", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail;
7921 {
7449af73 7922 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7923 if (SWIG_arg_fail(2)) SWIG_fail;
7924 }
d55e5bfc 7925 if (obj2) {
093d3ff1 7926 {
7449af73 7927 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
7928 if (SWIG_arg_fail(3)) SWIG_fail;
7929 }
d55e5bfc
RD
7930 }
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 (arg1)->SetSelection(arg2,arg3);
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 Py_INCREF(Py_None); resultobj = Py_None;
7939 return resultobj;
7940 fail:
7941 return NULL;
7942}
7943
7944
c32bde28 7945static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7946 PyObject *resultobj = NULL;
d55e5bfc
RD
7947 wxListBox *arg1 = (wxListBox *) 0 ;
7948 int arg2 ;
7949 PyObject * obj0 = 0 ;
7950 PyObject * obj1 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self",(char *) "n", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7957 if (SWIG_arg_fail(1)) SWIG_fail;
7958 {
7449af73 7959 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7960 if (SWIG_arg_fail(2)) SWIG_fail;
7961 }
d55e5bfc
RD
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 (arg1)->Select(arg2);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 return resultobj;
7971 fail:
7972 return NULL;
7973}
7974
7975
c32bde28 7976static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7977 PyObject *resultobj = NULL;
d55e5bfc
RD
7978 wxListBox *arg1 = (wxListBox *) 0 ;
7979 int arg2 ;
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "n", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail;
7989 {
7449af73 7990 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7991 if (SWIG_arg_fail(2)) SWIG_fail;
7992 }
d55e5bfc
RD
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->Deselect(arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004}
8005
8006
c32bde28 8007static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8008 PyObject *resultobj = NULL;
d55e5bfc
RD
8009 wxListBox *arg1 = (wxListBox *) 0 ;
8010 int arg2 = (int) -1 ;
8011 PyObject * obj0 = 0 ;
8012 PyObject * obj1 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self",(char *) "itemToLeaveSelected", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8020 if (obj1) {
093d3ff1 8021 {
7449af73 8022 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8023 if (SWIG_arg_fail(2)) SWIG_fail;
8024 }
d55e5bfc
RD
8025 }
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 (arg1)->DeselectAll(arg2);
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
8033 Py_INCREF(Py_None); resultobj = Py_None;
8034 return resultobj;
8035 fail:
8036 return NULL;
8037}
8038
8039
c32bde28 8040static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8041 PyObject *resultobj = NULL;
d55e5bfc
RD
8042 wxListBox *arg1 = (wxListBox *) 0 ;
8043 wxString *arg2 = 0 ;
ae8162c8 8044 bool arg3 = (bool) true ;
d55e5bfc 8045 bool result;
ae8162c8 8046 bool temp2 = false ;
d55e5bfc
RD
8047 PyObject * obj0 = 0 ;
8048 PyObject * obj1 = 0 ;
8049 PyObject * obj2 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self",(char *) "s",(char *) "select", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8057 {
8058 arg2 = wxString_in_helper(obj1);
8059 if (arg2 == NULL) SWIG_fail;
ae8162c8 8060 temp2 = true;
d55e5bfc
RD
8061 }
8062 if (obj2) {
093d3ff1 8063 {
7449af73 8064 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8065 if (SWIG_arg_fail(3)) SWIG_fail;
8066 }
d55e5bfc
RD
8067 }
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
8075 {
8076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8077 }
8078 {
8079 if (temp2)
8080 delete arg2;
8081 }
8082 return resultobj;
8083 fail:
8084 {
8085 if (temp2)
8086 delete arg2;
8087 }
8088 return NULL;
8089}
8090
8091
c32bde28 8092static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8093 PyObject *resultobj = NULL;
d55e5bfc
RD
8094 wxListBox *arg1 = (wxListBox *) 0 ;
8095 PyObject *result;
8096 PyObject * obj0 = 0 ;
8097 char *kwnames[] = {
8098 (char *) "self", NULL
8099 };
8100
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
8102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8103 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 result = (PyObject *)wxListBox_GetSelections(arg1);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 resultobj = result;
8112 return resultobj;
8113 fail:
8114 return NULL;
8115}
8116
8117
c32bde28 8118static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8119 PyObject *resultobj = NULL;
d55e5bfc
RD
8120 wxListBox *arg1 = (wxListBox *) 0 ;
8121 int arg2 ;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self",(char *) "n", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail;
8131 {
7449af73 8132 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8133 if (SWIG_arg_fail(2)) SWIG_fail;
8134 }
d55e5bfc
RD
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 (arg1)->SetFirstItem(arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 return resultobj;
8144 fail:
8145 return NULL;
8146}
8147
8148
c32bde28 8149static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8150 PyObject *resultobj = NULL;
d55e5bfc
RD
8151 wxListBox *arg1 = (wxListBox *) 0 ;
8152 wxString *arg2 = 0 ;
ae8162c8 8153 bool temp2 = false ;
d55e5bfc
RD
8154 PyObject * obj0 = 0 ;
8155 PyObject * obj1 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self",(char *) "s", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8163 {
8164 arg2 = wxString_in_helper(obj1);
8165 if (arg2 == NULL) SWIG_fail;
ae8162c8 8166 temp2 = true;
d55e5bfc
RD
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 (arg1)->SetFirstItem((wxString const &)*arg2);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 {
8177 if (temp2)
8178 delete arg2;
8179 }
8180 return resultobj;
8181 fail:
8182 {
8183 if (temp2)
8184 delete arg2;
8185 }
8186 return NULL;
8187}
8188
8189
c32bde28 8190static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8191 PyObject *resultobj = NULL;
d55e5bfc
RD
8192 wxListBox *arg1 = (wxListBox *) 0 ;
8193 int arg2 ;
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self",(char *) "n", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8202 if (SWIG_arg_fail(1)) SWIG_fail;
8203 {
7449af73 8204 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8205 if (SWIG_arg_fail(2)) SWIG_fail;
8206 }
d55e5bfc
RD
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 (arg1)->EnsureVisible(arg2);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 Py_INCREF(Py_None); resultobj = Py_None;
8215 return resultobj;
8216 fail:
8217 return NULL;
8218}
8219
8220
c32bde28 8221static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8222 PyObject *resultobj = NULL;
d55e5bfc
RD
8223 wxListBox *arg1 = (wxListBox *) 0 ;
8224 wxString *arg2 = 0 ;
ae8162c8 8225 bool temp2 = false ;
d55e5bfc
RD
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self",(char *) "s", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8235 {
8236 arg2 = wxString_in_helper(obj1);
8237 if (arg2 == NULL) SWIG_fail;
ae8162c8 8238 temp2 = true;
d55e5bfc
RD
8239 }
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 Py_INCREF(Py_None); resultobj = Py_None;
8248 {
8249 if (temp2)
8250 delete arg2;
8251 }
8252 return resultobj;
8253 fail:
8254 {
8255 if (temp2)
8256 delete arg2;
8257 }
8258 return NULL;
8259}
8260
8261
c32bde28 8262static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8263 PyObject *resultobj = NULL;
d55e5bfc
RD
8264 wxListBox *arg1 = (wxListBox *) 0 ;
8265 bool result;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
8272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 result = (bool)((wxListBox const *)arg1)->IsSorted();
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 {
8282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8283 }
8284 return resultobj;
8285 fail:
8286 return NULL;
8287}
8288
8289
c32bde28 8290static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8291 PyObject *resultobj = NULL;
d55e5bfc
RD
8292 wxListBox *arg1 = (wxListBox *) 0 ;
8293 int arg2 ;
8294 wxColour *arg3 = 0 ;
8295 wxColour temp3 ;
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8298 PyObject * obj2 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "item",(char *) "c", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail;
8306 {
7449af73 8307 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8308 if (SWIG_arg_fail(2)) SWIG_fail;
8309 }
d55e5bfc
RD
8310 {
8311 arg3 = &temp3;
8312 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8313 }
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 Py_INCREF(Py_None); resultobj = Py_None;
8322 return resultobj;
8323 fail:
8324 return NULL;
8325}
8326
8327
c32bde28 8328static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8329 PyObject *resultobj = NULL;
d55e5bfc
RD
8330 wxListBox *arg1 = (wxListBox *) 0 ;
8331 int arg2 ;
8332 wxColour *arg3 = 0 ;
8333 wxColour temp3 ;
8334 PyObject * obj0 = 0 ;
8335 PyObject * obj1 = 0 ;
8336 PyObject * obj2 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self",(char *) "item",(char *) "c", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
8344 {
7449af73 8345 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8346 if (SWIG_arg_fail(2)) SWIG_fail;
8347 }
d55e5bfc
RD
8348 {
8349 arg3 = &temp3;
8350 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8351 }
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 Py_INCREF(Py_None); resultobj = Py_None;
8360 return resultobj;
8361 fail:
8362 return NULL;
8363}
8364
8365
c32bde28 8366static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8367 PyObject *resultobj = NULL;
d55e5bfc
RD
8368 wxListBox *arg1 = (wxListBox *) 0 ;
8369 int arg2 ;
8370 wxFont *arg3 = 0 ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 PyObject * obj2 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self",(char *) "item",(char *) "f", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8380 if (SWIG_arg_fail(1)) SWIG_fail;
8381 {
7449af73 8382 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8383 if (SWIG_arg_fail(2)) SWIG_fail;
8384 }
8385 {
8386 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8387 if (SWIG_arg_fail(3)) SWIG_fail;
8388 if (arg3 == NULL) {
8389 SWIG_null_ref("wxFont");
8390 }
8391 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8392 }
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 Py_INCREF(Py_None); resultobj = Py_None;
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
c32bde28 8407static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8408 PyObject *resultobj = NULL;
093d3ff1 8409 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8410 wxVisualAttributes result;
8411 PyObject * obj0 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "variant", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8417 if (obj0) {
093d3ff1 8418 {
7449af73 8419 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
8420 if (SWIG_arg_fail(1)) SWIG_fail;
8421 }
d55e5bfc
RD
8422 }
8423 {
19272049 8424 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8426 result = wxListBox::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
8427
8428 wxPyEndAllowThreads(__tstate);
110da5b0 8429 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8430 }
8431 {
8432 wxVisualAttributes * resultptr;
7449af73 8433 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
8434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8435 }
8436 return resultobj;
8437 fail:
8438 return NULL;
8439}
8440
8441
c32bde28 8442static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8443 PyObject *obj;
8444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8445 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8446 Py_INCREF(obj);
8447 return Py_BuildValue((char *)"");
8448}
c32bde28 8449static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8450 PyObject *resultobj = NULL;
d55e5bfc 8451 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8452 int arg2 = (int) -1 ;
d55e5bfc
RD
8453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8455 wxSize const &arg4_defvalue = wxDefaultSize ;
8456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8457 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8458 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8459 long arg6 = (long) 0 ;
8460 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8461 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8462 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8463 wxString *arg8 = (wxString *) &arg8_defvalue ;
8464 wxCheckListBox *result;
8465 wxPoint temp3 ;
8466 wxSize temp4 ;
ae8162c8
RD
8467 bool temp5 = false ;
8468 bool temp8 = false ;
d55e5bfc
RD
8469 PyObject * obj0 = 0 ;
8470 PyObject * obj1 = 0 ;
8471 PyObject * obj2 = 0 ;
8472 PyObject * obj3 = 0 ;
8473 PyObject * obj4 = 0 ;
8474 PyObject * obj5 = 0 ;
8475 PyObject * obj6 = 0 ;
8476 PyObject * obj7 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8479 };
8480
248ed943 8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8483 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8484 if (obj1) {
093d3ff1 8485 {
7449af73 8486 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8487 if (SWIG_arg_fail(2)) SWIG_fail;
8488 }
248ed943 8489 }
d55e5bfc
RD
8490 if (obj2) {
8491 {
8492 arg3 = &temp3;
8493 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8494 }
8495 }
8496 if (obj3) {
8497 {
8498 arg4 = &temp4;
8499 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8500 }
8501 }
8502 if (obj4) {
8503 {
8504 if (! PySequence_Check(obj4)) {
8505 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8506 SWIG_fail;
8507 }
8508 arg5 = new wxArrayString;
ae8162c8 8509 temp5 = true;
d55e5bfc
RD
8510 int i, len=PySequence_Length(obj4);
8511 for (i=0; i<len; i++) {
8512 PyObject* item = PySequence_GetItem(obj4, i);
71237536 8513 wxString* s = wxString_in_helper(item);
d55e5bfc 8514 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8515 arg5->Add(*s);
8516 delete s;
d55e5bfc 8517 Py_DECREF(item);
d55e5bfc
RD
8518 }
8519 }
8520 }
8521 if (obj5) {
093d3ff1 8522 {
7449af73 8523 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
8524 if (SWIG_arg_fail(6)) SWIG_fail;
8525 }
d55e5bfc
RD
8526 }
8527 if (obj6) {
093d3ff1
RD
8528 {
8529 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8530 if (SWIG_arg_fail(7)) SWIG_fail;
8531 if (arg7 == NULL) {
8532 SWIG_null_ref("wxValidator");
8533 }
8534 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8535 }
8536 }
8537 if (obj7) {
8538 {
8539 arg8 = wxString_in_helper(obj7);
8540 if (arg8 == NULL) SWIG_fail;
ae8162c8 8541 temp8 = true;
d55e5bfc
RD
8542 }
8543 }
8544 {
0439c23b 8545 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8548
8549 wxPyEndAllowThreads(__tstate);
110da5b0 8550 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8551 }
8552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8553 {
8554 if (temp5) delete arg5;
8555 }
8556 {
8557 if (temp8)
8558 delete arg8;
8559 }
8560 return resultobj;
8561 fail:
8562 {
8563 if (temp5) delete arg5;
8564 }
8565 {
8566 if (temp8)
8567 delete arg8;
8568 }
8569 return NULL;
8570}
8571
8572
c32bde28 8573static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8574 PyObject *resultobj = NULL;
d55e5bfc
RD
8575 wxCheckListBox *result;
8576 char *kwnames[] = {
8577 NULL
8578 };
8579
8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8581 {
0439c23b 8582 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (wxCheckListBox *)new wxCheckListBox();
8585
8586 wxPyEndAllowThreads(__tstate);
110da5b0 8587 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8588 }
8589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8590 return resultobj;
8591 fail:
8592 return NULL;
8593}
8594
8595
c32bde28 8596static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8597 PyObject *resultobj = NULL;
d55e5bfc
RD
8598 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8599 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8600 int arg3 = (int) -1 ;
d55e5bfc
RD
8601 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8602 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8603 wxSize const &arg5_defvalue = wxDefaultSize ;
8604 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8605 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8606 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8607 long arg7 = (long) 0 ;
8608 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8609 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8610 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8611 wxString *arg9 = (wxString *) &arg9_defvalue ;
8612 bool result;
8613 wxPoint temp4 ;
8614 wxSize temp5 ;
ae8162c8
RD
8615 bool temp6 = false ;
8616 bool temp9 = false ;
d55e5bfc
RD
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 PyObject * obj2 = 0 ;
8620 PyObject * obj3 = 0 ;
8621 PyObject * obj4 = 0 ;
8622 PyObject * obj5 = 0 ;
8623 PyObject * obj6 = 0 ;
8624 PyObject * obj7 = 0 ;
8625 PyObject * obj8 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8628 };
8629
248ed943 8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail;
8633 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8634 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8635 if (obj2) {
093d3ff1 8636 {
7449af73 8637 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8638 if (SWIG_arg_fail(3)) SWIG_fail;
8639 }
248ed943 8640 }
d55e5bfc
RD
8641 if (obj3) {
8642 {
8643 arg4 = &temp4;
8644 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8645 }
8646 }
8647 if (obj4) {
8648 {
8649 arg5 = &temp5;
8650 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8651 }
8652 }
8653 if (obj5) {
8654 {
8655 if (! PySequence_Check(obj5)) {
8656 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8657 SWIG_fail;
8658 }
8659 arg6 = new wxArrayString;
ae8162c8 8660 temp6 = true;
d55e5bfc
RD
8661 int i, len=PySequence_Length(obj5);
8662 for (i=0; i<len; i++) {
8663 PyObject* item = PySequence_GetItem(obj5, i);
71237536 8664 wxString* s = wxString_in_helper(item);
d55e5bfc 8665 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8666 arg6->Add(*s);
8667 delete s;
d55e5bfc 8668 Py_DECREF(item);
d55e5bfc
RD
8669 }
8670 }
8671 }
8672 if (obj6) {
093d3ff1 8673 {
7449af73 8674 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
8675 if (SWIG_arg_fail(7)) SWIG_fail;
8676 }
d55e5bfc
RD
8677 }
8678 if (obj7) {
093d3ff1
RD
8679 {
8680 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8681 if (SWIG_arg_fail(8)) SWIG_fail;
8682 if (arg8 == NULL) {
8683 SWIG_null_ref("wxValidator");
8684 }
8685 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8686 }
8687 }
8688 if (obj8) {
8689 {
8690 arg9 = wxString_in_helper(obj8);
8691 if (arg9 == NULL) SWIG_fail;
ae8162c8 8692 temp9 = true;
d55e5bfc
RD
8693 }
8694 }
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 {
8703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8704 }
8705 {
8706 if (temp6) delete arg6;
8707 }
8708 {
8709 if (temp9)
8710 delete arg9;
8711 }
8712 return resultobj;
8713 fail:
8714 {
8715 if (temp6) delete arg6;
8716 }
8717 {
8718 if (temp9)
8719 delete arg9;
8720 }
8721 return NULL;
8722}
8723
8724
c32bde28 8725static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8726 PyObject *resultobj = NULL;
d55e5bfc
RD
8727 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8728 int arg2 ;
8729 bool result;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "index", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail;
8739 {
7449af73 8740 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8741 if (SWIG_arg_fail(2)) SWIG_fail;
8742 }
d55e5bfc
RD
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 result = (bool)(arg1)->IsChecked(arg2);
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 {
8751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8752 }
8753 return resultobj;
8754 fail:
8755 return NULL;
8756}
8757
8758
c32bde28 8759static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8760 PyObject *resultobj = NULL;
d55e5bfc
RD
8761 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8762 int arg2 ;
ae8162c8 8763 int arg3 = (int) true ;
d55e5bfc
RD
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 PyObject * obj2 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self",(char *) "index",(char *) "check", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail;
8774 {
7449af73 8775 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8776 if (SWIG_arg_fail(2)) SWIG_fail;
8777 }
d55e5bfc 8778 if (obj2) {
093d3ff1 8779 {
7449af73 8780 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8781 if (SWIG_arg_fail(3)) SWIG_fail;
8782 }
d55e5bfc
RD
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->Check(arg2,arg3);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
c32bde28 8798static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8799 PyObject *resultobj = NULL;
d55e5bfc
RD
8800 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8801 int result;
8802 PyObject * obj0 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 result = (int)(arg1)->GetItemHeight();
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
093d3ff1 8817 {
7449af73 8818 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8819 }
d55e5bfc
RD
8820 return resultobj;
8821 fail:
8822 return NULL;
8823}
8824
8825
c32bde28 8826static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8827 PyObject *resultobj = NULL;
d55e5bfc
RD
8828 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8829 wxPoint *arg2 = 0 ;
8830 int result;
8831 wxPoint temp2 ;
8832 PyObject * obj0 = 0 ;
8833 PyObject * obj1 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "pt", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8841 {
8842 arg2 = &temp2;
8843 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8844 }
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
093d3ff1 8852 {
7449af73 8853 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8854 }
d55e5bfc
RD
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
c32bde28 8861static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8862 PyObject *resultobj = NULL;
d55e5bfc
RD
8863 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8864 int arg2 ;
8865 int arg3 ;
8866 int result;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "x",(char *) "y", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail;
8877 {
7449af73 8878 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8879 if (SWIG_arg_fail(2)) SWIG_fail;
8880 }
8881 {
7449af73 8882 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8883 if (SWIG_arg_fail(3)) SWIG_fail;
8884 }
d55e5bfc
RD
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
093d3ff1 8892 {
7449af73 8893 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8894 }
d55e5bfc
RD
8895 return resultobj;
8896 fail:
8897 return NULL;
8898}
8899
8900
c32bde28 8901static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8902 PyObject *obj;
8903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8904 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8905 Py_INCREF(obj);
8906 return Py_BuildValue((char *)"");
8907}
c32bde28 8908static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8909 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8910 return 1;
8911}
8912
8913
093d3ff1 8914static PyObject *_wrap_TextCtrlNameStr_get(void) {
7449af73 8915 PyObject *pyobj = NULL;
d55e5bfc
RD
8916
8917 {
8918#if wxUSE_UNICODE
8919 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8920#else
8921 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8922#endif
8923 }
8924 return pyobj;
8925}
8926
8927
c32bde28 8928static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8929 PyObject *resultobj = NULL;
908b74cd
RD
8930 wxColour const &arg1_defvalue = wxNullColour ;
8931 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8932 wxColour const &arg2_defvalue = wxNullColour ;
8933 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8934 wxFont const &arg3_defvalue = wxNullFont ;
8935 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8936 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8937 wxTextAttr *result;
8938 wxColour temp1 ;
8939 wxColour temp2 ;
8940 PyObject * obj0 = 0 ;
8941 PyObject * obj1 = 0 ;
8942 PyObject * obj2 = 0 ;
8943 PyObject * obj3 = 0 ;
908b74cd
RD
8944 char *kwnames[] = {
8945 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8946 };
d55e5bfc 8947
908b74cd
RD
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8949 if (obj0) {
8950 {
8951 arg1 = &temp1;
8952 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8953 }
d55e5bfc
RD
8954 }
8955 if (obj1) {
8956 {
8957 arg2 = &temp2;
8958 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8959 }
8960 }
8961 if (obj2) {
093d3ff1
RD
8962 {
8963 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8964 if (SWIG_arg_fail(3)) SWIG_fail;
8965 if (arg3 == NULL) {
8966 SWIG_null_ref("wxFont");
8967 }
8968 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8969 }
8970 }
8971 if (obj3) {
093d3ff1 8972 {
7449af73 8973 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
093d3ff1
RD
8974 if (SWIG_arg_fail(4)) SWIG_fail;
8975 }
d55e5bfc
RD
8976 }
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8979 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
d55e5bfc
RD
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8985 return resultobj;
8986 fail:
8987 return NULL;
8988}
8989
8990
c32bde28 8991static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8992 PyObject *resultobj = NULL;
d55e5bfc
RD
8993 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8994 PyObject * obj0 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
9000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 delete arg1;
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 Py_INCREF(Py_None); resultobj = Py_None;
9010 return resultobj;
9011 fail:
9012 return NULL;
9013}
9014
9015
c32bde28 9016static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9017 PyObject *resultobj = NULL;
d55e5bfc
RD
9018 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9019 PyObject * obj0 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
9025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->Init();
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038}
9039
9040
c32bde28 9041static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9042 PyObject *resultobj = NULL;
d55e5bfc
RD
9043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9044 wxColour *arg2 = 0 ;
9045 wxColour temp2 ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self",(char *) "colText", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9055 {
9056 arg2 = &temp2;
9057 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9058 }
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 (arg1)->SetTextColour((wxColour const &)*arg2);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 Py_INCREF(Py_None); resultobj = Py_None;
9067 return resultobj;
9068 fail:
9069 return NULL;
9070}
9071
9072
c32bde28 9073static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9074 PyObject *resultobj = NULL;
d55e5bfc
RD
9075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9076 wxColour *arg2 = 0 ;
9077 wxColour temp2 ;
9078 PyObject * obj0 = 0 ;
9079 PyObject * obj1 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "self",(char *) "colBack", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9087 {
9088 arg2 = &temp2;
9089 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 Py_INCREF(Py_None); resultobj = Py_None;
9099 return resultobj;
9100 fail:
9101 return NULL;
9102}
9103
9104
c32bde28 9105static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9106 PyObject *resultobj = NULL;
d55e5bfc
RD
9107 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9108 wxFont *arg2 = 0 ;
9109 long arg3 = (long) wxTEXT_ATTR_FONT ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 PyObject * obj2 = 0 ;
9113 char *kwnames[] = {
9114 (char *) "self",(char *) "font",(char *) "flags", NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9119 if (SWIG_arg_fail(1)) SWIG_fail;
9120 {
9121 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9122 if (SWIG_arg_fail(2)) SWIG_fail;
9123 if (arg2 == NULL) {
9124 SWIG_null_ref("wxFont");
9125 }
9126 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9127 }
9128 if (obj2) {
093d3ff1 9129 {
7449af73 9130 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
9131 if (SWIG_arg_fail(3)) SWIG_fail;
9132 }
d55e5bfc
RD
9133 }
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 Py_INCREF(Py_None); resultobj = Py_None;
9142 return resultobj;
9143 fail:
9144 return NULL;
9145}
9146
9147
c32bde28 9148static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9149 PyObject *resultobj = NULL;
d55e5bfc 9150 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9151 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
9152 PyObject * obj0 = 0 ;
9153 PyObject * obj1 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self",(char *) "alignment", NULL
9156 };
9157
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9160 if (SWIG_arg_fail(1)) SWIG_fail;
9161 {
7449af73 9162 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
093d3ff1
RD
9163 if (SWIG_arg_fail(2)) SWIG_fail;
9164 }
d55e5bfc
RD
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9167 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 Py_INCREF(Py_None); resultobj = Py_None;
9173 return resultobj;
9174 fail:
9175 return NULL;
9176}
9177
9178
c32bde28 9179static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9180 PyObject *resultobj = NULL;
d55e5bfc
RD
9181 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9182 wxArrayInt *arg2 = 0 ;
ae8162c8 9183 bool temp2 = false ;
d55e5bfc
RD
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "tabs", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9193 {
9194 if (! PySequence_Check(obj1)) {
9195 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9196 SWIG_fail;
9197 }
9198 arg2 = new wxArrayInt;
ae8162c8 9199 temp2 = true;
d55e5bfc
RD
9200 int i, len=PySequence_Length(obj1);
9201 for (i=0; i<len; i++) {
9202 PyObject* item = PySequence_GetItem(obj1, i);
9203 PyObject* number = PyNumber_Int(item);
9204 arg2->Add(PyInt_AS_LONG(number));
9205 Py_DECREF(item);
9206 Py_DECREF(number);
9207 }
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 Py_INCREF(Py_None); resultobj = Py_None;
9217 {
9218 if (temp2) delete arg2;
9219 }
9220 return resultobj;
9221 fail:
9222 {
9223 if (temp2) delete arg2;
9224 }
9225 return NULL;
9226}
9227
9228
c32bde28 9229static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9230 PyObject *resultobj = NULL;
d55e5bfc
RD
9231 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9232 int arg2 ;
a07a67e6 9233 int arg3 = (int) 0 ;
d55e5bfc
RD
9234 PyObject * obj0 = 0 ;
9235 PyObject * obj1 = 0 ;
a07a67e6 9236 PyObject * obj2 = 0 ;
d55e5bfc 9237 char *kwnames[] = {
a07a67e6 9238 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
9239 };
9240
a07a67e6 9241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9243 if (SWIG_arg_fail(1)) SWIG_fail;
9244 {
7449af73 9245 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9246 if (SWIG_arg_fail(2)) SWIG_fail;
9247 }
a07a67e6 9248 if (obj2) {
093d3ff1 9249 {
7449af73 9250 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9251 if (SWIG_arg_fail(3)) SWIG_fail;
9252 }
a07a67e6 9253 }
d55e5bfc
RD
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 9256 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 Py_INCREF(Py_None); resultobj = Py_None;
9262 return resultobj;
9263 fail:
9264 return NULL;
9265}
9266
9267
c32bde28 9268static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9269 PyObject *resultobj = NULL;
d55e5bfc
RD
9270 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9271 int arg2 ;
9272 PyObject * obj0 = 0 ;
9273 PyObject * obj1 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self",(char *) "indent", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail;
9281 {
7449af73 9282 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9283 if (SWIG_arg_fail(2)) SWIG_fail;
9284 }
d55e5bfc
RD
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 (arg1)->SetRightIndent(arg2);
9288
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
9292 Py_INCREF(Py_None); resultobj = Py_None;
9293 return resultobj;
9294 fail:
9295 return NULL;
9296}
9297
9298
c32bde28 9299static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9300 PyObject *resultobj = NULL;
d55e5bfc
RD
9301 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9302 long arg2 ;
9303 PyObject * obj0 = 0 ;
9304 PyObject * obj1 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self",(char *) "flags", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9311 if (SWIG_arg_fail(1)) SWIG_fail;
9312 {
7449af73 9313 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
9314 if (SWIG_arg_fail(2)) SWIG_fail;
9315 }
d55e5bfc
RD
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 (arg1)->SetFlags(arg2);
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 Py_INCREF(Py_None); resultobj = Py_None;
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
c32bde28 9330static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9331 PyObject *resultobj = NULL;
d55e5bfc
RD
9332 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9333 bool result;
9334 PyObject * obj0 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 {
9350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9351 }
9352 return resultobj;
9353 fail:
9354 return NULL;
9355}
9356
9357
c32bde28 9358static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9359 PyObject *resultobj = NULL;
d55e5bfc
RD
9360 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9361 bool result;
9362 PyObject * obj0 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 {
9378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9379 }
9380 return resultobj;
9381 fail:
9382 return NULL;
9383}
9384
9385
c32bde28 9386static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9387 PyObject *resultobj = NULL;
d55e5bfc
RD
9388 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9389 bool result;
9390 PyObject * obj0 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 {
9406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9407 }
9408 return resultobj;
9409 fail:
9410 return NULL;
9411}
9412
9413
c32bde28 9414static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9415 PyObject *resultobj = NULL;
d55e5bfc
RD
9416 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9417 bool result;
9418 PyObject * obj0 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 {
9434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9435 }
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
c32bde28 9442static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9443 PyObject *resultobj = NULL;
d55e5bfc
RD
9444 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9445 bool result;
9446 PyObject * obj0 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 {
9462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9463 }
9464 return resultobj;
9465 fail:
9466 return NULL;
9467}
9468
9469
c32bde28 9470static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9471 PyObject *resultobj = NULL;
d55e5bfc
RD
9472 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9473 bool result;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 {
9490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9491 }
9492 return resultobj;
9493 fail:
9494 return NULL;
9495}
9496
9497
c32bde28 9498static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9499 PyObject *resultobj = NULL;
d55e5bfc
RD
9500 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9501 bool result;
9502 PyObject * obj0 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 {
9518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9519 }
9520 return resultobj;
9521 fail:
9522 return NULL;
9523}
9524
9525
c32bde28 9526static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9527 PyObject *resultobj = NULL;
d55e5bfc
RD
9528 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9529 long arg2 ;
9530 bool result;
9531 PyObject * obj0 = 0 ;
9532 PyObject * obj1 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "self",(char *) "flag", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail;
9540 {
7449af73 9541 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
9542 if (SWIG_arg_fail(2)) SWIG_fail;
9543 }
d55e5bfc
RD
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 {
9552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9553 }
9554 return resultobj;
9555 fail:
9556 return NULL;
9557}
9558
9559
c32bde28 9560static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9561 PyObject *resultobj = NULL;
d55e5bfc
RD
9562 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9563 wxColour *result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 {
9575 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9576 result = (wxColour *) &_result_ref;
9577 }
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9583 return resultobj;
9584 fail:
9585 return NULL;
9586}
9587
9588
c32bde28 9589static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9590 PyObject *resultobj = NULL;
d55e5bfc
RD
9591 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9592 wxColour *result;
9593 PyObject * obj0 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 {
9604 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9605 result = (wxColour *) &_result_ref;
9606 }
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9612 return resultobj;
9613 fail:
9614 return NULL;
9615}
9616
9617
c32bde28 9618static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9619 PyObject *resultobj = NULL;
d55e5bfc
RD
9620 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9621 wxFont *result;
9622 PyObject * obj0 = 0 ;
9623 char *kwnames[] = {
9624 (char *) "self", NULL
9625 };
9626
9627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 {
9633 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9634 result = (wxFont *) &_result_ref;
9635 }
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 {
9641 wxFont* resultptr = new wxFont(*result);
9642 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9643 }
9644 return resultobj;
9645 fail:
9646 return NULL;
9647}
9648
9649
c32bde28 9650static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9651 PyObject *resultobj = NULL;
d55e5bfc 9652 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9653 wxTextAttrAlignment result;
d55e5bfc
RD
9654 PyObject * obj0 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9664 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
093d3ff1 9669 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9670 return resultobj;
9671 fail:
9672 return NULL;
9673}
9674
9675
c32bde28 9676static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9677 PyObject *resultobj = NULL;
d55e5bfc
RD
9678 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9679 wxArrayInt *result;
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 {
9691 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9692 result = (wxArrayInt *) &_result_ref;
9693 }
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 resultobj = PyList_New(0);
9700 size_t idx;
9701 for (idx = 0; idx < result->GetCount(); idx += 1) {
9702 PyObject* val = PyInt_FromLong( result->Item(idx) );
9703 PyList_Append(resultobj, val);
9704 Py_DECREF(val);
9705 }
9706 }
9707 return resultobj;
9708 fail:
9709 return NULL;
9710}
9711
9712
c32bde28 9713static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9714 PyObject *resultobj = NULL;
d55e5bfc
RD
9715 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9716 long result;
9717 PyObject * obj0 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9724 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9728
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
093d3ff1 9732 {
7449af73 9733 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9734 }
d55e5bfc
RD
9735 return resultobj;
9736 fail:
9737 return NULL;
9738}
9739
9740
c32bde28 9741static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9742 PyObject *resultobj = NULL;
a07a67e6
RD
9743 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9744 long result;
9745 PyObject * obj0 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "self", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
093d3ff1 9760 {
7449af73 9761 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9762 }
a07a67e6
RD
9763 return resultobj;
9764 fail:
9765 return NULL;
9766}
9767
9768
c32bde28 9769static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9770 PyObject *resultobj = NULL;
d55e5bfc
RD
9771 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9772 long result;
9773 PyObject * obj0 = 0 ;
9774 char *kwnames[] = {
9775 (char *) "self", NULL
9776 };
9777
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
093d3ff1 9788 {
7449af73 9789 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9790 }
d55e5bfc
RD
9791 return resultobj;
9792 fail:
9793 return NULL;
9794}
9795
9796
c32bde28 9797static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9798 PyObject *resultobj = NULL;
d55e5bfc
RD
9799 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9800 long result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
093d3ff1 9816 {
7449af73 9817 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9818 }
d55e5bfc
RD
9819 return resultobj;
9820 fail:
9821 return NULL;
9822}
9823
9824
c32bde28 9825static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9826 PyObject *resultobj = NULL;
d55e5bfc
RD
9827 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9828 bool result;
9829 PyObject * obj0 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 {
9845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9846 }
9847 return resultobj;
9848 fail:
9849 return NULL;
9850}
9851
9852
c32bde28 9853static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9854 PyObject *resultobj = NULL;
d55e5bfc
RD
9855 wxTextAttr *arg1 = 0 ;
9856 wxTextAttr *arg2 = 0 ;
9857 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9858 wxTextAttr result;
9859 PyObject * obj0 = 0 ;
9860 PyObject * obj1 = 0 ;
9861 PyObject * obj2 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9867 {
9868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail;
9870 if (arg1 == NULL) {
9871 SWIG_null_ref("wxTextAttr");
9872 }
9873 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9874 }
093d3ff1
RD
9875 {
9876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9877 if (SWIG_arg_fail(2)) SWIG_fail;
9878 if (arg2 == NULL) {
9879 SWIG_null_ref("wxTextAttr");
9880 }
9881 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9882 }
093d3ff1
RD
9883 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9884 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 wxTextAttr * resultptr;
7449af73 9894 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
d55e5bfc
RD
9895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9896 }
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
c32bde28 9903static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9904 PyObject *obj;
9905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9906 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9907 Py_INCREF(obj);
9908 return Py_BuildValue((char *)"");
9909}
c32bde28 9910static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9911 PyObject *resultobj = NULL;
d55e5bfc 9912 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9913 int arg2 = (int) -1 ;
d55e5bfc
RD
9914 wxString const &arg3_defvalue = wxPyEmptyString ;
9915 wxString *arg3 = (wxString *) &arg3_defvalue ;
9916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9918 wxSize const &arg5_defvalue = wxDefaultSize ;
9919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9920 long arg6 = (long) 0 ;
9921 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9922 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9923 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9924 wxString *arg8 = (wxString *) &arg8_defvalue ;
9925 wxTextCtrl *result;
ae8162c8 9926 bool temp3 = false ;
d55e5bfc
RD
9927 wxPoint temp4 ;
9928 wxSize temp5 ;
ae8162c8 9929 bool temp8 = false ;
d55e5bfc
RD
9930 PyObject * obj0 = 0 ;
9931 PyObject * obj1 = 0 ;
9932 PyObject * obj2 = 0 ;
9933 PyObject * obj3 = 0 ;
9934 PyObject * obj4 = 0 ;
9935 PyObject * obj5 = 0 ;
9936 PyObject * obj6 = 0 ;
9937 PyObject * obj7 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9940 };
9941
248ed943 9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9944 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9945 if (obj1) {
093d3ff1 9946 {
7449af73 9947 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9948 if (SWIG_arg_fail(2)) SWIG_fail;
9949 }
248ed943 9950 }
d55e5bfc
RD
9951 if (obj2) {
9952 {
9953 arg3 = wxString_in_helper(obj2);
9954 if (arg3 == NULL) SWIG_fail;
ae8162c8 9955 temp3 = true;
d55e5bfc
RD
9956 }
9957 }
9958 if (obj3) {
9959 {
9960 arg4 = &temp4;
9961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9962 }
9963 }
9964 if (obj4) {
9965 {
9966 arg5 = &temp5;
9967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9968 }
9969 }
9970 if (obj5) {
093d3ff1 9971 {
7449af73 9972 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
9973 if (SWIG_arg_fail(6)) SWIG_fail;
9974 }
d55e5bfc
RD
9975 }
9976 if (obj6) {
093d3ff1
RD
9977 {
9978 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9979 if (SWIG_arg_fail(7)) SWIG_fail;
9980 if (arg7 == NULL) {
9981 SWIG_null_ref("wxValidator");
9982 }
9983 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9984 }
9985 }
9986 if (obj7) {
9987 {
9988 arg8 = wxString_in_helper(obj7);
9989 if (arg8 == NULL) SWIG_fail;
ae8162c8 9990 temp8 = true;
d55e5bfc
RD
9991 }
9992 }
9993 {
0439c23b 9994 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9997
9998 wxPyEndAllowThreads(__tstate);
110da5b0 9999 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 10000 }
b0f7404b 10001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
10002 {
10003 if (temp3)
10004 delete arg3;
10005 }
10006 {
10007 if (temp8)
10008 delete arg8;
10009 }
10010 return resultobj;
10011 fail:
10012 {
10013 if (temp3)
10014 delete arg3;
10015 }
10016 {
10017 if (temp8)
10018 delete arg8;
10019 }
10020 return NULL;
10021}
10022
10023
c32bde28 10024static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10025 PyObject *resultobj = NULL;
d55e5bfc
RD
10026 wxTextCtrl *result;
10027 char *kwnames[] = {
10028 NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
10032 {
0439c23b 10033 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 result = (wxTextCtrl *)new wxTextCtrl();
10036
10037 wxPyEndAllowThreads(__tstate);
110da5b0 10038 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 10039 }
b0f7404b 10040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
10041 return resultobj;
10042 fail:
10043 return NULL;
10044}
10045
10046
c32bde28 10047static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10048 PyObject *resultobj = NULL;
d55e5bfc
RD
10049 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10050 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10051 int arg3 = (int) -1 ;
d55e5bfc
RD
10052 wxString const &arg4_defvalue = wxPyEmptyString ;
10053 wxString *arg4 = (wxString *) &arg4_defvalue ;
10054 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10055 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10056 wxSize const &arg6_defvalue = wxDefaultSize ;
10057 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10058 long arg7 = (long) 0 ;
10059 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10060 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10061 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
10062 wxString *arg9 = (wxString *) &arg9_defvalue ;
10063 bool result;
ae8162c8 10064 bool temp4 = false ;
d55e5bfc
RD
10065 wxPoint temp5 ;
10066 wxSize temp6 ;
ae8162c8 10067 bool temp9 = false ;
d55e5bfc
RD
10068 PyObject * obj0 = 0 ;
10069 PyObject * obj1 = 0 ;
10070 PyObject * obj2 = 0 ;
10071 PyObject * obj3 = 0 ;
10072 PyObject * obj4 = 0 ;
10073 PyObject * obj5 = 0 ;
10074 PyObject * obj6 = 0 ;
10075 PyObject * obj7 = 0 ;
10076 PyObject * obj8 = 0 ;
10077 char *kwnames[] = {
10078 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10079 };
10080
248ed943 10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
10082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10083 if (SWIG_arg_fail(1)) SWIG_fail;
10084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10085 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10086 if (obj2) {
093d3ff1 10087 {
7449af73 10088 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10089 if (SWIG_arg_fail(3)) SWIG_fail;
10090 }
248ed943 10091 }
d55e5bfc
RD
10092 if (obj3) {
10093 {
10094 arg4 = wxString_in_helper(obj3);
10095 if (arg4 == NULL) SWIG_fail;
ae8162c8 10096 temp4 = true;
d55e5bfc
RD
10097 }
10098 }
10099 if (obj4) {
10100 {
10101 arg5 = &temp5;
10102 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10103 }
10104 }
10105 if (obj5) {
10106 {
10107 arg6 = &temp6;
10108 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10109 }
10110 }
10111 if (obj6) {
093d3ff1 10112 {
7449af73 10113 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
10114 if (SWIG_arg_fail(7)) SWIG_fail;
10115 }
d55e5bfc
RD
10116 }
10117 if (obj7) {
093d3ff1
RD
10118 {
10119 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
10120 if (SWIG_arg_fail(8)) SWIG_fail;
10121 if (arg8 == NULL) {
10122 SWIG_null_ref("wxValidator");
10123 }
10124 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
10125 }
10126 }
10127 if (obj8) {
10128 {
10129 arg9 = wxString_in_helper(obj8);
10130 if (arg9 == NULL) SWIG_fail;
ae8162c8 10131 temp9 = true;
d55e5bfc
RD
10132 }
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 {
10142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10143 }
10144 {
10145 if (temp4)
10146 delete arg4;
10147 }
10148 {
10149 if (temp9)
10150 delete arg9;
10151 }
10152 return resultobj;
10153 fail:
10154 {
10155 if (temp4)
10156 delete arg4;
10157 }
10158 {
10159 if (temp9)
10160 delete arg9;
10161 }
10162 return NULL;
10163}
10164
10165
c32bde28 10166static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10167 PyObject *resultobj = NULL;
d55e5bfc
RD
10168 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10169 wxString result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
10176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = ((wxTextCtrl const *)arg1)->GetValue();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 {
10186#if wxUSE_UNICODE
10187 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10188#else
10189 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10190#endif
10191 }
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
c32bde28 10198static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10199 PyObject *resultobj = NULL;
d55e5bfc
RD
10200 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10201 wxString *arg2 = 0 ;
ae8162c8 10202 bool temp2 = false ;
d55e5bfc
RD
10203 PyObject * obj0 = 0 ;
10204 PyObject * obj1 = 0 ;
10205 char *kwnames[] = {
10206 (char *) "self",(char *) "value", NULL
10207 };
10208
10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10212 {
10213 arg2 = wxString_in_helper(obj1);
10214 if (arg2 == NULL) SWIG_fail;
ae8162c8 10215 temp2 = true;
d55e5bfc
RD
10216 }
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 (arg1)->SetValue((wxString const &)*arg2);
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 Py_INCREF(Py_None); resultobj = Py_None;
10225 {
10226 if (temp2)
10227 delete arg2;
10228 }
10229 return resultobj;
10230 fail:
10231 {
10232 if (temp2)
10233 delete arg2;
10234 }
10235 return NULL;
10236}
10237
10238
c32bde28 10239static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10240 PyObject *resultobj = NULL;
d55e5bfc
RD
10241 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10242 long arg2 ;
10243 long arg3 ;
10244 wxString result;
10245 PyObject * obj0 = 0 ;
10246 PyObject * obj1 = 0 ;
10247 PyObject * obj2 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self",(char *) "from",(char *) "to", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail;
10255 {
7449af73 10256 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10257 if (SWIG_arg_fail(2)) SWIG_fail;
10258 }
10259 {
7449af73 10260 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10261 if (SWIG_arg_fail(3)) SWIG_fail;
10262 }
d55e5bfc
RD
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10266
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 {
10271#if wxUSE_UNICODE
10272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10273#else
10274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10275#endif
10276 }
10277 return resultobj;
10278 fail:
10279 return NULL;
10280}
10281
10282
c32bde28 10283static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10284 PyObject *resultobj = NULL;
d55e5bfc
RD
10285 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10286 long arg2 ;
10287 int result;
10288 PyObject * obj0 = 0 ;
10289 PyObject * obj1 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self",(char *) "lineNo", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10296 if (SWIG_arg_fail(1)) SWIG_fail;
10297 {
7449af73 10298 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10299 if (SWIG_arg_fail(2)) SWIG_fail;
10300 }
d55e5bfc
RD
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
093d3ff1 10308 {
7449af73 10309 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10310 }
d55e5bfc
RD
10311 return resultobj;
10312 fail:
10313 return NULL;
10314}
10315
10316
c32bde28 10317static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10318 PyObject *resultobj = NULL;
d55e5bfc
RD
10319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10320 long arg2 ;
10321 wxString result;
10322 PyObject * obj0 = 0 ;
10323 PyObject * obj1 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self",(char *) "lineNo", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10330 if (SWIG_arg_fail(1)) SWIG_fail;
10331 {
7449af73 10332 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10333 if (SWIG_arg_fail(2)) SWIG_fail;
10334 }
d55e5bfc
RD
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 {
10343#if wxUSE_UNICODE
10344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10345#else
10346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10347#endif
10348 }
10349 return resultobj;
10350 fail:
10351 return NULL;
10352}
10353
10354
c32bde28 10355static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10356 PyObject *resultobj = NULL;
d55e5bfc
RD
10357 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10358 int result;
10359 PyObject * obj0 = 0 ;
10360 char *kwnames[] = {
10361 (char *) "self", NULL
10362 };
10363
10364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10367 {
10368 PyThreadState* __tstate = wxPyBeginAllowThreads();
10369 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10370
10371 wxPyEndAllowThreads(__tstate);
10372 if (PyErr_Occurred()) SWIG_fail;
10373 }
093d3ff1 10374 {
7449af73 10375 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10376 }
d55e5bfc
RD
10377 return resultobj;
10378 fail:
10379 return NULL;
10380}
10381
10382
c32bde28 10383static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10384 PyObject *resultobj = NULL;
d55e5bfc
RD
10385 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10386 bool result;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 {
10403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10404 }
10405 return resultobj;
10406 fail:
10407 return NULL;
10408}
10409
10410
c32bde28 10411static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10412 PyObject *resultobj = NULL;
d55e5bfc
RD
10413 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10414 bool result;
10415 PyObject * obj0 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "self", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 {
10431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10432 }
10433 return resultobj;
10434 fail:
10435 return NULL;
10436}
10437
10438
c32bde28 10439static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10440 PyObject *resultobj = NULL;
d55e5bfc
RD
10441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10442 bool result;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 {
10459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10460 }
10461 return resultobj;
10462 fail:
10463 return NULL;
10464}
10465
10466
c32bde28 10467static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10468 PyObject *resultobj = NULL;
d55e5bfc
RD
10469 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10470 bool result;
10471 PyObject * obj0 = 0 ;
10472 char *kwnames[] = {
10473 (char *) "self", NULL
10474 };
10475
10476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10479 {
10480 PyThreadState* __tstate = wxPyBeginAllowThreads();
10481 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10482
10483 wxPyEndAllowThreads(__tstate);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 {
10487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10488 }
10489 return resultobj;
10490 fail:
10491 return NULL;
10492}
10493
10494
c32bde28 10495static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10496 PyObject *resultobj = NULL;
d55e5bfc
RD
10497 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10498 long *arg2 = (long *) 0 ;
10499 long *arg3 = (long *) 0 ;
10500 long temp2 ;
c32bde28 10501 int res2 = 0 ;
d55e5bfc 10502 long temp3 ;
c32bde28 10503 int res3 = 0 ;
d55e5bfc
RD
10504 PyObject * obj0 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self", NULL
10507 };
10508
c32bde28
RD
10509 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10510 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10522 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10523 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10524 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10525 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10526 return resultobj;
10527 fail:
10528 return NULL;
10529}
10530
10531
c32bde28 10532static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10533 PyObject *resultobj = NULL;
d55e5bfc
RD
10534 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10535 wxString result;
10536 PyObject * obj0 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 {
10552#if wxUSE_UNICODE
10553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10554#else
10555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10556#endif
10557 }
10558 return resultobj;
10559 fail:
10560 return NULL;
10561}
10562
10563
c32bde28 10564static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10565 PyObject *resultobj = NULL;
d55e5bfc
RD
10566 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10567 PyObject * obj0 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10574 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10575 {
10576 PyThreadState* __tstate = wxPyBeginAllowThreads();
10577 (arg1)->Clear();
10578
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 Py_INCREF(Py_None); resultobj = Py_None;
10583 return resultobj;
10584 fail:
10585 return NULL;
10586}
10587
10588
c32bde28 10589static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10590 PyObject *resultobj = NULL;
d55e5bfc
RD
10591 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10592 long arg2 ;
10593 long arg3 ;
10594 wxString *arg4 = 0 ;
ae8162c8 10595 bool temp4 = false ;
d55e5bfc
RD
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598 PyObject * obj2 = 0 ;
10599 PyObject * obj3 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10606 if (SWIG_arg_fail(1)) SWIG_fail;
10607 {
7449af73 10608 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10609 if (SWIG_arg_fail(2)) SWIG_fail;
10610 }
10611 {
7449af73 10612 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10613 if (SWIG_arg_fail(3)) SWIG_fail;
10614 }
d55e5bfc
RD
10615 {
10616 arg4 = wxString_in_helper(obj3);
10617 if (arg4 == NULL) SWIG_fail;
ae8162c8 10618 temp4 = true;
d55e5bfc
RD
10619 }
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 Py_INCREF(Py_None); resultobj = Py_None;
10628 {
10629 if (temp4)
10630 delete arg4;
10631 }
10632 return resultobj;
10633 fail:
10634 {
10635 if (temp4)
10636 delete arg4;
10637 }
10638 return NULL;
10639}
10640
10641
c32bde28 10642static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10643 PyObject *resultobj = NULL;
d55e5bfc
RD
10644 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10645 long arg2 ;
10646 long arg3 ;
10647 PyObject * obj0 = 0 ;
10648 PyObject * obj1 = 0 ;
10649 PyObject * obj2 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self",(char *) "from",(char *) "to", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail;
10657 {
7449af73 10658 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10659 if (SWIG_arg_fail(2)) SWIG_fail;
10660 }
10661 {
7449af73 10662 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10663 if (SWIG_arg_fail(3)) SWIG_fail;
10664 }
d55e5bfc
RD
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 (arg1)->Remove(arg2,arg3);
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 Py_INCREF(Py_None); resultobj = Py_None;
10673 return resultobj;
10674 fail:
10675 return NULL;
10676}
10677
10678
c32bde28 10679static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10680 PyObject *resultobj = NULL;
d55e5bfc
RD
10681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10682 wxString *arg2 = 0 ;
10683 bool result;
ae8162c8 10684 bool temp2 = false ;
d55e5bfc
RD
10685 PyObject * obj0 = 0 ;
10686 PyObject * obj1 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self",(char *) "file", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10694 {
10695 arg2 = wxString_in_helper(obj1);
10696 if (arg2 == NULL) SWIG_fail;
ae8162c8 10697 temp2 = true;
d55e5bfc
RD
10698 }
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 {
10707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10708 }
10709 {
10710 if (temp2)
10711 delete arg2;
10712 }
10713 return resultobj;
10714 fail:
10715 {
10716 if (temp2)
10717 delete arg2;
10718 }
10719 return NULL;
10720}
10721
10722
c32bde28 10723static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10724 PyObject *resultobj = NULL;
d55e5bfc
RD
10725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10726 wxString const &arg2_defvalue = wxPyEmptyString ;
10727 wxString *arg2 = (wxString *) &arg2_defvalue ;
10728 bool result;
ae8162c8 10729 bool temp2 = false ;
d55e5bfc
RD
10730 PyObject * obj0 = 0 ;
10731 PyObject * obj1 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self",(char *) "file", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10738 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10739 if (obj1) {
10740 {
10741 arg2 = wxString_in_helper(obj1);
10742 if (arg2 == NULL) SWIG_fail;
ae8162c8 10743 temp2 = true;
d55e5bfc
RD
10744 }
10745 }
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 {
10754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10755 }
10756 {
10757 if (temp2)
10758 delete arg2;
10759 }
10760 return resultobj;
10761 fail:
10762 {
10763 if (temp2)
10764 delete arg2;
10765 }
10766 return NULL;
10767}
10768
10769
c32bde28 10770static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10771 PyObject *resultobj = NULL;
d55e5bfc
RD
10772 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10773 PyObject * obj0 = 0 ;
10774 char *kwnames[] = {
10775 (char *) "self", NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 (arg1)->MarkDirty();
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 Py_INCREF(Py_None); resultobj = Py_None;
10789 return resultobj;
10790 fail:
10791 return NULL;
10792}
10793
10794
c32bde28 10795static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10796 PyObject *resultobj = NULL;
d55e5bfc
RD
10797 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10798 PyObject * obj0 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->DiscardEdits();
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 return resultobj;
10815 fail:
10816 return NULL;
10817}
10818
10819
c32bde28 10820static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10821 PyObject *resultobj = NULL;
d55e5bfc
RD
10822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10823 unsigned long arg2 ;
10824 PyObject * obj0 = 0 ;
10825 PyObject * obj1 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "self",(char *) "len", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10832 if (SWIG_arg_fail(1)) SWIG_fail;
10833 {
7449af73 10834 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
10835 if (SWIG_arg_fail(2)) SWIG_fail;
10836 }
d55e5bfc
RD
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 (arg1)->SetMaxLength(arg2);
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 Py_INCREF(Py_None); resultobj = Py_None;
10845 return resultobj;
10846 fail:
10847 return NULL;
10848}
10849
10850
c32bde28 10851static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10852 PyObject *resultobj = NULL;
d55e5bfc
RD
10853 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10854 wxString *arg2 = 0 ;
ae8162c8 10855 bool temp2 = false ;
d55e5bfc
RD
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 char *kwnames[] = {
10859 (char *) "self",(char *) "text", NULL
10860 };
10861
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10865 {
10866 arg2 = wxString_in_helper(obj1);
10867 if (arg2 == NULL) SWIG_fail;
ae8162c8 10868 temp2 = true;
d55e5bfc
RD
10869 }
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->WriteText((wxString const &)*arg2);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 {
10879 if (temp2)
10880 delete arg2;
10881 }
10882 return resultobj;
10883 fail:
10884 {
10885 if (temp2)
10886 delete arg2;
10887 }
10888 return NULL;
10889}
10890
10891
c32bde28 10892static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10893 PyObject *resultobj = NULL;
d55e5bfc
RD
10894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10895 wxString *arg2 = 0 ;
ae8162c8 10896 bool temp2 = false ;
d55e5bfc
RD
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "text", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10906 {
10907 arg2 = wxString_in_helper(obj1);
10908 if (arg2 == NULL) SWIG_fail;
ae8162c8 10909 temp2 = true;
d55e5bfc
RD
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 (arg1)->AppendText((wxString const &)*arg2);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 Py_INCREF(Py_None); resultobj = Py_None;
10919 {
10920 if (temp2)
10921 delete arg2;
10922 }
10923 return resultobj;
10924 fail:
10925 {
10926 if (temp2)
10927 delete arg2;
10928 }
10929 return NULL;
10930}
10931
10932
c32bde28 10933static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10934 PyObject *resultobj = NULL;
d55e5bfc
RD
10935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10936 wxKeyEvent *arg2 = 0 ;
10937 bool result;
10938 PyObject * obj0 = 0 ;
10939 PyObject * obj1 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self",(char *) "event", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail;
10947 {
10948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10949 if (SWIG_arg_fail(2)) SWIG_fail;
10950 if (arg2 == NULL) {
10951 SWIG_null_ref("wxKeyEvent");
10952 }
10953 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10954 }
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10958
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 {
10963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10964 }
10965 return resultobj;
10966 fail:
10967 return NULL;
10968}
10969
10970
c32bde28 10971static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10972 PyObject *resultobj = NULL;
d55e5bfc
RD
10973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10974 long arg2 ;
10975 long arg3 ;
10976 wxTextAttr *arg4 = 0 ;
10977 bool result;
10978 PyObject * obj0 = 0 ;
10979 PyObject * obj1 = 0 ;
10980 PyObject * obj2 = 0 ;
10981 PyObject * obj3 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail;
10989 {
7449af73 10990 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10991 if (SWIG_arg_fail(2)) SWIG_fail;
10992 }
10993 {
7449af73 10994 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10995 if (SWIG_arg_fail(3)) SWIG_fail;
10996 }
10997 {
10998 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10999 if (SWIG_arg_fail(4)) SWIG_fail;
11000 if (arg4 == NULL) {
11001 SWIG_null_ref("wxTextAttr");
11002 }
11003 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
11004 }
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
11008
11009 wxPyEndAllowThreads(__tstate);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 {
11013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11014 }
11015 return resultobj;
11016 fail:
11017 return NULL;
11018}
11019
11020
c32bde28 11021static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11022 PyObject *resultobj = NULL;
d55e5bfc
RD
11023 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11024 long arg2 ;
11025 wxTextAttr *arg3 = 0 ;
11026 bool result;
11027 PyObject * obj0 = 0 ;
11028 PyObject * obj1 = 0 ;
11029 PyObject * obj2 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self",(char *) "position",(char *) "style", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11036 if (SWIG_arg_fail(1)) SWIG_fail;
11037 {
7449af73 11038 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11039 if (SWIG_arg_fail(2)) SWIG_fail;
11040 }
11041 {
11042 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11043 if (SWIG_arg_fail(3)) SWIG_fail;
11044 if (arg3 == NULL) {
11045 SWIG_null_ref("wxTextAttr");
11046 }
11047 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
11048 }
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 result = (bool)(arg1)->GetStyle(arg2,*arg3);
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 {
11057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11058 }
11059 return resultobj;
11060 fail:
11061 return NULL;
11062}
11063
11064
c32bde28 11065static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11066 PyObject *resultobj = NULL;
d55e5bfc
RD
11067 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11068 wxTextAttr *arg2 = 0 ;
11069 bool result;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self",(char *) "style", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11078 if (SWIG_arg_fail(1)) SWIG_fail;
11079 {
11080 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11081 if (SWIG_arg_fail(2)) SWIG_fail;
11082 if (arg2 == NULL) {
11083 SWIG_null_ref("wxTextAttr");
11084 }
11085 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
11086 }
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 {
11095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11096 }
11097 return resultobj;
11098 fail:
11099 return NULL;
11100}
11101
11102
c32bde28 11103static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11104 PyObject *resultobj = NULL;
d55e5bfc
RD
11105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11106 wxTextAttr *result;
11107 PyObject * obj0 = 0 ;
11108 char *kwnames[] = {
11109 (char *) "self", NULL
11110 };
11111
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
11113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 {
11118 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
11119 result = (wxTextAttr *) &_result_ref;
11120 }
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
11126 return resultobj;
11127 fail:
11128 return NULL;
11129}
11130
11131
c32bde28 11132static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11133 PyObject *resultobj = NULL;
d55e5bfc
RD
11134 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11135 long arg2 ;
11136 long arg3 ;
11137 long result;
11138 PyObject * obj0 = 0 ;
11139 PyObject * obj1 = 0 ;
11140 PyObject * obj2 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self",(char *) "x",(char *) "y", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail;
11148 {
7449af73 11149 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11150 if (SWIG_arg_fail(2)) SWIG_fail;
11151 }
11152 {
7449af73 11153 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11154 if (SWIG_arg_fail(3)) SWIG_fail;
11155 }
d55e5bfc
RD
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
093d3ff1 11163 {
7449af73 11164 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11165 }
d55e5bfc
RD
11166 return resultobj;
11167 fail:
11168 return NULL;
11169}
11170
11171
c32bde28 11172static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11173 PyObject *resultobj = NULL;
d55e5bfc
RD
11174 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11175 long arg2 ;
11176 long *arg3 = (long *) 0 ;
11177 long *arg4 = (long *) 0 ;
11178 long temp3 ;
c32bde28 11179 int res3 = 0 ;
d55e5bfc 11180 long temp4 ;
c32bde28 11181 int res4 = 0 ;
d55e5bfc
RD
11182 PyObject * obj0 = 0 ;
11183 PyObject * obj1 = 0 ;
11184 char *kwnames[] = {
11185 (char *) "self",(char *) "pos", NULL
11186 };
11187
c32bde28
RD
11188 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11189 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11192 if (SWIG_arg_fail(1)) SWIG_fail;
11193 {
7449af73 11194 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11195 if (SWIG_arg_fail(2)) SWIG_fail;
11196 }
d55e5bfc
RD
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
11205 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11206 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11207 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11208 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11209 return resultobj;
11210 fail:
11211 return NULL;
11212}
11213
11214
c32bde28 11215static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11216 PyObject *resultobj = NULL;
d55e5bfc
RD
11217 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11218 long arg2 ;
11219 PyObject * obj0 = 0 ;
11220 PyObject * obj1 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "self",(char *) "pos", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail;
11228 {
7449af73 11229 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11230 if (SWIG_arg_fail(2)) SWIG_fail;
11231 }
d55e5bfc
RD
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 (arg1)->ShowPosition(arg2);
11235
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 Py_INCREF(Py_None); resultobj = Py_None;
11240 return resultobj;
11241 fail:
11242 return NULL;
11243}
11244
11245
c32bde28 11246static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11247 PyObject *resultobj = NULL;
d55e5bfc
RD
11248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11249 wxPoint *arg2 = 0 ;
11250 long *arg3 = (long *) 0 ;
11251 long *arg4 = (long *) 0 ;
093d3ff1 11252 wxTextCtrlHitTestResult result;
d55e5bfc
RD
11253 wxPoint temp2 ;
11254 long temp3 ;
c32bde28 11255 int res3 = 0 ;
d55e5bfc 11256 long temp4 ;
c32bde28 11257 int res4 = 0 ;
d55e5bfc
RD
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 char *kwnames[] = {
11261 (char *) "self",(char *) "pt", NULL
11262 };
11263
c32bde28
RD
11264 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11265 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11269 {
11270 arg2 = &temp2;
11271 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11272 }
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11275 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
11276
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
093d3ff1 11280 resultobj = SWIG_From_int((result));
c32bde28
RD
11281 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11282 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11283 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11284 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11285 return resultobj;
11286 fail:
11287 return NULL;
11288}
11289
11290
c32bde28 11291static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11292 PyObject *resultobj = NULL;
4896ac9e
RD
11293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11294 wxPoint *arg2 = 0 ;
11295 long *arg3 = (long *) 0 ;
093d3ff1 11296 wxTextCtrlHitTestResult result;
4896ac9e
RD
11297 wxPoint temp2 ;
11298 long temp3 ;
c32bde28 11299 int res3 = 0 ;
4896ac9e
RD
11300 PyObject * obj0 = 0 ;
11301 PyObject * obj1 = 0 ;
11302 char *kwnames[] = {
11303 (char *) "self",(char *) "pt", NULL
11304 };
11305
c32bde28 11306 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11310 {
11311 arg2 = &temp2;
11312 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11313 }
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11316 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
093d3ff1 11321 resultobj = SWIG_From_int((result));
c32bde28
RD
11322 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11323 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11324 return resultobj;
11325 fail:
11326 return NULL;
11327}
11328
11329
c32bde28 11330static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11331 PyObject *resultobj = NULL;
d55e5bfc
RD
11332 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11333 PyObject * obj0 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 (arg1)->Copy();
11344
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 Py_INCREF(Py_None); resultobj = Py_None;
11349 return resultobj;
11350 fail:
11351 return NULL;
11352}
11353
11354
c32bde28 11355static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11356 PyObject *resultobj = NULL;
d55e5bfc
RD
11357 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11358 PyObject * obj0 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->Cut();
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 Py_INCREF(Py_None); resultobj = Py_None;
11374 return resultobj;
11375 fail:
11376 return NULL;
11377}
11378
11379
c32bde28 11380static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11381 PyObject *resultobj = NULL;
d55e5bfc
RD
11382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11383 PyObject * obj0 = 0 ;
11384 char *kwnames[] = {
11385 (char *) "self", NULL
11386 };
11387
11388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->Paste();
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 Py_INCREF(Py_None); resultobj = Py_None;
11399 return resultobj;
11400 fail:
11401 return NULL;
11402}
11403
11404
c32bde28 11405static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11406 PyObject *resultobj = NULL;
d55e5bfc
RD
11407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11408 bool result;
11409 PyObject * obj0 = 0 ;
11410 char *kwnames[] = {
11411 (char *) "self", NULL
11412 };
11413
11414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11426 }
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
c32bde28 11433static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11434 PyObject *resultobj = NULL;
d55e5bfc
RD
11435 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11436 bool result;
11437 PyObject * obj0 = 0 ;
11438 char *kwnames[] = {
11439 (char *) "self", NULL
11440 };
11441
11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 {
11453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11454 }
11455 return resultobj;
11456 fail:
11457 return NULL;
11458}
11459
11460
c32bde28 11461static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11462 PyObject *resultobj = NULL;
d55e5bfc
RD
11463 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11464 bool result;
11465 PyObject * obj0 = 0 ;
11466 char *kwnames[] = {
11467 (char *) "self", NULL
11468 };
11469
11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11476
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 {
11481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11482 }
11483 return resultobj;
11484 fail:
11485 return NULL;
11486}
11487
11488
c32bde28 11489static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11490 PyObject *resultobj = NULL;
d55e5bfc
RD
11491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11492 PyObject * obj0 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->Undo();
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511}
11512
11513
c32bde28 11514static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11515 PyObject *resultobj = NULL;
d55e5bfc
RD
11516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11517 PyObject * obj0 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 (arg1)->Redo();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 Py_INCREF(Py_None); resultobj = Py_None;
11533 return resultobj;
11534 fail:
11535 return NULL;
11536}
11537
11538
c32bde28 11539static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11540 PyObject *resultobj = NULL;
d55e5bfc
RD
11541 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11542 bool result;
11543 PyObject * obj0 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "self", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 {
11559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11560 }
11561 return resultobj;
11562 fail:
11563 return NULL;
11564}
11565
11566
c32bde28 11567static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11568 PyObject *resultobj = NULL;
d55e5bfc
RD
11569 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11570 bool result;
11571 PyObject * obj0 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "self", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11578 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11588 }
11589 return resultobj;
11590 fail:
11591 return NULL;
11592}
11593
11594
c32bde28 11595static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11596 PyObject *resultobj = NULL;
d55e5bfc
RD
11597 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11598 long arg2 ;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self",(char *) "pos", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail;
11608 {
7449af73 11609 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11610 if (SWIG_arg_fail(2)) SWIG_fail;
11611 }
d55e5bfc
RD
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 (arg1)->SetInsertionPoint(arg2);
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 Py_INCREF(Py_None); resultobj = Py_None;
11620 return resultobj;
11621 fail:
11622 return NULL;
11623}
11624
11625
c32bde28 11626static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11627 PyObject *resultobj = NULL;
d55e5bfc
RD
11628 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11629 PyObject * obj0 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 (arg1)->SetInsertionPointEnd();
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 Py_INCREF(Py_None); resultobj = Py_None;
11645 return resultobj;
11646 fail:
11647 return NULL;
11648}
11649
11650
c32bde28 11651static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11652 PyObject *resultobj = NULL;
d55e5bfc
RD
11653 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11654 long result;
11655 PyObject * obj0 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
093d3ff1 11670 {
7449af73 11671 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11672 }
d55e5bfc
RD
11673 return resultobj;
11674 fail:
11675 return NULL;
11676}
11677
11678
c32bde28 11679static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11680 PyObject *resultobj = NULL;
d55e5bfc
RD
11681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11682 long result;
11683 PyObject * obj0 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
093d3ff1 11698 {
7449af73 11699 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11700 }
d55e5bfc
RD
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
c32bde28 11707static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11708 PyObject *resultobj = NULL;
d55e5bfc
RD
11709 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11710 long arg2 ;
11711 long arg3 ;
11712 PyObject * obj0 = 0 ;
11713 PyObject * obj1 = 0 ;
11714 PyObject * obj2 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self",(char *) "from",(char *) "to", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11721 if (SWIG_arg_fail(1)) SWIG_fail;
11722 {
7449af73 11723 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11724 if (SWIG_arg_fail(2)) SWIG_fail;
11725 }
11726 {
7449af73 11727 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11728 if (SWIG_arg_fail(3)) SWIG_fail;
11729 }
d55e5bfc
RD
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 (arg1)->SetSelection(arg2,arg3);
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 Py_INCREF(Py_None); resultobj = Py_None;
11738 return resultobj;
11739 fail:
11740 return NULL;
11741}
11742
11743
c32bde28 11744static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11745 PyObject *resultobj = NULL;
d55e5bfc
RD
11746 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11747 PyObject * obj0 = 0 ;
11748 char *kwnames[] = {
11749 (char *) "self", NULL
11750 };
11751
11752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11755 {
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 (arg1)->SelectAll();
11758
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 Py_INCREF(Py_None); resultobj = Py_None;
11763 return resultobj;
11764 fail:
11765 return NULL;
11766}
11767
11768
c32bde28 11769static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11770 PyObject *resultobj = NULL;
d55e5bfc
RD
11771 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11772 bool arg2 ;
11773 PyObject * obj0 = 0 ;
11774 PyObject * obj1 = 0 ;
11775 char *kwnames[] = {
11776 (char *) "self",(char *) "editable", NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11781 if (SWIG_arg_fail(1)) SWIG_fail;
11782 {
7449af73 11783 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
11784 if (SWIG_arg_fail(2)) SWIG_fail;
11785 }
d55e5bfc
RD
11786 {
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 (arg1)->SetEditable(arg2);
11789
11790 wxPyEndAllowThreads(__tstate);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 Py_INCREF(Py_None); resultobj = Py_None;
11794 return resultobj;
11795 fail:
11796 return NULL;
11797}
11798
11799
c32bde28 11800static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11801 PyObject *resultobj = NULL;
d55e5bfc 11802 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
ae8162c8 11803 bool arg2 = (bool) true ;
d55e5bfc
RD
11804 bool result;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self",(char *) "show", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11814 if (obj1) {
093d3ff1 11815 {
7449af73 11816 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
11817 if (SWIG_arg_fail(2)) SWIG_fail;
11818 }
d55e5bfc
RD
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (bool)(arg1)->ShowNativeCaret(arg2);
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 {
11828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11829 }
11830 return resultobj;
11831 fail:
11832 return NULL;
11833}
11834
11835
c32bde28 11836static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11837 PyObject *resultobj = NULL;
d55e5bfc
RD
11838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11839 bool result;
11840 PyObject * obj0 = 0 ;
11841 char *kwnames[] = {
11842 (char *) "self", NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
093d3ff1
RD
11846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (bool)(arg1)->HideNativeCaret();
11851
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 {
11856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11857 }
11858 return resultobj;
11859 fail:
11860 return NULL;
11861}
11862
11863
c32bde28 11864static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11865 PyObject *resultobj = NULL;
d55e5bfc
RD
11866 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11867 wxString *arg2 = 0 ;
ae8162c8 11868 bool temp2 = false ;
d55e5bfc
RD
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj1 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self",(char *) "text", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11878 {
11879 arg2 = wxString_in_helper(obj1);
11880 if (arg2 == NULL) SWIG_fail;
ae8162c8 11881 temp2 = true;
d55e5bfc
RD
11882 }
11883 {
11884 PyThreadState* __tstate = wxPyBeginAllowThreads();
11885 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11886
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 Py_INCREF(Py_None); resultobj = Py_None;
11891 {
11892 if (temp2)
11893 delete arg2;
11894 }
11895 return resultobj;
11896 fail:
11897 {
11898 if (temp2)
11899 delete arg2;
11900 }
11901 return NULL;
11902}
11903
11904
c32bde28 11905static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11906 PyObject *resultobj = NULL;
d55e5bfc
RD
11907 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11908 long arg2 ;
11909 long arg3 ;
11910 wxString result;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 PyObject * obj2 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self",(char *) "from",(char *) "to", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail;
11921 {
7449af73 11922 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11923 if (SWIG_arg_fail(2)) SWIG_fail;
11924 }
11925 {
7449af73 11926 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11927 if (SWIG_arg_fail(3)) SWIG_fail;
11928 }
d55e5bfc
RD
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11932
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 {
11937#if wxUSE_UNICODE
11938 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11939#else
11940 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11941#endif
11942 }
11943 return resultobj;
11944 fail:
11945 return NULL;
11946}
11947
11948
c32bde28 11949static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11950 PyObject *resultobj = NULL;
093d3ff1 11951 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11952 wxVisualAttributes result;
11953 PyObject * obj0 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "variant", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11959 if (obj0) {
093d3ff1 11960 {
7449af73 11961 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
11962 if (SWIG_arg_fail(1)) SWIG_fail;
11963 }
f20a2e1f
RD
11964 }
11965 {
19272049 11966 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 11968 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
11969
11970 wxPyEndAllowThreads(__tstate);
110da5b0 11971 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11972 }
11973 {
11974 wxVisualAttributes * resultptr;
7449af73 11975 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
11976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11977 }
11978 return resultobj;
11979 fail:
11980 return NULL;
11981}
11982
11983
c32bde28 11984static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11985 PyObject *obj;
11986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11987 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11988 Py_INCREF(obj);
11989 return Py_BuildValue((char *)"");
11990}
c32bde28 11991static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11992 PyObject *resultobj = NULL;
d55e5bfc
RD
11993 int arg1 ;
11994 wxMouseEvent *arg2 = 0 ;
11995 long arg3 ;
11996 long arg4 ;
11997 wxTextUrlEvent *result;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 PyObject * obj2 = 0 ;
12001 PyObject * obj3 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1 12007 {
7449af73 12008 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
12009 if (SWIG_arg_fail(1)) SWIG_fail;
12010 }
12011 {
12012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
12013 if (SWIG_arg_fail(2)) SWIG_fail;
12014 if (arg2 == NULL) {
12015 SWIG_null_ref("wxMouseEvent");
12016 }
12017 if (SWIG_arg_fail(2)) SWIG_fail;
12018 }
12019 {
7449af73 12020 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
12021 if (SWIG_arg_fail(3)) SWIG_fail;
12022 }
12023 {
7449af73 12024 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1 12025 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 12026 }
d55e5bfc
RD
12027 {
12028 PyThreadState* __tstate = wxPyBeginAllowThreads();
12029 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
12030
12031 wxPyEndAllowThreads(__tstate);
12032 if (PyErr_Occurred()) SWIG_fail;
12033 }
12034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
12035 return resultobj;
12036 fail:
12037 return NULL;
12038}
12039
12040
c32bde28 12041static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12042 PyObject *resultobj = NULL;
d55e5bfc
RD
12043 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12044 wxMouseEvent *result;
12045 PyObject * obj0 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
12051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 {
12056 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
12057 result = (wxMouseEvent *) &_result_ref;
12058 }
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
12063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
12064 return resultobj;
12065 fail:
12066 return NULL;
12067}
12068
12069
c32bde28 12070static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12071 PyObject *resultobj = NULL;
d55e5bfc
RD
12072 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12073 long result;
12074 PyObject * obj0 = 0 ;
12075 char *kwnames[] = {
12076 (char *) "self", NULL
12077 };
12078
12079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
12080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
093d3ff1 12089 {
7449af73 12090 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12091 }
d55e5bfc
RD
12092 return resultobj;
12093 fail:
12094 return NULL;
12095}
12096
12097
c32bde28 12098static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12099 PyObject *resultobj = NULL;
d55e5bfc
RD
12100 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12101 long result;
12102 PyObject * obj0 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "self", NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
12108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
093d3ff1 12117 {
7449af73 12118 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12119 }
d55e5bfc
RD
12120 return resultobj;
12121 fail:
12122 return NULL;
12123}
12124
12125
c32bde28 12126static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12127 PyObject *obj;
12128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12129 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
12130 Py_INCREF(obj);
12131 return Py_BuildValue((char *)"");
12132}
c32bde28 12133static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
12134 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
12135 return 1;
12136}
12137
12138
093d3ff1 12139static PyObject *_wrap_ScrollBarNameStr_get(void) {
7449af73 12140 PyObject *pyobj = NULL;
d55e5bfc
RD
12141
12142 {
12143#if wxUSE_UNICODE
12144 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12145#else
12146 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12147#endif
12148 }
12149 return pyobj;
12150}
12151
12152
c32bde28 12153static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12154 PyObject *resultobj = NULL;
d55e5bfc
RD
12155 wxWindow *arg1 = (wxWindow *) 0 ;
12156 int arg2 = (int) -1 ;
12157 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12158 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12159 wxSize const &arg4_defvalue = wxDefaultSize ;
12160 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12161 long arg5 = (long) wxSB_HORIZONTAL ;
12162 wxValidator const &arg6_defvalue = wxDefaultValidator ;
12163 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
12164 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
12165 wxString *arg7 = (wxString *) &arg7_defvalue ;
12166 wxScrollBar *result;
12167 wxPoint temp3 ;
12168 wxSize temp4 ;
ae8162c8 12169 bool temp7 = false ;
d55e5bfc
RD
12170 PyObject * obj0 = 0 ;
12171 PyObject * obj1 = 0 ;
12172 PyObject * obj2 = 0 ;
12173 PyObject * obj3 = 0 ;
12174 PyObject * obj4 = 0 ;
12175 PyObject * obj5 = 0 ;
12176 PyObject * obj6 = 0 ;
12177 char *kwnames[] = {
12178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12179 };
12180
12181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12184 if (obj1) {
093d3ff1 12185 {
7449af73 12186 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12187 if (SWIG_arg_fail(2)) SWIG_fail;
12188 }
d55e5bfc
RD
12189 }
12190 if (obj2) {
12191 {
12192 arg3 = &temp3;
12193 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12194 }
12195 }
12196 if (obj3) {
12197 {
12198 arg4 = &temp4;
12199 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12200 }
12201 }
12202 if (obj4) {
093d3ff1 12203 {
7449af73 12204 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12205 if (SWIG_arg_fail(5)) SWIG_fail;
12206 }
d55e5bfc
RD
12207 }
12208 if (obj5) {
093d3ff1
RD
12209 {
12210 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12211 if (SWIG_arg_fail(6)) SWIG_fail;
12212 if (arg6 == NULL) {
12213 SWIG_null_ref("wxValidator");
12214 }
12215 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
12216 }
12217 }
12218 if (obj6) {
12219 {
12220 arg7 = wxString_in_helper(obj6);
12221 if (arg7 == NULL) SWIG_fail;
ae8162c8 12222 temp7 = true;
d55e5bfc
RD
12223 }
12224 }
12225 {
0439c23b 12226 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12229
12230 wxPyEndAllowThreads(__tstate);
110da5b0 12231 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12232 }
12233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12234 {
12235 if (temp7)
12236 delete arg7;
12237 }
12238 return resultobj;
12239 fail:
12240 {
12241 if (temp7)
12242 delete arg7;
12243 }
12244 return NULL;
12245}
12246
12247
c32bde28 12248static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12249 PyObject *resultobj = NULL;
d55e5bfc
RD
12250 wxScrollBar *result;
12251 char *kwnames[] = {
12252 NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12256 {
0439c23b 12257 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (wxScrollBar *)new wxScrollBar();
12260
12261 wxPyEndAllowThreads(__tstate);
110da5b0 12262 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12263 }
12264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12265 return resultobj;
12266 fail:
12267 return NULL;
12268}
12269
12270
c32bde28 12271static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12272 PyObject *resultobj = NULL;
d55e5bfc
RD
12273 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12274 wxWindow *arg2 = (wxWindow *) 0 ;
12275 int arg3 = (int) -1 ;
12276 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12277 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12278 wxSize const &arg5_defvalue = wxDefaultSize ;
12279 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12280 long arg6 = (long) wxSB_HORIZONTAL ;
12281 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12282 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12283 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12284 wxString *arg8 = (wxString *) &arg8_defvalue ;
12285 bool result;
12286 wxPoint temp4 ;
12287 wxSize temp5 ;
ae8162c8 12288 bool temp8 = false ;
d55e5bfc
RD
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
12291 PyObject * obj2 = 0 ;
12292 PyObject * obj3 = 0 ;
12293 PyObject * obj4 = 0 ;
12294 PyObject * obj5 = 0 ;
12295 PyObject * obj6 = 0 ;
12296 PyObject * obj7 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
12302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail;
12304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12305 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12306 if (obj2) {
093d3ff1 12307 {
7449af73 12308 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12309 if (SWIG_arg_fail(3)) SWIG_fail;
12310 }
d55e5bfc
RD
12311 }
12312 if (obj3) {
12313 {
12314 arg4 = &temp4;
12315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12316 }
12317 }
12318 if (obj4) {
12319 {
12320 arg5 = &temp5;
12321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12322 }
12323 }
12324 if (obj5) {
093d3ff1 12325 {
7449af73 12326 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12327 if (SWIG_arg_fail(6)) SWIG_fail;
12328 }
d55e5bfc
RD
12329 }
12330 if (obj6) {
093d3ff1
RD
12331 {
12332 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12333 if (SWIG_arg_fail(7)) SWIG_fail;
12334 if (arg7 == NULL) {
12335 SWIG_null_ref("wxValidator");
12336 }
12337 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
12338 }
12339 }
12340 if (obj7) {
12341 {
12342 arg8 = wxString_in_helper(obj7);
12343 if (arg8 == NULL) SWIG_fail;
ae8162c8 12344 temp8 = true;
d55e5bfc
RD
12345 }
12346 }
12347 {
12348 PyThreadState* __tstate = wxPyBeginAllowThreads();
12349 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12350
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
12354 {
12355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12356 }
12357 {
12358 if (temp8)
12359 delete arg8;
12360 }
12361 return resultobj;
12362 fail:
12363 {
12364 if (temp8)
12365 delete arg8;
12366 }
12367 return NULL;
12368}
12369
12370
c32bde28 12371static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12372 PyObject *resultobj = NULL;
d55e5bfc
RD
12373 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12374 int result;
12375 PyObject * obj0 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
093d3ff1 12390 {
7449af73 12391 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12392 }
d55e5bfc
RD
12393 return resultobj;
12394 fail:
12395 return NULL;
12396}
12397
12398
c32bde28 12399static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12400 PyObject *resultobj = NULL;
d55e5bfc
RD
12401 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12402 int result;
12403 PyObject * obj0 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "self", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12410 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12411 {
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
093d3ff1 12418 {
7449af73 12419 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12420 }
d55e5bfc
RD
12421 return resultobj;
12422 fail:
12423 return NULL;
12424}
12425
12426
c32bde28 12427static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12428 PyObject *resultobj = NULL;
d55e5bfc
RD
12429 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12430 int result;
12431 PyObject * obj0 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "self", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12439 {
12440 PyThreadState* __tstate = wxPyBeginAllowThreads();
12441 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12442
12443 wxPyEndAllowThreads(__tstate);
12444 if (PyErr_Occurred()) SWIG_fail;
12445 }
093d3ff1 12446 {
7449af73 12447 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12448 }
d55e5bfc
RD
12449 return resultobj;
12450 fail:
12451 return NULL;
12452}
12453
12454
c32bde28 12455static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12456 PyObject *resultobj = NULL;
d55e5bfc
RD
12457 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12458 int result;
12459 PyObject * obj0 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (int)((wxScrollBar const *)arg1)->GetRange();
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
093d3ff1 12474 {
7449af73 12475 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12476 }
d55e5bfc
RD
12477 return resultobj;
12478 fail:
12479 return NULL;
12480}
12481
12482
c32bde28 12483static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12484 PyObject *resultobj = NULL;
d55e5bfc
RD
12485 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12486 bool result;
12487 PyObject * obj0 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12495 {
12496 PyThreadState* __tstate = wxPyBeginAllowThreads();
12497 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12498
12499 wxPyEndAllowThreads(__tstate);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
12502 {
12503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12504 }
12505 return resultobj;
12506 fail:
12507 return NULL;
12508}
12509
12510
c32bde28 12511static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12512 PyObject *resultobj = NULL;
d55e5bfc
RD
12513 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12514 int arg2 ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self",(char *) "viewStart", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12523 if (SWIG_arg_fail(1)) SWIG_fail;
12524 {
7449af73 12525 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12526 if (SWIG_arg_fail(2)) SWIG_fail;
12527 }
d55e5bfc
RD
12528 {
12529 PyThreadState* __tstate = wxPyBeginAllowThreads();
12530 (arg1)->SetThumbPosition(arg2);
12531
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 Py_INCREF(Py_None); resultobj = Py_None;
12536 return resultobj;
12537 fail:
12538 return NULL;
12539}
12540
12541
c32bde28 12542static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12543 PyObject *resultobj = NULL;
d55e5bfc
RD
12544 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12545 int arg2 ;
12546 int arg3 ;
12547 int arg4 ;
12548 int arg5 ;
ae8162c8 12549 bool arg6 = (bool) true ;
d55e5bfc
RD
12550 PyObject * obj0 = 0 ;
12551 PyObject * obj1 = 0 ;
12552 PyObject * obj2 = 0 ;
12553 PyObject * obj3 = 0 ;
12554 PyObject * obj4 = 0 ;
12555 PyObject * obj5 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail;
12563 {
7449af73 12564 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12565 if (SWIG_arg_fail(2)) SWIG_fail;
12566 }
12567 {
7449af73 12568 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12569 if (SWIG_arg_fail(3)) SWIG_fail;
12570 }
12571 {
7449af73 12572 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12573 if (SWIG_arg_fail(4)) SWIG_fail;
12574 }
12575 {
7449af73 12576 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
12577 if (SWIG_arg_fail(5)) SWIG_fail;
12578 }
d55e5bfc 12579 if (obj5) {
093d3ff1 12580 {
7449af73 12581 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
12582 if (SWIG_arg_fail(6)) SWIG_fail;
12583 }
d55e5bfc
RD
12584 }
12585 {
12586 PyThreadState* __tstate = wxPyBeginAllowThreads();
12587 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12588
12589 wxPyEndAllowThreads(__tstate);
12590 if (PyErr_Occurred()) SWIG_fail;
12591 }
12592 Py_INCREF(Py_None); resultobj = Py_None;
12593 return resultobj;
12594 fail:
12595 return NULL;
12596}
12597
12598
c32bde28 12599static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12600 PyObject *resultobj = NULL;
093d3ff1 12601 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12602 wxVisualAttributes result;
12603 PyObject * obj0 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "variant", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12609 if (obj0) {
093d3ff1 12610 {
7449af73 12611 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
12612 if (SWIG_arg_fail(1)) SWIG_fail;
12613 }
f20a2e1f
RD
12614 }
12615 {
19272049 12616 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 12618 result = wxScrollBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
12619
12620 wxPyEndAllowThreads(__tstate);
110da5b0 12621 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12622 }
12623 {
12624 wxVisualAttributes * resultptr;
7449af73 12625 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
12626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12627 }
12628 return resultobj;
12629 fail:
12630 return NULL;
12631}
12632
12633
c32bde28 12634static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12635 PyObject *obj;
12636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12637 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12638 Py_INCREF(obj);
12639 return Py_BuildValue((char *)"");
12640}
c32bde28 12641static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12642 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12643 return 1;
12644}
12645
12646
093d3ff1 12647static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
7449af73 12648 PyObject *pyobj = NULL;
d55e5bfc
RD
12649
12650 {
12651#if wxUSE_UNICODE
12652 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12653#else
12654 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12655#endif
12656 }
12657 return pyobj;
12658}
12659
12660
c32bde28 12661static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12662 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12663 return 1;
12664}
12665
12666
093d3ff1 12667static PyObject *_wrap_SpinCtrlNameStr_get(void) {
7449af73 12668 PyObject *pyobj = NULL;
d55e5bfc
RD
12669
12670 {
12671#if wxUSE_UNICODE
12672 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12673#else
12674 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12675#endif
12676 }
12677 return pyobj;
12678}
12679
12680
c32bde28 12681static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12682 PyObject *resultobj = NULL;
d55e5bfc
RD
12683 wxWindow *arg1 = (wxWindow *) 0 ;
12684 int arg2 = (int) -1 ;
12685 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12686 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12687 wxSize const &arg4_defvalue = wxDefaultSize ;
12688 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12689 long arg5 = (long) wxSP_HORIZONTAL ;
12690 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12691 wxString *arg6 = (wxString *) &arg6_defvalue ;
12692 wxSpinButton *result;
12693 wxPoint temp3 ;
12694 wxSize temp4 ;
ae8162c8 12695 bool temp6 = false ;
d55e5bfc
RD
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 PyObject * obj2 = 0 ;
12699 PyObject * obj3 = 0 ;
12700 PyObject * obj4 = 0 ;
12701 PyObject * obj5 = 0 ;
12702 char *kwnames[] = {
12703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12709 if (obj1) {
093d3ff1 12710 {
7449af73 12711 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12712 if (SWIG_arg_fail(2)) SWIG_fail;
12713 }
d55e5bfc
RD
12714 }
12715 if (obj2) {
12716 {
12717 arg3 = &temp3;
12718 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12719 }
12720 }
12721 if (obj3) {
12722 {
12723 arg4 = &temp4;
12724 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12725 }
12726 }
12727 if (obj4) {
093d3ff1 12728 {
7449af73 12729 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12730 if (SWIG_arg_fail(5)) SWIG_fail;
12731 }
d55e5bfc
RD
12732 }
12733 if (obj5) {
12734 {
12735 arg6 = wxString_in_helper(obj5);
12736 if (arg6 == NULL) SWIG_fail;
ae8162c8 12737 temp6 = true;
d55e5bfc
RD
12738 }
12739 }
12740 {
0439c23b 12741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12744
12745 wxPyEndAllowThreads(__tstate);
110da5b0 12746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12747 }
12748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12749 {
12750 if (temp6)
12751 delete arg6;
12752 }
12753 return resultobj;
12754 fail:
12755 {
12756 if (temp6)
12757 delete arg6;
12758 }
12759 return NULL;
12760}
12761
12762
c32bde28 12763static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12764 PyObject *resultobj = NULL;
d55e5bfc
RD
12765 wxSpinButton *result;
12766 char *kwnames[] = {
12767 NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12771 {
0439c23b 12772 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (wxSpinButton *)new wxSpinButton();
12775
12776 wxPyEndAllowThreads(__tstate);
110da5b0 12777 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12778 }
12779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12780 return resultobj;
12781 fail:
12782 return NULL;
12783}
12784
12785
c32bde28 12786static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12787 PyObject *resultobj = NULL;
d55e5bfc
RD
12788 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12789 wxWindow *arg2 = (wxWindow *) 0 ;
12790 int arg3 = (int) -1 ;
12791 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12792 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12793 wxSize const &arg5_defvalue = wxDefaultSize ;
12794 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12795 long arg6 = (long) wxSP_HORIZONTAL ;
12796 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12797 wxString *arg7 = (wxString *) &arg7_defvalue ;
12798 bool result;
12799 wxPoint temp4 ;
12800 wxSize temp5 ;
ae8162c8 12801 bool temp7 = false ;
d55e5bfc
RD
12802 PyObject * obj0 = 0 ;
12803 PyObject * obj1 = 0 ;
12804 PyObject * obj2 = 0 ;
12805 PyObject * obj3 = 0 ;
12806 PyObject * obj4 = 0 ;
12807 PyObject * obj5 = 0 ;
12808 PyObject * obj6 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail;
12816 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12817 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12818 if (obj2) {
093d3ff1 12819 {
7449af73 12820 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12821 if (SWIG_arg_fail(3)) SWIG_fail;
12822 }
d55e5bfc
RD
12823 }
12824 if (obj3) {
12825 {
12826 arg4 = &temp4;
12827 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12828 }
12829 }
12830 if (obj4) {
12831 {
12832 arg5 = &temp5;
12833 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12834 }
12835 }
12836 if (obj5) {
093d3ff1 12837 {
7449af73 12838 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12839 if (SWIG_arg_fail(6)) SWIG_fail;
12840 }
d55e5bfc
RD
12841 }
12842 if (obj6) {
12843 {
12844 arg7 = wxString_in_helper(obj6);
12845 if (arg7 == NULL) SWIG_fail;
ae8162c8 12846 temp7 = true;
d55e5bfc
RD
12847 }
12848 }
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 {
12857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12858 }
12859 {
12860 if (temp7)
12861 delete arg7;
12862 }
12863 return resultobj;
12864 fail:
12865 {
12866 if (temp7)
12867 delete arg7;
12868 }
12869 return NULL;
12870}
12871
12872
c32bde28 12873static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12874 PyObject *resultobj = NULL;
d55e5bfc
RD
12875 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12876 int result;
12877 PyObject * obj0 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (int)((wxSpinButton const *)arg1)->GetValue();
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
093d3ff1 12892 {
7449af73 12893 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12894 }
d55e5bfc
RD
12895 return resultobj;
12896 fail:
12897 return NULL;
12898}
12899
12900
c32bde28 12901static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12902 PyObject *resultobj = NULL;
d55e5bfc
RD
12903 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12904 int result;
12905 PyObject * obj0 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 result = (int)((wxSpinButton const *)arg1)->GetMin();
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
093d3ff1 12920 {
7449af73 12921 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12922 }
d55e5bfc
RD
12923 return resultobj;
12924 fail:
12925 return NULL;
12926}
12927
12928
c32bde28 12929static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12930 PyObject *resultobj = NULL;
d55e5bfc
RD
12931 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12932 int result;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (int)((wxSpinButton const *)arg1)->GetMax();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
093d3ff1 12948 {
7449af73 12949 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12950 }
d55e5bfc
RD
12951 return resultobj;
12952 fail:
12953 return NULL;
12954}
12955
12956
c32bde28 12957static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12958 PyObject *resultobj = NULL;
d55e5bfc
RD
12959 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12960 int arg2 ;
12961 PyObject * obj0 = 0 ;
12962 PyObject * obj1 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self",(char *) "val", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail;
12970 {
7449af73 12971 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12972 if (SWIG_arg_fail(2)) SWIG_fail;
12973 }
d55e5bfc
RD
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 (arg1)->SetValue(arg2);
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 Py_INCREF(Py_None); resultobj = Py_None;
12982 return resultobj;
12983 fail:
12984 return NULL;
12985}
12986
12987
c32bde28 12988static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12989 PyObject *resultobj = NULL;
d55e5bfc
RD
12990 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12991 int arg2 ;
12992 PyObject * obj0 = 0 ;
12993 PyObject * obj1 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "minVal", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13000 if (SWIG_arg_fail(1)) SWIG_fail;
13001 {
7449af73 13002 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13003 if (SWIG_arg_fail(2)) SWIG_fail;
13004 }
d55e5bfc
RD
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 (arg1)->SetMin(arg2);
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 Py_INCREF(Py_None); resultobj = Py_None;
13013 return resultobj;
13014 fail:
13015 return NULL;
13016}
13017
13018
c32bde28 13019static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13020 PyObject *resultobj = NULL;
d55e5bfc
RD
13021 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13022 int arg2 ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "maxVal", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13031 if (SWIG_arg_fail(1)) SWIG_fail;
13032 {
7449af73 13033 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13034 if (SWIG_arg_fail(2)) SWIG_fail;
13035 }
d55e5bfc
RD
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 (arg1)->SetMax(arg2);
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 Py_INCREF(Py_None); resultobj = Py_None;
13044 return resultobj;
13045 fail:
13046 return NULL;
13047}
13048
13049
c32bde28 13050static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13051 PyObject *resultobj = NULL;
d55e5bfc
RD
13052 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13053 int arg2 ;
13054 int arg3 ;
13055 PyObject * obj0 = 0 ;
13056 PyObject * obj1 = 0 ;
13057 PyObject * obj2 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail;
13065 {
7449af73 13066 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13067 if (SWIG_arg_fail(2)) SWIG_fail;
13068 }
13069 {
7449af73 13070 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13071 if (SWIG_arg_fail(3)) SWIG_fail;
13072 }
d55e5bfc
RD
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->SetRange(arg2,arg3);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
f20a2e1f
RD
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084}
13085
13086
c32bde28 13087static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13088 PyObject *resultobj = NULL;
f20a2e1f
RD
13089 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13090 bool result;
13091 PyObject * obj0 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
13097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 {
13107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13108 }
d55e5bfc
RD
13109 return resultobj;
13110 fail:
13111 return NULL;
13112}
13113
13114
c32bde28 13115static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13116 PyObject *resultobj = NULL;
093d3ff1 13117 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 13118 wxVisualAttributes result;
d55e5bfc
RD
13119 PyObject * obj0 = 0 ;
13120 char *kwnames[] = {
f20a2e1f 13121 (char *) "variant", NULL
d55e5bfc
RD
13122 };
13123
f20a2e1f
RD
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13125 if (obj0) {
093d3ff1 13126 {
7449af73 13127 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
13128 if (SWIG_arg_fail(1)) SWIG_fail;
13129 }
f20a2e1f 13130 }
d55e5bfc 13131 {
19272049 13132 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 13134 result = wxSpinButton::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
13135
13136 wxPyEndAllowThreads(__tstate);
110da5b0 13137 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13138 }
13139 {
f20a2e1f 13140 wxVisualAttributes * resultptr;
7449af73 13141 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f 13142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
13143 }
13144 return resultobj;
13145 fail:
13146 return NULL;
13147}
13148
13149
c32bde28 13150static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13151 PyObject *obj;
13152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13153 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
13154 Py_INCREF(obj);
13155 return Py_BuildValue((char *)"");
13156}
c32bde28 13157static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13158 PyObject *resultobj = NULL;
d55e5bfc
RD
13159 wxWindow *arg1 = (wxWindow *) 0 ;
13160 int arg2 = (int) -1 ;
13161 wxString const &arg3_defvalue = wxPyEmptyString ;
13162 wxString *arg3 = (wxString *) &arg3_defvalue ;
13163 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13164 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13165 wxSize const &arg5_defvalue = wxDefaultSize ;
13166 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13167 long arg6 = (long) wxSP_ARROW_KEYS ;
13168 int arg7 = (int) 0 ;
13169 int arg8 = (int) 100 ;
13170 int arg9 = (int) 0 ;
13171 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
13172 wxString *arg10 = (wxString *) &arg10_defvalue ;
13173 wxSpinCtrl *result;
ae8162c8 13174 bool temp3 = false ;
d55e5bfc
RD
13175 wxPoint temp4 ;
13176 wxSize temp5 ;
ae8162c8 13177 bool temp10 = false ;
d55e5bfc
RD
13178 PyObject * obj0 = 0 ;
13179 PyObject * obj1 = 0 ;
13180 PyObject * obj2 = 0 ;
13181 PyObject * obj3 = 0 ;
13182 PyObject * obj4 = 0 ;
13183 PyObject * obj5 = 0 ;
13184 PyObject * obj6 = 0 ;
13185 PyObject * obj7 = 0 ;
13186 PyObject * obj8 = 0 ;
13187 PyObject * obj9 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13190 };
13191
13192 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
13193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13195 if (obj1) {
093d3ff1 13196 {
7449af73 13197 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13198 if (SWIG_arg_fail(2)) SWIG_fail;
13199 }
d55e5bfc
RD
13200 }
13201 if (obj2) {
13202 {
13203 arg3 = wxString_in_helper(obj2);
13204 if (arg3 == NULL) SWIG_fail;
ae8162c8 13205 temp3 = true;
d55e5bfc
RD
13206 }
13207 }
13208 if (obj3) {
13209 {
13210 arg4 = &temp4;
13211 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13212 }
13213 }
13214 if (obj4) {
13215 {
13216 arg5 = &temp5;
13217 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13218 }
13219 }
13220 if (obj5) {
093d3ff1 13221 {
7449af73 13222 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
13223 if (SWIG_arg_fail(6)) SWIG_fail;
13224 }
d55e5bfc
RD
13225 }
13226 if (obj6) {
093d3ff1 13227 {
7449af73 13228 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
13229 if (SWIG_arg_fail(7)) SWIG_fail;
13230 }
d55e5bfc
RD
13231 }
13232 if (obj7) {
093d3ff1 13233 {
7449af73 13234 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
13235 if (SWIG_arg_fail(8)) SWIG_fail;
13236 }
d55e5bfc
RD
13237 }
13238 if (obj8) {
093d3ff1 13239 {
7449af73 13240 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
13241 if (SWIG_arg_fail(9)) SWIG_fail;
13242 }
d55e5bfc
RD
13243 }
13244 if (obj9) {
13245 {
13246 arg10 = wxString_in_helper(obj9);
13247 if (arg10 == NULL) SWIG_fail;
ae8162c8 13248 temp10 = true;
d55e5bfc
RD
13249 }
13250 }
13251 {
0439c23b 13252 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13255
13256 wxPyEndAllowThreads(__tstate);
110da5b0 13257 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13258 }
13259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13260 {
13261 if (temp3)
13262 delete arg3;
13263 }
13264 {
13265 if (temp10)
13266 delete arg10;
13267 }
13268 return resultobj;
13269 fail:
13270 {
13271 if (temp3)
13272 delete arg3;
13273 }
13274 {
13275 if (temp10)
13276 delete arg10;
13277 }
13278 return NULL;
13279}
13280
13281
c32bde28 13282static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13283 PyObject *resultobj = NULL;
d55e5bfc
RD
13284 wxSpinCtrl *result;
13285 char *kwnames[] = {
13286 NULL
13287 };
13288
13289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13290 {
0439c23b 13291 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13292 PyThreadState* __tstate = wxPyBeginAllowThreads();
13293 result = (wxSpinCtrl *)new wxSpinCtrl();
13294
13295 wxPyEndAllowThreads(__tstate);
110da5b0 13296 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13297 }
13298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13299 return resultobj;
13300 fail:
13301 return NULL;
13302}
13303
13304
c32bde28 13305static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13306 PyObject *resultobj = NULL;
d55e5bfc
RD
13307 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13308 wxWindow *arg2 = (wxWindow *) 0 ;
13309 int arg3 = (int) -1 ;
13310 wxString const &arg4_defvalue = wxPyEmptyString ;
13311 wxString *arg4 = (wxString *) &arg4_defvalue ;
13312 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13313 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13314 wxSize const &arg6_defvalue = wxDefaultSize ;
13315 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13316 long arg7 = (long) wxSP_ARROW_KEYS ;
13317 int arg8 = (int) 0 ;
13318 int arg9 = (int) 100 ;
13319 int arg10 = (int) 0 ;
13320 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13321 wxString *arg11 = (wxString *) &arg11_defvalue ;
13322 bool result;
ae8162c8 13323 bool temp4 = false ;
d55e5bfc
RD
13324 wxPoint temp5 ;
13325 wxSize temp6 ;
ae8162c8 13326 bool temp11 = false ;
d55e5bfc
RD
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 PyObject * obj2 = 0 ;
13330 PyObject * obj3 = 0 ;
13331 PyObject * obj4 = 0 ;
13332 PyObject * obj5 = 0 ;
13333 PyObject * obj6 = 0 ;
13334 PyObject * obj7 = 0 ;
13335 PyObject * obj8 = 0 ;
13336 PyObject * obj9 = 0 ;
13337 PyObject * obj10 = 0 ;
13338 char *kwnames[] = {
13339 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13340 };
13341
13342 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
13343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13344 if (SWIG_arg_fail(1)) SWIG_fail;
13345 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13346 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13347 if (obj2) {
093d3ff1 13348 {
7449af73 13349 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13350 if (SWIG_arg_fail(3)) SWIG_fail;
13351 }
d55e5bfc
RD
13352 }
13353 if (obj3) {
13354 {
13355 arg4 = wxString_in_helper(obj3);
13356 if (arg4 == NULL) SWIG_fail;
ae8162c8 13357 temp4 = true;
d55e5bfc
RD
13358 }
13359 }
13360 if (obj4) {
13361 {
13362 arg5 = &temp5;
13363 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13364 }
13365 }
13366 if (obj5) {
13367 {
13368 arg6 = &temp6;
13369 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13370 }
13371 }
13372 if (obj6) {
093d3ff1 13373 {
7449af73 13374 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
13375 if (SWIG_arg_fail(7)) SWIG_fail;
13376 }
d55e5bfc
RD
13377 }
13378 if (obj7) {
093d3ff1 13379 {
7449af73 13380 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
13381 if (SWIG_arg_fail(8)) SWIG_fail;
13382 }
d55e5bfc
RD
13383 }
13384 if (obj8) {
093d3ff1 13385 {
7449af73 13386 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
13387 if (SWIG_arg_fail(9)) SWIG_fail;
13388 }
d55e5bfc
RD
13389 }
13390 if (obj9) {
093d3ff1 13391 {
7449af73 13392 arg10 = static_cast<int >(SWIG_As_int(obj9));
093d3ff1
RD
13393 if (SWIG_arg_fail(10)) SWIG_fail;
13394 }
d55e5bfc
RD
13395 }
13396 if (obj10) {
13397 {
13398 arg11 = wxString_in_helper(obj10);
13399 if (arg11 == NULL) SWIG_fail;
ae8162c8 13400 temp11 = true;
d55e5bfc
RD
13401 }
13402 }
13403 {
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13406
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 {
13411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13412 }
13413 {
13414 if (temp4)
13415 delete arg4;
13416 }
13417 {
13418 if (temp11)
13419 delete arg11;
13420 }
13421 return resultobj;
13422 fail:
13423 {
13424 if (temp4)
13425 delete arg4;
13426 }
13427 {
13428 if (temp11)
13429 delete arg11;
13430 }
13431 return NULL;
13432}
13433
13434
c32bde28 13435static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13436 PyObject *resultobj = NULL;
d55e5bfc
RD
13437 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13438 int result;
13439 PyObject * obj0 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) 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;
d55e5bfc
RD
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
093d3ff1 13454 {
7449af73 13455 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13456 }
d55e5bfc
RD
13457 return resultobj;
13458 fail:
13459 return NULL;
13460}
13461
13462
c32bde28 13463static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13464 PyObject *resultobj = NULL;
d55e5bfc
RD
13465 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13466 int arg2 ;
13467 PyObject * obj0 = 0 ;
13468 PyObject * obj1 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self",(char *) "value", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail;
13476 {
7449af73 13477 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13478 if (SWIG_arg_fail(2)) SWIG_fail;
13479 }
d55e5bfc
RD
13480 {
13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
13482 (arg1)->SetValue(arg2);
13483
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 Py_INCREF(Py_None); resultobj = Py_None;
13488 return resultobj;
13489 fail:
13490 return NULL;
13491}
13492
13493
c32bde28 13494static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13495 PyObject *resultobj = NULL;
d55e5bfc
RD
13496 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13497 wxString *arg2 = 0 ;
ae8162c8 13498 bool temp2 = false ;
d55e5bfc
RD
13499 PyObject * obj0 = 0 ;
13500 PyObject * obj1 = 0 ;
13501 char *kwnames[] = {
13502 (char *) "self",(char *) "text", NULL
13503 };
13504
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13508 {
13509 arg2 = wxString_in_helper(obj1);
13510 if (arg2 == NULL) SWIG_fail;
ae8162c8 13511 temp2 = true;
d55e5bfc
RD
13512 }
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 (arg1)->SetValue((wxString const &)*arg2);
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 Py_INCREF(Py_None); resultobj = Py_None;
13521 {
13522 if (temp2)
13523 delete arg2;
13524 }
13525 return resultobj;
13526 fail:
13527 {
13528 if (temp2)
13529 delete arg2;
13530 }
13531 return NULL;
13532}
13533
13534
c32bde28 13535static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13536 PyObject *resultobj = NULL;
d55e5bfc
RD
13537 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13538 int arg2 ;
13539 int arg3 ;
13540 PyObject * obj0 = 0 ;
13541 PyObject * obj1 = 0 ;
13542 PyObject * obj2 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13549 if (SWIG_arg_fail(1)) SWIG_fail;
13550 {
7449af73 13551 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13552 if (SWIG_arg_fail(2)) SWIG_fail;
13553 }
13554 {
7449af73 13555 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13556 if (SWIG_arg_fail(3)) SWIG_fail;
13557 }
d55e5bfc
RD
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 (arg1)->SetRange(arg2,arg3);
13561
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
13565 Py_INCREF(Py_None); resultobj = Py_None;
13566 return resultobj;
13567 fail:
13568 return NULL;
13569}
13570
13571
c32bde28 13572static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13573 PyObject *resultobj = NULL;
d55e5bfc
RD
13574 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13575 int result;
13576 PyObject * obj0 = 0 ;
13577 char *kwnames[] = {
13578 (char *) "self", NULL
13579 };
13580
13581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
093d3ff1 13591 {
7449af73 13592 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13593 }
d55e5bfc
RD
13594 return resultobj;
13595 fail:
13596 return NULL;
13597}
13598
13599
c32bde28 13600static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13601 PyObject *resultobj = NULL;
d55e5bfc
RD
13602 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13603 int result;
13604 PyObject * obj0 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
093d3ff1 13619 {
7449af73 13620 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13621 }
d55e5bfc
RD
13622 return resultobj;
13623 fail:
13624 return NULL;
13625}
13626
13627
c32bde28 13628static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13629 PyObject *resultobj = NULL;
d55e5bfc
RD
13630 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13631 long arg2 ;
13632 long arg3 ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 PyObject * obj2 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self",(char *) "from",(char *) "to", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail;
13643 {
7449af73 13644 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
13645 if (SWIG_arg_fail(2)) SWIG_fail;
13646 }
13647 {
7449af73 13648 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
13649 if (SWIG_arg_fail(3)) SWIG_fail;
13650 }
d55e5bfc
RD
13651 {
13652 PyThreadState* __tstate = wxPyBeginAllowThreads();
13653 (arg1)->SetSelection(arg2,arg3);
13654
13655 wxPyEndAllowThreads(__tstate);
13656 if (PyErr_Occurred()) SWIG_fail;
13657 }
13658 Py_INCREF(Py_None); resultobj = Py_None;
13659 return resultobj;
13660 fail:
13661 return NULL;
13662}
13663
13664
c32bde28 13665static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13666 PyObject *resultobj = NULL;
093d3ff1 13667 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13668 wxVisualAttributes result;
13669 PyObject * obj0 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "variant", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13675 if (obj0) {
093d3ff1 13676 {
7449af73 13677 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
13678 if (SWIG_arg_fail(1)) SWIG_fail;
13679 }
f20a2e1f
RD
13680 }
13681 {
19272049 13682 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 13684 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
13685
13686 wxPyEndAllowThreads(__tstate);
110da5b0 13687 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13688 }
13689 {
13690 wxVisualAttributes * resultptr;
7449af73 13691 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
13692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13693 }
13694 return resultobj;
13695 fail:
13696 return NULL;
13697}
13698
13699
c32bde28 13700static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13701 PyObject *obj;
13702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13703 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13704 Py_INCREF(obj);
13705 return Py_BuildValue((char *)"");
13706}
c32bde28 13707static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13708 PyObject *resultobj = NULL;
d55e5bfc
RD
13709 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13710 int arg2 = (int) 0 ;
13711 wxSpinEvent *result;
13712 PyObject * obj0 = 0 ;
13713 PyObject * obj1 = 0 ;
13714 char *kwnames[] = {
13715 (char *) "commandType",(char *) "winid", NULL
13716 };
13717
13718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13719 if (obj0) {
093d3ff1 13720 {
7449af73 13721 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
13722 if (SWIG_arg_fail(1)) SWIG_fail;
13723 }
d55e5bfc
RD
13724 }
13725 if (obj1) {
093d3ff1 13726 {
7449af73 13727 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13728 if (SWIG_arg_fail(2)) SWIG_fail;
13729 }
d55e5bfc
RD
13730 }
13731 {
13732 PyThreadState* __tstate = wxPyBeginAllowThreads();
13733 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13734
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13739 return resultobj;
13740 fail:
13741 return NULL;
13742}
13743
13744
c32bde28 13745static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13746 PyObject *resultobj = NULL;
d55e5bfc
RD
13747 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13748 int result;
13749 PyObject * obj0 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
093d3ff1 13764 {
7449af73 13765 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13766 }
d55e5bfc
RD
13767 return resultobj;
13768 fail:
13769 return NULL;
13770}
13771
13772
c32bde28 13773static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13774 PyObject *resultobj = NULL;
d55e5bfc
RD
13775 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13776 int arg2 ;
13777 PyObject * obj0 = 0 ;
13778 PyObject * obj1 = 0 ;
13779 char *kwnames[] = {
13780 (char *) "self",(char *) "pos", NULL
13781 };
13782
13783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13785 if (SWIG_arg_fail(1)) SWIG_fail;
13786 {
7449af73 13787 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13788 if (SWIG_arg_fail(2)) SWIG_fail;
13789 }
d55e5bfc
RD
13790 {
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 (arg1)->SetPosition(arg2);
13793
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 Py_INCREF(Py_None); resultobj = Py_None;
13798 return resultobj;
13799 fail:
13800 return NULL;
13801}
13802
13803
c32bde28 13804static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13805 PyObject *obj;
13806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13807 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13808 Py_INCREF(obj);
13809 return Py_BuildValue((char *)"");
13810}
c32bde28 13811static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13812 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13813 return 1;
13814}
13815
13816
093d3ff1 13817static PyObject *_wrap_RadioBoxNameStr_get(void) {
7449af73 13818 PyObject *pyobj = NULL;
d55e5bfc
RD
13819
13820 {
13821#if wxUSE_UNICODE
13822 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13823#else
13824 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13825#endif
13826 }
13827 return pyobj;
13828}
13829
13830
c32bde28 13831static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13832 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13833 return 1;
13834}
13835
13836
093d3ff1 13837static PyObject *_wrap_RadioButtonNameStr_get(void) {
7449af73 13838 PyObject *pyobj = NULL;
d55e5bfc
RD
13839
13840 {
13841#if wxUSE_UNICODE
13842 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13843#else
13844 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13845#endif
13846 }
13847 return pyobj;
13848}
13849
13850
c32bde28 13851static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13852 PyObject *resultobj = NULL;
d55e5bfc 13853 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13854 int arg2 = (int) -1 ;
13855 wxString const &arg3_defvalue = wxPyEmptyString ;
13856 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13859 wxSize const &arg5_defvalue = wxDefaultSize ;
13860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13861 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13862 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13863 int arg7 = (int) 0 ;
13864 long arg8 = (long) wxRA_HORIZONTAL ;
13865 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13866 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13867 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13868 wxString *arg10 = (wxString *) &arg10_defvalue ;
13869 wxRadioBox *result;
ae8162c8 13870 bool temp3 = false ;
d55e5bfc
RD
13871 wxPoint temp4 ;
13872 wxSize temp5 ;
ae8162c8
RD
13873 bool temp6 = false ;
13874 bool temp10 = false ;
d55e5bfc
RD
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877 PyObject * obj2 = 0 ;
13878 PyObject * obj3 = 0 ;
13879 PyObject * obj4 = 0 ;
13880 PyObject * obj5 = 0 ;
13881 PyObject * obj6 = 0 ;
13882 PyObject * obj7 = 0 ;
13883 PyObject * obj8 = 0 ;
13884 PyObject * obj9 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13887 };
13888
248ed943 13889 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
13890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13892 if (obj1) {
093d3ff1 13893 {
7449af73 13894 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13895 if (SWIG_arg_fail(2)) SWIG_fail;
13896 }
248ed943
RD
13897 }
13898 if (obj2) {
13899 {
13900 arg3 = wxString_in_helper(obj2);
13901 if (arg3 == NULL) SWIG_fail;
ae8162c8 13902 temp3 = true;
248ed943 13903 }
d55e5bfc
RD
13904 }
13905 if (obj3) {
13906 {
13907 arg4 = &temp4;
13908 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13909 }
13910 }
13911 if (obj4) {
13912 {
13913 arg5 = &temp5;
13914 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13915 }
13916 }
13917 if (obj5) {
13918 {
13919 if (! PySequence_Check(obj5)) {
13920 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13921 SWIG_fail;
13922 }
13923 arg6 = new wxArrayString;
ae8162c8 13924 temp6 = true;
d55e5bfc
RD
13925 int i, len=PySequence_Length(obj5);
13926 for (i=0; i<len; i++) {
13927 PyObject* item = PySequence_GetItem(obj5, i);
71237536 13928 wxString* s = wxString_in_helper(item);
d55e5bfc 13929 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13930 arg6->Add(*s);
13931 delete s;
d55e5bfc 13932 Py_DECREF(item);
d55e5bfc
RD
13933 }
13934 }
13935 }
13936 if (obj6) {
093d3ff1 13937 {
7449af73 13938 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
13939 if (SWIG_arg_fail(7)) SWIG_fail;
13940 }
d55e5bfc
RD
13941 }
13942 if (obj7) {
093d3ff1 13943 {
7449af73 13944 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
13945 if (SWIG_arg_fail(8)) SWIG_fail;
13946 }
d55e5bfc
RD
13947 }
13948 if (obj8) {
093d3ff1
RD
13949 {
13950 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13951 if (SWIG_arg_fail(9)) SWIG_fail;
13952 if (arg9 == NULL) {
13953 SWIG_null_ref("wxValidator");
13954 }
13955 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13956 }
13957 }
13958 if (obj9) {
13959 {
13960 arg10 = wxString_in_helper(obj9);
13961 if (arg10 == NULL) SWIG_fail;
ae8162c8 13962 temp10 = true;
d55e5bfc
RD
13963 }
13964 }
13965 {
0439c23b 13966 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 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);
13969
13970 wxPyEndAllowThreads(__tstate);
110da5b0 13971 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13972 }
13973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13974 {
13975 if (temp3)
13976 delete arg3;
13977 }
13978 {
13979 if (temp6) delete arg6;
13980 }
13981 {
13982 if (temp10)
13983 delete arg10;
13984 }
13985 return resultobj;
13986 fail:
13987 {
13988 if (temp3)
13989 delete arg3;
13990 }
13991 {
13992 if (temp6) delete arg6;
13993 }
13994 {
13995 if (temp10)
13996 delete arg10;
13997 }
13998 return NULL;
13999}
14000
14001
c32bde28 14002static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14003 PyObject *resultobj = NULL;
d55e5bfc
RD
14004 wxRadioBox *result;
14005 char *kwnames[] = {
14006 NULL
14007 };
14008
14009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
14010 {
0439c23b 14011 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 result = (wxRadioBox *)new wxRadioBox();
14014
14015 wxPyEndAllowThreads(__tstate);
110da5b0 14016 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14017 }
14018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
14019 return resultobj;
14020 fail:
14021 return NULL;
14022}
14023
14024
c32bde28 14025static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14026 PyObject *resultobj = NULL;
d55e5bfc
RD
14027 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14028 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14029 int arg3 = (int) -1 ;
14030 wxString const &arg4_defvalue = wxPyEmptyString ;
14031 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14032 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14033 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14034 wxSize const &arg6_defvalue = wxDefaultSize ;
14035 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14036 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
14037 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
14038 int arg8 = (int) 0 ;
14039 long arg9 = (long) wxRA_HORIZONTAL ;
14040 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14041 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14042 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
14043 wxString *arg11 = (wxString *) &arg11_defvalue ;
14044 bool result;
ae8162c8 14045 bool temp4 = false ;
d55e5bfc
RD
14046 wxPoint temp5 ;
14047 wxSize temp6 ;
ae8162c8
RD
14048 bool temp7 = false ;
14049 bool temp11 = false ;
d55e5bfc
RD
14050 PyObject * obj0 = 0 ;
14051 PyObject * obj1 = 0 ;
14052 PyObject * obj2 = 0 ;
14053 PyObject * obj3 = 0 ;
14054 PyObject * obj4 = 0 ;
14055 PyObject * obj5 = 0 ;
14056 PyObject * obj6 = 0 ;
14057 PyObject * obj7 = 0 ;
14058 PyObject * obj8 = 0 ;
14059 PyObject * obj9 = 0 ;
14060 PyObject * obj10 = 0 ;
14061 char *kwnames[] = {
14062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
14063 };
14064
248ed943 14065 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
14066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14067 if (SWIG_arg_fail(1)) SWIG_fail;
14068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14069 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14070 if (obj2) {
093d3ff1 14071 {
7449af73 14072 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14073 if (SWIG_arg_fail(3)) SWIG_fail;
14074 }
248ed943
RD
14075 }
14076 if (obj3) {
14077 {
14078 arg4 = wxString_in_helper(obj3);
14079 if (arg4 == NULL) SWIG_fail;
ae8162c8 14080 temp4 = true;
248ed943 14081 }
d55e5bfc
RD
14082 }
14083 if (obj4) {
14084 {
14085 arg5 = &temp5;
14086 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14087 }
14088 }
14089 if (obj5) {
14090 {
14091 arg6 = &temp6;
14092 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14093 }
14094 }
14095 if (obj6) {
14096 {
14097 if (! PySequence_Check(obj6)) {
14098 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14099 SWIG_fail;
14100 }
14101 arg7 = new wxArrayString;
ae8162c8 14102 temp7 = true;
d55e5bfc
RD
14103 int i, len=PySequence_Length(obj6);
14104 for (i=0; i<len; i++) {
14105 PyObject* item = PySequence_GetItem(obj6, i);
71237536 14106 wxString* s = wxString_in_helper(item);
d55e5bfc 14107 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
14108 arg7->Add(*s);
14109 delete s;
d55e5bfc 14110 Py_DECREF(item);
d55e5bfc
RD
14111 }
14112 }
14113 }
14114 if (obj7) {
093d3ff1 14115 {
7449af73 14116 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
14117 if (SWIG_arg_fail(8)) SWIG_fail;
14118 }
d55e5bfc
RD
14119 }
14120 if (obj8) {
093d3ff1 14121 {
7449af73 14122 arg9 = static_cast<long >(SWIG_As_long(obj8));
093d3ff1
RD
14123 if (SWIG_arg_fail(9)) SWIG_fail;
14124 }
d55e5bfc
RD
14125 }
14126 if (obj9) {
093d3ff1
RD
14127 {
14128 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14129 if (SWIG_arg_fail(10)) SWIG_fail;
14130 if (arg10 == NULL) {
14131 SWIG_null_ref("wxValidator");
14132 }
14133 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
14134 }
14135 }
14136 if (obj10) {
14137 {
14138 arg11 = wxString_in_helper(obj10);
14139 if (arg11 == NULL) SWIG_fail;
ae8162c8 14140 temp11 = true;
d55e5bfc
RD
14141 }
14142 }
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 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);
14146
14147 wxPyEndAllowThreads(__tstate);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 {
14151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14152 }
14153 {
14154 if (temp4)
14155 delete arg4;
14156 }
14157 {
14158 if (temp7) delete arg7;
14159 }
14160 {
14161 if (temp11)
14162 delete arg11;
14163 }
14164 return resultobj;
14165 fail:
14166 {
14167 if (temp4)
14168 delete arg4;
14169 }
14170 {
14171 if (temp7) delete arg7;
14172 }
14173 {
14174 if (temp11)
14175 delete arg11;
14176 }
14177 return NULL;
14178}
14179
14180
c32bde28 14181static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14182 PyObject *resultobj = NULL;
d55e5bfc
RD
14183 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14184 int arg2 ;
14185 PyObject * obj0 = 0 ;
14186 PyObject * obj1 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "n", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail;
14194 {
7449af73 14195 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14196 if (SWIG_arg_fail(2)) SWIG_fail;
14197 }
d55e5bfc
RD
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 (arg1)->SetSelection(arg2);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 Py_INCREF(Py_None); resultobj = Py_None;
14206 return resultobj;
14207 fail:
14208 return NULL;
14209}
14210
14211
c32bde28 14212static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14213 PyObject *resultobj = NULL;
d55e5bfc
RD
14214 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14215 int result;
14216 PyObject * obj0 = 0 ;
14217 char *kwnames[] = {
14218 (char *) "self", NULL
14219 };
14220
14221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14224 {
14225 PyThreadState* __tstate = wxPyBeginAllowThreads();
14226 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14227
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
093d3ff1 14231 {
7449af73 14232 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14233 }
d55e5bfc
RD
14234 return resultobj;
14235 fail:
14236 return NULL;
14237}
14238
14239
c32bde28 14240static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14241 PyObject *resultobj = NULL;
d55e5bfc
RD
14242 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14243 wxString result;
14244 PyObject * obj0 = 0 ;
14245 char *kwnames[] = {
14246 (char *) "self", NULL
14247 };
14248
14249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14252 {
14253 PyThreadState* __tstate = wxPyBeginAllowThreads();
14254 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14255
14256 wxPyEndAllowThreads(__tstate);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 }
14259 {
14260#if wxUSE_UNICODE
14261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14262#else
14263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14264#endif
14265 }
14266 return resultobj;
14267 fail:
14268 return NULL;
14269}
14270
14271
c32bde28 14272static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14273 PyObject *resultobj = NULL;
d55e5bfc
RD
14274 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14275 wxString *arg2 = 0 ;
14276 bool result;
ae8162c8 14277 bool temp2 = false ;
d55e5bfc
RD
14278 PyObject * obj0 = 0 ;
14279 PyObject * obj1 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self",(char *) "s", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14287 {
14288 arg2 = wxString_in_helper(obj1);
14289 if (arg2 == NULL) SWIG_fail;
ae8162c8 14290 temp2 = true;
d55e5bfc
RD
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 {
14300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14301 }
14302 {
14303 if (temp2)
14304 delete arg2;
14305 }
14306 return resultobj;
14307 fail:
14308 {
14309 if (temp2)
14310 delete arg2;
14311 }
14312 return NULL;
14313}
14314
14315
c32bde28 14316static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14317 PyObject *resultobj = NULL;
d55e5bfc
RD
14318 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14319 int result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (int)((wxRadioBox const *)arg1)->GetCount();
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
093d3ff1 14335 {
7449af73 14336 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14337 }
d55e5bfc
RD
14338 return resultobj;
14339 fail:
14340 return NULL;
14341}
14342
14343
c32bde28 14344static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14345 PyObject *resultobj = NULL;
d55e5bfc
RD
14346 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14347 wxString *arg2 = 0 ;
14348 int result;
ae8162c8 14349 bool temp2 = false ;
d55e5bfc
RD
14350 PyObject * obj0 = 0 ;
14351 PyObject * obj1 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self",(char *) "s", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14359 {
14360 arg2 = wxString_in_helper(obj1);
14361 if (arg2 == NULL) SWIG_fail;
ae8162c8 14362 temp2 = true;
d55e5bfc
RD
14363 }
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14367
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
093d3ff1 14371 {
7449af73 14372 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14373 }
d55e5bfc
RD
14374 {
14375 if (temp2)
14376 delete arg2;
14377 }
14378 return resultobj;
14379 fail:
14380 {
14381 if (temp2)
14382 delete arg2;
14383 }
14384 return NULL;
14385}
14386
14387
c32bde28 14388static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14389 PyObject *resultobj = NULL;
d55e5bfc
RD
14390 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14391 int arg2 ;
14392 wxString result;
14393 PyObject * obj0 = 0 ;
14394 PyObject * obj1 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self",(char *) "n", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail;
14402 {
7449af73 14403 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14404 if (SWIG_arg_fail(2)) SWIG_fail;
14405 }
d55e5bfc
RD
14406 {
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14409
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 {
14414#if wxUSE_UNICODE
14415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14416#else
14417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14418#endif
14419 }
14420 return resultobj;
14421 fail:
14422 return NULL;
14423}
14424
14425
c32bde28 14426static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14427 PyObject *resultobj = NULL;
d55e5bfc
RD
14428 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14429 int arg2 ;
14430 wxString *arg3 = 0 ;
ae8162c8 14431 bool temp3 = false ;
d55e5bfc
RD
14432 PyObject * obj0 = 0 ;
14433 PyObject * obj1 = 0 ;
14434 PyObject * obj2 = 0 ;
14435 char *kwnames[] = {
14436 (char *) "self",(char *) "n",(char *) "label", NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14441 if (SWIG_arg_fail(1)) SWIG_fail;
14442 {
7449af73 14443 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14444 if (SWIG_arg_fail(2)) SWIG_fail;
14445 }
d55e5bfc
RD
14446 {
14447 arg3 = wxString_in_helper(obj2);
14448 if (arg3 == NULL) SWIG_fail;
ae8162c8 14449 temp3 = true;
d55e5bfc
RD
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 (arg1)->SetString(arg2,(wxString const &)*arg3);
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 Py_INCREF(Py_None); resultobj = Py_None;
14459 {
14460 if (temp3)
14461 delete arg3;
14462 }
14463 return resultobj;
14464 fail:
14465 {
14466 if (temp3)
14467 delete arg3;
14468 }
14469 return NULL;
14470}
14471
14472
c32bde28 14473static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14474 PyObject *resultobj = NULL;
d55e5bfc
RD
14475 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14476 int arg2 ;
ae8162c8 14477 bool arg3 = (bool) true ;
d55e5bfc
RD
14478 PyObject * obj0 = 0 ;
14479 PyObject * obj1 = 0 ;
14480 PyObject * obj2 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "n",(char *) "enable", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail;
14488 {
7449af73 14489 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14490 if (SWIG_arg_fail(2)) SWIG_fail;
14491 }
d55e5bfc 14492 if (obj2) {
093d3ff1 14493 {
7449af73 14494 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
14495 if (SWIG_arg_fail(3)) SWIG_fail;
14496 }
d55e5bfc
RD
14497 }
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 (arg1)->Enable(arg2,arg3);
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 Py_INCREF(Py_None); resultobj = Py_None;
14506 return resultobj;
14507 fail:
14508 return NULL;
14509}
14510
14511
c32bde28 14512static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14513 PyObject *resultobj = NULL;
d55e5bfc
RD
14514 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14515 int arg2 ;
ae8162c8 14516 bool arg3 = (bool) true ;
d55e5bfc
RD
14517 PyObject * obj0 = 0 ;
14518 PyObject * obj1 = 0 ;
14519 PyObject * obj2 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self",(char *) "n",(char *) "show", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail;
14527 {
7449af73 14528 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14529 if (SWIG_arg_fail(2)) SWIG_fail;
14530 }
d55e5bfc 14531 if (obj2) {
093d3ff1 14532 {
7449af73 14533 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
14534 if (SWIG_arg_fail(3)) SWIG_fail;
14535 }
d55e5bfc
RD
14536 }
14537 {
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 (arg1)->Show(arg2,arg3);
14540
14541 wxPyEndAllowThreads(__tstate);
14542 if (PyErr_Occurred()) SWIG_fail;
14543 }
14544 Py_INCREF(Py_None); resultobj = Py_None;
14545 return resultobj;
14546 fail:
14547 return NULL;
14548}
14549
14550
c32bde28 14551static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14552 PyObject *resultobj = NULL;
d55e5bfc
RD
14553 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14554 int result;
14555 PyObject * obj0 = 0 ;
14556 char *kwnames[] = {
14557 (char *) "self", NULL
14558 };
14559
14560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14563 {
14564 PyThreadState* __tstate = wxPyBeginAllowThreads();
14565 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14566
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
093d3ff1 14570 {
7449af73 14571 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14572 }
d55e5bfc
RD
14573 return resultobj;
14574 fail:
14575 return NULL;
14576}
14577
14578
c32bde28 14579static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14580 PyObject *resultobj = NULL;
d55e5bfc
RD
14581 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14582 int result;
14583 PyObject * obj0 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "self", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14590 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
093d3ff1 14598 {
7449af73 14599 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14600 }
d55e5bfc
RD
14601 return resultobj;
14602 fail:
14603 return NULL;
14604}
14605
14606
c32bde28 14607static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14608 PyObject *resultobj = NULL;
d55e5bfc
RD
14609 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14610 int arg2 ;
093d3ff1 14611 wxDirection arg3 ;
d55e5bfc
RD
14612 long arg4 ;
14613 int result;
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 PyObject * obj2 = 0 ;
14617 PyObject * obj3 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14624 if (SWIG_arg_fail(1)) SWIG_fail;
14625 {
7449af73 14626 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14627 if (SWIG_arg_fail(2)) SWIG_fail;
14628 }
14629 {
7449af73 14630 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
093d3ff1
RD
14631 if (SWIG_arg_fail(3)) SWIG_fail;
14632 }
14633 {
7449af73 14634 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
14635 if (SWIG_arg_fail(4)) SWIG_fail;
14636 }
d55e5bfc
RD
14637 {
14638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 14639 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
d55e5bfc
RD
14640
14641 wxPyEndAllowThreads(__tstate);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 }
093d3ff1 14644 {
7449af73 14645 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14646 }
d55e5bfc
RD
14647 return resultobj;
14648 fail:
14649 return NULL;
14650}
14651
14652
c32bde28 14653static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14654 PyObject *resultobj = NULL;
093d3ff1 14655 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14656 wxVisualAttributes result;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "variant", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14663 if (obj0) {
093d3ff1 14664 {
7449af73 14665 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
14666 if (SWIG_arg_fail(1)) SWIG_fail;
14667 }
f20a2e1f
RD
14668 }
14669 {
19272049 14670 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 14671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 14672 result = wxRadioBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
14673
14674 wxPyEndAllowThreads(__tstate);
110da5b0 14675 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14676 }
14677 {
14678 wxVisualAttributes * resultptr;
7449af73 14679 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
14680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14681 }
14682 return resultobj;
14683 fail:
14684 return NULL;
14685}
14686
14687
c32bde28 14688static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14689 PyObject *obj;
14690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14691 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14692 Py_INCREF(obj);
14693 return Py_BuildValue((char *)"");
14694}
c32bde28 14695static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14696 PyObject *resultobj = NULL;
d55e5bfc 14697 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14698 int arg2 = (int) -1 ;
14699 wxString const &arg3_defvalue = wxPyEmptyString ;
14700 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14703 wxSize const &arg5_defvalue = wxDefaultSize ;
14704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14705 long arg6 = (long) 0 ;
14706 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14707 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14708 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14709 wxString *arg8 = (wxString *) &arg8_defvalue ;
14710 wxRadioButton *result;
ae8162c8 14711 bool temp3 = false ;
d55e5bfc
RD
14712 wxPoint temp4 ;
14713 wxSize temp5 ;
ae8162c8 14714 bool temp8 = false ;
d55e5bfc
RD
14715 PyObject * obj0 = 0 ;
14716 PyObject * obj1 = 0 ;
14717 PyObject * obj2 = 0 ;
14718 PyObject * obj3 = 0 ;
14719 PyObject * obj4 = 0 ;
14720 PyObject * obj5 = 0 ;
14721 PyObject * obj6 = 0 ;
14722 PyObject * obj7 = 0 ;
14723 char *kwnames[] = {
14724 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14725 };
14726
248ed943 14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14730 if (obj1) {
093d3ff1 14731 {
7449af73 14732 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14733 if (SWIG_arg_fail(2)) SWIG_fail;
14734 }
248ed943
RD
14735 }
14736 if (obj2) {
14737 {
14738 arg3 = wxString_in_helper(obj2);
14739 if (arg3 == NULL) SWIG_fail;
ae8162c8 14740 temp3 = true;
248ed943 14741 }
d55e5bfc
RD
14742 }
14743 if (obj3) {
14744 {
14745 arg4 = &temp4;
14746 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14747 }
14748 }
14749 if (obj4) {
14750 {
14751 arg5 = &temp5;
14752 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14753 }
14754 }
14755 if (obj5) {
093d3ff1 14756 {
7449af73 14757 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
14758 if (SWIG_arg_fail(6)) SWIG_fail;
14759 }
d55e5bfc
RD
14760 }
14761 if (obj6) {
093d3ff1
RD
14762 {
14763 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14764 if (SWIG_arg_fail(7)) SWIG_fail;
14765 if (arg7 == NULL) {
14766 SWIG_null_ref("wxValidator");
14767 }
14768 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14769 }
14770 }
14771 if (obj7) {
14772 {
14773 arg8 = wxString_in_helper(obj7);
14774 if (arg8 == NULL) SWIG_fail;
ae8162c8 14775 temp8 = true;
d55e5bfc
RD
14776 }
14777 }
14778 {
0439c23b 14779 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14782
14783 wxPyEndAllowThreads(__tstate);
110da5b0 14784 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14785 }
14786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14787 {
14788 if (temp3)
14789 delete arg3;
14790 }
14791 {
14792 if (temp8)
14793 delete arg8;
14794 }
14795 return resultobj;
14796 fail:
14797 {
14798 if (temp3)
14799 delete arg3;
14800 }
14801 {
14802 if (temp8)
14803 delete arg8;
14804 }
14805 return NULL;
14806}
14807
14808
c32bde28 14809static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14810 PyObject *resultobj = NULL;
d55e5bfc
RD
14811 wxRadioButton *result;
14812 char *kwnames[] = {
14813 NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14817 {
0439c23b 14818 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 result = (wxRadioButton *)new wxRadioButton();
14821
14822 wxPyEndAllowThreads(__tstate);
110da5b0 14823 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14824 }
14825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14826 return resultobj;
14827 fail:
14828 return NULL;
14829}
14830
14831
c32bde28 14832static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14833 PyObject *resultobj = NULL;
d55e5bfc
RD
14834 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14835 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14836 int arg3 = (int) -1 ;
14837 wxString const &arg4_defvalue = wxPyEmptyString ;
14838 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14839 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14840 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14841 wxSize const &arg6_defvalue = wxDefaultSize ;
14842 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14843 long arg7 = (long) 0 ;
14844 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14845 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14846 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14847 wxString *arg9 = (wxString *) &arg9_defvalue ;
14848 bool result;
ae8162c8 14849 bool temp4 = false ;
d55e5bfc
RD
14850 wxPoint temp5 ;
14851 wxSize temp6 ;
ae8162c8 14852 bool temp9 = false ;
d55e5bfc
RD
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 PyObject * obj2 = 0 ;
14856 PyObject * obj3 = 0 ;
14857 PyObject * obj4 = 0 ;
14858 PyObject * obj5 = 0 ;
14859 PyObject * obj6 = 0 ;
14860 PyObject * obj7 = 0 ;
14861 PyObject * obj8 = 0 ;
14862 char *kwnames[] = {
14863 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14864 };
14865
248ed943 14866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14868 if (SWIG_arg_fail(1)) SWIG_fail;
14869 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14870 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14871 if (obj2) {
093d3ff1 14872 {
7449af73 14873 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14874 if (SWIG_arg_fail(3)) SWIG_fail;
14875 }
248ed943
RD
14876 }
14877 if (obj3) {
14878 {
14879 arg4 = wxString_in_helper(obj3);
14880 if (arg4 == NULL) SWIG_fail;
ae8162c8 14881 temp4 = true;
248ed943 14882 }
d55e5bfc
RD
14883 }
14884 if (obj4) {
14885 {
14886 arg5 = &temp5;
14887 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14888 }
14889 }
14890 if (obj5) {
14891 {
14892 arg6 = &temp6;
14893 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14894 }
14895 }
14896 if (obj6) {
093d3ff1 14897 {
7449af73 14898 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
14899 if (SWIG_arg_fail(7)) SWIG_fail;
14900 }
d55e5bfc
RD
14901 }
14902 if (obj7) {
093d3ff1
RD
14903 {
14904 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14905 if (SWIG_arg_fail(8)) SWIG_fail;
14906 if (arg8 == NULL) {
14907 SWIG_null_ref("wxValidator");
14908 }
14909 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14910 }
14911 }
14912 if (obj8) {
14913 {
14914 arg9 = wxString_in_helper(obj8);
14915 if (arg9 == NULL) SWIG_fail;
ae8162c8 14916 temp9 = true;
d55e5bfc
RD
14917 }
14918 }
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 {
14927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14928 }
14929 {
14930 if (temp4)
14931 delete arg4;
14932 }
14933 {
14934 if (temp9)
14935 delete arg9;
14936 }
14937 return resultobj;
14938 fail:
14939 {
14940 if (temp4)
14941 delete arg4;
14942 }
14943 {
14944 if (temp9)
14945 delete arg9;
14946 }
14947 return NULL;
14948}
14949
14950
c32bde28 14951static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14952 PyObject *resultobj = NULL;
d55e5bfc
RD
14953 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14954 bool result;
14955 PyObject * obj0 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = (bool)(arg1)->GetValue();
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 {
14971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14972 }
14973 return resultobj;
14974 fail:
14975 return NULL;
14976}
14977
14978
c32bde28 14979static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14980 PyObject *resultobj = NULL;
d55e5bfc
RD
14981 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14982 bool arg2 ;
14983 PyObject * obj0 = 0 ;
14984 PyObject * obj1 = 0 ;
14985 char *kwnames[] = {
14986 (char *) "self",(char *) "value", NULL
14987 };
14988
14989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14991 if (SWIG_arg_fail(1)) SWIG_fail;
14992 {
7449af73 14993 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
14994 if (SWIG_arg_fail(2)) SWIG_fail;
14995 }
d55e5bfc
RD
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 (arg1)->SetValue(arg2);
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 Py_INCREF(Py_None); resultobj = Py_None;
15004 return resultobj;
15005 fail:
15006 return NULL;
15007}
15008
15009
c32bde28 15010static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15011 PyObject *resultobj = NULL;
093d3ff1 15012 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15013 wxVisualAttributes result;
15014 PyObject * obj0 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "variant", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15020 if (obj0) {
093d3ff1 15021 {
7449af73 15022 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
15023 if (SWIG_arg_fail(1)) SWIG_fail;
15024 }
f20a2e1f
RD
15025 }
15026 {
19272049 15027 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 15029 result = wxRadioButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
15030
15031 wxPyEndAllowThreads(__tstate);
110da5b0 15032 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15033 }
15034 {
15035 wxVisualAttributes * resultptr;
7449af73 15036 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
15037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15038 }
15039 return resultobj;
15040 fail:
15041 return NULL;
15042}
15043
15044
c32bde28 15045static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15046 PyObject *obj;
15047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15048 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
15049 Py_INCREF(obj);
15050 return Py_BuildValue((char *)"");
15051}
c32bde28 15052static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
15053 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
15054 return 1;
15055}
15056
15057
093d3ff1 15058static PyObject *_wrap_SliderNameStr_get(void) {
7449af73 15059 PyObject *pyobj = NULL;
d55e5bfc
RD
15060
15061 {
15062#if wxUSE_UNICODE
15063 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15064#else
15065 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15066#endif
15067 }
15068 return pyobj;
15069}
15070
15071
c32bde28 15072static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15073 PyObject *resultobj = NULL;
d55e5bfc 15074 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15075 int arg2 = (int) -1 ;
15076 int arg3 = (int) 0 ;
15077 int arg4 = (int) 0 ;
15078 int arg5 = (int) 100 ;
d55e5bfc
RD
15079 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15080 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15081 wxSize const &arg7_defvalue = wxDefaultSize ;
15082 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
15083 long arg8 = (long) wxSL_HORIZONTAL ;
15084 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15085 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15086 wxString const &arg10_defvalue = wxPySliderNameStr ;
15087 wxString *arg10 = (wxString *) &arg10_defvalue ;
15088 wxSlider *result;
15089 wxPoint temp6 ;
15090 wxSize temp7 ;
ae8162c8 15091 bool temp10 = false ;
d55e5bfc
RD
15092 PyObject * obj0 = 0 ;
15093 PyObject * obj1 = 0 ;
15094 PyObject * obj2 = 0 ;
15095 PyObject * obj3 = 0 ;
15096 PyObject * obj4 = 0 ;
15097 PyObject * obj5 = 0 ;
15098 PyObject * obj6 = 0 ;
15099 PyObject * obj7 = 0 ;
15100 PyObject * obj8 = 0 ;
15101 PyObject * obj9 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15104 };
15105
248ed943 15106 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
15107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15108 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15109 if (obj1) {
093d3ff1 15110 {
7449af73 15111 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15112 if (SWIG_arg_fail(2)) SWIG_fail;
15113 }
248ed943
RD
15114 }
15115 if (obj2) {
093d3ff1 15116 {
7449af73 15117 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15118 if (SWIG_arg_fail(3)) SWIG_fail;
15119 }
248ed943
RD
15120 }
15121 if (obj3) {
093d3ff1 15122 {
7449af73 15123 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15124 if (SWIG_arg_fail(4)) SWIG_fail;
15125 }
248ed943
RD
15126 }
15127 if (obj4) {
093d3ff1 15128 {
7449af73 15129 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15130 if (SWIG_arg_fail(5)) SWIG_fail;
15131 }
248ed943 15132 }
d55e5bfc
RD
15133 if (obj5) {
15134 {
15135 arg6 = &temp6;
15136 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15137 }
15138 }
15139 if (obj6) {
15140 {
15141 arg7 = &temp7;
15142 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
15143 }
15144 }
15145 if (obj7) {
093d3ff1 15146 {
7449af73 15147 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
15148 if (SWIG_arg_fail(8)) SWIG_fail;
15149 }
d55e5bfc
RD
15150 }
15151 if (obj8) {
093d3ff1
RD
15152 {
15153 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15154 if (SWIG_arg_fail(9)) SWIG_fail;
15155 if (arg9 == NULL) {
15156 SWIG_null_ref("wxValidator");
15157 }
15158 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
15159 }
15160 }
15161 if (obj9) {
15162 {
15163 arg10 = wxString_in_helper(obj9);
15164 if (arg10 == NULL) SWIG_fail;
ae8162c8 15165 temp10 = true;
d55e5bfc
RD
15166 }
15167 }
15168 {
0439c23b 15169 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15172
15173 wxPyEndAllowThreads(__tstate);
110da5b0 15174 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15175 }
15176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15177 {
15178 if (temp10)
15179 delete arg10;
15180 }
15181 return resultobj;
15182 fail:
15183 {
15184 if (temp10)
15185 delete arg10;
15186 }
15187 return NULL;
15188}
15189
15190
c32bde28 15191static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15192 PyObject *resultobj = NULL;
d55e5bfc
RD
15193 wxSlider *result;
15194 char *kwnames[] = {
15195 NULL
15196 };
15197
15198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15199 {
0439c23b 15200 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 result = (wxSlider *)new wxSlider();
15203
15204 wxPyEndAllowThreads(__tstate);
110da5b0 15205 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15206 }
15207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15208 return resultobj;
15209 fail:
15210 return NULL;
15211}
15212
15213
c32bde28 15214static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15215 PyObject *resultobj = NULL;
d55e5bfc
RD
15216 wxSlider *arg1 = (wxSlider *) 0 ;
15217 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15218 int arg3 = (int) -1 ;
15219 int arg4 = (int) 0 ;
15220 int arg5 = (int) 0 ;
15221 int arg6 = (int) 100 ;
d55e5bfc
RD
15222 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15223 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15224 wxSize const &arg8_defvalue = wxDefaultSize ;
15225 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15226 long arg9 = (long) wxSL_HORIZONTAL ;
15227 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15228 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15229 wxString const &arg11_defvalue = wxPySliderNameStr ;
15230 wxString *arg11 = (wxString *) &arg11_defvalue ;
15231 bool result;
15232 wxPoint temp7 ;
15233 wxSize temp8 ;
ae8162c8 15234 bool temp11 = false ;
d55e5bfc
RD
15235 PyObject * obj0 = 0 ;
15236 PyObject * obj1 = 0 ;
15237 PyObject * obj2 = 0 ;
15238 PyObject * obj3 = 0 ;
15239 PyObject * obj4 = 0 ;
15240 PyObject * obj5 = 0 ;
15241 PyObject * obj6 = 0 ;
15242 PyObject * obj7 = 0 ;
15243 PyObject * obj8 = 0 ;
15244 PyObject * obj9 = 0 ;
15245 PyObject * obj10 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15248 };
15249
248ed943 15250 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
15251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail;
15253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15254 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15255 if (obj2) {
093d3ff1 15256 {
7449af73 15257 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15258 if (SWIG_arg_fail(3)) SWIG_fail;
15259 }
248ed943
RD
15260 }
15261 if (obj3) {
093d3ff1 15262 {
7449af73 15263 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15264 if (SWIG_arg_fail(4)) SWIG_fail;
15265 }
248ed943
RD
15266 }
15267 if (obj4) {
093d3ff1 15268 {
7449af73 15269 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15270 if (SWIG_arg_fail(5)) SWIG_fail;
15271 }
248ed943
RD
15272 }
15273 if (obj5) {
093d3ff1 15274 {
7449af73 15275 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
15276 if (SWIG_arg_fail(6)) SWIG_fail;
15277 }
248ed943 15278 }
d55e5bfc
RD
15279 if (obj6) {
15280 {
15281 arg7 = &temp7;
15282 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15283 }
15284 }
15285 if (obj7) {
15286 {
15287 arg8 = &temp8;
15288 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15289 }
15290 }
15291 if (obj8) {
093d3ff1 15292 {
7449af73 15293 arg9 = static_cast<long >(SWIG_As_long(obj8));
093d3ff1
RD
15294 if (SWIG_arg_fail(9)) SWIG_fail;
15295 }
d55e5bfc
RD
15296 }
15297 if (obj9) {
093d3ff1
RD
15298 {
15299 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15300 if (SWIG_arg_fail(10)) SWIG_fail;
15301 if (arg10 == NULL) {
15302 SWIG_null_ref("wxValidator");
15303 }
15304 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
15305 }
15306 }
15307 if (obj10) {
15308 {
15309 arg11 = wxString_in_helper(obj10);
15310 if (arg11 == NULL) SWIG_fail;
ae8162c8 15311 temp11 = true;
d55e5bfc
RD
15312 }
15313 }
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15323 }
15324 {
15325 if (temp11)
15326 delete arg11;
15327 }
15328 return resultobj;
15329 fail:
15330 {
15331 if (temp11)
15332 delete arg11;
15333 }
15334 return NULL;
15335}
15336
15337
c32bde28 15338static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15339 PyObject *resultobj = NULL;
d55e5bfc
RD
15340 wxSlider *arg1 = (wxSlider *) 0 ;
15341 int result;
15342 PyObject * obj0 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 result = (int)((wxSlider const *)arg1)->GetValue();
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
093d3ff1 15357 {
7449af73 15358 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15359 }
d55e5bfc
RD
15360 return resultobj;
15361 fail:
15362 return NULL;
15363}
15364
15365
c32bde28 15366static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15367 PyObject *resultobj = NULL;
d55e5bfc
RD
15368 wxSlider *arg1 = (wxSlider *) 0 ;
15369 int arg2 ;
15370 PyObject * obj0 = 0 ;
15371 PyObject * obj1 = 0 ;
15372 char *kwnames[] = {
15373 (char *) "self",(char *) "value", NULL
15374 };
15375
15376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15378 if (SWIG_arg_fail(1)) SWIG_fail;
15379 {
7449af73 15380 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15381 if (SWIG_arg_fail(2)) SWIG_fail;
15382 }
d55e5bfc
RD
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 (arg1)->SetValue(arg2);
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 Py_INCREF(Py_None); resultobj = Py_None;
15391 return resultobj;
15392 fail:
15393 return NULL;
15394}
15395
15396
c32bde28 15397static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15398 PyObject *resultobj = NULL;
d55e5bfc
RD
15399 wxSlider *arg1 = (wxSlider *) 0 ;
15400 int arg2 ;
15401 int arg3 ;
15402 PyObject * obj0 = 0 ;
15403 PyObject * obj1 = 0 ;
15404 PyObject * obj2 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail;
15412 {
7449af73 15413 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15414 if (SWIG_arg_fail(2)) SWIG_fail;
15415 }
15416 {
7449af73 15417 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15418 if (SWIG_arg_fail(3)) SWIG_fail;
15419 }
d55e5bfc
RD
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 (arg1)->SetRange(arg2,arg3);
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 Py_INCREF(Py_None); resultobj = Py_None;
15428 return resultobj;
15429 fail:
15430 return NULL;
15431}
15432
15433
c32bde28 15434static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15435 PyObject *resultobj = NULL;
d55e5bfc
RD
15436 wxSlider *arg1 = (wxSlider *) 0 ;
15437 int result;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 result = (int)((wxSlider const *)arg1)->GetMin();
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
093d3ff1 15453 {
7449af73 15454 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15455 }
d55e5bfc
RD
15456 return resultobj;
15457 fail:
15458 return NULL;
15459}
15460
15461
c32bde28 15462static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15463 PyObject *resultobj = NULL;
d55e5bfc
RD
15464 wxSlider *arg1 = (wxSlider *) 0 ;
15465 int result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (int)((wxSlider const *)arg1)->GetMax();
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
093d3ff1 15481 {
7449af73 15482 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15483 }
d55e5bfc
RD
15484 return resultobj;
15485 fail:
15486 return NULL;
15487}
15488
15489
c32bde28 15490static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15491 PyObject *resultobj = NULL;
d55e5bfc
RD
15492 wxSlider *arg1 = (wxSlider *) 0 ;
15493 int arg2 ;
15494 PyObject * obj0 = 0 ;
15495 PyObject * obj1 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self",(char *) "minValue", NULL
15498 };
15499
15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail;
15503 {
7449af73 15504 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15505 if (SWIG_arg_fail(2)) SWIG_fail;
15506 }
d55e5bfc
RD
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->SetMin(arg2);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518}
15519
15520
c32bde28 15521static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15522 PyObject *resultobj = NULL;
d55e5bfc
RD
15523 wxSlider *arg1 = (wxSlider *) 0 ;
15524 int arg2 ;
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "maxValue", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail;
15534 {
7449af73 15535 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15536 if (SWIG_arg_fail(2)) SWIG_fail;
15537 }
d55e5bfc
RD
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 (arg1)->SetMax(arg2);
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 Py_INCREF(Py_None); resultobj = Py_None;
15546 return resultobj;
15547 fail:
15548 return NULL;
15549}
15550
15551
c32bde28 15552static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15553 PyObject *resultobj = NULL;
d55e5bfc
RD
15554 wxSlider *arg1 = (wxSlider *) 0 ;
15555 int arg2 ;
15556 PyObject * obj0 = 0 ;
15557 PyObject * obj1 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self",(char *) "lineSize", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) 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;
15565 {
7449af73 15566 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15567 if (SWIG_arg_fail(2)) SWIG_fail;
15568 }
d55e5bfc
RD
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 (arg1)->SetLineSize(arg2);
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 Py_INCREF(Py_None); resultobj = Py_None;
15577 return resultobj;
15578 fail:
15579 return NULL;
15580}
15581
15582
c32bde28 15583static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15584 PyObject *resultobj = NULL;
d55e5bfc
RD
15585 wxSlider *arg1 = (wxSlider *) 0 ;
15586 int arg2 ;
15587 PyObject * obj0 = 0 ;
15588 PyObject * obj1 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "pageSize", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail;
15596 {
7449af73 15597 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15598 if (SWIG_arg_fail(2)) SWIG_fail;
15599 }
d55e5bfc
RD
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 (arg1)->SetPageSize(arg2);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 Py_INCREF(Py_None); resultobj = Py_None;
15608 return resultobj;
15609 fail:
15610 return NULL;
15611}
15612
15613
c32bde28 15614static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15615 PyObject *resultobj = NULL;
d55e5bfc
RD
15616 wxSlider *arg1 = (wxSlider *) 0 ;
15617 int result;
15618 PyObject * obj0 = 0 ;
15619 char *kwnames[] = {
15620 (char *) "self", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 result = (int)((wxSlider const *)arg1)->GetLineSize();
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
093d3ff1 15633 {
7449af73 15634 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15635 }
d55e5bfc
RD
15636 return resultobj;
15637 fail:
15638 return NULL;
15639}
15640
15641
c32bde28 15642static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15643 PyObject *resultobj = NULL;
d55e5bfc
RD
15644 wxSlider *arg1 = (wxSlider *) 0 ;
15645 int result;
15646 PyObject * obj0 = 0 ;
15647 char *kwnames[] = {
15648 (char *) "self", NULL
15649 };
15650
15651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15654 {
15655 PyThreadState* __tstate = wxPyBeginAllowThreads();
15656 result = (int)((wxSlider const *)arg1)->GetPageSize();
15657
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
093d3ff1 15661 {
7449af73 15662 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15663 }
d55e5bfc
RD
15664 return resultobj;
15665 fail:
15666 return NULL;
15667}
15668
15669
c32bde28 15670static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15671 PyObject *resultobj = NULL;
d55e5bfc
RD
15672 wxSlider *arg1 = (wxSlider *) 0 ;
15673 int arg2 ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self",(char *) "lenPixels", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) 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 {
7449af73 15684 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15685 if (SWIG_arg_fail(2)) SWIG_fail;
15686 }
d55e5bfc
RD
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 (arg1)->SetThumbLength(arg2);
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 Py_INCREF(Py_None); resultobj = Py_None;
15695 return resultobj;
15696 fail:
15697 return NULL;
15698}
15699
15700
c32bde28 15701static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15702 PyObject *resultobj = NULL;
d55e5bfc
RD
15703 wxSlider *arg1 = (wxSlider *) 0 ;
15704 int result;
15705 PyObject * obj0 = 0 ;
15706 char *kwnames[] = {
15707 (char *) "self", NULL
15708 };
15709
15710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15713 {
15714 PyThreadState* __tstate = wxPyBeginAllowThreads();
15715 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15716
15717 wxPyEndAllowThreads(__tstate);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 }
093d3ff1 15720 {
7449af73 15721 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15722 }
d55e5bfc
RD
15723 return resultobj;
15724 fail:
15725 return NULL;
15726}
15727
15728
c32bde28 15729static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15730 PyObject *resultobj = NULL;
d55e5bfc
RD
15731 wxSlider *arg1 = (wxSlider *) 0 ;
15732 int arg2 ;
15733 int arg3 = (int) 1 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 PyObject * obj2 = 0 ;
15737 char *kwnames[] = {
15738 (char *) "self",(char *) "n",(char *) "pos", NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15743 if (SWIG_arg_fail(1)) SWIG_fail;
15744 {
7449af73 15745 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15746 if (SWIG_arg_fail(2)) SWIG_fail;
15747 }
d55e5bfc 15748 if (obj2) {
093d3ff1 15749 {
7449af73 15750 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15751 if (SWIG_arg_fail(3)) SWIG_fail;
15752 }
d55e5bfc
RD
15753 }
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->SetTickFreq(arg2,arg3);
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 Py_INCREF(Py_None); resultobj = Py_None;
15762 return resultobj;
15763 fail:
15764 return NULL;
15765}
15766
15767
c32bde28 15768static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15769 PyObject *resultobj = NULL;
d55e5bfc
RD
15770 wxSlider *arg1 = (wxSlider *) 0 ;
15771 int result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
093d3ff1 15787 {
7449af73 15788 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15789 }
d55e5bfc
RD
15790 return resultobj;
15791 fail:
15792 return NULL;
15793}
15794
15795
c32bde28 15796static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15797 PyObject *resultobj = NULL;
d55e5bfc
RD
15798 wxSlider *arg1 = (wxSlider *) 0 ;
15799 PyObject * obj0 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->ClearTicks();
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818}
15819
15820
c32bde28 15821static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15822 PyObject *resultobj = NULL;
d55e5bfc
RD
15823 wxSlider *arg1 = (wxSlider *) 0 ;
15824 int arg2 ;
15825 PyObject * obj0 = 0 ;
15826 PyObject * obj1 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self",(char *) "tickPos", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail;
15834 {
7449af73 15835 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15836 if (SWIG_arg_fail(2)) SWIG_fail;
15837 }
d55e5bfc
RD
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 (arg1)->SetTick(arg2);
15841
15842 wxPyEndAllowThreads(__tstate);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 }
15845 Py_INCREF(Py_None); resultobj = Py_None;
15846 return resultobj;
15847 fail:
15848 return NULL;
15849}
15850
15851
c32bde28 15852static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15853 PyObject *resultobj = NULL;
d55e5bfc
RD
15854 wxSlider *arg1 = (wxSlider *) 0 ;
15855 PyObject * obj0 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 (arg1)->ClearSel();
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 Py_INCREF(Py_None); resultobj = Py_None;
15871 return resultobj;
15872 fail:
15873 return NULL;
15874}
15875
15876
c32bde28 15877static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15878 PyObject *resultobj = NULL;
d55e5bfc
RD
15879 wxSlider *arg1 = (wxSlider *) 0 ;
15880 int result;
15881 PyObject * obj0 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "self", NULL
15884 };
15885
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15892
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
093d3ff1 15896 {
7449af73 15897 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15898 }
d55e5bfc
RD
15899 return resultobj;
15900 fail:
15901 return NULL;
15902}
15903
15904
c32bde28 15905static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15906 PyObject *resultobj = NULL;
d55e5bfc
RD
15907 wxSlider *arg1 = (wxSlider *) 0 ;
15908 int result;
15909 PyObject * obj0 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 result = (int)((wxSlider const *)arg1)->GetSelStart();
15920
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
093d3ff1 15924 {
7449af73 15925 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15926 }
d55e5bfc
RD
15927 return resultobj;
15928 fail:
15929 return NULL;
15930}
15931
15932
c32bde28 15933static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15934 PyObject *resultobj = NULL;
d55e5bfc
RD
15935 wxSlider *arg1 = (wxSlider *) 0 ;
15936 int arg2 ;
15937 int arg3 ;
15938 PyObject * obj0 = 0 ;
15939 PyObject * obj1 = 0 ;
15940 PyObject * obj2 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self",(char *) "min",(char *) "max", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15947 if (SWIG_arg_fail(1)) SWIG_fail;
15948 {
7449af73 15949 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15950 if (SWIG_arg_fail(2)) SWIG_fail;
15951 }
15952 {
7449af73 15953 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15954 if (SWIG_arg_fail(3)) SWIG_fail;
15955 }
d55e5bfc
RD
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 (arg1)->SetSelection(arg2,arg3);
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 Py_INCREF(Py_None); resultobj = Py_None;
15964 return resultobj;
15965 fail:
15966 return NULL;
15967}
15968
15969
c32bde28 15970static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15971 PyObject *resultobj = NULL;
093d3ff1 15972 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15973 wxVisualAttributes result;
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "variant", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15980 if (obj0) {
093d3ff1 15981 {
7449af73 15982 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
15983 if (SWIG_arg_fail(1)) SWIG_fail;
15984 }
f20a2e1f
RD
15985 }
15986 {
19272049 15987 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 15989 result = wxSlider::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
15990
15991 wxPyEndAllowThreads(__tstate);
110da5b0 15992 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15993 }
15994 {
15995 wxVisualAttributes * resultptr;
7449af73 15996 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
15997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15998 }
15999 return resultobj;
16000 fail:
16001 return NULL;
16002}
16003
16004
c32bde28 16005static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16006 PyObject *obj;
16007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16008 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
16009 Py_INCREF(obj);
16010 return Py_BuildValue((char *)"");
16011}
c32bde28 16012static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
16013 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
16014 return 1;
16015}
16016
16017
093d3ff1 16018static PyObject *_wrap_ToggleButtonNameStr_get(void) {
7449af73 16019 PyObject *pyobj = NULL;
d55e5bfc
RD
16020
16021 {
16022#if wxUSE_UNICODE
16023 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
16024#else
16025 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
16026#endif
16027 }
16028 return pyobj;
16029}
16030
16031
c32bde28 16032static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16033 PyObject *resultobj = NULL;
d55e5bfc 16034 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
16035 int arg2 = (int) -1 ;
16036 wxString const &arg3_defvalue = wxPyEmptyString ;
16037 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
16038 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16039 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16040 wxSize const &arg5_defvalue = wxDefaultSize ;
16041 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16042 long arg6 = (long) 0 ;
16043 wxValidator const &arg7_defvalue = wxDefaultValidator ;
16044 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
16045 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
16046 wxString *arg8 = (wxString *) &arg8_defvalue ;
16047 wxToggleButton *result;
ae8162c8 16048 bool temp3 = false ;
d55e5bfc
RD
16049 wxPoint temp4 ;
16050 wxSize temp5 ;
ae8162c8 16051 bool temp8 = false ;
d55e5bfc
RD
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 PyObject * obj2 = 0 ;
16055 PyObject * obj3 = 0 ;
16056 PyObject * obj4 = 0 ;
16057 PyObject * obj5 = 0 ;
16058 PyObject * obj6 = 0 ;
16059 PyObject * obj7 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16062 };
16063
248ed943 16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16067 if (obj1) {
093d3ff1 16068 {
7449af73 16069 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16070 if (SWIG_arg_fail(2)) SWIG_fail;
16071 }
248ed943
RD
16072 }
16073 if (obj2) {
16074 {
16075 arg3 = wxString_in_helper(obj2);
16076 if (arg3 == NULL) SWIG_fail;
ae8162c8 16077 temp3 = true;
248ed943 16078 }
d55e5bfc
RD
16079 }
16080 if (obj3) {
16081 {
16082 arg4 = &temp4;
16083 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16084 }
16085 }
16086 if (obj4) {
16087 {
16088 arg5 = &temp5;
16089 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16090 }
16091 }
16092 if (obj5) {
093d3ff1 16093 {
7449af73 16094 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
16095 if (SWIG_arg_fail(6)) SWIG_fail;
16096 }
d55e5bfc
RD
16097 }
16098 if (obj6) {
093d3ff1
RD
16099 {
16100 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16101 if (SWIG_arg_fail(7)) SWIG_fail;
16102 if (arg7 == NULL) {
16103 SWIG_null_ref("wxValidator");
16104 }
16105 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
16106 }
16107 }
16108 if (obj7) {
16109 {
16110 arg8 = wxString_in_helper(obj7);
16111 if (arg8 == NULL) SWIG_fail;
ae8162c8 16112 temp8 = true;
d55e5bfc
RD
16113 }
16114 }
16115 {
0439c23b 16116 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16117 PyThreadState* __tstate = wxPyBeginAllowThreads();
16118 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16119
16120 wxPyEndAllowThreads(__tstate);
110da5b0 16121 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16122 }
16123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16124 {
16125 if (temp3)
16126 delete arg3;
16127 }
16128 {
16129 if (temp8)
16130 delete arg8;
16131 }
16132 return resultobj;
16133 fail:
16134 {
16135 if (temp3)
16136 delete arg3;
16137 }
16138 {
16139 if (temp8)
16140 delete arg8;
16141 }
16142 return NULL;
16143}
16144
16145
c32bde28 16146static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16147 PyObject *resultobj = NULL;
d55e5bfc
RD
16148 wxToggleButton *result;
16149 char *kwnames[] = {
16150 NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
16154 {
0439c23b 16155 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (wxToggleButton *)new wxToggleButton();
16158
16159 wxPyEndAllowThreads(__tstate);
110da5b0 16160 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16161 }
16162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
c32bde28 16169static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16170 PyObject *resultobj = NULL;
d55e5bfc
RD
16171 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16172 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16173 int arg3 = (int) -1 ;
16174 wxString const &arg4_defvalue = wxPyEmptyString ;
16175 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
16176 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16177 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16178 wxSize const &arg6_defvalue = wxDefaultSize ;
16179 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16180 long arg7 = (long) 0 ;
16181 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16182 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16183 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16184 wxString *arg9 = (wxString *) &arg9_defvalue ;
16185 bool result;
ae8162c8 16186 bool temp4 = false ;
d55e5bfc
RD
16187 wxPoint temp5 ;
16188 wxSize temp6 ;
ae8162c8 16189 bool temp9 = false ;
d55e5bfc
RD
16190 PyObject * obj0 = 0 ;
16191 PyObject * obj1 = 0 ;
16192 PyObject * obj2 = 0 ;
16193 PyObject * obj3 = 0 ;
16194 PyObject * obj4 = 0 ;
16195 PyObject * obj5 = 0 ;
16196 PyObject * obj6 = 0 ;
16197 PyObject * obj7 = 0 ;
16198 PyObject * obj8 = 0 ;
16199 char *kwnames[] = {
16200 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16201 };
16202
248ed943 16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
16204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16205 if (SWIG_arg_fail(1)) SWIG_fail;
16206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16208 if (obj2) {
093d3ff1 16209 {
7449af73 16210 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16211 if (SWIG_arg_fail(3)) SWIG_fail;
16212 }
248ed943
RD
16213 }
16214 if (obj3) {
16215 {
16216 arg4 = wxString_in_helper(obj3);
16217 if (arg4 == NULL) SWIG_fail;
ae8162c8 16218 temp4 = true;
248ed943 16219 }
d55e5bfc
RD
16220 }
16221 if (obj4) {
16222 {
16223 arg5 = &temp5;
16224 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16225 }
16226 }
16227 if (obj5) {
16228 {
16229 arg6 = &temp6;
16230 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16231 }
16232 }
16233 if (obj6) {
093d3ff1 16234 {
7449af73 16235 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
16236 if (SWIG_arg_fail(7)) SWIG_fail;
16237 }
d55e5bfc
RD
16238 }
16239 if (obj7) {
093d3ff1
RD
16240 {
16241 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16242 if (SWIG_arg_fail(8)) SWIG_fail;
16243 if (arg8 == NULL) {
16244 SWIG_null_ref("wxValidator");
16245 }
16246 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
16247 }
16248 }
16249 if (obj8) {
16250 {
16251 arg9 = wxString_in_helper(obj8);
16252 if (arg9 == NULL) SWIG_fail;
ae8162c8 16253 temp9 = true;
d55e5bfc
RD
16254 }
16255 }
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 {
16264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16265 }
16266 {
16267 if (temp4)
16268 delete arg4;
16269 }
16270 {
16271 if (temp9)
16272 delete arg9;
16273 }
16274 return resultobj;
16275 fail:
16276 {
16277 if (temp4)
16278 delete arg4;
16279 }
16280 {
16281 if (temp9)
16282 delete arg9;
16283 }
16284 return NULL;
16285}
16286
16287
c32bde28 16288static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16289 PyObject *resultobj = NULL;
d55e5bfc
RD
16290 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16291 bool arg2 ;
16292 PyObject * obj0 = 0 ;
16293 PyObject * obj1 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "value", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail;
16301 {
7449af73 16302 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
16303 if (SWIG_arg_fail(2)) SWIG_fail;
16304 }
d55e5bfc
RD
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 (arg1)->SetValue(arg2);
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
16312 Py_INCREF(Py_None); resultobj = Py_None;
16313 return resultobj;
16314 fail:
16315 return NULL;
16316}
16317
16318
c32bde28 16319static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16320 PyObject *resultobj = NULL;
d55e5bfc
RD
16321 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16322 bool result;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
16329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16340 }
16341 return resultobj;
16342 fail:
16343 return NULL;
16344}
16345
16346
c32bde28 16347static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16348 PyObject *resultobj = NULL;
d55e5bfc
RD
16349 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16350 wxString *arg2 = 0 ;
ae8162c8 16351 bool temp2 = false ;
d55e5bfc
RD
16352 PyObject * obj0 = 0 ;
16353 PyObject * obj1 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self",(char *) "label", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16361 {
16362 arg2 = wxString_in_helper(obj1);
16363 if (arg2 == NULL) SWIG_fail;
ae8162c8 16364 temp2 = true;
d55e5bfc
RD
16365 }
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 (arg1)->SetLabel((wxString const &)*arg2);
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 {
16375 if (temp2)
16376 delete arg2;
16377 }
16378 return resultobj;
16379 fail:
16380 {
16381 if (temp2)
16382 delete arg2;
16383 }
16384 return NULL;
16385}
16386
16387
c32bde28 16388static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16389 PyObject *resultobj = NULL;
093d3ff1 16390 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16391 wxVisualAttributes result;
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "variant", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16398 if (obj0) {
093d3ff1 16399 {
7449af73 16400 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
16401 if (SWIG_arg_fail(1)) SWIG_fail;
16402 }
f20a2e1f
RD
16403 }
16404 {
19272049 16405 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 16407 result = wxToggleButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
16408
16409 wxPyEndAllowThreads(__tstate);
110da5b0 16410 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16411 }
16412 {
16413 wxVisualAttributes * resultptr;
7449af73 16414 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
16415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16416 }
16417 return resultobj;
16418 fail:
16419 return NULL;
16420}
16421
16422
c32bde28 16423static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16424 PyObject *obj;
16425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16426 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16427 Py_INCREF(obj);
16428 return Py_BuildValue((char *)"");
16429}
51b83b37
RD
16430static int _wrap_NotebookNameStr_set(PyObject *) {
16431 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16432 return 1;
16433}
16434
16435
51b83b37 16436static PyObject *_wrap_NotebookNameStr_get(void) {
7449af73 16437 PyObject *pyobj = NULL;
d55e5bfc
RD
16438
16439 {
16440#if wxUSE_UNICODE
51b83b37 16441 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16442#else
51b83b37 16443 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16444#endif
16445 }
16446 return pyobj;
16447}
16448
16449
8ac8dba0 16450static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16451 PyObject *resultobj = NULL;
8ac8dba0 16452 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16453 size_t result;
16454 PyObject * obj0 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self", NULL
16457 };
16458
8ac8dba0 16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16464 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
093d3ff1 16469 {
7449af73 16470 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 16471 }
d55e5bfc
RD
16472 return resultobj;
16473 fail:
16474 return NULL;
16475}
16476
16477
8ac8dba0 16478static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16479 PyObject *resultobj = NULL;
8ac8dba0 16480 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16481 size_t arg2 ;
16482 wxWindow *result;
16483 PyObject * obj0 = 0 ;
16484 PyObject * obj1 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self",(char *) "n", NULL
16487 };
16488
8ac8dba0 16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16491 if (SWIG_arg_fail(1)) SWIG_fail;
16492 {
7449af73 16493 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16494 if (SWIG_arg_fail(2)) SWIG_fail;
16495 }
d55e5bfc
RD
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 result = (wxWindow *)(arg1)->GetPage(arg2);
16499
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 {
412d302d 16504 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16505 }
16506 return resultobj;
16507 fail:
16508 return NULL;
16509}
16510
16511
8ac8dba0 16512static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16513 PyObject *resultobj = NULL;
8ac8dba0 16514 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16515 wxWindow *result;
16516 PyObject * obj0 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self", NULL
16519 };
16520
8ac8dba0 16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) 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;
8fb0e70a
RD
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16526 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16527
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 {
16532 resultobj = wxPyMake_wxObject(result, 0);
16533 }
16534 return resultobj;
16535 fail:
16536 return NULL;
16537}
16538
16539
8ac8dba0 16540static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16541 PyObject *resultobj = NULL;
8ac8dba0 16542 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16543 int result;
16544 PyObject * obj0 = 0 ;
16545 char *kwnames[] = {
16546 (char *) "self", NULL
16547 };
16548
8ac8dba0 16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16554 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16555
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
093d3ff1 16559 {
7449af73 16560 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16561 }
d55e5bfc
RD
16562 return resultobj;
16563 fail:
16564 return NULL;
16565}
16566
16567
8ac8dba0 16568static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16569 PyObject *resultobj = NULL;
8ac8dba0 16570 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16571 size_t arg2 ;
16572 wxString *arg3 = 0 ;
16573 bool result;
ae8162c8 16574 bool temp3 = false ;
d55e5bfc
RD
16575 PyObject * obj0 = 0 ;
16576 PyObject * obj1 = 0 ;
16577 PyObject * obj2 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self",(char *) "n",(char *) "strText", NULL
16580 };
16581
8ac8dba0 16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16584 if (SWIG_arg_fail(1)) SWIG_fail;
16585 {
7449af73 16586 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16587 if (SWIG_arg_fail(2)) SWIG_fail;
16588 }
d55e5bfc
RD
16589 {
16590 arg3 = wxString_in_helper(obj2);
16591 if (arg3 == NULL) SWIG_fail;
ae8162c8 16592 temp3 = true;
d55e5bfc
RD
16593 }
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16597
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 {
16602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16603 }
16604 {
16605 if (temp3)
16606 delete arg3;
16607 }
16608 return resultobj;
16609 fail:
16610 {
16611 if (temp3)
16612 delete arg3;
16613 }
16614 return NULL;
16615}
16616
16617
8ac8dba0 16618static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16619 PyObject *resultobj = NULL;
8ac8dba0 16620 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16621 size_t arg2 ;
16622 wxString result;
16623 PyObject * obj0 = 0 ;
16624 PyObject * obj1 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "n", NULL
16627 };
16628
8ac8dba0 16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail;
16632 {
7449af73 16633 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16634 if (SWIG_arg_fail(2)) SWIG_fail;
16635 }
d55e5bfc
RD
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16638 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 {
16644#if wxUSE_UNICODE
16645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16646#else
16647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16648#endif
16649 }
16650 return resultobj;
16651 fail:
16652 return NULL;
16653}
16654
16655
8ac8dba0 16656static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16657 PyObject *resultobj = NULL;
8ac8dba0 16658 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16659 wxImageList *arg2 = (wxImageList *) 0 ;
16660 PyObject * obj0 = 0 ;
16661 PyObject * obj1 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self",(char *) "imageList", NULL
16664 };
16665
8ac8dba0 16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail;
16669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16670 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 (arg1)->SetImageList(arg2);
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 Py_INCREF(Py_None); resultobj = Py_None;
16679 return resultobj;
16680 fail:
16681 return NULL;
16682}
16683
16684
8ac8dba0 16685static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16686 PyObject *resultobj = NULL;
8ac8dba0 16687 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16688 wxImageList *arg2 = (wxImageList *) 0 ;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self",(char *) "imageList", NULL
16693 };
16694
8ac8dba0 16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16697 if (SWIG_arg_fail(1)) SWIG_fail;
16698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16699 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 (arg1)->AssignImageList(arg2);
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 Py_INCREF(Py_None); resultobj = Py_None;
16708 return resultobj;
16709 fail:
16710 return NULL;
16711}
16712
16713
8ac8dba0 16714static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16715 PyObject *resultobj = NULL;
8ac8dba0 16716 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16717 wxImageList *result;
16718 PyObject * obj0 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self", NULL
16721 };
16722
8ac8dba0 16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16728 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 {
7e08d4ef 16734 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
16735 }
16736 return resultobj;
16737 fail:
16738 return NULL;
16739}
16740
16741
8ac8dba0 16742static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16743 PyObject *resultobj = NULL;
8ac8dba0 16744 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16745 size_t arg2 ;
16746 int result;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self",(char *) "n", NULL
16751 };
16752
8ac8dba0 16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16755 if (SWIG_arg_fail(1)) SWIG_fail;
16756 {
7449af73 16757 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16758 if (SWIG_arg_fail(2)) SWIG_fail;
16759 }
d55e5bfc
RD
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16762 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
093d3ff1 16767 {
7449af73 16768 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16769 }
d55e5bfc
RD
16770 return resultobj;
16771 fail:
16772 return NULL;
16773}
16774
16775
8ac8dba0 16776static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16777 PyObject *resultobj = NULL;
8ac8dba0 16778 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16779 size_t arg2 ;
16780 int arg3 ;
16781 bool result;
16782 PyObject * obj0 = 0 ;
16783 PyObject * obj1 = 0 ;
16784 PyObject * obj2 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self",(char *) "n",(char *) "imageId", NULL
16787 };
16788
8ac8dba0 16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail;
16792 {
7449af73 16793 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16794 if (SWIG_arg_fail(2)) SWIG_fail;
16795 }
16796 {
7449af73 16797 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16798 if (SWIG_arg_fail(3)) SWIG_fail;
16799 }
d55e5bfc
RD
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16803
16804 wxPyEndAllowThreads(__tstate);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 {
16808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16809 }
16810 return resultobj;
16811 fail:
16812 return NULL;
16813}
16814
16815
8ac8dba0 16816static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16817 PyObject *resultobj = NULL;
8ac8dba0 16818 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16819 wxSize *arg2 = 0 ;
16820 wxSize temp2 ;
16821 PyObject * obj0 = 0 ;
16822 PyObject * obj1 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self",(char *) "size", NULL
16825 };
16826
8ac8dba0 16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16830 {
16831 arg2 = &temp2;
16832 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16833 }
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 (arg1)->SetPageSize((wxSize const &)*arg2);
16837
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 Py_INCREF(Py_None); resultobj = Py_None;
16842 return resultobj;
16843 fail:
16844 return NULL;
16845}
16846
16847
8ac8dba0 16848static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16849 PyObject *resultobj = NULL;
8ac8dba0 16850 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16851 wxSize *arg2 = 0 ;
16852 wxSize result;
16853 wxSize temp2 ;
16854 PyObject * obj0 = 0 ;
16855 PyObject * obj1 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "self",(char *) "sizePage", NULL
16858 };
16859
8ac8dba0 16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16863 {
16864 arg2 = &temp2;
16865 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16866 }
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16869 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 {
16875 wxSize * resultptr;
7449af73 16876 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
16877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16878 }
16879 return resultobj;
16880 fail:
16881 return NULL;
16882}
16883
16884
7e08d4ef
RD
16885static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj = NULL;
16887 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16888 unsigned int result;
16889 PyObject * obj0 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail;
16895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail;
16897 {
16898 PyThreadState* __tstate = wxPyBeginAllowThreads();
16899 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
16900
16901 wxPyEndAllowThreads(__tstate);
16902 if (PyErr_Occurred()) SWIG_fail;
16903 }
16904 {
16905 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
16906 }
16907 return resultobj;
16908 fail:
16909 return NULL;
16910}
16911
16912
16913static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj = NULL;
16915 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16916 unsigned int arg2 ;
16917 PyObject * obj0 = 0 ;
16918 PyObject * obj1 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self",(char *) "internalBorder", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) goto fail;
16924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16925 if (SWIG_arg_fail(1)) SWIG_fail;
16926 {
16927 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
16928 if (SWIG_arg_fail(2)) SWIG_fail;
16929 }
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 (arg1)->SetInternalBorder(arg2);
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 Py_INCREF(Py_None); resultobj = Py_None;
16938 return resultobj;
16939 fail:
16940 return NULL;
16941}
16942
16943
16944static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj = NULL;
16946 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16947 bool result;
16948 PyObject * obj0 = 0 ;
16949 char *kwnames[] = {
16950 (char *) "self", NULL
16951 };
16952
16953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail;
16954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16955 if (SWIG_arg_fail(1)) SWIG_fail;
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
16959
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 {
16964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16965 }
16966 return resultobj;
16967 fail:
16968 return NULL;
16969}
16970
16971
b06b3e70 16972static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
16973 PyObject *resultobj = NULL;
16974 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16975 bool arg2 ;
16976 PyObject * obj0 = 0 ;
16977 PyObject * obj1 = 0 ;
16978 char *kwnames[] = {
b06b3e70 16979 (char *) "self",(char *) "fit", NULL
7e08d4ef
RD
16980 };
16981
b06b3e70 16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail;
7e08d4ef
RD
16983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16984 if (SWIG_arg_fail(1)) SWIG_fail;
16985 {
16986 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16987 if (SWIG_arg_fail(2)) SWIG_fail;
16988 }
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 16991 (arg1)->SetFitToCurrentPage(arg2);
7e08d4ef
RD
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 Py_INCREF(Py_None); resultobj = Py_None;
16997 return resultobj;
16998 fail:
16999 return NULL;
17000}
17001
17002
b06b3e70 17003static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
17004 PyObject *resultobj = NULL;
17005 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17006 bool result;
17007 PyObject * obj0 = 0 ;
17008 char *kwnames[] = {
17009 (char *) "self", NULL
17010 };
17011
b06b3e70 17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail;
7e08d4ef
RD
17013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17014 if (SWIG_arg_fail(1)) SWIG_fail;
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 17017 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
7e08d4ef
RD
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 {
17023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17024 }
17025 return resultobj;
17026 fail:
17027 return NULL;
17028}
17029
17030
8ac8dba0 17031static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17032 PyObject *resultobj = NULL;
8ac8dba0 17033 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17034 size_t arg2 ;
17035 bool result;
17036 PyObject * obj0 = 0 ;
17037 PyObject * obj1 = 0 ;
17038 char *kwnames[] = {
17039 (char *) "self",(char *) "n", NULL
17040 };
17041
8ac8dba0 17042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17044 if (SWIG_arg_fail(1)) SWIG_fail;
17045 {
7449af73 17046 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17047 if (SWIG_arg_fail(2)) SWIG_fail;
17048 }
d55e5bfc
RD
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 result = (bool)(arg1)->DeletePage(arg2);
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 {
17057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17058 }
17059 return resultobj;
17060 fail:
17061 return NULL;
17062}
17063
17064
8ac8dba0 17065static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17066 PyObject *resultobj = NULL;
8ac8dba0 17067 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17068 size_t arg2 ;
17069 bool result;
17070 PyObject * obj0 = 0 ;
17071 PyObject * obj1 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self",(char *) "n", NULL
17074 };
17075
8ac8dba0 17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail;
17079 {
7449af73 17080 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17081 if (SWIG_arg_fail(2)) SWIG_fail;
17082 }
d55e5bfc
RD
17083 {
17084 PyThreadState* __tstate = wxPyBeginAllowThreads();
17085 result = (bool)(arg1)->RemovePage(arg2);
17086
17087 wxPyEndAllowThreads(__tstate);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
17090 {
17091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17092 }
17093 return resultobj;
17094 fail:
17095 return NULL;
17096}
17097
17098
8ac8dba0 17099static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17100 PyObject *resultobj = NULL;
8ac8dba0 17101 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17102 bool result;
17103 PyObject * obj0 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self", NULL
17106 };
17107
8ac8dba0 17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
17109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 result = (bool)(arg1)->DeleteAllPages();
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 {
17119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17120 }
17121 return resultobj;
17122 fail:
17123 return NULL;
17124}
17125
17126
8ac8dba0 17127static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17128 PyObject *resultobj = NULL;
8ac8dba0 17129 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17130 wxWindow *arg2 = (wxWindow *) 0 ;
17131 wxString *arg3 = 0 ;
ae8162c8 17132 bool arg4 = (bool) false ;
d55e5bfc
RD
17133 int arg5 = (int) -1 ;
17134 bool result;
ae8162c8 17135 bool temp3 = false ;
d55e5bfc
RD
17136 PyObject * obj0 = 0 ;
17137 PyObject * obj1 = 0 ;
17138 PyObject * obj2 = 0 ;
17139 PyObject * obj3 = 0 ;
17140 PyObject * obj4 = 0 ;
17141 char *kwnames[] = {
17142 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17143 };
17144
8ac8dba0 17145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17147 if (SWIG_arg_fail(1)) SWIG_fail;
17148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17149 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17150 {
17151 arg3 = wxString_in_helper(obj2);
17152 if (arg3 == NULL) SWIG_fail;
ae8162c8 17153 temp3 = true;
d55e5bfc
RD
17154 }
17155 if (obj3) {
093d3ff1 17156 {
7449af73 17157 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
17158 if (SWIG_arg_fail(4)) SWIG_fail;
17159 }
d55e5bfc
RD
17160 }
17161 if (obj4) {
093d3ff1 17162 {
7449af73 17163 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
17164 if (SWIG_arg_fail(5)) SWIG_fail;
17165 }
d55e5bfc
RD
17166 }
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
17170
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 {
17175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17176 }
17177 {
17178 if (temp3)
17179 delete arg3;
17180 }
17181 return resultobj;
17182 fail:
17183 {
17184 if (temp3)
17185 delete arg3;
17186 }
17187 return NULL;
17188}
17189
17190
8ac8dba0 17191static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17192 PyObject *resultobj = NULL;
8ac8dba0 17193 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17194 size_t arg2 ;
17195 wxWindow *arg3 = (wxWindow *) 0 ;
17196 wxString *arg4 = 0 ;
ae8162c8 17197 bool arg5 = (bool) false ;
d55e5bfc
RD
17198 int arg6 = (int) -1 ;
17199 bool result;
ae8162c8 17200 bool temp4 = false ;
d55e5bfc
RD
17201 PyObject * obj0 = 0 ;
17202 PyObject * obj1 = 0 ;
17203 PyObject * obj2 = 0 ;
17204 PyObject * obj3 = 0 ;
17205 PyObject * obj4 = 0 ;
17206 PyObject * obj5 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17209 };
17210
8ac8dba0 17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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 {
7449af73 17215 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17216 if (SWIG_arg_fail(2)) SWIG_fail;
17217 }
17218 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17219 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
17220 {
17221 arg4 = wxString_in_helper(obj3);
17222 if (arg4 == NULL) SWIG_fail;
ae8162c8 17223 temp4 = true;
d55e5bfc
RD
17224 }
17225 if (obj4) {
093d3ff1 17226 {
7449af73 17227 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
17228 if (SWIG_arg_fail(5)) SWIG_fail;
17229 }
d55e5bfc
RD
17230 }
17231 if (obj5) {
093d3ff1 17232 {
7449af73 17233 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
17234 if (SWIG_arg_fail(6)) SWIG_fail;
17235 }
d55e5bfc
RD
17236 }
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 {
17245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17246 }
17247 {
17248 if (temp4)
17249 delete arg4;
17250 }
17251 return resultobj;
17252 fail:
17253 {
17254 if (temp4)
17255 delete arg4;
17256 }
17257 return NULL;
17258}
17259
17260
8ac8dba0 17261static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17262 PyObject *resultobj = NULL;
8ac8dba0 17263 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17264 size_t arg2 ;
17265 int result;
17266 PyObject * obj0 = 0 ;
17267 PyObject * obj1 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self",(char *) "n", NULL
17270 };
17271
8ac8dba0 17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail;
17275 {
7449af73 17276 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17277 if (SWIG_arg_fail(2)) SWIG_fail;
17278 }
d55e5bfc
RD
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (int)(arg1)->SetSelection(arg2);
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
093d3ff1 17286 {
7449af73 17287 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17288 }
d55e5bfc
RD
17289 return resultobj;
17290 fail:
17291 return NULL;
17292}
17293
17294
8ac8dba0 17295static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17296 PyObject *resultobj = NULL;
8ac8dba0 17297 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 17298 bool arg2 = (bool) true ;
d55e5bfc
RD
17299 PyObject * obj0 = 0 ;
17300 PyObject * obj1 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "self",(char *) "forward", NULL
17303 };
17304
8ac8dba0 17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17308 if (obj1) {
093d3ff1 17309 {
7449af73 17310 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
17311 if (SWIG_arg_fail(2)) SWIG_fail;
17312 }
d55e5bfc
RD
17313 }
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 (arg1)->AdvanceSelection(arg2);
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 Py_INCREF(Py_None); resultobj = Py_None;
17322 return resultobj;
17323 fail:
17324 return NULL;
17325}
17326
17327
8ac8dba0 17328static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17329 PyObject *resultobj = NULL;
093d3ff1 17330 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17331 wxVisualAttributes result;
17332 PyObject * obj0 = 0 ;
17333 char *kwnames[] = {
17334 (char *) "variant", NULL
17335 };
17336
8ac8dba0 17337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 17338 if (obj0) {
093d3ff1 17339 {
7449af73 17340 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
17341 if (SWIG_arg_fail(1)) SWIG_fail;
17342 }
f20a2e1f
RD
17343 }
17344 {
19272049 17345 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 17347 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
17348
17349 wxPyEndAllowThreads(__tstate);
110da5b0 17350 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17351 }
17352 {
17353 wxVisualAttributes * resultptr;
7449af73 17354 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
17355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17356 }
17357 return resultobj;
17358 fail:
17359 return NULL;
17360}
17361
17362
8ac8dba0 17363static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17364 PyObject *obj;
17365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17366 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
17367 Py_INCREF(obj);
17368 return Py_BuildValue((char *)"");
17369}
8ac8dba0 17370static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17371 PyObject *resultobj = NULL;
d55e5bfc
RD
17372 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17373 int arg2 = (int) 0 ;
17374 int arg3 = (int) -1 ;
17375 int arg4 = (int) -1 ;
8ac8dba0 17376 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 PyObject * obj2 = 0 ;
17380 PyObject * obj3 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17383 };
17384
8ac8dba0 17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 17386 if (obj0) {
093d3ff1 17387 {
7449af73 17388 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
17389 if (SWIG_arg_fail(1)) SWIG_fail;
17390 }
d55e5bfc
RD
17391 }
17392 if (obj1) {
093d3ff1 17393 {
7449af73 17394 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17395 if (SWIG_arg_fail(2)) SWIG_fail;
17396 }
d55e5bfc
RD
17397 }
17398 if (obj2) {
093d3ff1 17399 {
7449af73 17400 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17401 if (SWIG_arg_fail(3)) SWIG_fail;
17402 }
d55e5bfc
RD
17403 }
17404 if (obj3) {
093d3ff1 17405 {
7449af73 17406 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
17407 if (SWIG_arg_fail(4)) SWIG_fail;
17408 }
d55e5bfc
RD
17409 }
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17412 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
8ac8dba0 17417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
17418 return resultobj;
17419 fail:
17420 return NULL;
17421}
17422
17423
8ac8dba0 17424static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17425 PyObject *resultobj = NULL;
8ac8dba0 17426 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17427 int result;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
8ac8dba0 17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17438 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
093d3ff1 17443 {
7449af73 17444 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17445 }
d55e5bfc
RD
17446 return resultobj;
17447 fail:
17448 return NULL;
17449}
17450
17451
8ac8dba0 17452static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17453 PyObject *resultobj = NULL;
8ac8dba0 17454 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17455 int arg2 ;
17456 PyObject * obj0 = 0 ;
17457 PyObject * obj1 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self",(char *) "nSel", NULL
17460 };
17461
8ac8dba0 17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail;
17465 {
7449af73 17466 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17467 if (SWIG_arg_fail(2)) SWIG_fail;
17468 }
d55e5bfc
RD
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->SetSelection(arg2);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480}
17481
17482
8ac8dba0 17483static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17484 PyObject *resultobj = NULL;
8ac8dba0 17485 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17486 int result;
17487 PyObject * obj0 = 0 ;
17488 char *kwnames[] = {
17489 (char *) "self", NULL
17490 };
17491
8ac8dba0 17492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17497 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
093d3ff1 17502 {
7449af73 17503 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17504 }
d55e5bfc
RD
17505 return resultobj;
17506 fail:
17507 return NULL;
17508}
17509
17510
8ac8dba0 17511static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17512 PyObject *resultobj = NULL;
8ac8dba0 17513 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17514 int arg2 ;
17515 PyObject * obj0 = 0 ;
17516 PyObject * obj1 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self",(char *) "nOldSel", NULL
17519 };
17520
8ac8dba0 17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17523 if (SWIG_arg_fail(1)) SWIG_fail;
17524 {
7449af73 17525 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17526 if (SWIG_arg_fail(2)) SWIG_fail;
17527 }
d55e5bfc
RD
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 (arg1)->SetOldSelection(arg2);
17531
17532 wxPyEndAllowThreads(__tstate);
17533 if (PyErr_Occurred()) SWIG_fail;
17534 }
17535 Py_INCREF(Py_None); resultobj = Py_None;
17536 return resultobj;
17537 fail:
17538 return NULL;
17539}
17540
17541
8ac8dba0 17542static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17543 PyObject *obj;
17544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17545 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
17546 Py_INCREF(obj);
17547 return Py_BuildValue((char *)"");
17548}
c32bde28 17549static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17550 PyObject *resultobj = NULL;
d55e5bfc
RD
17551 wxWindow *arg1 = (wxWindow *) 0 ;
17552 int arg2 = (int) -1 ;
17553 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17554 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17555 wxSize const &arg4_defvalue = wxDefaultSize ;
17556 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17557 long arg5 = (long) 0 ;
51b83b37 17558 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17559 wxString *arg6 = (wxString *) &arg6_defvalue ;
17560 wxNotebook *result;
17561 wxPoint temp3 ;
17562 wxSize temp4 ;
ae8162c8 17563 bool temp6 = false ;
d55e5bfc
RD
17564 PyObject * obj0 = 0 ;
17565 PyObject * obj1 = 0 ;
17566 PyObject * obj2 = 0 ;
17567 PyObject * obj3 = 0 ;
17568 PyObject * obj4 = 0 ;
17569 PyObject * obj5 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17577 if (obj1) {
093d3ff1 17578 {
7449af73 17579 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17580 if (SWIG_arg_fail(2)) SWIG_fail;
17581 }
d55e5bfc
RD
17582 }
17583 if (obj2) {
17584 {
17585 arg3 = &temp3;
17586 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17587 }
17588 }
17589 if (obj3) {
17590 {
17591 arg4 = &temp4;
17592 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17593 }
17594 }
17595 if (obj4) {
093d3ff1 17596 {
7449af73 17597 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
17598 if (SWIG_arg_fail(5)) SWIG_fail;
17599 }
d55e5bfc
RD
17600 }
17601 if (obj5) {
17602 {
17603 arg6 = wxString_in_helper(obj5);
17604 if (arg6 == NULL) SWIG_fail;
ae8162c8 17605 temp6 = true;
d55e5bfc
RD
17606 }
17607 }
17608 {
0439c23b 17609 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17612
17613 wxPyEndAllowThreads(__tstate);
110da5b0 17614 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17615 }
b0f7404b 17616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17617 {
17618 if (temp6)
17619 delete arg6;
17620 }
17621 return resultobj;
17622 fail:
17623 {
17624 if (temp6)
17625 delete arg6;
17626 }
17627 return NULL;
17628}
17629
17630
c32bde28 17631static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17632 PyObject *resultobj = NULL;
d55e5bfc
RD
17633 wxNotebook *result;
17634 char *kwnames[] = {
17635 NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17639 {
0439c23b 17640 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 result = (wxNotebook *)new wxNotebook();
17643
17644 wxPyEndAllowThreads(__tstate);
110da5b0 17645 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17646 }
b0f7404b 17647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17648 return resultobj;
17649 fail:
17650 return NULL;
17651}
17652
17653
c32bde28 17654static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17655 PyObject *resultobj = NULL;
d55e5bfc
RD
17656 wxNotebook *arg1 = (wxNotebook *) 0 ;
17657 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17658 int arg3 = (int) -1 ;
d55e5bfc
RD
17659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17661 wxSize const &arg5_defvalue = wxDefaultSize ;
17662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17663 long arg6 = (long) 0 ;
51b83b37 17664 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17665 wxString *arg7 = (wxString *) &arg7_defvalue ;
17666 bool result;
17667 wxPoint temp4 ;
17668 wxSize temp5 ;
ae8162c8 17669 bool temp7 = false ;
d55e5bfc
RD
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 PyObject * obj2 = 0 ;
17673 PyObject * obj3 = 0 ;
17674 PyObject * obj4 = 0 ;
17675 PyObject * obj5 = 0 ;
17676 PyObject * obj6 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17679 };
17680
248ed943 17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail;
17684 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17685 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17686 if (obj2) {
093d3ff1 17687 {
7449af73 17688 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17689 if (SWIG_arg_fail(3)) SWIG_fail;
17690 }
248ed943 17691 }
d55e5bfc
RD
17692 if (obj3) {
17693 {
17694 arg4 = &temp4;
17695 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17696 }
17697 }
17698 if (obj4) {
17699 {
17700 arg5 = &temp5;
17701 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17702 }
17703 }
17704 if (obj5) {
093d3ff1 17705 {
7449af73 17706 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
17707 if (SWIG_arg_fail(6)) SWIG_fail;
17708 }
d55e5bfc
RD
17709 }
17710 if (obj6) {
17711 {
17712 arg7 = wxString_in_helper(obj6);
17713 if (arg7 == NULL) SWIG_fail;
ae8162c8 17714 temp7 = true;
d55e5bfc
RD
17715 }
17716 }
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 {
17725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17726 }
17727 {
17728 if (temp7)
17729 delete arg7;
17730 }
17731 return resultobj;
17732 fail:
17733 {
17734 if (temp7)
17735 delete arg7;
17736 }
17737 return NULL;
17738}
17739
17740
c32bde28 17741static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17742 PyObject *resultobj = NULL;
d55e5bfc
RD
17743 wxNotebook *arg1 = (wxNotebook *) 0 ;
17744 int result;
17745 PyObject * obj0 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "self", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17752 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17753 {
17754 PyThreadState* __tstate = wxPyBeginAllowThreads();
17755 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17756
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
093d3ff1 17760 {
7449af73 17761 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17762 }
d55e5bfc
RD
17763 return resultobj;
17764 fail:
17765 return NULL;
17766}
17767
17768
c32bde28 17769static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17770 PyObject *resultobj = NULL;
d55e5bfc
RD
17771 wxNotebook *arg1 = (wxNotebook *) 0 ;
17772 wxSize *arg2 = 0 ;
17773 wxSize temp2 ;
17774 PyObject * obj0 = 0 ;
17775 PyObject * obj1 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "padding", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17783 {
17784 arg2 = &temp2;
17785 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17786 }
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 (arg1)->SetPadding((wxSize const &)*arg2);
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 Py_INCREF(Py_None); resultobj = Py_None;
17795 return resultobj;
17796 fail:
17797 return NULL;
17798}
17799
17800
c32bde28 17801static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17802 PyObject *resultobj = NULL;
d55e5bfc
RD
17803 wxNotebook *arg1 = (wxNotebook *) 0 ;
17804 wxSize *arg2 = 0 ;
17805 wxSize temp2 ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self",(char *) "sz", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17814 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17815 {
17816 arg2 = &temp2;
17817 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17818 }
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 (arg1)->SetTabSize((wxSize const &)*arg2);
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 Py_INCREF(Py_None); resultobj = Py_None;
17827 return resultobj;
17828 fail:
17829 return NULL;
17830}
17831
17832
c32bde28 17833static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17834 PyObject *resultobj = NULL;
d55e5bfc
RD
17835 wxNotebook *arg1 = (wxNotebook *) 0 ;
17836 wxPoint *arg2 = 0 ;
17837 long *arg3 = (long *) 0 ;
17838 int result;
17839 wxPoint temp2 ;
17840 long temp3 ;
c32bde28 17841 int res3 = 0 ;
d55e5bfc
RD
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self",(char *) "pt", NULL
17846 };
17847
c32bde28 17848 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17852 {
17853 arg2 = &temp2;
17854 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17855 }
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
093d3ff1 17863 {
7449af73 17864 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17865 }
c32bde28
RD
17866 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17867 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17868 return resultobj;
17869 fail:
17870 return NULL;
17871}
17872
17873
c32bde28 17874static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17875 PyObject *resultobj = NULL;
d55e5bfc
RD
17876 wxNotebook *arg1 = (wxNotebook *) 0 ;
17877 wxSize *arg2 = 0 ;
17878 wxSize result;
17879 wxSize temp2 ;
17880 PyObject * obj0 = 0 ;
17881 PyObject * obj1 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self",(char *) "sizePage", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17889 {
17890 arg2 = &temp2;
17891 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17892 }
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 {
17901 wxSize * resultptr;
7449af73 17902 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
17903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17904 }
17905 return resultobj;
17906 fail:
17907 return NULL;
17908}
17909
17910
091fdbfa 17911static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17912 PyObject *resultobj = NULL;
091fdbfa
RD
17913 wxNotebook *arg1 = (wxNotebook *) 0 ;
17914 wxColour result;
17915 PyObject * obj0 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "self", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail;
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 {
17931 wxColour * resultptr;
7449af73 17932 resultptr = new wxColour(static_cast<wxColour & >(result));
091fdbfa
RD
17933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17934 }
17935 return resultobj;
17936 fail:
17937 return NULL;
17938}
17939
17940
c32bde28 17941static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17942 PyObject *resultobj = NULL;
093d3ff1 17943 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17944 wxVisualAttributes result;
17945 PyObject * obj0 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "variant", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17951 if (obj0) {
093d3ff1 17952 {
7449af73 17953 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
17954 if (SWIG_arg_fail(1)) SWIG_fail;
17955 }
f20a2e1f
RD
17956 }
17957 {
19272049 17958 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 17960 result = wxNotebook::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
17961
17962 wxPyEndAllowThreads(__tstate);
110da5b0 17963 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17964 }
17965 {
17966 wxVisualAttributes * resultptr;
7449af73 17967 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
17968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17969 }
17970 return resultobj;
17971 fail:
17972 return NULL;
17973}
17974
17975
c32bde28 17976static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17977 PyObject *obj;
17978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17980 Py_INCREF(obj);
17981 return Py_BuildValue((char *)"");
17982}
c32bde28 17983static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17984 PyObject *resultobj = NULL;
d55e5bfc
RD
17985 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17986 int arg2 = (int) 0 ;
17987 int arg3 = (int) -1 ;
17988 int arg4 = (int) -1 ;
17989 wxNotebookEvent *result;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 PyObject * obj2 = 0 ;
17993 PyObject * obj3 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17999 if (obj0) {
093d3ff1 18000 {
7449af73 18001 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
18002 if (SWIG_arg_fail(1)) SWIG_fail;
18003 }
d55e5bfc
RD
18004 }
18005 if (obj1) {
093d3ff1 18006 {
7449af73 18007 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18008 if (SWIG_arg_fail(2)) SWIG_fail;
18009 }
d55e5bfc
RD
18010 }
18011 if (obj2) {
093d3ff1 18012 {
7449af73 18013 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18014 if (SWIG_arg_fail(3)) SWIG_fail;
18015 }
d55e5bfc
RD
18016 }
18017 if (obj3) {
093d3ff1 18018 {
7449af73 18019 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
18020 if (SWIG_arg_fail(4)) SWIG_fail;
18021 }
d55e5bfc
RD
18022 }
18023 {
18024 PyThreadState* __tstate = wxPyBeginAllowThreads();
18025 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
18026
18027 wxPyEndAllowThreads(__tstate);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 }
18030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
18031 return resultobj;
18032 fail:
18033 return NULL;
18034}
18035
18036
c32bde28 18037static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18038 PyObject *obj;
18039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18040 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
18041 Py_INCREF(obj);
18042 return Py_BuildValue((char *)"");
18043}
c32bde28 18044static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18045 PyObject *resultobj = NULL;
d55e5bfc
RD
18046 wxWindow *arg1 = (wxWindow *) 0 ;
18047 int arg2 = (int) -1 ;
18048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18050 wxSize const &arg4_defvalue = wxDefaultSize ;
18051 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18052 long arg5 = (long) 0 ;
18053 wxString const &arg6_defvalue = wxPyEmptyString ;
18054 wxString *arg6 = (wxString *) &arg6_defvalue ;
18055 wxListbook *result;
18056 wxPoint temp3 ;
18057 wxSize temp4 ;
ae8162c8 18058 bool temp6 = false ;
d55e5bfc
RD
18059 PyObject * obj0 = 0 ;
18060 PyObject * obj1 = 0 ;
18061 PyObject * obj2 = 0 ;
18062 PyObject * obj3 = 0 ;
18063 PyObject * obj4 = 0 ;
18064 PyObject * obj5 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18072 if (obj1) {
093d3ff1 18073 {
7449af73 18074 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18075 if (SWIG_arg_fail(2)) SWIG_fail;
18076 }
d55e5bfc
RD
18077 }
18078 if (obj2) {
18079 {
18080 arg3 = &temp3;
18081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18082 }
18083 }
18084 if (obj3) {
18085 {
18086 arg4 = &temp4;
18087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18088 }
18089 }
18090 if (obj4) {
093d3ff1 18091 {
7449af73 18092 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
18093 if (SWIG_arg_fail(5)) SWIG_fail;
18094 }
d55e5bfc
RD
18095 }
18096 if (obj5) {
18097 {
18098 arg6 = wxString_in_helper(obj5);
18099 if (arg6 == NULL) SWIG_fail;
ae8162c8 18100 temp6 = true;
d55e5bfc
RD
18101 }
18102 }
18103 {
0439c23b 18104 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18107
18108 wxPyEndAllowThreads(__tstate);
110da5b0 18109 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18110 }
18111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18112 {
18113 if (temp6)
18114 delete arg6;
18115 }
18116 return resultobj;
18117 fail:
18118 {
18119 if (temp6)
18120 delete arg6;
18121 }
18122 return NULL;
18123}
18124
18125
c32bde28 18126static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18127 PyObject *resultobj = NULL;
d55e5bfc
RD
18128 wxListbook *result;
18129 char *kwnames[] = {
18130 NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
18134 {
0439c23b 18135 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 result = (wxListbook *)new wxListbook();
18138
18139 wxPyEndAllowThreads(__tstate);
110da5b0 18140 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18141 }
18142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18143 return resultobj;
18144 fail:
18145 return NULL;
18146}
18147
18148
c32bde28 18149static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18150 PyObject *resultobj = NULL;
d55e5bfc
RD
18151 wxListbook *arg1 = (wxListbook *) 0 ;
18152 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 18153 int arg3 = (int) -1 ;
d55e5bfc
RD
18154 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18155 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18156 wxSize const &arg5_defvalue = wxDefaultSize ;
18157 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18158 long arg6 = (long) 0 ;
18159 wxString const &arg7_defvalue = wxPyEmptyString ;
18160 wxString *arg7 = (wxString *) &arg7_defvalue ;
18161 bool result;
18162 wxPoint temp4 ;
18163 wxSize temp5 ;
ae8162c8 18164 bool temp7 = false ;
d55e5bfc
RD
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167 PyObject * obj2 = 0 ;
18168 PyObject * obj3 = 0 ;
18169 PyObject * obj4 = 0 ;
18170 PyObject * obj5 = 0 ;
18171 PyObject * obj6 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18174 };
18175
248ed943 18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail;
18179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18180 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 18181 if (obj2) {
093d3ff1 18182 {
7449af73 18183 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18184 if (SWIG_arg_fail(3)) SWIG_fail;
18185 }
248ed943 18186 }
d55e5bfc
RD
18187 if (obj3) {
18188 {
18189 arg4 = &temp4;
18190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18191 }
18192 }
18193 if (obj4) {
18194 {
18195 arg5 = &temp5;
18196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18197 }
18198 }
18199 if (obj5) {
093d3ff1 18200 {
7449af73 18201 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
18202 if (SWIG_arg_fail(6)) SWIG_fail;
18203 }
d55e5bfc
RD
18204 }
18205 if (obj6) {
18206 {
18207 arg7 = wxString_in_helper(obj6);
18208 if (arg7 == NULL) SWIG_fail;
ae8162c8 18209 temp7 = true;
d55e5bfc
RD
18210 }
18211 }
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 {
18220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18221 }
18222 {
18223 if (temp7)
18224 delete arg7;
18225 }
18226 return resultobj;
18227 fail:
18228 {
18229 if (temp7)
18230 delete arg7;
18231 }
18232 return NULL;
18233}
18234
18235
7e08d4ef
RD
18236static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18237 PyObject *resultobj = NULL;
18238 wxListbook *arg1 = (wxListbook *) 0 ;
18239 wxListView *result;
18240 PyObject * obj0 = 0 ;
18241 char *kwnames[] = {
18242 (char *) "self", NULL
18243 };
18244
18245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18247 if (SWIG_arg_fail(1)) SWIG_fail;
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 result = (wxListView *)(arg1)->GetListView();
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18256 return resultobj;
18257 fail:
18258 return NULL;
18259}
18260
18261
18262static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18263 PyObject *obj;
18264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18265 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18266 Py_INCREF(obj);
18267 return Py_BuildValue((char *)"");
18268}
18269static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj = NULL;
18271 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18272 int arg2 = (int) 0 ;
18273 int arg3 = (int) -1 ;
18274 int arg4 = (int) -1 ;
18275 wxListbookEvent *result;
18276 PyObject * obj0 = 0 ;
18277 PyObject * obj1 = 0 ;
18278 PyObject * obj2 = 0 ;
18279 PyObject * obj3 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18285 if (obj0) {
18286 {
18287 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18288 if (SWIG_arg_fail(1)) SWIG_fail;
18289 }
18290 }
18291 if (obj1) {
18292 {
18293 arg2 = static_cast<int >(SWIG_As_int(obj1));
18294 if (SWIG_arg_fail(2)) SWIG_fail;
18295 }
18296 }
18297 if (obj2) {
18298 {
18299 arg3 = static_cast<int >(SWIG_As_int(obj2));
18300 if (SWIG_arg_fail(3)) SWIG_fail;
18301 }
18302 }
18303 if (obj3) {
18304 {
18305 arg4 = static_cast<int >(SWIG_As_int(obj3));
18306 if (SWIG_arg_fail(4)) SWIG_fail;
18307 }
18308 }
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18317 return resultobj;
18318 fail:
18319 return NULL;
18320}
18321
18322
18323static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18324 PyObject *obj;
18325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18326 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18327 Py_INCREF(obj);
18328 return Py_BuildValue((char *)"");
18329}
18330static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj = NULL;
18332 wxWindow *arg1 = (wxWindow *) 0 ;
18333 int arg2 ;
18334 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18335 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18336 wxSize const &arg4_defvalue = wxDefaultSize ;
18337 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18338 long arg5 = (long) 0 ;
18339 wxString const &arg6_defvalue = wxPyEmptyString ;
18340 wxString *arg6 = (wxString *) &arg6_defvalue ;
18341 wxChoicebook *result;
18342 wxPoint temp3 ;
18343 wxSize temp4 ;
18344 bool temp6 = false ;
18345 PyObject * obj0 = 0 ;
18346 PyObject * obj1 = 0 ;
18347 PyObject * obj2 = 0 ;
18348 PyObject * obj3 = 0 ;
18349 PyObject * obj4 = 0 ;
18350 PyObject * obj5 = 0 ;
18351 char *kwnames[] = {
18352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18353 };
18354
18355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18357 if (SWIG_arg_fail(1)) SWIG_fail;
18358 {
18359 arg2 = static_cast<int >(SWIG_As_int(obj1));
18360 if (SWIG_arg_fail(2)) SWIG_fail;
18361 }
18362 if (obj2) {
18363 {
18364 arg3 = &temp3;
18365 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18366 }
18367 }
18368 if (obj3) {
18369 {
18370 arg4 = &temp4;
18371 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18372 }
18373 }
18374 if (obj4) {
18375 {
18376 arg5 = static_cast<long >(SWIG_As_long(obj4));
18377 if (SWIG_arg_fail(5)) SWIG_fail;
18378 }
18379 }
18380 if (obj5) {
18381 {
18382 arg6 = wxString_in_helper(obj5);
18383 if (arg6 == NULL) SWIG_fail;
18384 temp6 = true;
18385 }
18386 }
18387 {
18388 if (!wxPyCheckForApp()) SWIG_fail;
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18396 {
18397 if (temp6)
18398 delete arg6;
18399 }
18400 return resultobj;
18401 fail:
18402 {
18403 if (temp6)
18404 delete arg6;
18405 }
18406 return NULL;
18407}
18408
18409
18410static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18411 PyObject *resultobj = NULL;
18412 wxChoicebook *result;
18413 char *kwnames[] = {
18414 NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18418 {
18419 if (!wxPyCheckForApp()) SWIG_fail;
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 result = (wxChoicebook *)new wxChoicebook();
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18427 return resultobj;
18428 fail:
18429 return NULL;
18430}
18431
18432
18433static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj = NULL;
18435 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18436 wxWindow *arg2 = (wxWindow *) 0 ;
18437 int arg3 ;
18438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18440 wxSize const &arg5_defvalue = wxDefaultSize ;
18441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18442 long arg6 = (long) 0 ;
18443 wxString const &arg7_defvalue = wxPyEmptyString ;
18444 wxString *arg7 = (wxString *) &arg7_defvalue ;
18445 bool result;
18446 wxPoint temp4 ;
18447 wxSize temp5 ;
18448 bool temp7 = false ;
18449 PyObject * obj0 = 0 ;
18450 PyObject * obj1 = 0 ;
18451 PyObject * obj2 = 0 ;
18452 PyObject * obj3 = 0 ;
18453 PyObject * obj4 = 0 ;
18454 PyObject * obj5 = 0 ;
18455 PyObject * obj6 = 0 ;
18456 char *kwnames[] = {
18457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18462 if (SWIG_arg_fail(1)) SWIG_fail;
18463 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18464 if (SWIG_arg_fail(2)) SWIG_fail;
18465 {
18466 arg3 = static_cast<int >(SWIG_As_int(obj2));
18467 if (SWIG_arg_fail(3)) SWIG_fail;
18468 }
18469 if (obj3) {
18470 {
18471 arg4 = &temp4;
18472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18473 }
18474 }
18475 if (obj4) {
18476 {
18477 arg5 = &temp5;
18478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18479 }
18480 }
18481 if (obj5) {
18482 {
18483 arg6 = static_cast<long >(SWIG_As_long(obj5));
18484 if (SWIG_arg_fail(6)) SWIG_fail;
18485 }
18486 }
18487 if (obj6) {
18488 {
18489 arg7 = wxString_in_helper(obj6);
18490 if (arg7 == NULL) SWIG_fail;
18491 temp7 = true;
18492 }
18493 }
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 {
18502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18503 }
18504 {
18505 if (temp7)
18506 delete arg7;
18507 }
18508 return resultobj;
18509 fail:
18510 {
18511 if (temp7)
18512 delete arg7;
18513 }
18514 return NULL;
18515}
18516
18517
18518static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj = NULL;
18520 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18521 wxChoice *result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail;
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
18544static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj = NULL;
18546 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18547 bool result;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18555 if (SWIG_arg_fail(1)) SWIG_fail;
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 result = (bool)(arg1)->DeleteAllPages();
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 {
18564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18565 }
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
18572static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18573 PyObject *obj;
18574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18576 Py_INCREF(obj);
18577 return Py_BuildValue((char *)"");
18578}
18579static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj = NULL;
18581 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18582 int arg2 = (int) 0 ;
18583 int arg3 = (int) -1 ;
18584 int arg4 = (int) -1 ;
18585 wxChoicebookEvent *result;
18586 PyObject * obj0 = 0 ;
18587 PyObject * obj1 = 0 ;
18588 PyObject * obj2 = 0 ;
18589 PyObject * obj3 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18595 if (obj0) {
18596 {
18597 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18598 if (SWIG_arg_fail(1)) SWIG_fail;
18599 }
18600 }
18601 if (obj1) {
18602 {
18603 arg2 = static_cast<int >(SWIG_As_int(obj1));
18604 if (SWIG_arg_fail(2)) SWIG_fail;
18605 }
18606 }
18607 if (obj2) {
18608 {
18609 arg3 = static_cast<int >(SWIG_As_int(obj2));
18610 if (SWIG_arg_fail(3)) SWIG_fail;
18611 }
18612 }
18613 if (obj3) {
18614 {
18615 arg4 = static_cast<int >(SWIG_As_int(obj3));
18616 if (SWIG_arg_fail(4)) SWIG_fail;
18617 }
18618 }
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18627 return resultobj;
18628 fail:
18629 return NULL;
18630}
18631
18632
18633static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18634 PyObject *obj;
18635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18636 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18637 Py_INCREF(obj);
18638 return Py_BuildValue((char *)"");
18639}
18640static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj = NULL;
18642 wxWindow *arg1 = (wxWindow *) 0 ;
18643 int arg2 ;
18644 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18645 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18646 wxSize const &arg4_defvalue = wxDefaultSize ;
18647 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18648 long arg5 = (long) wxBK_DEFAULT ;
18649 wxString const &arg6_defvalue = wxPyEmptyString ;
18650 wxString *arg6 = (wxString *) &arg6_defvalue ;
18651 wxTreebook *result;
18652 wxPoint temp3 ;
18653 wxSize temp4 ;
18654 bool temp6 = false ;
18655 PyObject * obj0 = 0 ;
18656 PyObject * obj1 = 0 ;
18657 PyObject * obj2 = 0 ;
18658 PyObject * obj3 = 0 ;
18659 PyObject * obj4 = 0 ;
18660 PyObject * obj5 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail;
18668 {
18669 arg2 = static_cast<int >(SWIG_As_int(obj1));
18670 if (SWIG_arg_fail(2)) SWIG_fail;
18671 }
18672 if (obj2) {
18673 {
18674 arg3 = &temp3;
18675 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18676 }
18677 }
18678 if (obj3) {
18679 {
18680 arg4 = &temp4;
18681 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18682 }
18683 }
18684 if (obj4) {
18685 {
18686 arg5 = static_cast<long >(SWIG_As_long(obj4));
18687 if (SWIG_arg_fail(5)) SWIG_fail;
18688 }
18689 }
18690 if (obj5) {
18691 {
18692 arg6 = wxString_in_helper(obj5);
18693 if (arg6 == NULL) SWIG_fail;
18694 temp6 = true;
18695 }
18696 }
18697 {
18698 if (!wxPyCheckForApp()) SWIG_fail;
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
18705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18706 {
18707 if (temp6)
18708 delete arg6;
18709 }
18710 return resultobj;
18711 fail:
18712 {
18713 if (temp6)
18714 delete arg6;
18715 }
18716 return NULL;
18717}
18718
18719
18720static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj = NULL;
18722 wxTreebook *result;
18723 char *kwnames[] = {
18724 NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
18728 {
18729 if (!wxPyCheckForApp()) SWIG_fail;
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 result = (wxTreebook *)new wxTreebook();
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18737 return resultobj;
18738 fail:
18739 return NULL;
18740}
18741
18742
18743static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj = NULL;
18745 wxTreebook *arg1 = (wxTreebook *) 0 ;
18746 wxWindow *arg2 = (wxWindow *) 0 ;
18747 int arg3 ;
18748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18750 wxSize const &arg5_defvalue = wxDefaultSize ;
18751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18752 long arg6 = (long) wxBK_DEFAULT ;
18753 wxString const &arg7_defvalue = wxPyEmptyString ;
18754 wxString *arg7 = (wxString *) &arg7_defvalue ;
18755 bool result;
18756 wxPoint temp4 ;
18757 wxSize temp5 ;
18758 bool temp7 = false ;
18759 PyObject * obj0 = 0 ;
18760 PyObject * obj1 = 0 ;
18761 PyObject * obj2 = 0 ;
18762 PyObject * obj3 = 0 ;
18763 PyObject * obj4 = 0 ;
18764 PyObject * obj5 = 0 ;
18765 PyObject * obj6 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18772 if (SWIG_arg_fail(1)) SWIG_fail;
18773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18774 if (SWIG_arg_fail(2)) SWIG_fail;
18775 {
18776 arg3 = static_cast<int >(SWIG_As_int(obj2));
18777 if (SWIG_arg_fail(3)) SWIG_fail;
18778 }
18779 if (obj3) {
18780 {
18781 arg4 = &temp4;
18782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18783 }
18784 }
18785 if (obj4) {
18786 {
18787 arg5 = &temp5;
18788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18789 }
18790 }
18791 if (obj5) {
18792 {
18793 arg6 = static_cast<long >(SWIG_As_long(obj5));
18794 if (SWIG_arg_fail(6)) SWIG_fail;
18795 }
18796 }
18797 if (obj6) {
18798 {
18799 arg7 = wxString_in_helper(obj6);
18800 if (arg7 == NULL) SWIG_fail;
18801 temp7 = true;
18802 }
18803 }
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18807
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 {
18812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18813 }
18814 {
18815 if (temp7)
18816 delete arg7;
18817 }
18818 return resultobj;
18819 fail:
18820 {
18821 if (temp7)
18822 delete arg7;
18823 }
18824 return NULL;
18825}
18826
18827
18828static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj = NULL;
18830 wxTreebook *arg1 = (wxTreebook *) 0 ;
18831 size_t arg2 ;
18832 wxWindow *arg3 = (wxWindow *) 0 ;
18833 wxString *arg4 = 0 ;
18834 bool arg5 = (bool) false ;
18835 int arg6 = (int) wxNOT_FOUND ;
18836 bool result;
18837 bool temp4 = false ;
18838 PyObject * obj0 = 0 ;
18839 PyObject * obj1 = 0 ;
18840 PyObject * obj2 = 0 ;
18841 PyObject * obj3 = 0 ;
18842 PyObject * obj4 = 0 ;
18843 PyObject * obj5 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18850 if (SWIG_arg_fail(1)) SWIG_fail;
18851 {
18852 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18853 if (SWIG_arg_fail(2)) SWIG_fail;
18854 }
18855 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18856 if (SWIG_arg_fail(3)) SWIG_fail;
18857 {
18858 arg4 = wxString_in_helper(obj3);
18859 if (arg4 == NULL) SWIG_fail;
18860 temp4 = true;
18861 }
18862 if (obj4) {
18863 {
18864 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18865 if (SWIG_arg_fail(5)) SWIG_fail;
18866 }
18867 }
18868 if (obj5) {
18869 {
18870 arg6 = static_cast<int >(SWIG_As_int(obj5));
18871 if (SWIG_arg_fail(6)) SWIG_fail;
18872 }
18873 }
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18877
18878 wxPyEndAllowThreads(__tstate);
18879 if (PyErr_Occurred()) SWIG_fail;
18880 }
18881 {
18882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18883 }
18884 {
18885 if (temp4)
18886 delete arg4;
18887 }
18888 return resultobj;
18889 fail:
18890 {
18891 if (temp4)
18892 delete arg4;
18893 }
18894 return NULL;
18895}
18896
18897
18898static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj = NULL;
18900 wxTreebook *arg1 = (wxTreebook *) 0 ;
18901 size_t arg2 ;
18902 wxWindow *arg3 = (wxWindow *) 0 ;
18903 wxString *arg4 = 0 ;
18904 bool arg5 = (bool) false ;
18905 int arg6 = (int) wxNOT_FOUND ;
18906 bool result;
18907 bool temp4 = false ;
18908 PyObject * obj0 = 0 ;
18909 PyObject * obj1 = 0 ;
18910 PyObject * obj2 = 0 ;
18911 PyObject * obj3 = 0 ;
18912 PyObject * obj4 = 0 ;
18913 PyObject * obj5 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail;
18921 {
18922 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18923 if (SWIG_arg_fail(2)) SWIG_fail;
18924 }
18925 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18926 if (SWIG_arg_fail(3)) SWIG_fail;
18927 {
18928 arg4 = wxString_in_helper(obj3);
18929 if (arg4 == NULL) SWIG_fail;
18930 temp4 = true;
18931 }
18932 if (obj4) {
18933 {
18934 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18935 if (SWIG_arg_fail(5)) SWIG_fail;
18936 }
18937 }
18938 if (obj5) {
18939 {
18940 arg6 = static_cast<int >(SWIG_As_int(obj5));
18941 if (SWIG_arg_fail(6)) SWIG_fail;
18942 }
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18946 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
7e08d4ef
RD
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18953 }
18954 {
18955 if (temp4)
18956 delete arg4;
18957 }
18958 return resultobj;
18959 fail:
18960 {
18961 if (temp4)
18962 delete arg4;
18963 }
18964 return NULL;
18965}
18966
18967
18968static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18969 PyObject *resultobj = NULL;
7e08d4ef
RD
18970 wxTreebook *arg1 = (wxTreebook *) 0 ;
18971 wxWindow *arg2 = (wxWindow *) 0 ;
18972 wxString *arg3 = 0 ;
18973 bool arg4 = (bool) false ;
18974 int arg5 = (int) wxNOT_FOUND ;
d55e5bfc 18975 bool result;
7e08d4ef 18976 bool temp3 = false ;
d55e5bfc 18977 PyObject * obj0 = 0 ;
7e08d4ef
RD
18978 PyObject * obj1 = 0 ;
18979 PyObject * obj2 = 0 ;
18980 PyObject * obj3 = 0 ;
18981 PyObject * obj4 = 0 ;
d55e5bfc 18982 char *kwnames[] = {
7e08d4ef 18983 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
d55e5bfc
RD
18984 };
18985
7e08d4ef
RD
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 18988 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef
RD
18989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18990 if (SWIG_arg_fail(2)) SWIG_fail;
18991 {
18992 arg3 = wxString_in_helper(obj2);
18993 if (arg3 == NULL) SWIG_fail;
18994 temp3 = true;
18995 }
18996 if (obj3) {
18997 {
18998 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18999 if (SWIG_arg_fail(4)) SWIG_fail;
19000 }
19001 }
19002 if (obj4) {
19003 {
19004 arg5 = static_cast<int >(SWIG_As_int(obj4));
19005 if (SWIG_arg_fail(5)) SWIG_fail;
19006 }
19007 }
d55e5bfc
RD
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19010 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
d55e5bfc
RD
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 {
19016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19017 }
7e08d4ef
RD
19018 {
19019 if (temp3)
19020 delete arg3;
19021 }
d55e5bfc
RD
19022 return resultobj;
19023 fail:
7e08d4ef
RD
19024 {
19025 if (temp3)
19026 delete arg3;
19027 }
d55e5bfc
RD
19028 return NULL;
19029}
19030
19031
7e08d4ef 19032static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19033 PyObject *resultobj = NULL;
7e08d4ef
RD
19034 wxTreebook *arg1 = (wxTreebook *) 0 ;
19035 wxWindow *arg2 = (wxWindow *) 0 ;
19036 wxString *arg3 = 0 ;
19037 bool arg4 = (bool) false ;
19038 int arg5 = (int) wxNOT_FOUND ;
19039 bool result;
19040 bool temp3 = false ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 PyObject * obj2 = 0 ;
19044 PyObject * obj3 = 0 ;
19045 PyObject * obj4 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19052 if (SWIG_arg_fail(1)) SWIG_fail;
19053 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19054 if (SWIG_arg_fail(2)) SWIG_fail;
19055 {
19056 arg3 = wxString_in_helper(obj2);
19057 if (arg3 == NULL) SWIG_fail;
19058 temp3 = true;
19059 }
19060 if (obj3) {
19061 {
19062 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
19063 if (SWIG_arg_fail(4)) SWIG_fail;
19064 }
19065 }
19066 if (obj4) {
19067 {
19068 arg5 = static_cast<int >(SWIG_As_int(obj4));
19069 if (SWIG_arg_fail(5)) SWIG_fail;
19070 }
19071 }
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 {
19080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19081 }
19082 {
19083 if (temp3)
19084 delete arg3;
19085 }
19086 return resultobj;
19087 fail:
19088 {
19089 if (temp3)
19090 delete arg3;
19091 }
19092 return NULL;
19093}
19094
19095
19096static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj = NULL;
19098 wxTreebook *arg1 = (wxTreebook *) 0 ;
19099 size_t arg2 ;
19100 bool result;
19101 PyObject * obj0 = 0 ;
19102 PyObject * obj1 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self",(char *) "pos", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail;
19108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19109 if (SWIG_arg_fail(1)) SWIG_fail;
19110 {
19111 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19112 if (SWIG_arg_fail(2)) SWIG_fail;
19113 }
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 result = (bool)(arg1)->DeletePage(arg2);
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 {
19122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19123 }
19124 return resultobj;
19125 fail:
19126 return NULL;
19127}
19128
19129
19130static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj = NULL;
19132 wxTreebook *arg1 = (wxTreebook *) 0 ;
19133 size_t arg2 ;
19134 bool result;
19135 PyObject * obj0 = 0 ;
19136 PyObject * obj1 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self",(char *) "pos", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail;
19142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail;
19144 {
19145 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19146 if (SWIG_arg_fail(2)) SWIG_fail;
19147 }
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 {
19156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19157 }
19158 return resultobj;
19159 fail:
19160 return NULL;
19161}
19162
19163
19164static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj = NULL;
19166 wxTreebook *arg1 = (wxTreebook *) 0 ;
19167 size_t arg2 ;
19168 bool arg3 = (bool) true ;
19169 bool result;
19170 PyObject * obj0 = 0 ;
19171 PyObject * obj1 = 0 ;
19172 PyObject * obj2 = 0 ;
19173 char *kwnames[] = {
19174 (char *) "self",(char *) "pos",(char *) "expand", NULL
19175 };
19176
19177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail;
19178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail;
19180 {
19181 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19182 if (SWIG_arg_fail(2)) SWIG_fail;
19183 }
19184 if (obj2) {
19185 {
19186 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19187 if (SWIG_arg_fail(3)) SWIG_fail;
19188 }
19189 }
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 result = (bool)(arg1)->ExpandNode(arg2,arg3);
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 {
19198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19199 }
19200 return resultobj;
19201 fail:
19202 return NULL;
19203}
19204
19205
19206static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj = NULL;
19208 wxTreebook *arg1 = (wxTreebook *) 0 ;
19209 size_t arg2 ;
19210 bool result;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj1 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "pos", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail;
19218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19219 if (SWIG_arg_fail(1)) SWIG_fail;
19220 {
19221 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19222 if (SWIG_arg_fail(2)) SWIG_fail;
19223 }
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 result = (bool)(arg1)->CollapseNode(arg2);
19227
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 {
19232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19233 }
19234 return resultobj;
19235 fail:
19236 return NULL;
19237}
19238
19239
19240static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) {
19241 PyObject *resultobj = NULL;
19242 wxTreebook *arg1 = (wxTreebook *) 0 ;
19243 size_t arg2 ;
19244 int result;
19245 PyObject * obj0 = 0 ;
19246 PyObject * obj1 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self",(char *) "pos", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail;
19252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19253 if (SWIG_arg_fail(1)) SWIG_fail;
19254 {
19255 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19256 if (SWIG_arg_fail(2)) SWIG_fail;
19257 }
19258 {
19259 PyThreadState* __tstate = wxPyBeginAllowThreads();
19260 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
19261
19262 wxPyEndAllowThreads(__tstate);
19263 if (PyErr_Occurred()) SWIG_fail;
19264 }
19265 {
19266 resultobj = SWIG_From_int(static_cast<int >(result));
19267 }
19268 return resultobj;
19269 fail:
19270 return NULL;
19271}
19272
19273
19274static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj = NULL;
19276 wxTreebook *arg1 = (wxTreebook *) 0 ;
19277 wxTreeCtrl *result;
1fbf26be
RD
19278 PyObject * obj0 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self", NULL
19281 };
19282
7e08d4ef
RD
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
19284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19285 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19288 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
1fbf26be
RD
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
7e08d4ef 19293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
1fbf26be
RD
19294 return resultobj;
19295 fail:
19296 return NULL;
19297}
19298
19299
7e08d4ef 19300static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19301 PyObject *obj;
19302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19303 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
d55e5bfc
RD
19304 Py_INCREF(obj);
19305 return Py_BuildValue((char *)"");
19306}
7e08d4ef 19307static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19308 PyObject *resultobj = NULL;
d55e5bfc
RD
19309 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19310 int arg2 = (int) 0 ;
7e08d4ef
RD
19311 int arg3 = (int) wxNOT_FOUND ;
19312 int arg4 = (int) wxNOT_FOUND ;
19313 wxTreebookEvent *result;
d55e5bfc
RD
19314 PyObject * obj0 = 0 ;
19315 PyObject * obj1 = 0 ;
19316 PyObject * obj2 = 0 ;
19317 PyObject * obj3 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19320 };
19321
7e08d4ef 19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 19323 if (obj0) {
093d3ff1 19324 {
7449af73 19325 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
19326 if (SWIG_arg_fail(1)) SWIG_fail;
19327 }
d55e5bfc
RD
19328 }
19329 if (obj1) {
093d3ff1 19330 {
7449af73 19331 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19332 if (SWIG_arg_fail(2)) SWIG_fail;
19333 }
d55e5bfc
RD
19334 }
19335 if (obj2) {
093d3ff1 19336 {
7449af73 19337 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19338 if (SWIG_arg_fail(3)) SWIG_fail;
19339 }
d55e5bfc
RD
19340 }
19341 if (obj3) {
093d3ff1 19342 {
7449af73 19343 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19344 if (SWIG_arg_fail(4)) SWIG_fail;
19345 }
d55e5bfc
RD
19346 }
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19349 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
7e08d4ef 19354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1);
d55e5bfc
RD
19355 return resultobj;
19356 fail:
19357 return NULL;
19358}
19359
19360
7e08d4ef 19361static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19362 PyObject *obj;
19363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19364 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj);
d55e5bfc
RD
19365 Py_INCREF(obj);
19366 return Py_BuildValue((char *)"");
19367}
7e08d4ef 19368static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19369 PyObject *resultobj = NULL;
ae8162c8
RD
19370 wxWindow *arg1 = (wxWindow *) 0 ;
19371 int arg2 ;
19372 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19373 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19374 wxSize const &arg4_defvalue = wxDefaultSize ;
19375 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7e08d4ef 19376 long arg5 = (long) wxBK_DEFAULT ;
ae8162c8
RD
19377 wxString const &arg6_defvalue = wxPyEmptyString ;
19378 wxString *arg6 = (wxString *) &arg6_defvalue ;
7e08d4ef 19379 wxToolbook *result;
ae8162c8
RD
19380 wxPoint temp3 ;
19381 wxSize temp4 ;
19382 bool temp6 = false ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 PyObject * obj2 = 0 ;
19386 PyObject * obj3 = 0 ;
19387 PyObject * obj4 = 0 ;
19388 PyObject * obj5 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19391 };
19392
7e08d4ef 19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19395 if (SWIG_arg_fail(1)) SWIG_fail;
19396 {
7449af73 19397 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19398 if (SWIG_arg_fail(2)) SWIG_fail;
19399 }
ae8162c8
RD
19400 if (obj2) {
19401 {
19402 arg3 = &temp3;
19403 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19404 }
19405 }
19406 if (obj3) {
19407 {
19408 arg4 = &temp4;
19409 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19410 }
19411 }
19412 if (obj4) {
093d3ff1 19413 {
7449af73 19414 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19415 if (SWIG_arg_fail(5)) SWIG_fail;
19416 }
ae8162c8
RD
19417 }
19418 if (obj5) {
19419 {
19420 arg6 = wxString_in_helper(obj5);
19421 if (arg6 == NULL) SWIG_fail;
19422 temp6 = true;
19423 }
19424 }
19425 {
ae8162c8 19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19427 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
ae8162c8
RD
19428
19429 wxPyEndAllowThreads(__tstate);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 }
7e08d4ef 19432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
ae8162c8
RD
19433 {
19434 if (temp6)
19435 delete arg6;
19436 }
19437 return resultobj;
19438 fail:
19439 {
19440 if (temp6)
19441 delete arg6;
19442 }
19443 return NULL;
19444}
19445
19446
7e08d4ef 19447static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19448 PyObject *resultobj = NULL;
7e08d4ef 19449 wxToolbook *result;
ae8162c8
RD
19450 char *kwnames[] = {
19451 NULL
19452 };
19453
7e08d4ef 19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail;
ae8162c8 19455 {
ae8162c8 19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19457 result = (wxToolbook *)new wxToolbook();
ae8162c8
RD
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
7e08d4ef 19462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
ae8162c8
RD
19463 return resultobj;
19464 fail:
19465 return NULL;
19466}
19467
19468
7e08d4ef 19469static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19470 PyObject *resultobj = NULL;
7e08d4ef 19471 wxToolbook *arg1 = (wxToolbook *) 0 ;
ae8162c8
RD
19472 wxWindow *arg2 = (wxWindow *) 0 ;
19473 int arg3 ;
19474 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19475 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19476 wxSize const &arg5_defvalue = wxDefaultSize ;
19477 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19478 long arg6 = (long) 0 ;
7e08d4ef 19479 wxString const &arg7_defvalue = wxEmptyString ;
ae8162c8
RD
19480 wxString *arg7 = (wxString *) &arg7_defvalue ;
19481 bool result;
19482 wxPoint temp4 ;
19483 wxSize temp5 ;
19484 bool temp7 = false ;
19485 PyObject * obj0 = 0 ;
19486 PyObject * obj1 = 0 ;
19487 PyObject * obj2 = 0 ;
19488 PyObject * obj3 = 0 ;
19489 PyObject * obj4 = 0 ;
19490 PyObject * obj5 = 0 ;
19491 PyObject * obj6 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19494 };
19495
7e08d4ef
RD
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1
RD
19498 if (SWIG_arg_fail(1)) SWIG_fail;
19499 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19500 if (SWIG_arg_fail(2)) SWIG_fail;
19501 {
7449af73 19502 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19503 if (SWIG_arg_fail(3)) SWIG_fail;
19504 }
ae8162c8
RD
19505 if (obj3) {
19506 {
19507 arg4 = &temp4;
19508 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19509 }
19510 }
19511 if (obj4) {
19512 {
19513 arg5 = &temp5;
19514 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19515 }
19516 }
19517 if (obj5) {
093d3ff1 19518 {
7449af73 19519 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
19520 if (SWIG_arg_fail(6)) SWIG_fail;
19521 }
ae8162c8
RD
19522 }
19523 if (obj6) {
19524 {
19525 arg7 = wxString_in_helper(obj6);
19526 if (arg7 == NULL) SWIG_fail;
19527 temp7 = true;
19528 }
19529 }
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19533
19534 wxPyEndAllowThreads(__tstate);
19535 if (PyErr_Occurred()) SWIG_fail;
19536 }
19537 {
19538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19539 }
19540 {
19541 if (temp7)
19542 delete arg7;
19543 }
19544 return resultobj;
19545 fail:
19546 {
19547 if (temp7)
19548 delete arg7;
19549 }
19550 return NULL;
19551}
19552
19553
7e08d4ef 19554static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19555 PyObject *resultobj = NULL;
7e08d4ef
RD
19556 wxToolbook *arg1 = (wxToolbook *) 0 ;
19557 wxToolBarBase *result;
ae8162c8
RD
19558 PyObject * obj0 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "self", NULL
19561 };
19562
7e08d4ef
RD
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
19564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19565 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
19566 {
19567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19568 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
ae8162c8
RD
19569
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 {
7e08d4ef 19574 resultobj = wxPyMake_wxObject(result, (bool)0);
70b7a5fe 19575 }
70b7a5fe
RD
19576 return resultobj;
19577 fail:
19578 return NULL;
19579}
19580
19581
7e08d4ef 19582static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19583 PyObject *resultobj = NULL;
7e08d4ef 19584 wxToolbook *arg1 = (wxToolbook *) 0 ;
ae8162c8
RD
19585 PyObject * obj0 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "self", NULL
19588 };
19589
7e08d4ef
RD
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
19591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19592 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19595 (arg1)->Realize();
ae8162c8
RD
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
7e08d4ef 19600 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
19601 return resultobj;
19602 fail:
19603 return NULL;
19604}
19605
19606
7e08d4ef 19607static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
ae8162c8
RD
19608 PyObject *obj;
19609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19610 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
ae8162c8
RD
19611 Py_INCREF(obj);
19612 return Py_BuildValue((char *)"");
19613}
7e08d4ef 19614static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19615 PyObject *resultobj = NULL;
ae8162c8
RD
19616 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19617 int arg2 = (int) 0 ;
7e08d4ef
RD
19618 int arg3 = (int) wxNOT_FOUND ;
19619 int arg4 = (int) wxNOT_FOUND ;
19620 wxToolbookEvent *result;
ae8162c8
RD
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
19623 PyObject * obj2 = 0 ;
19624 PyObject * obj3 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19627 };
19628
7e08d4ef 19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
ae8162c8 19630 if (obj0) {
093d3ff1 19631 {
7449af73 19632 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
19633 if (SWIG_arg_fail(1)) SWIG_fail;
19634 }
ae8162c8
RD
19635 }
19636 if (obj1) {
093d3ff1 19637 {
7449af73 19638 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19639 if (SWIG_arg_fail(2)) SWIG_fail;
19640 }
ae8162c8
RD
19641 }
19642 if (obj2) {
093d3ff1 19643 {
7449af73 19644 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19645 if (SWIG_arg_fail(3)) SWIG_fail;
19646 }
ae8162c8
RD
19647 }
19648 if (obj3) {
093d3ff1 19649 {
7449af73 19650 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19651 if (SWIG_arg_fail(4)) SWIG_fail;
19652 }
ae8162c8
RD
19653 }
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19656 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
ae8162c8
RD
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
7e08d4ef 19661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
ae8162c8
RD
19662 return resultobj;
19663 fail:
19664 return NULL;
19665}
19666
19667
7e08d4ef 19668static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) {
ae8162c8
RD
19669 PyObject *obj;
19670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19671 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj);
ae8162c8
RD
19672 Py_INCREF(obj);
19673 return Py_BuildValue((char *)"");
19674}
c32bde28 19675static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19676 PyObject *resultobj = NULL;
d55e5bfc
RD
19677 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19678 int result;
19679 PyObject * obj0 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
19685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 result = (int)(arg1)->GetId();
19690
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
093d3ff1 19694 {
7449af73 19695 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19696 }
d55e5bfc
RD
19697 return resultobj;
19698 fail:
19699 return NULL;
19700}
19701
19702
c32bde28 19703static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19704 PyObject *resultobj = NULL;
d55e5bfc
RD
19705 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19706 wxControl *result;
19707 PyObject * obj0 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
19713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19714 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (wxControl *)(arg1)->GetControl();
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 {
412d302d 19723 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19724 }
19725 return resultobj;
19726 fail:
19727 return NULL;
19728}
19729
19730
c32bde28 19731static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19732 PyObject *resultobj = NULL;
d55e5bfc
RD
19733 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19734 wxToolBarBase *result;
19735 PyObject * obj0 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
19741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19743 {
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 result = (wxToolBarBase *)(arg1)->GetToolBar();
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
19750 {
7e08d4ef 19751 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
19752 }
19753 return resultobj;
19754 fail:
19755 return NULL;
19756}
19757
19758
c32bde28 19759static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19760 PyObject *resultobj = NULL;
d55e5bfc
RD
19761 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19762 int result;
19763 PyObject * obj0 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
19769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
19773 result = (int)(arg1)->IsButton();
19774
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
093d3ff1 19778 {
7449af73 19779 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19780 }
d55e5bfc
RD
19781 return resultobj;
19782 fail:
19783 return NULL;
19784}
19785
19786
c32bde28 19787static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19788 PyObject *resultobj = NULL;
d55e5bfc
RD
19789 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19790 int result;
19791 PyObject * obj0 = 0 ;
19792 char *kwnames[] = {
19793 (char *) "self", NULL
19794 };
19795
19796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
19797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 result = (int)(arg1)->IsControl();
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
093d3ff1 19806 {
7449af73 19807 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19808 }
d55e5bfc
RD
19809 return resultobj;
19810 fail:
19811 return NULL;
19812}
19813
19814
c32bde28 19815static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19816 PyObject *resultobj = NULL;
d55e5bfc
RD
19817 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19818 int result;
19819 PyObject * obj0 = 0 ;
19820 char *kwnames[] = {
19821 (char *) "self", NULL
19822 };
19823
19824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = (int)(arg1)->IsSeparator();
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
093d3ff1 19834 {
7449af73 19835 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19836 }
d55e5bfc
RD
19837 return resultobj;
19838 fail:
19839 return NULL;
19840}
19841
19842
c32bde28 19843static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19844 PyObject *resultobj = NULL;
d55e5bfc
RD
19845 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19846 int result;
19847 PyObject * obj0 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 result = (int)(arg1)->GetStyle();
19858
19859 wxPyEndAllowThreads(__tstate);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
093d3ff1 19862 {
7449af73 19863 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19864 }
d55e5bfc
RD
19865 return resultobj;
19866 fail:
19867 return NULL;
19868}
19869
19870
c32bde28 19871static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19872 PyObject *resultobj = NULL;
d55e5bfc 19873 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 19874 wxItemKind result;
d55e5bfc
RD
19875 PyObject * obj0 = 0 ;
19876 char *kwnames[] = {
19877 (char *) "self", NULL
19878 };
19879
19880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
19881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19882 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19883 {
19884 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19885 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
19886
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
093d3ff1 19890 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19891 return resultobj;
19892 fail:
19893 return NULL;
19894}
19895
19896
c32bde28 19897static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19898 PyObject *resultobj = NULL;
d55e5bfc
RD
19899 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19900 bool result;
19901 PyObject * obj0 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19908 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (bool)(arg1)->IsEnabled();
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 {
19917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19918 }
19919 return resultobj;
19920 fail:
19921 return NULL;
19922}
19923
19924
c32bde28 19925static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19926 PyObject *resultobj = NULL;
d55e5bfc
RD
19927 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19928 bool result;
19929 PyObject * obj0 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19937 {
19938 PyThreadState* __tstate = wxPyBeginAllowThreads();
19939 result = (bool)(arg1)->IsToggled();
19940
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 {
19945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19946 }
19947 return resultobj;
19948 fail:
19949 return NULL;
19950}
19951
19952
c32bde28 19953static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19954 PyObject *resultobj = NULL;
d55e5bfc
RD
19955 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19956 bool result;
19957 PyObject * obj0 = 0 ;
19958 char *kwnames[] = {
19959 (char *) "self", NULL
19960 };
19961
19962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19965 {
19966 PyThreadState* __tstate = wxPyBeginAllowThreads();
19967 result = (bool)(arg1)->CanBeToggled();
19968
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 {
19973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19974 }
19975 return resultobj;
19976 fail:
19977 return NULL;
19978}
19979
19980
c32bde28 19981static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19982 PyObject *resultobj = NULL;
d55e5bfc
RD
19983 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19984 wxBitmap *result;
19985 PyObject * obj0 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
19991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 {
19996 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
19997 result = (wxBitmap *) &_result_ref;
19998 }
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 wxBitmap* resultptr = new wxBitmap(*result);
20005 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
20006 }
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
c32bde28 20013static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20014 PyObject *resultobj = NULL;
d55e5bfc
RD
20015 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20016 wxBitmap *result;
20017 PyObject * obj0 = 0 ;
20018 char *kwnames[] = {
20019 (char *) "self", NULL
20020 };
20021
20022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
20023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 {
20028 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
20029 result = (wxBitmap *) &_result_ref;
20030 }
20031
20032 wxPyEndAllowThreads(__tstate);
20033 if (PyErr_Occurred()) SWIG_fail;
20034 }
20035 {
20036 wxBitmap* resultptr = new wxBitmap(*result);
20037 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
20038 }
20039 return resultobj;
20040 fail:
20041 return NULL;
20042}
20043
20044
c32bde28 20045static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20046 PyObject *resultobj = NULL;
d55e5bfc
RD
20047 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20048 wxBitmap result;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
20055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 result = (arg1)->GetBitmap();
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 {
20065 wxBitmap * resultptr;
7449af73 20066 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
20067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
20068 }
20069 return resultobj;
20070 fail:
20071 return NULL;
20072}
20073
20074
c32bde28 20075static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20076 PyObject *resultobj = NULL;
d55e5bfc
RD
20077 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20078 wxString result;
20079 PyObject * obj0 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
20085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (arg1)->GetLabel();
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 {
20095#if wxUSE_UNICODE
20096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20097#else
20098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20099#endif
20100 }
20101 return resultobj;
20102 fail:
20103 return NULL;
20104}
20105
20106
c32bde28 20107static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20108 PyObject *resultobj = NULL;
d55e5bfc
RD
20109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20110 wxString result;
20111 PyObject * obj0 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
20117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 result = (arg1)->GetShortHelp();
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 {
20127#if wxUSE_UNICODE
20128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20129#else
20130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20131#endif
20132 }
20133 return resultobj;
20134 fail:
20135 return NULL;
20136}
20137
20138
c32bde28 20139static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20140 PyObject *resultobj = NULL;
d55e5bfc
RD
20141 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20142 wxString result;
20143 PyObject * obj0 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
20149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20151 {
20152 PyThreadState* __tstate = wxPyBeginAllowThreads();
20153 result = (arg1)->GetLongHelp();
20154
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 {
20159#if wxUSE_UNICODE
20160 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20161#else
20162 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20163#endif
20164 }
20165 return resultobj;
20166 fail:
20167 return NULL;
20168}
20169
20170
c32bde28 20171static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20172 PyObject *resultobj = NULL;
d55e5bfc
RD
20173 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20174 bool arg2 ;
20175 bool result;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "enable", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail;
20185 {
7449af73 20186 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
20187 if (SWIG_arg_fail(2)) SWIG_fail;
20188 }
d55e5bfc
RD
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (bool)(arg1)->Enable(arg2);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 {
20197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20198 }
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
c32bde28 20205static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20206 PyObject *resultobj = NULL;
d55e5bfc
RD
20207 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20208 PyObject * obj0 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
20214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 (arg1)->Toggle();
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 Py_INCREF(Py_None); resultobj = Py_None;
20224 return resultobj;
20225 fail:
20226 return NULL;
20227}
20228
20229
c32bde28 20230static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20231 PyObject *resultobj = NULL;
d55e5bfc
RD
20232 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20233 bool arg2 ;
20234 bool result;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self",(char *) "toggle", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20243 if (SWIG_arg_fail(1)) SWIG_fail;
20244 {
7449af73 20245 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
20246 if (SWIG_arg_fail(2)) SWIG_fail;
20247 }
d55e5bfc
RD
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (bool)(arg1)->SetToggle(arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 {
20256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20257 }
20258 return resultobj;
20259 fail:
20260 return NULL;
20261}
20262
20263
c32bde28 20264static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20265 PyObject *resultobj = NULL;
d55e5bfc
RD
20266 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20267 wxString *arg2 = 0 ;
20268 bool result;
ae8162c8 20269 bool temp2 = false ;
d55e5bfc
RD
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "help", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20278 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20279 {
20280 arg2 = wxString_in_helper(obj1);
20281 if (arg2 == NULL) SWIG_fail;
ae8162c8 20282 temp2 = true;
d55e5bfc
RD
20283 }
20284 {
20285 PyThreadState* __tstate = wxPyBeginAllowThreads();
20286 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
20287
20288 wxPyEndAllowThreads(__tstate);
20289 if (PyErr_Occurred()) SWIG_fail;
20290 }
20291 {
20292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20293 }
20294 {
20295 if (temp2)
20296 delete arg2;
20297 }
20298 return resultobj;
20299 fail:
20300 {
20301 if (temp2)
20302 delete arg2;
20303 }
20304 return NULL;
20305}
20306
20307
c32bde28 20308static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20309 PyObject *resultobj = NULL;
d55e5bfc
RD
20310 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20311 wxString *arg2 = 0 ;
20312 bool result;
ae8162c8 20313 bool temp2 = false ;
d55e5bfc
RD
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self",(char *) "help", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20323 {
20324 arg2 = wxString_in_helper(obj1);
20325 if (arg2 == NULL) SWIG_fail;
ae8162c8 20326 temp2 = true;
d55e5bfc
RD
20327 }
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20337 }
20338 {
20339 if (temp2)
20340 delete arg2;
20341 }
20342 return resultobj;
20343 fail:
20344 {
20345 if (temp2)
20346 delete arg2;
20347 }
20348 return NULL;
20349}
20350
20351
c32bde28 20352static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20353 PyObject *resultobj = NULL;
d55e5bfc
RD
20354 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20355 wxBitmap *arg2 = 0 ;
20356 PyObject * obj0 = 0 ;
20357 PyObject * obj1 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self",(char *) "bmp", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail;
20365 {
20366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20367 if (SWIG_arg_fail(2)) SWIG_fail;
20368 if (arg2 == NULL) {
20369 SWIG_null_ref("wxBitmap");
20370 }
20371 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20372 }
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 Py_INCREF(Py_None); resultobj = Py_None;
20381 return resultobj;
20382 fail:
20383 return NULL;
20384}
20385
20386
c32bde28 20387static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20388 PyObject *resultobj = NULL;
d55e5bfc
RD
20389 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20390 wxBitmap *arg2 = 0 ;
20391 PyObject * obj0 = 0 ;
20392 PyObject * obj1 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self",(char *) "bmp", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20399 if (SWIG_arg_fail(1)) SWIG_fail;
20400 {
20401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20402 if (SWIG_arg_fail(2)) SWIG_fail;
20403 if (arg2 == NULL) {
20404 SWIG_null_ref("wxBitmap");
20405 }
20406 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20407 }
20408 {
20409 PyThreadState* __tstate = wxPyBeginAllowThreads();
20410 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
20411
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 Py_INCREF(Py_None); resultobj = Py_None;
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
c32bde28 20422static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20423 PyObject *resultobj = NULL;
d55e5bfc
RD
20424 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20425 wxString *arg2 = 0 ;
ae8162c8 20426 bool temp2 = false ;
d55e5bfc
RD
20427 PyObject * obj0 = 0 ;
20428 PyObject * obj1 = 0 ;
20429 char *kwnames[] = {
20430 (char *) "self",(char *) "label", NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20436 {
20437 arg2 = wxString_in_helper(obj1);
20438 if (arg2 == NULL) SWIG_fail;
ae8162c8 20439 temp2 = true;
d55e5bfc
RD
20440 }
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 (arg1)->SetLabel((wxString const &)*arg2);
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 Py_INCREF(Py_None); resultobj = Py_None;
20449 {
20450 if (temp2)
20451 delete arg2;
20452 }
20453 return resultobj;
20454 fail:
20455 {
20456 if (temp2)
20457 delete arg2;
20458 }
20459 return NULL;
20460}
20461
20462
c32bde28 20463static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20464 PyObject *resultobj = NULL;
d55e5bfc
RD
20465 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20466 PyObject * obj0 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
20472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 (arg1)->Detach();
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 Py_INCREF(Py_None); resultobj = Py_None;
20482 return resultobj;
20483 fail:
20484 return NULL;
20485}
20486
20487
c32bde28 20488static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20489 PyObject *resultobj = NULL;
d55e5bfc
RD
20490 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20491 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self",(char *) "tbar", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail;
20501 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20502 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 (arg1)->Attach(arg2);
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 Py_INCREF(Py_None); resultobj = Py_None;
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
c32bde28 20517static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20518 PyObject *resultobj = NULL;
d55e5bfc
RD
20519 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20520 PyObject *result;
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 resultobj = result;
20537 return resultobj;
20538 fail:
20539 return NULL;
20540}
20541
20542
c32bde28 20543static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20544 PyObject *resultobj = NULL;
d55e5bfc
RD
20545 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20546 PyObject *arg2 = (PyObject *) 0 ;
20547 PyObject * obj0 = 0 ;
20548 PyObject * obj1 = 0 ;
20549 char *kwnames[] = {
20550 (char *) "self",(char *) "clientData", NULL
20551 };
20552
20553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20556 arg2 = obj1;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 wxToolBarToolBase_SetClientData(arg1,arg2);
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 Py_INCREF(Py_None); resultobj = Py_None;
20565 return resultobj;
20566 fail:
20567 return NULL;
20568}
20569
20570
c32bde28 20571static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20572 PyObject *obj;
20573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20574 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
20575 Py_INCREF(obj);
20576 return Py_BuildValue((char *)"");
20577}
c32bde28 20578static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20579 PyObject *resultobj = NULL;
d55e5bfc
RD
20580 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20581 int arg2 ;
20582 wxString *arg3 = 0 ;
20583 wxBitmap *arg4 = 0 ;
20584 wxBitmap const &arg5_defvalue = wxNullBitmap ;
20585 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 20586 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
20587 wxString const &arg7_defvalue = wxPyEmptyString ;
20588 wxString *arg7 = (wxString *) &arg7_defvalue ;
20589 wxString const &arg8_defvalue = wxPyEmptyString ;
20590 wxString *arg8 = (wxString *) &arg8_defvalue ;
20591 PyObject *arg9 = (PyObject *) NULL ;
20592 wxToolBarToolBase *result;
ae8162c8
RD
20593 bool temp3 = false ;
20594 bool temp7 = false ;
20595 bool temp8 = false ;
d55e5bfc
RD
20596 PyObject * obj0 = 0 ;
20597 PyObject * obj1 = 0 ;
20598 PyObject * obj2 = 0 ;
20599 PyObject * obj3 = 0 ;
20600 PyObject * obj4 = 0 ;
20601 PyObject * obj5 = 0 ;
20602 PyObject * obj6 = 0 ;
20603 PyObject * obj7 = 0 ;
20604 PyObject * obj8 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
20610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20611 if (SWIG_arg_fail(1)) SWIG_fail;
20612 {
7449af73 20613 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20614 if (SWIG_arg_fail(2)) SWIG_fail;
20615 }
d55e5bfc
RD
20616 {
20617 arg3 = wxString_in_helper(obj2);
20618 if (arg3 == NULL) SWIG_fail;
ae8162c8 20619 temp3 = true;
d55e5bfc 20620 }
093d3ff1
RD
20621 {
20622 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20623 if (SWIG_arg_fail(4)) SWIG_fail;
20624 if (arg4 == NULL) {
20625 SWIG_null_ref("wxBitmap");
20626 }
20627 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
20628 }
20629 if (obj4) {
093d3ff1
RD
20630 {
20631 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20632 if (SWIG_arg_fail(5)) SWIG_fail;
20633 if (arg5 == NULL) {
20634 SWIG_null_ref("wxBitmap");
20635 }
20636 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
20637 }
20638 }
20639 if (obj5) {
093d3ff1 20640 {
7449af73 20641 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
093d3ff1
RD
20642 if (SWIG_arg_fail(6)) SWIG_fail;
20643 }
d55e5bfc
RD
20644 }
20645 if (obj6) {
20646 {
20647 arg7 = wxString_in_helper(obj6);
20648 if (arg7 == NULL) SWIG_fail;
ae8162c8 20649 temp7 = true;
d55e5bfc
RD
20650 }
20651 }
20652 if (obj7) {
20653 {
20654 arg8 = wxString_in_helper(obj7);
20655 if (arg8 == NULL) SWIG_fail;
ae8162c8 20656 temp8 = true;
d55e5bfc
RD
20657 }
20658 }
20659 if (obj8) {
20660 arg9 = obj8;
20661 }
20662 {
20663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20664 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
d55e5bfc
RD
20665
20666 wxPyEndAllowThreads(__tstate);
20667 if (PyErr_Occurred()) SWIG_fail;
20668 }
20669 {
7e08d4ef 20670 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20671 }
20672 {
20673 if (temp3)
20674 delete arg3;
20675 }
20676 {
20677 if (temp7)
20678 delete arg7;
20679 }
20680 {
20681 if (temp8)
20682 delete arg8;
20683 }
20684 return resultobj;
20685 fail:
20686 {
20687 if (temp3)
20688 delete arg3;
20689 }
20690 {
20691 if (temp7)
20692 delete arg7;
20693 }
20694 {
20695 if (temp8)
20696 delete arg8;
20697 }
20698 return NULL;
20699}
20700
20701
c32bde28 20702static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20703 PyObject *resultobj = NULL;
d55e5bfc
RD
20704 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20705 size_t arg2 ;
20706 int arg3 ;
20707 wxString *arg4 = 0 ;
20708 wxBitmap *arg5 = 0 ;
20709 wxBitmap const &arg6_defvalue = wxNullBitmap ;
20710 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 20711 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
20712 wxString const &arg8_defvalue = wxPyEmptyString ;
20713 wxString *arg8 = (wxString *) &arg8_defvalue ;
20714 wxString const &arg9_defvalue = wxPyEmptyString ;
20715 wxString *arg9 = (wxString *) &arg9_defvalue ;
20716 PyObject *arg10 = (PyObject *) NULL ;
20717 wxToolBarToolBase *result;
ae8162c8
RD
20718 bool temp4 = false ;
20719 bool temp8 = false ;
20720 bool temp9 = false ;
d55e5bfc
RD
20721 PyObject * obj0 = 0 ;
20722 PyObject * obj1 = 0 ;
20723 PyObject * obj2 = 0 ;
20724 PyObject * obj3 = 0 ;
20725 PyObject * obj4 = 0 ;
20726 PyObject * obj5 = 0 ;
20727 PyObject * obj6 = 0 ;
20728 PyObject * obj7 = 0 ;
20729 PyObject * obj8 = 0 ;
20730 PyObject * obj9 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20733 };
20734
20735 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
20736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail;
20738 {
7449af73 20739 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20740 if (SWIG_arg_fail(2)) SWIG_fail;
20741 }
20742 {
7449af73 20743 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20744 if (SWIG_arg_fail(3)) SWIG_fail;
20745 }
d55e5bfc
RD
20746 {
20747 arg4 = wxString_in_helper(obj3);
20748 if (arg4 == NULL) SWIG_fail;
ae8162c8 20749 temp4 = true;
d55e5bfc 20750 }
093d3ff1
RD
20751 {
20752 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20753 if (SWIG_arg_fail(5)) SWIG_fail;
20754 if (arg5 == NULL) {
20755 SWIG_null_ref("wxBitmap");
20756 }
20757 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
20758 }
20759 if (obj5) {
093d3ff1
RD
20760 {
20761 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20762 if (SWIG_arg_fail(6)) SWIG_fail;
20763 if (arg6 == NULL) {
20764 SWIG_null_ref("wxBitmap");
20765 }
20766 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
20767 }
20768 }
20769 if (obj6) {
093d3ff1 20770 {
7449af73 20771 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
093d3ff1
RD
20772 if (SWIG_arg_fail(7)) SWIG_fail;
20773 }
d55e5bfc
RD
20774 }
20775 if (obj7) {
20776 {
20777 arg8 = wxString_in_helper(obj7);
20778 if (arg8 == NULL) SWIG_fail;
ae8162c8 20779 temp8 = true;
d55e5bfc
RD
20780 }
20781 }
20782 if (obj8) {
20783 {
20784 arg9 = wxString_in_helper(obj8);
20785 if (arg9 == NULL) SWIG_fail;
ae8162c8 20786 temp9 = true;
d55e5bfc
RD
20787 }
20788 }
20789 if (obj9) {
20790 arg10 = obj9;
20791 }
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20794 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
d55e5bfc
RD
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 {
7e08d4ef 20800 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20801 }
20802 {
20803 if (temp4)
20804 delete arg4;
20805 }
20806 {
20807 if (temp8)
20808 delete arg8;
20809 }
20810 {
20811 if (temp9)
20812 delete arg9;
20813 }
20814 return resultobj;
20815 fail:
20816 {
20817 if (temp4)
20818 delete arg4;
20819 }
20820 {
20821 if (temp8)
20822 delete arg8;
20823 }
20824 {
20825 if (temp9)
20826 delete arg9;
20827 }
20828 return NULL;
20829}
20830
20831
c32bde28 20832static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20833 PyObject *resultobj = NULL;
d55e5bfc
RD
20834 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20835 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
20836 wxToolBarToolBase *result;
20837 PyObject * obj0 = 0 ;
20838 PyObject * obj1 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self",(char *) "tool", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail;
20846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20847 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 {
7e08d4ef 20856 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20857 }
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
c32bde28 20864static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20865 PyObject *resultobj = NULL;
d55e5bfc
RD
20866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20867 size_t arg2 ;
20868 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
20869 wxToolBarToolBase *result;
20870 PyObject * obj0 = 0 ;
20871 PyObject * obj1 = 0 ;
20872 PyObject * obj2 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self",(char *) "pos",(char *) "tool", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20879 if (SWIG_arg_fail(1)) SWIG_fail;
20880 {
7449af73 20881 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20882 if (SWIG_arg_fail(2)) SWIG_fail;
20883 }
20884 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20885 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 {
7e08d4ef 20894 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20895 }
20896 return resultobj;
20897 fail:
20898 return NULL;
20899}
20900
20901
c32bde28 20902static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20903 PyObject *resultobj = NULL;
d55e5bfc
RD
20904 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20905 wxControl *arg2 = (wxControl *) 0 ;
20906 wxToolBarToolBase *result;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self",(char *) "control", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail;
20916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20917 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20918 {
20919 PyThreadState* __tstate = wxPyBeginAllowThreads();
20920 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
20921
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 {
7e08d4ef 20926 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20927 }
20928 return resultobj;
20929 fail:
20930 return NULL;
20931}
20932
20933
c32bde28 20934static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20935 PyObject *resultobj = NULL;
d55e5bfc
RD
20936 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20937 size_t arg2 ;
20938 wxControl *arg3 = (wxControl *) 0 ;
20939 wxToolBarToolBase *result;
20940 PyObject * obj0 = 0 ;
20941 PyObject * obj1 = 0 ;
20942 PyObject * obj2 = 0 ;
20943 char *kwnames[] = {
20944 (char *) "self",(char *) "pos",(char *) "control", NULL
20945 };
20946
20947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail;
20950 {
7449af73 20951 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20952 if (SWIG_arg_fail(2)) SWIG_fail;
20953 }
20954 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20955 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 {
7e08d4ef 20964 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20965 }
20966 return resultobj;
20967 fail:
20968 return NULL;
20969}
20970
20971
c32bde28 20972static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20973 PyObject *resultobj = NULL;
d55e5bfc
RD
20974 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20975 int arg2 ;
20976 wxControl *result;
20977 PyObject * obj0 = 0 ;
20978 PyObject * obj1 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self",(char *) "id", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20985 if (SWIG_arg_fail(1)) SWIG_fail;
20986 {
7449af73 20987 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20988 if (SWIG_arg_fail(2)) SWIG_fail;
20989 }
d55e5bfc
RD
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 result = (wxControl *)(arg1)->FindControl(arg2);
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 {
412d302d 20998 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20999 }
21000 return resultobj;
21001 fail:
21002 return NULL;
21003}
21004
21005
c32bde28 21006static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21007 PyObject *resultobj = NULL;
d55e5bfc
RD
21008 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21009 wxToolBarToolBase *result;
21010 PyObject * obj0 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
21016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
7e08d4ef 21026 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
21027 }
21028 return resultobj;
21029 fail:
21030 return NULL;
21031}
21032
21033
c32bde28 21034static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21035 PyObject *resultobj = NULL;
d55e5bfc
RD
21036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21037 size_t arg2 ;
21038 wxToolBarToolBase *result;
21039 PyObject * obj0 = 0 ;
21040 PyObject * obj1 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self",(char *) "pos", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail;
21048 {
7449af73 21049 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
21050 if (SWIG_arg_fail(2)) SWIG_fail;
21051 }
d55e5bfc
RD
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 {
7e08d4ef 21060 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
21061 }
21062 return resultobj;
21063 fail:
21064 return NULL;
21065}
21066
21067
c32bde28 21068static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21069 PyObject *resultobj = NULL;
d55e5bfc
RD
21070 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21071 int arg2 ;
21072 wxToolBarToolBase *result;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "id", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail;
21082 {
7449af73 21083 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21084 if (SWIG_arg_fail(2)) SWIG_fail;
21085 }
d55e5bfc
RD
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 {
7e08d4ef 21094 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
21095 }
21096 return resultobj;
21097 fail:
21098 return NULL;
21099}
21100
21101
c32bde28 21102static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21103 PyObject *resultobj = NULL;
d55e5bfc
RD
21104 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21105 size_t arg2 ;
21106 bool result;
21107 PyObject * obj0 = 0 ;
21108 PyObject * obj1 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "self",(char *) "pos", NULL
21111 };
21112
21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail;
21116 {
7449af73 21117 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
21118 if (SWIG_arg_fail(2)) SWIG_fail;
21119 }
d55e5bfc
RD
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (bool)(arg1)->DeleteToolByPos(arg2);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 {
21128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21129 }
21130 return resultobj;
21131 fail:
21132 return NULL;
21133}
21134
21135
c32bde28 21136static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21137 PyObject *resultobj = NULL;
d55e5bfc
RD
21138 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21139 int arg2 ;
21140 bool result;
21141 PyObject * obj0 = 0 ;
21142 PyObject * obj1 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self",(char *) "id", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21149 if (SWIG_arg_fail(1)) SWIG_fail;
21150 {
7449af73 21151 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21152 if (SWIG_arg_fail(2)) SWIG_fail;
21153 }
d55e5bfc
RD
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 result = (bool)(arg1)->DeleteTool(arg2);
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 {
21162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21163 }
21164 return resultobj;
21165 fail:
21166 return NULL;
21167}
21168
21169
c32bde28 21170static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21171 PyObject *resultobj = NULL;
d55e5bfc
RD
21172 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21173 PyObject * obj0 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
21179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 (arg1)->ClearTools();
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 Py_INCREF(Py_None); resultobj = Py_None;
21189 return resultobj;
21190 fail:
21191 return NULL;
21192}
21193
21194
c32bde28 21195static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21196 PyObject *resultobj = NULL;
d55e5bfc
RD
21197 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21198 bool result;
21199 PyObject * obj0 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
21205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 result = (bool)(arg1)->Realize();
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 {
21215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21216 }
21217 return resultobj;
21218 fail:
21219 return NULL;
21220}
21221
21222
c32bde28 21223static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21224 PyObject *resultobj = NULL;
d55e5bfc
RD
21225 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21226 int arg2 ;
21227 bool arg3 ;
21228 PyObject * obj0 = 0 ;
21229 PyObject * obj1 = 0 ;
21230 PyObject * obj2 = 0 ;
21231 char *kwnames[] = {
21232 (char *) "self",(char *) "id",(char *) "enable", NULL
21233 };
21234
21235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail;
21238 {
7449af73 21239 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21240 if (SWIG_arg_fail(2)) SWIG_fail;
21241 }
21242 {
7449af73 21243 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21244 if (SWIG_arg_fail(3)) SWIG_fail;
21245 }
d55e5bfc
RD
21246 {
21247 PyThreadState* __tstate = wxPyBeginAllowThreads();
21248 (arg1)->EnableTool(arg2,arg3);
21249
21250 wxPyEndAllowThreads(__tstate);
21251 if (PyErr_Occurred()) SWIG_fail;
21252 }
21253 Py_INCREF(Py_None); resultobj = Py_None;
21254 return resultobj;
21255 fail:
21256 return NULL;
21257}
21258
21259
c32bde28 21260static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21261 PyObject *resultobj = NULL;
d55e5bfc
RD
21262 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21263 int arg2 ;
21264 bool arg3 ;
21265 PyObject * obj0 = 0 ;
21266 PyObject * obj1 = 0 ;
21267 PyObject * obj2 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "id",(char *) "toggle", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail;
21275 {
7449af73 21276 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21277 if (SWIG_arg_fail(2)) SWIG_fail;
21278 }
21279 {
7449af73 21280 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21281 if (SWIG_arg_fail(3)) SWIG_fail;
21282 }
d55e5bfc
RD
21283 {
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 (arg1)->ToggleTool(arg2,arg3);
21286
21287 wxPyEndAllowThreads(__tstate);
21288 if (PyErr_Occurred()) SWIG_fail;
21289 }
21290 Py_INCREF(Py_None); resultobj = Py_None;
21291 return resultobj;
21292 fail:
21293 return NULL;
21294}
21295
21296
c32bde28 21297static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21298 PyObject *resultobj = NULL;
d55e5bfc
RD
21299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21300 int arg2 ;
21301 bool arg3 ;
21302 PyObject * obj0 = 0 ;
21303 PyObject * obj1 = 0 ;
21304 PyObject * obj2 = 0 ;
21305 char *kwnames[] = {
21306 (char *) "self",(char *) "id",(char *) "toggle", NULL
21307 };
21308
21309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21311 if (SWIG_arg_fail(1)) SWIG_fail;
21312 {
7449af73 21313 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21314 if (SWIG_arg_fail(2)) SWIG_fail;
21315 }
21316 {
7449af73 21317 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21318 if (SWIG_arg_fail(3)) SWIG_fail;
21319 }
d55e5bfc
RD
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 (arg1)->SetToggle(arg2,arg3);
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 Py_INCREF(Py_None); resultobj = Py_None;
21328 return resultobj;
21329 fail:
21330 return NULL;
21331}
21332
21333
c32bde28 21334static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21335 PyObject *resultobj = NULL;
d55e5bfc
RD
21336 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21337 int arg2 ;
21338 PyObject *result;
21339 PyObject * obj0 = 0 ;
21340 PyObject * obj1 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self",(char *) "id", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail;
21348 {
7449af73 21349 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21350 if (SWIG_arg_fail(2)) SWIG_fail;
21351 }
d55e5bfc
RD
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 resultobj = result;
21360 return resultobj;
21361 fail:
21362 return NULL;
21363}
21364
21365
c32bde28 21366static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21367 PyObject *resultobj = NULL;
d55e5bfc
RD
21368 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21369 int arg2 ;
21370 PyObject *arg3 = (PyObject *) 0 ;
21371 PyObject * obj0 = 0 ;
21372 PyObject * obj1 = 0 ;
21373 PyObject * obj2 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self",(char *) "id",(char *) "clientData", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail;
21381 {
7449af73 21382 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21383 if (SWIG_arg_fail(2)) SWIG_fail;
21384 }
d55e5bfc
RD
21385 arg3 = obj2;
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 Py_INCREF(Py_None); resultobj = Py_None;
21394 return resultobj;
21395 fail:
21396 return NULL;
21397}
21398
21399
c32bde28 21400static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21401 PyObject *resultobj = NULL;
d55e5bfc
RD
21402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21403 int arg2 ;
21404 int result;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "id", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail;
21414 {
7449af73 21415 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21416 if (SWIG_arg_fail(2)) SWIG_fail;
21417 }
d55e5bfc
RD
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
093d3ff1 21425 {
7449af73 21426 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21427 }
d55e5bfc
RD
21428 return resultobj;
21429 fail:
21430 return NULL;
21431}
21432
21433
c32bde28 21434static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21435 PyObject *resultobj = NULL;
d55e5bfc
RD
21436 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21437 int arg2 ;
21438 bool result;
21439 PyObject * obj0 = 0 ;
21440 PyObject * obj1 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self",(char *) "id", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21447 if (SWIG_arg_fail(1)) SWIG_fail;
21448 {
7449af73 21449 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21450 if (SWIG_arg_fail(2)) SWIG_fail;
21451 }
d55e5bfc
RD
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = (bool)(arg1)->GetToolState(arg2);
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21461 }
21462 return resultobj;
21463 fail:
21464 return NULL;
21465}
21466
21467
c32bde28 21468static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21469 PyObject *resultobj = NULL;
d55e5bfc
RD
21470 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21471 int arg2 ;
21472 bool result;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "id", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail;
21482 {
7449af73 21483 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21484 if (SWIG_arg_fail(2)) SWIG_fail;
21485 }
d55e5bfc
RD
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 result = (bool)(arg1)->GetToolEnabled(arg2);
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 {
21494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21495 }
21496 return resultobj;
21497 fail:
21498 return NULL;
21499}
21500
21501
c32bde28 21502static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21503 PyObject *resultobj = NULL;
d55e5bfc
RD
21504 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21505 int arg2 ;
21506 wxString *arg3 = 0 ;
ae8162c8 21507 bool temp3 = false ;
d55e5bfc
RD
21508 PyObject * obj0 = 0 ;
21509 PyObject * obj1 = 0 ;
21510 PyObject * obj2 = 0 ;
21511 char *kwnames[] = {
21512 (char *) "self",(char *) "id",(char *) "helpString", NULL
21513 };
21514
21515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21517 if (SWIG_arg_fail(1)) SWIG_fail;
21518 {
7449af73 21519 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21520 if (SWIG_arg_fail(2)) SWIG_fail;
21521 }
d55e5bfc
RD
21522 {
21523 arg3 = wxString_in_helper(obj2);
21524 if (arg3 == NULL) SWIG_fail;
ae8162c8 21525 temp3 = true;
d55e5bfc
RD
21526 }
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 Py_INCREF(Py_None); resultobj = Py_None;
21535 {
21536 if (temp3)
21537 delete arg3;
21538 }
21539 return resultobj;
21540 fail:
21541 {
21542 if (temp3)
21543 delete arg3;
21544 }
21545 return NULL;
21546}
21547
21548
c32bde28 21549static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21550 PyObject *resultobj = NULL;
d55e5bfc
RD
21551 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21552 int arg2 ;
21553 wxString result;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self",(char *) "id", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21562 if (SWIG_arg_fail(1)) SWIG_fail;
21563 {
7449af73 21564 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21565 if (SWIG_arg_fail(2)) SWIG_fail;
21566 }
d55e5bfc
RD
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 result = (arg1)->GetToolShortHelp(arg2);
21570
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 {
21575#if wxUSE_UNICODE
21576 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21577#else
21578 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21579#endif
21580 }
21581 return resultobj;
21582 fail:
21583 return NULL;
21584}
21585
21586
c32bde28 21587static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21588 PyObject *resultobj = NULL;
d55e5bfc
RD
21589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21590 int arg2 ;
21591 wxString *arg3 = 0 ;
ae8162c8 21592 bool temp3 = false ;
d55e5bfc
RD
21593 PyObject * obj0 = 0 ;
21594 PyObject * obj1 = 0 ;
21595 PyObject * obj2 = 0 ;
21596 char *kwnames[] = {
21597 (char *) "self",(char *) "id",(char *) "helpString", NULL
21598 };
21599
21600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail;
21603 {
7449af73 21604 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21605 if (SWIG_arg_fail(2)) SWIG_fail;
21606 }
d55e5bfc
RD
21607 {
21608 arg3 = wxString_in_helper(obj2);
21609 if (arg3 == NULL) SWIG_fail;
ae8162c8 21610 temp3 = true;
d55e5bfc
RD
21611 }
21612 {
21613 PyThreadState* __tstate = wxPyBeginAllowThreads();
21614 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
21615
21616 wxPyEndAllowThreads(__tstate);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 Py_INCREF(Py_None); resultobj = Py_None;
21620 {
21621 if (temp3)
21622 delete arg3;
21623 }
21624 return resultobj;
21625 fail:
21626 {
21627 if (temp3)
21628 delete arg3;
21629 }
21630 return NULL;
21631}
21632
21633
c32bde28 21634static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21635 PyObject *resultobj = NULL;
d55e5bfc
RD
21636 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21637 int arg2 ;
21638 wxString result;
21639 PyObject * obj0 = 0 ;
21640 PyObject * obj1 = 0 ;
21641 char *kwnames[] = {
21642 (char *) "self",(char *) "id", NULL
21643 };
21644
21645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21647 if (SWIG_arg_fail(1)) SWIG_fail;
21648 {
7449af73 21649 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21650 if (SWIG_arg_fail(2)) SWIG_fail;
21651 }
d55e5bfc
RD
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = (arg1)->GetToolLongHelp(arg2);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 {
21660#if wxUSE_UNICODE
21661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21662#else
21663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21664#endif
21665 }
21666 return resultobj;
21667 fail:
21668 return NULL;
21669}
21670
21671
c32bde28 21672static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21673 PyObject *resultobj = NULL;
d55e5bfc
RD
21674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21675 int arg2 ;
21676 int arg3 ;
21677 PyObject * obj0 = 0 ;
21678 PyObject * obj1 = 0 ;
21679 PyObject * obj2 = 0 ;
21680 char *kwnames[] = {
21681 (char *) "self",(char *) "x",(char *) "y", NULL
21682 };
21683
21684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21686 if (SWIG_arg_fail(1)) SWIG_fail;
21687 {
7449af73 21688 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21689 if (SWIG_arg_fail(2)) SWIG_fail;
21690 }
21691 {
7449af73 21692 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21693 if (SWIG_arg_fail(3)) SWIG_fail;
21694 }
d55e5bfc
RD
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->SetMargins(arg2,arg3);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706}
21707
21708
c32bde28 21709static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21710 PyObject *resultobj = NULL;
d55e5bfc
RD
21711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21712 wxSize *arg2 = 0 ;
21713 wxSize temp2 ;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 char *kwnames[] = {
21717 (char *) "self",(char *) "size", NULL
21718 };
21719
21720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21723 {
21724 arg2 = &temp2;
21725 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21726 }
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 (arg1)->SetMargins((wxSize const &)*arg2);
21730
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 Py_INCREF(Py_None); resultobj = Py_None;
21735 return resultobj;
21736 fail:
21737 return NULL;
21738}
21739
21740
c32bde28 21741static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21742 PyObject *resultobj = NULL;
d55e5bfc
RD
21743 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21744 int arg2 ;
21745 PyObject * obj0 = 0 ;
21746 PyObject * obj1 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self",(char *) "packing", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) 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;
21754 {
7449af73 21755 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21756 if (SWIG_arg_fail(2)) SWIG_fail;
21757 }
d55e5bfc
RD
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 (arg1)->SetToolPacking(arg2);
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 Py_INCREF(Py_None); resultobj = Py_None;
21766 return resultobj;
21767 fail:
21768 return NULL;
21769}
21770
21771
c32bde28 21772static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21773 PyObject *resultobj = NULL;
d55e5bfc
RD
21774 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21775 int arg2 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "separation", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail;
21785 {
7449af73 21786 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21787 if (SWIG_arg_fail(2)) SWIG_fail;
21788 }
d55e5bfc
RD
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->SetToolSeparation(arg2);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
c32bde28 21803static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21804 PyObject *resultobj = NULL;
d55e5bfc
RD
21805 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21806 wxSize result;
21807 PyObject * obj0 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
21813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21814 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 result = (arg1)->GetToolMargins();
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 {
21823 wxSize * resultptr;
7449af73 21824 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21826 }
21827 return resultobj;
21828 fail:
21829 return NULL;
21830}
21831
21832
c32bde28 21833static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21834 PyObject *resultobj = NULL;
d55e5bfc
RD
21835 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21836 wxSize result;
21837 PyObject * obj0 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
21843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 result = (arg1)->GetMargins();
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 {
21853 wxSize * resultptr;
7449af73 21854 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21856 }
21857 return resultobj;
21858 fail:
21859 return NULL;
21860}
21861
21862
c32bde28 21863static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21864 PyObject *resultobj = NULL;
d55e5bfc
RD
21865 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21866 int result;
21867 PyObject * obj0 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
21873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 result = (int)(arg1)->GetToolPacking();
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
093d3ff1 21882 {
7449af73 21883 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21884 }
d55e5bfc
RD
21885 return resultobj;
21886 fail:
21887 return NULL;
21888}
21889
21890
c32bde28 21891static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21892 PyObject *resultobj = NULL;
d55e5bfc
RD
21893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21894 int result;
21895 PyObject * obj0 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
21901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21902 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = (int)(arg1)->GetToolSeparation();
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
093d3ff1 21910 {
7449af73 21911 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21912 }
d55e5bfc
RD
21913 return resultobj;
21914 fail:
21915 return NULL;
21916}
21917
21918
c32bde28 21919static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21920 PyObject *resultobj = NULL;
d55e5bfc
RD
21921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21922 int arg2 ;
21923 PyObject * obj0 = 0 ;
21924 PyObject * obj1 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self",(char *) "nRows", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail;
21932 {
7449af73 21933 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21934 if (SWIG_arg_fail(2)) SWIG_fail;
21935 }
d55e5bfc
RD
21936 {
21937 PyThreadState* __tstate = wxPyBeginAllowThreads();
21938 (arg1)->SetRows(arg2);
21939
21940 wxPyEndAllowThreads(__tstate);
21941 if (PyErr_Occurred()) SWIG_fail;
21942 }
21943 Py_INCREF(Py_None); resultobj = Py_None;
21944 return resultobj;
21945 fail:
21946 return NULL;
21947}
21948
21949
c32bde28 21950static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21951 PyObject *resultobj = NULL;
d55e5bfc
RD
21952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21953 int arg2 ;
21954 int arg3 ;
21955 PyObject * obj0 = 0 ;
21956 PyObject * obj1 = 0 ;
21957 PyObject * obj2 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "self",(char *) "rows",(char *) "cols", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21964 if (SWIG_arg_fail(1)) SWIG_fail;
21965 {
7449af73 21966 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21967 if (SWIG_arg_fail(2)) SWIG_fail;
21968 }
21969 {
7449af73 21970 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21971 if (SWIG_arg_fail(3)) SWIG_fail;
21972 }
d55e5bfc
RD
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 (arg1)->SetMaxRowsCols(arg2,arg3);
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 Py_INCREF(Py_None); resultobj = Py_None;
21981 return resultobj;
21982 fail:
21983 return NULL;
21984}
21985
21986
c32bde28 21987static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21988 PyObject *resultobj = NULL;
d55e5bfc
RD
21989 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21990 int result;
21991 PyObject * obj0 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
21997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 result = (int)(arg1)->GetMaxRows();
22002
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
093d3ff1 22006 {
7449af73 22007 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22008 }
d55e5bfc
RD
22009 return resultobj;
22010 fail:
22011 return NULL;
22012}
22013
22014
c32bde28 22015static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22016 PyObject *resultobj = NULL;
d55e5bfc
RD
22017 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22018 int result;
22019 PyObject * obj0 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
22025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22027 {
22028 PyThreadState* __tstate = wxPyBeginAllowThreads();
22029 result = (int)(arg1)->GetMaxCols();
22030
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
093d3ff1 22034 {
7449af73 22035 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22036 }
d55e5bfc
RD
22037 return resultobj;
22038 fail:
22039 return NULL;
22040}
22041
22042
c32bde28 22043static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22044 PyObject *resultobj = NULL;
d55e5bfc
RD
22045 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22046 wxSize *arg2 = 0 ;
22047 wxSize temp2 ;
22048 PyObject * obj0 = 0 ;
22049 PyObject * obj1 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self",(char *) "size", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22057 {
22058 arg2 = &temp2;
22059 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22060 }
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072}
22073
22074
c32bde28 22075static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22076 PyObject *resultobj = NULL;
d55e5bfc
RD
22077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22078 wxSize result;
22079 PyObject * obj0 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 result = (arg1)->GetToolBitmapSize();
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 {
22095 wxSize * resultptr;
7449af73 22096 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22098 }
22099 return resultobj;
22100 fail:
22101 return NULL;
22102}
22103
22104
c32bde28 22105static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22106 PyObject *resultobj = NULL;
d55e5bfc
RD
22107 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22108 wxSize result;
22109 PyObject * obj0 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 result = (arg1)->GetToolSize();
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
22125 wxSize * resultptr;
7449af73 22126 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22128 }
22129 return resultobj;
22130 fail:
22131 return NULL;
22132}
22133
22134
c32bde28 22135static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22136 PyObject *resultobj = NULL;
d55e5bfc
RD
22137 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22138 int arg2 ;
22139 int arg3 ;
22140 wxToolBarToolBase *result;
22141 PyObject * obj0 = 0 ;
22142 PyObject * obj1 = 0 ;
22143 PyObject * obj2 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self",(char *) "x",(char *) "y", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22150 if (SWIG_arg_fail(1)) SWIG_fail;
22151 {
7449af73 22152 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22153 if (SWIG_arg_fail(2)) SWIG_fail;
22154 }
22155 {
7449af73 22156 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22157 if (SWIG_arg_fail(3)) SWIG_fail;
22158 }
d55e5bfc
RD
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 {
7e08d4ef 22167 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22168 }
22169 return resultobj;
22170 fail:
22171 return NULL;
22172}
22173
22174
c32bde28 22175static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22176 PyObject *resultobj = NULL;
d55e5bfc
RD
22177 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22178 int arg2 ;
22179 wxToolBarToolBase *result;
22180 PyObject * obj0 = 0 ;
22181 PyObject * obj1 = 0 ;
22182 char *kwnames[] = {
22183 (char *) "self",(char *) "toolid", NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22188 if (SWIG_arg_fail(1)) SWIG_fail;
22189 {
7449af73 22190 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22191 if (SWIG_arg_fail(2)) SWIG_fail;
22192 }
d55e5bfc
RD
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 {
7e08d4ef 22201 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22202 }
22203 return resultobj;
22204 fail:
22205 return NULL;
22206}
22207
22208
c32bde28 22209static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22210 PyObject *resultobj = NULL;
d55e5bfc
RD
22211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22212 bool result;
22213 PyObject * obj0 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
22219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22221 {
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = (bool)(arg1)->IsVertical();
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
22228 {
22229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22230 }
22231 return resultobj;
22232 fail:
22233 return NULL;
22234}
22235
22236
c32bde28 22237static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22238 PyObject *obj;
22239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22240 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
22241 Py_INCREF(obj);
22242 return Py_BuildValue((char *)"");
22243}
c32bde28 22244static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22245 PyObject *resultobj = NULL;
d55e5bfc 22246 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 22247 int arg2 = (int) -1 ;
d55e5bfc
RD
22248 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22249 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22250 wxSize const &arg4_defvalue = wxDefaultSize ;
22251 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22252 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22253 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
22254 wxString *arg6 = (wxString *) &arg6_defvalue ;
22255 wxToolBar *result;
22256 wxPoint temp3 ;
22257 wxSize temp4 ;
ae8162c8 22258 bool temp6 = false ;
d55e5bfc
RD
22259 PyObject * obj0 = 0 ;
22260 PyObject * obj1 = 0 ;
22261 PyObject * obj2 = 0 ;
22262 PyObject * obj3 = 0 ;
22263 PyObject * obj4 = 0 ;
22264 PyObject * obj5 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22267 };
22268
248ed943 22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
22270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 22272 if (obj1) {
093d3ff1 22273 {
7449af73 22274 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22275 if (SWIG_arg_fail(2)) SWIG_fail;
22276 }
248ed943 22277 }
d55e5bfc
RD
22278 if (obj2) {
22279 {
22280 arg3 = &temp3;
22281 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22282 }
22283 }
22284 if (obj3) {
22285 {
22286 arg4 = &temp4;
22287 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22288 }
22289 }
22290 if (obj4) {
093d3ff1 22291 {
7449af73 22292 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
22293 if (SWIG_arg_fail(5)) SWIG_fail;
22294 }
d55e5bfc
RD
22295 }
22296 if (obj5) {
22297 {
22298 arg6 = wxString_in_helper(obj5);
22299 if (arg6 == NULL) SWIG_fail;
ae8162c8 22300 temp6 = true;
d55e5bfc
RD
22301 }
22302 }
22303 {
0439c23b 22304 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22305 PyThreadState* __tstate = wxPyBeginAllowThreads();
22306 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22307
22308 wxPyEndAllowThreads(__tstate);
110da5b0 22309 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22310 }
b0f7404b 22311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
22312 {
22313 if (temp6)
22314 delete arg6;
22315 }
22316 return resultobj;
22317 fail:
22318 {
22319 if (temp6)
22320 delete arg6;
22321 }
22322 return NULL;
22323}
22324
22325
c32bde28 22326static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22327 PyObject *resultobj = NULL;
d55e5bfc
RD
22328 wxToolBar *result;
22329 char *kwnames[] = {
22330 NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
22334 {
0439c23b 22335 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 result = (wxToolBar *)new wxToolBar();
22338
22339 wxPyEndAllowThreads(__tstate);
110da5b0 22340 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22341 }
b0f7404b 22342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
22343 return resultobj;
22344 fail:
22345 return NULL;
22346}
22347
22348
c32bde28 22349static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22350 PyObject *resultobj = NULL;
d55e5bfc
RD
22351 wxToolBar *arg1 = (wxToolBar *) 0 ;
22352 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 22353 int arg3 = (int) -1 ;
d55e5bfc
RD
22354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22356 wxSize const &arg5_defvalue = wxDefaultSize ;
22357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22358 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22359 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
22360 wxString *arg7 = (wxString *) &arg7_defvalue ;
22361 bool result;
22362 wxPoint temp4 ;
22363 wxSize temp5 ;
ae8162c8 22364 bool temp7 = false ;
d55e5bfc
RD
22365 PyObject * obj0 = 0 ;
22366 PyObject * obj1 = 0 ;
22367 PyObject * obj2 = 0 ;
22368 PyObject * obj3 = 0 ;
22369 PyObject * obj4 = 0 ;
22370 PyObject * obj5 = 0 ;
22371 PyObject * obj6 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22374 };
22375
248ed943 22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
22377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail;
22379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22380 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 22381 if (obj2) {
093d3ff1 22382 {
7449af73 22383 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22384 if (SWIG_arg_fail(3)) SWIG_fail;
22385 }
248ed943 22386 }
d55e5bfc
RD
22387 if (obj3) {
22388 {
22389 arg4 = &temp4;
22390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22391 }
22392 }
22393 if (obj4) {
22394 {
22395 arg5 = &temp5;
22396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22397 }
22398 }
22399 if (obj5) {
093d3ff1 22400 {
7449af73 22401 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
22402 if (SWIG_arg_fail(6)) SWIG_fail;
22403 }
d55e5bfc
RD
22404 }
22405 if (obj6) {
22406 {
22407 arg7 = wxString_in_helper(obj6);
22408 if (arg7 == NULL) SWIG_fail;
ae8162c8 22409 temp7 = true;
d55e5bfc
RD
22410 }
22411 }
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 {
22420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22421 }
22422 {
22423 if (temp7)
22424 delete arg7;
22425 }
22426 return resultobj;
22427 fail:
22428 {
22429 if (temp7)
22430 delete arg7;
22431 }
22432 return NULL;
22433}
22434
22435
c32bde28 22436static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22437 PyObject *resultobj = NULL;
d55e5bfc
RD
22438 wxToolBar *arg1 = (wxToolBar *) 0 ;
22439 int arg2 ;
22440 int arg3 ;
22441 wxToolBarToolBase *result;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 PyObject * obj2 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "x",(char *) "y", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail;
22452 {
7449af73 22453 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22454 if (SWIG_arg_fail(2)) SWIG_fail;
22455 }
22456 {
7449af73 22457 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22458 if (SWIG_arg_fail(3)) SWIG_fail;
22459 }
d55e5bfc
RD
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 {
7e08d4ef 22468 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22469 }
22470 return resultobj;
22471 fail:
22472 return NULL;
22473}
22474
22475
c32bde28 22476static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22477 PyObject *resultobj = NULL;
093d3ff1 22478 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
22479 wxVisualAttributes result;
22480 PyObject * obj0 = 0 ;
22481 char *kwnames[] = {
22482 (char *) "variant", NULL
22483 };
22484
22485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22486 if (obj0) {
093d3ff1 22487 {
7449af73 22488 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
22489 if (SWIG_arg_fail(1)) SWIG_fail;
22490 }
f20a2e1f
RD
22491 }
22492 {
19272049 22493 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22495 result = wxToolBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
22496
22497 wxPyEndAllowThreads(__tstate);
110da5b0 22498 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
22499 }
22500 {
22501 wxVisualAttributes * resultptr;
7449af73 22502 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
22503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22504 }
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
c32bde28 22511static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22512 PyObject *obj;
22513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22514 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
22515 Py_INCREF(obj);
22516 return Py_BuildValue((char *)"");
22517}
c32bde28 22518static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
22519 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
22520 return 1;
22521}
22522
22523
093d3ff1 22524static PyObject *_wrap_ListCtrlNameStr_get(void) {
7449af73 22525 PyObject *pyobj = NULL;
d55e5bfc
RD
22526
22527 {
22528#if wxUSE_UNICODE
22529 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22530#else
22531 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22532#endif
22533 }
22534 return pyobj;
22535}
22536
22537
c32bde28 22538static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22539 PyObject *resultobj = NULL;
d55e5bfc
RD
22540 wxColour const &arg1_defvalue = wxNullColour ;
22541 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
22542 wxColour const &arg2_defvalue = wxNullColour ;
22543 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
22544 wxFont const &arg3_defvalue = wxNullFont ;
22545 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
22546 wxListItemAttr *result;
22547 wxColour temp1 ;
22548 wxColour temp2 ;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 PyObject * obj2 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
22557 if (obj0) {
22558 {
22559 arg1 = &temp1;
22560 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
22561 }
22562 }
22563 if (obj1) {
22564 {
22565 arg2 = &temp2;
22566 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22567 }
22568 }
22569 if (obj2) {
093d3ff1
RD
22570 {
22571 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22572 if (SWIG_arg_fail(3)) SWIG_fail;
22573 if (arg3 == NULL) {
22574 SWIG_null_ref("wxFont");
22575 }
22576 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22577 }
22578 }
22579 {
22580 PyThreadState* __tstate = wxPyBeginAllowThreads();
22581 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
22582
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
22587 return resultobj;
22588 fail:
22589 return NULL;
22590}
22591
22592
7e08d4ef
RD
22593static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22594 PyObject *resultobj = NULL;
22595 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22596 PyObject * obj0 = 0 ;
22597 char *kwnames[] = {
22598 (char *) "self", NULL
22599 };
22600
22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail;
22602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22603 if (SWIG_arg_fail(1)) SWIG_fail;
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 delete arg1;
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615}
22616
22617
c32bde28 22618static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22619 PyObject *resultobj = NULL;
d55e5bfc
RD
22620 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22621 wxColour *arg2 = 0 ;
22622 wxColour temp2 ;
22623 PyObject * obj0 = 0 ;
22624 PyObject * obj1 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self",(char *) "colText", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22632 {
22633 arg2 = &temp2;
22634 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22635 }
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 (arg1)->SetTextColour((wxColour const &)*arg2);
22639
22640 wxPyEndAllowThreads(__tstate);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 }
22643 Py_INCREF(Py_None); resultobj = Py_None;
22644 return resultobj;
22645 fail:
22646 return NULL;
22647}
22648
22649
c32bde28 22650static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22651 PyObject *resultobj = NULL;
d55e5bfc
RD
22652 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22653 wxColour *arg2 = 0 ;
22654 wxColour temp2 ;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "colBack", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22664 {
22665 arg2 = &temp2;
22666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22667 }
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 Py_INCREF(Py_None); resultobj = Py_None;
22676 return resultobj;
22677 fail:
22678 return NULL;
22679}
22680
22681
c32bde28 22682static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22683 PyObject *resultobj = NULL;
d55e5bfc
RD
22684 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22685 wxFont *arg2 = 0 ;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 char *kwnames[] = {
22689 (char *) "self",(char *) "font", NULL
22690 };
22691
22692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22694 if (SWIG_arg_fail(1)) SWIG_fail;
22695 {
22696 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22697 if (SWIG_arg_fail(2)) SWIG_fail;
22698 if (arg2 == NULL) {
22699 SWIG_null_ref("wxFont");
22700 }
22701 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22702 }
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->SetFont((wxFont const &)*arg2);
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 Py_INCREF(Py_None); resultobj = Py_None;
22711 return resultobj;
22712 fail:
22713 return NULL;
22714}
22715
22716
c32bde28 22717static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22718 PyObject *resultobj = NULL;
d55e5bfc
RD
22719 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22720 bool result;
22721 PyObject * obj0 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "self", NULL
22724 };
22725
22726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22729 {
22730 PyThreadState* __tstate = wxPyBeginAllowThreads();
22731 result = (bool)(arg1)->HasTextColour();
22732
22733 wxPyEndAllowThreads(__tstate);
22734 if (PyErr_Occurred()) SWIG_fail;
22735 }
22736 {
22737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22738 }
22739 return resultobj;
22740 fail:
22741 return NULL;
22742}
22743
22744
c32bde28 22745static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22746 PyObject *resultobj = NULL;
d55e5bfc
RD
22747 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22748 bool result;
22749 PyObject * obj0 = 0 ;
22750 char *kwnames[] = {
22751 (char *) "self", NULL
22752 };
22753
22754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22757 {
22758 PyThreadState* __tstate = wxPyBeginAllowThreads();
22759 result = (bool)(arg1)->HasBackgroundColour();
22760
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 {
22765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22766 }
22767 return resultobj;
22768 fail:
22769 return NULL;
22770}
22771
22772
c32bde28 22773static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22774 PyObject *resultobj = NULL;
d55e5bfc
RD
22775 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22776 bool result;
22777 PyObject * obj0 = 0 ;
22778 char *kwnames[] = {
22779 (char *) "self", NULL
22780 };
22781
22782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 result = (bool)(arg1)->HasFont();
22788
22789 wxPyEndAllowThreads(__tstate);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 {
22793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22794 }
22795 return resultobj;
22796 fail:
22797 return NULL;
22798}
22799
22800
c32bde28 22801static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22802 PyObject *resultobj = NULL;
d55e5bfc
RD
22803 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22804 wxColour result;
22805 PyObject * obj0 = 0 ;
22806 char *kwnames[] = {
22807 (char *) "self", NULL
22808 };
22809
22810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22813 {
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 result = (arg1)->GetTextColour();
22816
22817 wxPyEndAllowThreads(__tstate);
22818 if (PyErr_Occurred()) SWIG_fail;
22819 }
22820 {
22821 wxColour * resultptr;
7449af73 22822 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
22823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22824 }
22825 return resultobj;
22826 fail:
22827 return NULL;
22828}
22829
22830
c32bde28 22831static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22832 PyObject *resultobj = NULL;
d55e5bfc
RD
22833 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22834 wxColour result;
22835 PyObject * obj0 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 result = (arg1)->GetBackgroundColour();
22846
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 {
22851 wxColour * resultptr;
7449af73 22852 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
22853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22854 }
22855 return resultobj;
22856 fail:
22857 return NULL;
22858}
22859
22860
c32bde28 22861static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22862 PyObject *resultobj = NULL;
d55e5bfc
RD
22863 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22864 wxFont result;
22865 PyObject * obj0 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "self", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22873 {
22874 PyThreadState* __tstate = wxPyBeginAllowThreads();
22875 result = (arg1)->GetFont();
22876
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 {
22881 wxFont * resultptr;
7449af73 22882 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
22883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22884 }
22885 return resultobj;
22886 fail:
22887 return NULL;
22888}
22889
22890
7e08d4ef
RD
22891static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) {
22892 PyObject *resultobj = NULL;
22893 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22894 wxListItemAttr *arg2 = 0 ;
22895 PyObject * obj0 = 0 ;
22896 PyObject * obj1 = 0 ;
22897 char *kwnames[] = {
22898 (char *) "self",(char *) "source", NULL
22899 };
22900
22901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail;
22902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22903 if (SWIG_arg_fail(1)) SWIG_fail;
22904 {
22905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22906 if (SWIG_arg_fail(2)) SWIG_fail;
22907 if (arg2 == NULL) {
22908 SWIG_null_ref("wxListItemAttr");
22909 }
22910 if (SWIG_arg_fail(2)) SWIG_fail;
22911 }
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 Py_INCREF(Py_None); resultobj = Py_None;
22920 return resultobj;
22921 fail:
22922 return NULL;
22923}
22924
22925
c32bde28 22926static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22927 PyObject *resultobj = NULL;
d55e5bfc
RD
22928 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22929 PyObject * obj0 = 0 ;
22930 char *kwnames[] = {
22931 (char *) "self", NULL
22932 };
22933
22934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
22935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22937 {
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 wxListItemAttr_Destroy(arg1);
22940
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 Py_INCREF(Py_None); resultobj = Py_None;
22945 return resultobj;
22946 fail:
22947 return NULL;
22948}
22949
22950
c32bde28 22951static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22952 PyObject *obj;
22953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22954 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
22955 Py_INCREF(obj);
22956 return Py_BuildValue((char *)"");
22957}
c32bde28 22958static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22959 PyObject *resultobj = NULL;
d55e5bfc
RD
22960 wxListItem *result;
22961 char *kwnames[] = {
22962 NULL
22963 };
22964
22965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 result = (wxListItem *)new wxListItem();
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 {
7e08d4ef 22974 resultobj = wxPyMake_wxObject(result, (bool)1);
d55e5bfc
RD
22975 }
22976 return resultobj;
22977 fail:
22978 return NULL;
22979}
22980
22981
c32bde28 22982static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22983 PyObject *resultobj = NULL;
d55e5bfc
RD
22984 wxListItem *arg1 = (wxListItem *) 0 ;
22985 PyObject * obj0 = 0 ;
22986 char *kwnames[] = {
22987 (char *) "self", NULL
22988 };
22989
22990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
22991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22993 {
22994 PyThreadState* __tstate = wxPyBeginAllowThreads();
22995 delete arg1;
22996
22997 wxPyEndAllowThreads(__tstate);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 }
23000 Py_INCREF(Py_None); resultobj = Py_None;
23001 return resultobj;
23002 fail:
23003 return NULL;
23004}
23005
23006
c32bde28 23007static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23008 PyObject *resultobj = NULL;
d55e5bfc
RD
23009 wxListItem *arg1 = (wxListItem *) 0 ;
23010 PyObject * obj0 = 0 ;
23011 char *kwnames[] = {
23012 (char *) "self", NULL
23013 };
23014
23015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
23016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 (arg1)->Clear();
23021
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 Py_INCREF(Py_None); resultobj = Py_None;
23026 return resultobj;
23027 fail:
23028 return NULL;
23029}
23030
23031
c32bde28 23032static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23033 PyObject *resultobj = NULL;
d55e5bfc
RD
23034 wxListItem *arg1 = (wxListItem *) 0 ;
23035 PyObject * obj0 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23043 {
23044 PyThreadState* __tstate = wxPyBeginAllowThreads();
23045 (arg1)->ClearAttributes();
23046
23047 wxPyEndAllowThreads(__tstate);
23048 if (PyErr_Occurred()) SWIG_fail;
23049 }
23050 Py_INCREF(Py_None); resultobj = Py_None;
23051 return resultobj;
23052 fail:
23053 return NULL;
23054}
23055
23056
c32bde28 23057static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23058 PyObject *resultobj = NULL;
d55e5bfc
RD
23059 wxListItem *arg1 = (wxListItem *) 0 ;
23060 long arg2 ;
23061 PyObject * obj0 = 0 ;
23062 PyObject * obj1 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self",(char *) "mask", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail;
23070 {
7449af73 23071 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23072 if (SWIG_arg_fail(2)) SWIG_fail;
23073 }
d55e5bfc
RD
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 (arg1)->SetMask(arg2);
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 Py_INCREF(Py_None); resultobj = Py_None;
23082 return resultobj;
23083 fail:
23084 return NULL;
23085}
23086
23087
c32bde28 23088static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23089 PyObject *resultobj = NULL;
d55e5bfc
RD
23090 wxListItem *arg1 = (wxListItem *) 0 ;
23091 long arg2 ;
23092 PyObject * obj0 = 0 ;
23093 PyObject * obj1 = 0 ;
23094 char *kwnames[] = {
23095 (char *) "self",(char *) "id", NULL
23096 };
23097
23098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23100 if (SWIG_arg_fail(1)) SWIG_fail;
23101 {
7449af73 23102 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23103 if (SWIG_arg_fail(2)) SWIG_fail;
23104 }
d55e5bfc
RD
23105 {
23106 PyThreadState* __tstate = wxPyBeginAllowThreads();
23107 (arg1)->SetId(arg2);
23108
23109 wxPyEndAllowThreads(__tstate);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 }
23112 Py_INCREF(Py_None); resultobj = Py_None;
23113 return resultobj;
23114 fail:
23115 return NULL;
23116}
23117
23118
c32bde28 23119static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23120 PyObject *resultobj = NULL;
d55e5bfc
RD
23121 wxListItem *arg1 = (wxListItem *) 0 ;
23122 int arg2 ;
23123 PyObject * obj0 = 0 ;
23124 PyObject * obj1 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "self",(char *) "col", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23131 if (SWIG_arg_fail(1)) SWIG_fail;
23132 {
7449af73 23133 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23134 if (SWIG_arg_fail(2)) SWIG_fail;
23135 }
d55e5bfc
RD
23136 {
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 (arg1)->SetColumn(arg2);
23139
23140 wxPyEndAllowThreads(__tstate);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 }
23143 Py_INCREF(Py_None); resultobj = Py_None;
23144 return resultobj;
23145 fail:
23146 return NULL;
23147}
23148
23149
c32bde28 23150static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23151 PyObject *resultobj = NULL;
d55e5bfc
RD
23152 wxListItem *arg1 = (wxListItem *) 0 ;
23153 long arg2 ;
23154 PyObject * obj0 = 0 ;
23155 PyObject * obj1 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self",(char *) "state", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23162 if (SWIG_arg_fail(1)) SWIG_fail;
23163 {
7449af73 23164 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23165 if (SWIG_arg_fail(2)) SWIG_fail;
23166 }
d55e5bfc
RD
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 (arg1)->SetState(arg2);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 Py_INCREF(Py_None); resultobj = Py_None;
23175 return resultobj;
23176 fail:
23177 return NULL;
23178}
23179
23180
c32bde28 23181static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23182 PyObject *resultobj = NULL;
d55e5bfc
RD
23183 wxListItem *arg1 = (wxListItem *) 0 ;
23184 long arg2 ;
23185 PyObject * obj0 = 0 ;
23186 PyObject * obj1 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self",(char *) "stateMask", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23193 if (SWIG_arg_fail(1)) SWIG_fail;
23194 {
7449af73 23195 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23196 if (SWIG_arg_fail(2)) SWIG_fail;
23197 }
d55e5bfc
RD
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 (arg1)->SetStateMask(arg2);
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 Py_INCREF(Py_None); resultobj = Py_None;
23206 return resultobj;
23207 fail:
23208 return NULL;
23209}
23210
23211
c32bde28 23212static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23213 PyObject *resultobj = NULL;
d55e5bfc
RD
23214 wxListItem *arg1 = (wxListItem *) 0 ;
23215 wxString *arg2 = 0 ;
ae8162c8 23216 bool temp2 = false ;
d55e5bfc
RD
23217 PyObject * obj0 = 0 ;
23218 PyObject * obj1 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self",(char *) "text", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23226 {
23227 arg2 = wxString_in_helper(obj1);
23228 if (arg2 == NULL) SWIG_fail;
ae8162c8 23229 temp2 = true;
d55e5bfc
RD
23230 }
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 (arg1)->SetText((wxString const &)*arg2);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 Py_INCREF(Py_None); resultobj = Py_None;
23239 {
23240 if (temp2)
23241 delete arg2;
23242 }
23243 return resultobj;
23244 fail:
23245 {
23246 if (temp2)
23247 delete arg2;
23248 }
23249 return NULL;
23250}
23251
23252
c32bde28 23253static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23254 PyObject *resultobj = NULL;
d55e5bfc
RD
23255 wxListItem *arg1 = (wxListItem *) 0 ;
23256 int arg2 ;
23257 PyObject * obj0 = 0 ;
23258 PyObject * obj1 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self",(char *) "image", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail;
23266 {
7449af73 23267 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23268 if (SWIG_arg_fail(2)) SWIG_fail;
23269 }
d55e5bfc
RD
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 (arg1)->SetImage(arg2);
23273
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 Py_INCREF(Py_None); resultobj = Py_None;
23278 return resultobj;
23279 fail:
23280 return NULL;
23281}
23282
23283
c32bde28 23284static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23285 PyObject *resultobj = NULL;
d55e5bfc
RD
23286 wxListItem *arg1 = (wxListItem *) 0 ;
23287 long arg2 ;
23288 PyObject * obj0 = 0 ;
23289 PyObject * obj1 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self",(char *) "data", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23296 if (SWIG_arg_fail(1)) SWIG_fail;
23297 {
7449af73 23298 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23299 if (SWIG_arg_fail(2)) SWIG_fail;
23300 }
d55e5bfc
RD
23301 {
23302 PyThreadState* __tstate = wxPyBeginAllowThreads();
23303 (arg1)->SetData(arg2);
23304
23305 wxPyEndAllowThreads(__tstate);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 }
23308 Py_INCREF(Py_None); resultobj = Py_None;
23309 return resultobj;
23310 fail:
23311 return NULL;
23312}
23313
23314
c32bde28 23315static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23316 PyObject *resultobj = NULL;
d55e5bfc
RD
23317 wxListItem *arg1 = (wxListItem *) 0 ;
23318 int arg2 ;
23319 PyObject * obj0 = 0 ;
23320 PyObject * obj1 = 0 ;
23321 char *kwnames[] = {
23322 (char *) "self",(char *) "width", NULL
23323 };
23324
23325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23327 if (SWIG_arg_fail(1)) SWIG_fail;
23328 {
7449af73 23329 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23330 if (SWIG_arg_fail(2)) SWIG_fail;
23331 }
d55e5bfc
RD
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 (arg1)->SetWidth(arg2);
23335
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 Py_INCREF(Py_None); resultobj = Py_None;
23340 return resultobj;
23341 fail:
23342 return NULL;
23343}
23344
23345
c32bde28 23346static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23347 PyObject *resultobj = NULL;
d55e5bfc 23348 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 23349 wxListColumnFormat arg2 ;
d55e5bfc
RD
23350 PyObject * obj0 = 0 ;
23351 PyObject * obj1 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self",(char *) "align", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail;
23359 {
7449af73 23360 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
093d3ff1
RD
23361 if (SWIG_arg_fail(2)) SWIG_fail;
23362 }
d55e5bfc
RD
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23365 (arg1)->SetAlign(arg2);
d55e5bfc
RD
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374}
23375
23376
c32bde28 23377static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23378 PyObject *resultobj = NULL;
d55e5bfc
RD
23379 wxListItem *arg1 = (wxListItem *) 0 ;
23380 wxColour *arg2 = 0 ;
23381 wxColour temp2 ;
23382 PyObject * obj0 = 0 ;
23383 PyObject * obj1 = 0 ;
23384 char *kwnames[] = {
23385 (char *) "self",(char *) "colText", NULL
23386 };
23387
23388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23391 {
23392 arg2 = &temp2;
23393 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23394 }
23395 {
23396 PyThreadState* __tstate = wxPyBeginAllowThreads();
23397 (arg1)->SetTextColour((wxColour const &)*arg2);
23398
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 Py_INCREF(Py_None); resultobj = Py_None;
23403 return resultobj;
23404 fail:
23405 return NULL;
23406}
23407
23408
c32bde28 23409static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23410 PyObject *resultobj = NULL;
d55e5bfc
RD
23411 wxListItem *arg1 = (wxListItem *) 0 ;
23412 wxColour *arg2 = 0 ;
23413 wxColour temp2 ;
23414 PyObject * obj0 = 0 ;
23415 PyObject * obj1 = 0 ;
23416 char *kwnames[] = {
23417 (char *) "self",(char *) "colBack", NULL
23418 };
23419
23420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23423 {
23424 arg2 = &temp2;
23425 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23426 }
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 Py_INCREF(Py_None); resultobj = Py_None;
23435 return resultobj;
23436 fail:
23437 return NULL;
23438}
23439
23440
c32bde28 23441static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23442 PyObject *resultobj = NULL;
d55e5bfc
RD
23443 wxListItem *arg1 = (wxListItem *) 0 ;
23444 wxFont *arg2 = 0 ;
23445 PyObject * obj0 = 0 ;
23446 PyObject * obj1 = 0 ;
23447 char *kwnames[] = {
23448 (char *) "self",(char *) "font", NULL
23449 };
23450
23451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail;
23454 {
23455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
23456 if (SWIG_arg_fail(2)) SWIG_fail;
23457 if (arg2 == NULL) {
23458 SWIG_null_ref("wxFont");
23459 }
23460 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23461 }
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 (arg1)->SetFont((wxFont const &)*arg2);
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 Py_INCREF(Py_None); resultobj = Py_None;
23470 return resultobj;
23471 fail:
23472 return NULL;
23473}
23474
23475
c32bde28 23476static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23477 PyObject *resultobj = NULL;
d55e5bfc
RD
23478 wxListItem *arg1 = (wxListItem *) 0 ;
23479 long result;
23480 PyObject * obj0 = 0 ;
23481 char *kwnames[] = {
23482 (char *) "self", NULL
23483 };
23484
23485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 result = (long)(arg1)->GetMask();
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
093d3ff1 23495 {
7449af73 23496 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23497 }
d55e5bfc
RD
23498 return resultobj;
23499 fail:
23500 return NULL;
23501}
23502
23503
c32bde28 23504static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23505 PyObject *resultobj = NULL;
d55e5bfc
RD
23506 wxListItem *arg1 = (wxListItem *) 0 ;
23507 long result;
23508 PyObject * obj0 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
23514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23515 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 result = (long)(arg1)->GetId();
23519
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
093d3ff1 23523 {
7449af73 23524 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23525 }
d55e5bfc
RD
23526 return resultobj;
23527 fail:
23528 return NULL;
23529}
23530
23531
c32bde28 23532static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23533 PyObject *resultobj = NULL;
d55e5bfc
RD
23534 wxListItem *arg1 = (wxListItem *) 0 ;
23535 int result;
23536 PyObject * obj0 = 0 ;
23537 char *kwnames[] = {
23538 (char *) "self", NULL
23539 };
23540
23541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23544 {
23545 PyThreadState* __tstate = wxPyBeginAllowThreads();
23546 result = (int)(arg1)->GetColumn();
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
093d3ff1 23551 {
7449af73 23552 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23553 }
d55e5bfc
RD
23554 return resultobj;
23555 fail:
23556 return NULL;
23557}
23558
23559
c32bde28 23560static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23561 PyObject *resultobj = NULL;
d55e5bfc
RD
23562 wxListItem *arg1 = (wxListItem *) 0 ;
23563 long result;
23564 PyObject * obj0 = 0 ;
23565 char *kwnames[] = {
23566 (char *) "self", NULL
23567 };
23568
23569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
23570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 result = (long)(arg1)->GetState();
23575
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
093d3ff1 23579 {
7449af73 23580 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23581 }
d55e5bfc
RD
23582 return resultobj;
23583 fail:
23584 return NULL;
23585}
23586
23587
c32bde28 23588static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23589 PyObject *resultobj = NULL;
d55e5bfc
RD
23590 wxListItem *arg1 = (wxListItem *) 0 ;
23591 wxString *result;
23592 PyObject * obj0 = 0 ;
23593 char *kwnames[] = {
23594 (char *) "self", NULL
23595 };
23596
23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23600 {
23601 PyThreadState* __tstate = wxPyBeginAllowThreads();
23602 {
23603 wxString const &_result_ref = (arg1)->GetText();
23604 result = (wxString *) &_result_ref;
23605 }
23606
23607 wxPyEndAllowThreads(__tstate);
23608 if (PyErr_Occurred()) SWIG_fail;
23609 }
23610 {
23611#if wxUSE_UNICODE
23612 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23613#else
23614 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23615#endif
23616 }
23617 return resultobj;
23618 fail:
23619 return NULL;
23620}
23621
23622
c32bde28 23623static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23624 PyObject *resultobj = NULL;
d55e5bfc
RD
23625 wxListItem *arg1 = (wxListItem *) 0 ;
23626 int result;
23627 PyObject * obj0 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 result = (int)(arg1)->GetImage();
23638
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
093d3ff1 23642 {
7449af73 23643 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23644 }
d55e5bfc
RD
23645 return resultobj;
23646 fail:
23647 return NULL;
23648}
23649
23650
c32bde28 23651static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23652 PyObject *resultobj = NULL;
d55e5bfc
RD
23653 wxListItem *arg1 = (wxListItem *) 0 ;
23654 long result;
23655 PyObject * obj0 = 0 ;
23656 char *kwnames[] = {
23657 (char *) "self", NULL
23658 };
23659
23660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23663 {
23664 PyThreadState* __tstate = wxPyBeginAllowThreads();
23665 result = (long)(arg1)->GetData();
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
093d3ff1 23670 {
7449af73 23671 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23672 }
d55e5bfc
RD
23673 return resultobj;
23674 fail:
23675 return NULL;
23676}
23677
23678
c32bde28 23679static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23680 PyObject *resultobj = NULL;
d55e5bfc
RD
23681 wxListItem *arg1 = (wxListItem *) 0 ;
23682 int result;
23683 PyObject * obj0 = 0 ;
23684 char *kwnames[] = {
23685 (char *) "self", NULL
23686 };
23687
23688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
23689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23691 {
23692 PyThreadState* __tstate = wxPyBeginAllowThreads();
23693 result = (int)(arg1)->GetWidth();
23694
23695 wxPyEndAllowThreads(__tstate);
23696 if (PyErr_Occurred()) SWIG_fail;
23697 }
093d3ff1 23698 {
7449af73 23699 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23700 }
d55e5bfc
RD
23701 return resultobj;
23702 fail:
23703 return NULL;
23704}
23705
23706
c32bde28 23707static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23708 PyObject *resultobj = NULL;
d55e5bfc 23709 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 23710 wxListColumnFormat result;
d55e5bfc
RD
23711 PyObject * obj0 = 0 ;
23712 char *kwnames[] = {
23713 (char *) "self", NULL
23714 };
23715
23716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
23717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23719 {
23720 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23721 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
23722
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
093d3ff1 23726 resultobj = SWIG_From_int((result));
d55e5bfc
RD
23727 return resultobj;
23728 fail:
23729 return NULL;
23730}
23731
23732
c32bde28 23733static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23734 PyObject *resultobj = NULL;
d55e5bfc
RD
23735 wxListItem *arg1 = (wxListItem *) 0 ;
23736 wxListItemAttr *result;
23737 PyObject * obj0 = 0 ;
23738 char *kwnames[] = {
23739 (char *) "self", NULL
23740 };
23741
23742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
23747 result = (wxListItemAttr *)(arg1)->GetAttributes();
23748
23749 wxPyEndAllowThreads(__tstate);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
23752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
23753 return resultobj;
23754 fail:
23755 return NULL;
23756}
23757
23758
c32bde28 23759static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23760 PyObject *resultobj = NULL;
d55e5bfc
RD
23761 wxListItem *arg1 = (wxListItem *) 0 ;
23762 bool result;
23763 PyObject * obj0 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23771 {
23772 PyThreadState* __tstate = wxPyBeginAllowThreads();
23773 result = (bool)(arg1)->HasAttributes();
23774
23775 wxPyEndAllowThreads(__tstate);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
23778 {
23779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23780 }
23781 return resultobj;
23782 fail:
23783 return NULL;
23784}
23785
23786
c32bde28 23787static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23788 PyObject *resultobj = NULL;
d55e5bfc
RD
23789 wxListItem *arg1 = (wxListItem *) 0 ;
23790 wxColour result;
23791 PyObject * obj0 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
23797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = ((wxListItem const *)arg1)->GetTextColour();
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 {
23807 wxColour * resultptr;
7449af73 23808 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
23809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23810 }
23811 return resultobj;
23812 fail:
23813 return NULL;
23814}
23815
23816
c32bde28 23817static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23818 PyObject *resultobj = NULL;
d55e5bfc
RD
23819 wxListItem *arg1 = (wxListItem *) 0 ;
23820 wxColour result;
23821 PyObject * obj0 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self", NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) 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;
d55e5bfc
RD
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 result = ((wxListItem const *)arg1)->GetBackgroundColour();
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 {
23837 wxColour * resultptr;
7449af73 23838 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
23839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23840 }
23841 return resultobj;
23842 fail:
23843 return NULL;
23844}
23845
23846
c32bde28 23847static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23848 PyObject *resultobj = NULL;
d55e5bfc
RD
23849 wxListItem *arg1 = (wxListItem *) 0 ;
23850 wxFont result;
23851 PyObject * obj0 = 0 ;
23852 char *kwnames[] = {
23853 (char *) "self", NULL
23854 };
23855
23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
23857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23859 {
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 result = ((wxListItem const *)arg1)->GetFont();
23862
23863 wxPyEndAllowThreads(__tstate);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 {
23867 wxFont * resultptr;
7449af73 23868 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
23869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
23870 }
23871 return resultobj;
23872 fail:
23873 return NULL;
23874}
23875
23876
c32bde28 23877static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23878 PyObject *resultobj = NULL;
d55e5bfc
RD
23879 wxListItem *arg1 = (wxListItem *) 0 ;
23880 long arg2 ;
23881 PyObject * obj0 = 0 ;
23882 PyObject * obj1 = 0 ;
23883 char *kwnames[] = {
23884 (char *) "self",(char *) "m_mask", NULL
23885 };
23886
23887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23889 if (SWIG_arg_fail(1)) SWIG_fail;
23890 {
7449af73 23891 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23892 if (SWIG_arg_fail(2)) SWIG_fail;
23893 }
d55e5bfc
RD
23894 if (arg1) (arg1)->m_mask = arg2;
23895
23896 Py_INCREF(Py_None); resultobj = Py_None;
23897 return resultobj;
23898 fail:
23899 return NULL;
23900}
23901
23902
c32bde28 23903static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23904 PyObject *resultobj = NULL;
d55e5bfc
RD
23905 wxListItem *arg1 = (wxListItem *) 0 ;
23906 long result;
23907 PyObject * obj0 = 0 ;
23908 char *kwnames[] = {
23909 (char *) "self", NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23915 result = (long) ((arg1)->m_mask);
23916
093d3ff1 23917 {
7449af73 23918 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23919 }
d55e5bfc
RD
23920 return resultobj;
23921 fail:
23922 return NULL;
23923}
23924
23925
c32bde28 23926static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23927 PyObject *resultobj = NULL;
d55e5bfc
RD
23928 wxListItem *arg1 = (wxListItem *) 0 ;
23929 long arg2 ;
23930 PyObject * obj0 = 0 ;
23931 PyObject * obj1 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "self",(char *) "m_itemId", NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23938 if (SWIG_arg_fail(1)) SWIG_fail;
23939 {
7449af73 23940 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23941 if (SWIG_arg_fail(2)) SWIG_fail;
23942 }
d55e5bfc
RD
23943 if (arg1) (arg1)->m_itemId = arg2;
23944
23945 Py_INCREF(Py_None); resultobj = Py_None;
23946 return resultobj;
23947 fail:
23948 return NULL;
23949}
23950
23951
c32bde28 23952static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23953 PyObject *resultobj = NULL;
d55e5bfc
RD
23954 wxListItem *arg1 = (wxListItem *) 0 ;
23955 long result;
23956 PyObject * obj0 = 0 ;
23957 char *kwnames[] = {
23958 (char *) "self", NULL
23959 };
23960
23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23964 result = (long) ((arg1)->m_itemId);
23965
093d3ff1 23966 {
7449af73 23967 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23968 }
d55e5bfc
RD
23969 return resultobj;
23970 fail:
23971 return NULL;
23972}
23973
23974
c32bde28 23975static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23976 PyObject *resultobj = NULL;
d55e5bfc
RD
23977 wxListItem *arg1 = (wxListItem *) 0 ;
23978 int arg2 ;
23979 PyObject * obj0 = 0 ;
23980 PyObject * obj1 = 0 ;
23981 char *kwnames[] = {
23982 (char *) "self",(char *) "m_col", NULL
23983 };
23984
23985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail;
23988 {
7449af73 23989 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23990 if (SWIG_arg_fail(2)) SWIG_fail;
23991 }
d55e5bfc
RD
23992 if (arg1) (arg1)->m_col = arg2;
23993
23994 Py_INCREF(Py_None); resultobj = Py_None;
23995 return resultobj;
23996 fail:
23997 return NULL;
23998}
23999
24000
c32bde28 24001static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24002 PyObject *resultobj = NULL;
d55e5bfc
RD
24003 wxListItem *arg1 = (wxListItem *) 0 ;
24004 int result;
24005 PyObject * obj0 = 0 ;
24006 char *kwnames[] = {
24007 (char *) "self", NULL
24008 };
24009
24010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24013 result = (int) ((arg1)->m_col);
24014
093d3ff1 24015 {
7449af73 24016 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24017 }
d55e5bfc
RD
24018 return resultobj;
24019 fail:
24020 return NULL;
24021}
24022
24023
c32bde28 24024static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24025 PyObject *resultobj = NULL;
d55e5bfc
RD
24026 wxListItem *arg1 = (wxListItem *) 0 ;
24027 long arg2 ;
24028 PyObject * obj0 = 0 ;
24029 PyObject * obj1 = 0 ;
24030 char *kwnames[] = {
24031 (char *) "self",(char *) "m_state", NULL
24032 };
24033
24034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24036 if (SWIG_arg_fail(1)) SWIG_fail;
24037 {
7449af73 24038 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24039 if (SWIG_arg_fail(2)) SWIG_fail;
24040 }
d55e5bfc
RD
24041 if (arg1) (arg1)->m_state = arg2;
24042
24043 Py_INCREF(Py_None); resultobj = Py_None;
24044 return resultobj;
24045 fail:
24046 return NULL;
24047}
24048
24049
c32bde28 24050static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24051 PyObject *resultobj = NULL;
d55e5bfc
RD
24052 wxListItem *arg1 = (wxListItem *) 0 ;
24053 long result;
24054 PyObject * obj0 = 0 ;
24055 char *kwnames[] = {
24056 (char *) "self", NULL
24057 };
24058
24059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24062 result = (long) ((arg1)->m_state);
24063
093d3ff1 24064 {
7449af73 24065 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24066 }
d55e5bfc
RD
24067 return resultobj;
24068 fail:
24069 return NULL;
24070}
24071
24072
c32bde28 24073static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24074 PyObject *resultobj = NULL;
d55e5bfc
RD
24075 wxListItem *arg1 = (wxListItem *) 0 ;
24076 long arg2 ;
24077 PyObject * obj0 = 0 ;
24078 PyObject * obj1 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self",(char *) "m_stateMask", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24085 if (SWIG_arg_fail(1)) SWIG_fail;
24086 {
7449af73 24087 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24088 if (SWIG_arg_fail(2)) SWIG_fail;
24089 }
d55e5bfc
RD
24090 if (arg1) (arg1)->m_stateMask = arg2;
24091
24092 Py_INCREF(Py_None); resultobj = Py_None;
24093 return resultobj;
24094 fail:
24095 return NULL;
24096}
24097
24098
c32bde28 24099static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24100 PyObject *resultobj = NULL;
d55e5bfc
RD
24101 wxListItem *arg1 = (wxListItem *) 0 ;
24102 long result;
24103 PyObject * obj0 = 0 ;
24104 char *kwnames[] = {
24105 (char *) "self", NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24111 result = (long) ((arg1)->m_stateMask);
24112
093d3ff1 24113 {
7449af73 24114 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24115 }
d55e5bfc
RD
24116 return resultobj;
24117 fail:
24118 return NULL;
24119}
24120
24121
c32bde28 24122static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24123 PyObject *resultobj = NULL;
d55e5bfc
RD
24124 wxListItem *arg1 = (wxListItem *) 0 ;
24125 wxString *arg2 = (wxString *) 0 ;
ae8162c8 24126 bool temp2 = false ;
d55e5bfc
RD
24127 PyObject * obj0 = 0 ;
24128 PyObject * obj1 = 0 ;
24129 char *kwnames[] = {
24130 (char *) "self",(char *) "m_text", NULL
24131 };
24132
24133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24135 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24136 {
24137 arg2 = wxString_in_helper(obj1);
24138 if (arg2 == NULL) SWIG_fail;
ae8162c8 24139 temp2 = true;
d55e5bfc
RD
24140 }
24141 if (arg1) (arg1)->m_text = *arg2;
24142
24143 Py_INCREF(Py_None); resultobj = Py_None;
24144 {
24145 if (temp2)
24146 delete arg2;
24147 }
24148 return resultobj;
24149 fail:
24150 {
24151 if (temp2)
24152 delete arg2;
24153 }
24154 return NULL;
24155}
24156
24157
c32bde28 24158static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24159 PyObject *resultobj = NULL;
d55e5bfc
RD
24160 wxListItem *arg1 = (wxListItem *) 0 ;
24161 wxString *result;
24162 PyObject * obj0 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24170 result = (wxString *)& ((arg1)->m_text);
24171
24172 {
24173#if wxUSE_UNICODE
24174 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24175#else
24176 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24177#endif
24178 }
24179 return resultobj;
24180 fail:
24181 return NULL;
24182}
24183
24184
c32bde28 24185static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24186 PyObject *resultobj = NULL;
d55e5bfc
RD
24187 wxListItem *arg1 = (wxListItem *) 0 ;
24188 int arg2 ;
24189 PyObject * obj0 = 0 ;
24190 PyObject * obj1 = 0 ;
24191 char *kwnames[] = {
24192 (char *) "self",(char *) "m_image", NULL
24193 };
24194
24195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24197 if (SWIG_arg_fail(1)) SWIG_fail;
24198 {
7449af73 24199 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24200 if (SWIG_arg_fail(2)) SWIG_fail;
24201 }
d55e5bfc
RD
24202 if (arg1) (arg1)->m_image = arg2;
24203
24204 Py_INCREF(Py_None); resultobj = Py_None;
24205 return resultobj;
24206 fail:
24207 return NULL;
24208}
24209
24210
c32bde28 24211static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24212 PyObject *resultobj = NULL;
d55e5bfc
RD
24213 wxListItem *arg1 = (wxListItem *) 0 ;
24214 int result;
24215 PyObject * obj0 = 0 ;
24216 char *kwnames[] = {
24217 (char *) "self", NULL
24218 };
24219
24220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24223 result = (int) ((arg1)->m_image);
24224
093d3ff1 24225 {
7449af73 24226 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24227 }
d55e5bfc
RD
24228 return resultobj;
24229 fail:
24230 return NULL;
24231}
24232
24233
c32bde28 24234static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24235 PyObject *resultobj = NULL;
d55e5bfc
RD
24236 wxListItem *arg1 = (wxListItem *) 0 ;
24237 long arg2 ;
24238 PyObject * obj0 = 0 ;
24239 PyObject * obj1 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self",(char *) "m_data", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail;
24247 {
7449af73 24248 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24249 if (SWIG_arg_fail(2)) SWIG_fail;
24250 }
d55e5bfc
RD
24251 if (arg1) (arg1)->m_data = arg2;
24252
24253 Py_INCREF(Py_None); resultobj = Py_None;
24254 return resultobj;
24255 fail:
24256 return NULL;
24257}
24258
24259
c32bde28 24260static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24261 PyObject *resultobj = NULL;
d55e5bfc
RD
24262 wxListItem *arg1 = (wxListItem *) 0 ;
24263 long result;
24264 PyObject * obj0 = 0 ;
24265 char *kwnames[] = {
24266 (char *) "self", NULL
24267 };
24268
24269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24272 result = (long) ((arg1)->m_data);
24273
093d3ff1 24274 {
7449af73 24275 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24276 }
d55e5bfc
RD
24277 return resultobj;
24278 fail:
24279 return NULL;
24280}
24281
24282
c32bde28 24283static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24284 PyObject *resultobj = NULL;
d55e5bfc
RD
24285 wxListItem *arg1 = (wxListItem *) 0 ;
24286 int arg2 ;
24287 PyObject * obj0 = 0 ;
24288 PyObject * obj1 = 0 ;
24289 char *kwnames[] = {
24290 (char *) "self",(char *) "m_format", NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24295 if (SWIG_arg_fail(1)) SWIG_fail;
24296 {
7449af73 24297 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24298 if (SWIG_arg_fail(2)) SWIG_fail;
24299 }
d55e5bfc
RD
24300 if (arg1) (arg1)->m_format = arg2;
24301
24302 Py_INCREF(Py_None); resultobj = Py_None;
24303 return resultobj;
24304 fail:
24305 return NULL;
24306}
24307
24308
c32bde28 24309static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24310 PyObject *resultobj = NULL;
d55e5bfc
RD
24311 wxListItem *arg1 = (wxListItem *) 0 ;
24312 int result;
24313 PyObject * obj0 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24321 result = (int) ((arg1)->m_format);
24322
093d3ff1 24323 {
7449af73 24324 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24325 }
d55e5bfc
RD
24326 return resultobj;
24327 fail:
24328 return NULL;
24329}
24330
24331
c32bde28 24332static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24333 PyObject *resultobj = NULL;
d55e5bfc
RD
24334 wxListItem *arg1 = (wxListItem *) 0 ;
24335 int arg2 ;
24336 PyObject * obj0 = 0 ;
24337 PyObject * obj1 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "self",(char *) "m_width", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24344 if (SWIG_arg_fail(1)) SWIG_fail;
24345 {
7449af73 24346 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24347 if (SWIG_arg_fail(2)) SWIG_fail;
24348 }
d55e5bfc
RD
24349 if (arg1) (arg1)->m_width = arg2;
24350
24351 Py_INCREF(Py_None); resultobj = Py_None;
24352 return resultobj;
24353 fail:
24354 return NULL;
24355}
24356
24357
c32bde28 24358static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24359 PyObject *resultobj = NULL;
d55e5bfc
RD
24360 wxListItem *arg1 = (wxListItem *) 0 ;
24361 int result;
24362 PyObject * obj0 = 0 ;
24363 char *kwnames[] = {
24364 (char *) "self", NULL
24365 };
24366
24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24370 result = (int) ((arg1)->m_width);
24371
093d3ff1 24372 {
7449af73 24373 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24374 }
d55e5bfc
RD
24375 return resultobj;
24376 fail:
24377 return NULL;
24378}
24379
24380
c32bde28 24381static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24382 PyObject *obj;
24383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
24385 Py_INCREF(obj);
24386 return Py_BuildValue((char *)"");
24387}
c32bde28 24388static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24389 PyObject *resultobj = NULL;
d55e5bfc
RD
24390 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24391 int arg2 = (int) 0 ;
24392 wxListEvent *result;
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
24395 char *kwnames[] = {
24396 (char *) "commandType",(char *) "id", NULL
24397 };
24398
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
24400 if (obj0) {
093d3ff1 24401 {
7449af73 24402 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
24403 if (SWIG_arg_fail(1)) SWIG_fail;
24404 }
d55e5bfc
RD
24405 }
24406 if (obj1) {
093d3ff1 24407 {
7449af73 24408 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24409 if (SWIG_arg_fail(2)) SWIG_fail;
24410 }
d55e5bfc
RD
24411 }
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 result = (wxListEvent *)new wxListEvent(arg1,arg2);
24415
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
24419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
24420 return resultobj;
24421 fail:
24422 return NULL;
24423}
24424
24425
c32bde28 24426static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24427 PyObject *resultobj = NULL;
d55e5bfc
RD
24428 wxListEvent *arg1 = (wxListEvent *) 0 ;
24429 int arg2 ;
24430 PyObject * obj0 = 0 ;
24431 PyObject * obj1 = 0 ;
24432 char *kwnames[] = {
24433 (char *) "self",(char *) "m_code", NULL
24434 };
24435
24436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24438 if (SWIG_arg_fail(1)) SWIG_fail;
24439 {
7449af73 24440 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24441 if (SWIG_arg_fail(2)) SWIG_fail;
24442 }
d55e5bfc
RD
24443 if (arg1) (arg1)->m_code = arg2;
24444
24445 Py_INCREF(Py_None); resultobj = Py_None;
24446 return resultobj;
24447 fail:
24448 return NULL;
24449}
24450
24451
c32bde28 24452static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24453 PyObject *resultobj = NULL;
d55e5bfc
RD
24454 wxListEvent *arg1 = (wxListEvent *) 0 ;
24455 int result;
24456 PyObject * obj0 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24464 result = (int) ((arg1)->m_code);
24465
093d3ff1 24466 {
7449af73 24467 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24468 }
d55e5bfc
RD
24469 return resultobj;
24470 fail:
24471 return NULL;
24472}
24473
24474
c32bde28 24475static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24476 PyObject *resultobj = NULL;
d55e5bfc
RD
24477 wxListEvent *arg1 = (wxListEvent *) 0 ;
24478 long arg2 ;
24479 PyObject * obj0 = 0 ;
24480 PyObject * obj1 = 0 ;
24481 char *kwnames[] = {
24482 (char *) "self",(char *) "m_oldItemIndex", NULL
24483 };
24484
24485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24487 if (SWIG_arg_fail(1)) SWIG_fail;
24488 {
7449af73 24489 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24490 if (SWIG_arg_fail(2)) SWIG_fail;
24491 }
d55e5bfc
RD
24492 if (arg1) (arg1)->m_oldItemIndex = arg2;
24493
24494 Py_INCREF(Py_None); resultobj = Py_None;
24495 return resultobj;
24496 fail:
24497 return NULL;
24498}
24499
24500
c32bde28 24501static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24502 PyObject *resultobj = NULL;
d55e5bfc
RD
24503 wxListEvent *arg1 = (wxListEvent *) 0 ;
24504 long result;
24505 PyObject * obj0 = 0 ;
24506 char *kwnames[] = {
24507 (char *) "self", NULL
24508 };
24509
24510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24513 result = (long) ((arg1)->m_oldItemIndex);
24514
093d3ff1 24515 {
7449af73 24516 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24517 }
d55e5bfc
RD
24518 return resultobj;
24519 fail:
24520 return NULL;
24521}
24522
24523
c32bde28 24524static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24525 PyObject *resultobj = NULL;
d55e5bfc
RD
24526 wxListEvent *arg1 = (wxListEvent *) 0 ;
24527 long arg2 ;
24528 PyObject * obj0 = 0 ;
24529 PyObject * obj1 = 0 ;
24530 char *kwnames[] = {
24531 (char *) "self",(char *) "m_itemIndex", NULL
24532 };
24533
24534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail;
24537 {
7449af73 24538 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24539 if (SWIG_arg_fail(2)) SWIG_fail;
24540 }
d55e5bfc
RD
24541 if (arg1) (arg1)->m_itemIndex = arg2;
24542
24543 Py_INCREF(Py_None); resultobj = Py_None;
24544 return resultobj;
24545 fail:
24546 return NULL;
24547}
24548
24549
c32bde28 24550static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24551 PyObject *resultobj = NULL;
d55e5bfc
RD
24552 wxListEvent *arg1 = (wxListEvent *) 0 ;
24553 long result;
24554 PyObject * obj0 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24562 result = (long) ((arg1)->m_itemIndex);
24563
093d3ff1 24564 {
7449af73 24565 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24566 }
d55e5bfc
RD
24567 return resultobj;
24568 fail:
24569 return NULL;
24570}
24571
24572
c32bde28 24573static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24574 PyObject *resultobj = NULL;
d55e5bfc
RD
24575 wxListEvent *arg1 = (wxListEvent *) 0 ;
24576 int arg2 ;
24577 PyObject * obj0 = 0 ;
24578 PyObject * obj1 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self",(char *) "m_col", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24585 if (SWIG_arg_fail(1)) SWIG_fail;
24586 {
7449af73 24587 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24588 if (SWIG_arg_fail(2)) SWIG_fail;
24589 }
d55e5bfc
RD
24590 if (arg1) (arg1)->m_col = arg2;
24591
24592 Py_INCREF(Py_None); resultobj = Py_None;
24593 return resultobj;
24594 fail:
24595 return NULL;
24596}
24597
24598
c32bde28 24599static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24600 PyObject *resultobj = NULL;
d55e5bfc
RD
24601 wxListEvent *arg1 = (wxListEvent *) 0 ;
24602 int result;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24611 result = (int) ((arg1)->m_col);
24612
093d3ff1 24613 {
7449af73 24614 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24615 }
d55e5bfc
RD
24616 return resultobj;
24617 fail:
24618 return NULL;
24619}
24620
24621
c32bde28 24622static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24623 PyObject *resultobj = NULL;
d55e5bfc
RD
24624 wxListEvent *arg1 = (wxListEvent *) 0 ;
24625 wxPoint *arg2 = (wxPoint *) 0 ;
24626 PyObject * obj0 = 0 ;
24627 PyObject * obj1 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self",(char *) "m_pointDrag", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail;
24635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
24636 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24637 if (arg1) (arg1)->m_pointDrag = *arg2;
24638
24639 Py_INCREF(Py_None); resultobj = Py_None;
24640 return resultobj;
24641 fail:
24642 return NULL;
24643}
24644
24645
c32bde28 24646static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24647 PyObject *resultobj = NULL;
d55e5bfc
RD
24648 wxListEvent *arg1 = (wxListEvent *) 0 ;
24649 wxPoint *result;
24650 PyObject * obj0 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "self", NULL
24653 };
24654
24655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24658 result = (wxPoint *)& ((arg1)->m_pointDrag);
24659
24660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
24661 return resultobj;
24662 fail:
24663 return NULL;
24664}
24665
24666
c32bde28 24667static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24668 PyObject *resultobj = NULL;
d55e5bfc
RD
24669 wxListEvent *arg1 = (wxListEvent *) 0 ;
24670 wxListItem *result;
24671 PyObject * obj0 = 0 ;
24672 char *kwnames[] = {
24673 (char *) "self", NULL
24674 };
24675
24676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24679 result = (wxListItem *)& ((arg1)->m_item);
24680
24681 {
7e08d4ef 24682 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24683 }
24684 return resultobj;
24685 fail:
24686 return NULL;
24687}
24688
24689
c32bde28 24690static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24691 PyObject *resultobj = NULL;
d55e5bfc
RD
24692 wxListEvent *arg1 = (wxListEvent *) 0 ;
24693 int result;
24694 PyObject * obj0 = 0 ;
24695 char *kwnames[] = {
24696 (char *) "self", NULL
24697 };
24698
24699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
24700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 result = (int)(arg1)->GetKeyCode();
24705
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
093d3ff1 24709 {
7449af73 24710 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24711 }
d55e5bfc
RD
24712 return resultobj;
24713 fail:
24714 return NULL;
24715}
24716
24717
c32bde28 24718static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24719 PyObject *resultobj = NULL;
d55e5bfc
RD
24720 wxListEvent *arg1 = (wxListEvent *) 0 ;
24721 long result;
24722 PyObject * obj0 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
24728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24730 {
24731 PyThreadState* __tstate = wxPyBeginAllowThreads();
24732 result = (long)(arg1)->GetIndex();
24733
24734 wxPyEndAllowThreads(__tstate);
24735 if (PyErr_Occurred()) SWIG_fail;
24736 }
093d3ff1 24737 {
7449af73 24738 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24739 }
d55e5bfc
RD
24740 return resultobj;
24741 fail:
24742 return NULL;
24743}
24744
24745
c32bde28 24746static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24747 PyObject *resultobj = NULL;
d55e5bfc
RD
24748 wxListEvent *arg1 = (wxListEvent *) 0 ;
24749 int result;
24750 PyObject * obj0 = 0 ;
24751 char *kwnames[] = {
24752 (char *) "self", NULL
24753 };
24754
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
24756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24758 {
24759 PyThreadState* __tstate = wxPyBeginAllowThreads();
24760 result = (int)(arg1)->GetColumn();
24761
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
093d3ff1 24765 {
7449af73 24766 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24767 }
d55e5bfc
RD
24768 return resultobj;
24769 fail:
24770 return NULL;
24771}
24772
24773
c32bde28 24774static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24775 PyObject *resultobj = NULL;
d55e5bfc
RD
24776 wxListEvent *arg1 = (wxListEvent *) 0 ;
24777 wxPoint result;
24778 PyObject * obj0 = 0 ;
24779 char *kwnames[] = {
24780 (char *) "self", NULL
24781 };
24782
24783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
24784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 result = (arg1)->GetPoint();
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 {
24794 wxPoint * resultptr;
7449af73 24795 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
24796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24797 }
24798 return resultobj;
24799 fail:
24800 return NULL;
24801}
24802
24803
c32bde28 24804static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24805 PyObject *resultobj = NULL;
d55e5bfc
RD
24806 wxListEvent *arg1 = (wxListEvent *) 0 ;
24807 wxString *result;
24808 PyObject * obj0 = 0 ;
24809 char *kwnames[] = {
24810 (char *) "self", NULL
24811 };
24812
24813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
24814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 {
24819 wxString const &_result_ref = (arg1)->GetLabel();
24820 result = (wxString *) &_result_ref;
24821 }
24822
24823 wxPyEndAllowThreads(__tstate);
24824 if (PyErr_Occurred()) SWIG_fail;
24825 }
24826 {
24827#if wxUSE_UNICODE
24828 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24829#else
24830 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24831#endif
24832 }
24833 return resultobj;
24834 fail:
24835 return NULL;
24836}
24837
24838
c32bde28 24839static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24840 PyObject *resultobj = NULL;
d55e5bfc
RD
24841 wxListEvent *arg1 = (wxListEvent *) 0 ;
24842 wxString *result;
24843 PyObject * obj0 = 0 ;
24844 char *kwnames[] = {
24845 (char *) "self", NULL
24846 };
24847
24848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
24849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24850 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 {
24854 wxString const &_result_ref = (arg1)->GetText();
24855 result = (wxString *) &_result_ref;
24856 }
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 {
24862#if wxUSE_UNICODE
24863 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24864#else
24865 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24866#endif
24867 }
24868 return resultobj;
24869 fail:
24870 return NULL;
24871}
24872
24873
c32bde28 24874static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24875 PyObject *resultobj = NULL;
d55e5bfc
RD
24876 wxListEvent *arg1 = (wxListEvent *) 0 ;
24877 int result;
24878 PyObject * obj0 = 0 ;
24879 char *kwnames[] = {
24880 (char *) "self", NULL
24881 };
24882
24883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24886 {
24887 PyThreadState* __tstate = wxPyBeginAllowThreads();
24888 result = (int)(arg1)->GetImage();
24889
24890 wxPyEndAllowThreads(__tstate);
24891 if (PyErr_Occurred()) SWIG_fail;
24892 }
093d3ff1 24893 {
7449af73 24894 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24895 }
d55e5bfc
RD
24896 return resultobj;
24897 fail:
24898 return NULL;
24899}
24900
24901
c32bde28 24902static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24903 PyObject *resultobj = NULL;
d55e5bfc
RD
24904 wxListEvent *arg1 = (wxListEvent *) 0 ;
24905 long result;
24906 PyObject * obj0 = 0 ;
24907 char *kwnames[] = {
24908 (char *) "self", NULL
24909 };
24910
24911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 result = (long)(arg1)->GetData();
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
093d3ff1 24921 {
7449af73 24922 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24923 }
d55e5bfc
RD
24924 return resultobj;
24925 fail:
24926 return NULL;
24927}
24928
24929
c32bde28 24930static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24931 PyObject *resultobj = NULL;
d55e5bfc
RD
24932 wxListEvent *arg1 = (wxListEvent *) 0 ;
24933 long result;
24934 PyObject * obj0 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
24940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 result = (long)(arg1)->GetMask();
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
093d3ff1 24949 {
7449af73 24950 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24951 }
d55e5bfc
RD
24952 return resultobj;
24953 fail:
24954 return NULL;
24955}
24956
24957
c32bde28 24958static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24959 PyObject *resultobj = NULL;
d55e5bfc
RD
24960 wxListEvent *arg1 = (wxListEvent *) 0 ;
24961 wxListItem *result;
24962 PyObject * obj0 = 0 ;
24963 char *kwnames[] = {
24964 (char *) "self", NULL
24965 };
24966
24967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
24968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24970 {
24971 PyThreadState* __tstate = wxPyBeginAllowThreads();
24972 {
24973 wxListItem const &_result_ref = (arg1)->GetItem();
24974 result = (wxListItem *) &_result_ref;
24975 }
24976
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
24981 return resultobj;
24982 fail:
24983 return NULL;
24984}
24985
24986
c32bde28 24987static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24988 PyObject *resultobj = NULL;
d55e5bfc
RD
24989 wxListEvent *arg1 = (wxListEvent *) 0 ;
24990 long result;
24991 PyObject * obj0 = 0 ;
24992 char *kwnames[] = {
24993 (char *) "self", NULL
24994 };
24995
24996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
24997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 result = (long)(arg1)->GetCacheFrom();
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
093d3ff1 25006 {
7449af73 25007 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 25008 }
d55e5bfc
RD
25009 return resultobj;
25010 fail:
25011 return NULL;
25012}
25013
25014
c32bde28 25015static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25016 PyObject *resultobj = NULL;
d55e5bfc
RD
25017 wxListEvent *arg1 = (wxListEvent *) 0 ;
25018 long result;
25019 PyObject * obj0 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (long)(arg1)->GetCacheTo();
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
093d3ff1 25034 {
7449af73 25035 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 25036 }
d55e5bfc
RD
25037 return resultobj;
25038 fail:
25039 return NULL;
25040}
25041
25042
c32bde28 25043static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25044 PyObject *resultobj = NULL;
d55e5bfc
RD
25045 wxListEvent *arg1 = (wxListEvent *) 0 ;
25046 bool result;
25047 PyObject * obj0 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self", NULL
25050 };
25051
25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
25053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
25058
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 {
25063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25064 }
25065 return resultobj;
25066 fail:
25067 return NULL;
25068}
25069
25070
c32bde28 25071static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25072 PyObject *resultobj = NULL;
d55e5bfc
RD
25073 wxListEvent *arg1 = (wxListEvent *) 0 ;
25074 bool arg2 ;
25075 PyObject * obj0 = 0 ;
25076 PyObject * obj1 = 0 ;
25077 char *kwnames[] = {
25078 (char *) "self",(char *) "editCancelled", NULL
25079 };
25080
25081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
25083 if (SWIG_arg_fail(1)) SWIG_fail;
25084 {
7449af73 25085 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
25086 if (SWIG_arg_fail(2)) SWIG_fail;
25087 }
d55e5bfc
RD
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 (arg1)->SetEditCanceled(arg2);
25091
25092 wxPyEndAllowThreads(__tstate);
25093 if (PyErr_Occurred()) SWIG_fail;
25094 }
25095 Py_INCREF(Py_None); resultobj = Py_None;
25096 return resultobj;
25097 fail:
25098 return NULL;
25099}
25100
25101
c32bde28 25102static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25103 PyObject *obj;
25104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25105 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
25106 Py_INCREF(obj);
25107 return Py_BuildValue((char *)"");
25108}
c32bde28 25109static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25110 PyObject *resultobj = NULL;
d55e5bfc
RD
25111 wxWindow *arg1 = (wxWindow *) 0 ;
25112 int arg2 = (int) -1 ;
25113 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25114 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25115 wxSize const &arg4_defvalue = wxDefaultSize ;
25116 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25117 long arg5 = (long) wxLC_ICON ;
25118 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25119 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25120 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
25121 wxString *arg7 = (wxString *) &arg7_defvalue ;
25122 wxPyListCtrl *result;
25123 wxPoint temp3 ;
25124 wxSize temp4 ;
ae8162c8 25125 bool temp7 = false ;
d55e5bfc
RD
25126 PyObject * obj0 = 0 ;
25127 PyObject * obj1 = 0 ;
25128 PyObject * obj2 = 0 ;
25129 PyObject * obj3 = 0 ;
25130 PyObject * obj4 = 0 ;
25131 PyObject * obj5 = 0 ;
25132 PyObject * obj6 = 0 ;
25133 char *kwnames[] = {
25134 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25135 };
25136
25137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25140 if (obj1) {
093d3ff1 25141 {
7449af73 25142 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25143 if (SWIG_arg_fail(2)) SWIG_fail;
25144 }
d55e5bfc
RD
25145 }
25146 if (obj2) {
25147 {
25148 arg3 = &temp3;
25149 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25150 }
25151 }
25152 if (obj3) {
25153 {
25154 arg4 = &temp4;
25155 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25156 }
25157 }
25158 if (obj4) {
093d3ff1 25159 {
7449af73 25160 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
25161 if (SWIG_arg_fail(5)) SWIG_fail;
25162 }
d55e5bfc
RD
25163 }
25164 if (obj5) {
093d3ff1
RD
25165 {
25166 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25167 if (SWIG_arg_fail(6)) SWIG_fail;
25168 if (arg6 == NULL) {
25169 SWIG_null_ref("wxValidator");
25170 }
25171 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
25172 }
25173 }
25174 if (obj6) {
25175 {
25176 arg7 = wxString_in_helper(obj6);
25177 if (arg7 == NULL) SWIG_fail;
ae8162c8 25178 temp7 = true;
d55e5bfc
RD
25179 }
25180 }
25181 {
0439c23b 25182 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25185
25186 wxPyEndAllowThreads(__tstate);
110da5b0 25187 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25188 }
25189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25190 {
25191 if (temp7)
25192 delete arg7;
25193 }
25194 return resultobj;
25195 fail:
25196 {
25197 if (temp7)
25198 delete arg7;
25199 }
25200 return NULL;
25201}
25202
25203
c32bde28 25204static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25205 PyObject *resultobj = NULL;
d55e5bfc
RD
25206 wxPyListCtrl *result;
25207 char *kwnames[] = {
25208 NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
25212 {
0439c23b 25213 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 result = (wxPyListCtrl *)new wxPyListCtrl();
25216
25217 wxPyEndAllowThreads(__tstate);
110da5b0 25218 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25219 }
25220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25221 return resultobj;
25222 fail:
25223 return NULL;
25224}
25225
25226
c32bde28 25227static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25228 PyObject *resultobj = NULL;
d55e5bfc
RD
25229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25230 wxWindow *arg2 = (wxWindow *) 0 ;
25231 int arg3 = (int) -1 ;
25232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25234 wxSize const &arg5_defvalue = wxDefaultSize ;
25235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25236 long arg6 = (long) wxLC_ICON ;
25237 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25238 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25239 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
25240 wxString *arg8 = (wxString *) &arg8_defvalue ;
25241 bool result;
25242 wxPoint temp4 ;
25243 wxSize temp5 ;
ae8162c8 25244 bool temp8 = false ;
d55e5bfc
RD
25245 PyObject * obj0 = 0 ;
25246 PyObject * obj1 = 0 ;
25247 PyObject * obj2 = 0 ;
25248 PyObject * obj3 = 0 ;
25249 PyObject * obj4 = 0 ;
25250 PyObject * obj5 = 0 ;
25251 PyObject * obj6 = 0 ;
25252 PyObject * obj7 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
25258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail;
25260 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25261 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 25262 if (obj2) {
093d3ff1 25263 {
7449af73 25264 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25265 if (SWIG_arg_fail(3)) SWIG_fail;
25266 }
d55e5bfc
RD
25267 }
25268 if (obj3) {
25269 {
25270 arg4 = &temp4;
25271 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25272 }
25273 }
25274 if (obj4) {
25275 {
25276 arg5 = &temp5;
25277 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25278 }
25279 }
25280 if (obj5) {
093d3ff1 25281 {
7449af73 25282 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
25283 if (SWIG_arg_fail(6)) SWIG_fail;
25284 }
d55e5bfc
RD
25285 }
25286 if (obj6) {
093d3ff1
RD
25287 {
25288 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25289 if (SWIG_arg_fail(7)) SWIG_fail;
25290 if (arg7 == NULL) {
25291 SWIG_null_ref("wxValidator");
25292 }
25293 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
25294 }
25295 }
25296 if (obj7) {
25297 {
25298 arg8 = wxString_in_helper(obj7);
25299 if (arg8 == NULL) SWIG_fail;
ae8162c8 25300 temp8 = true;
d55e5bfc
RD
25301 }
25302 }
25303 {
25304 PyThreadState* __tstate = wxPyBeginAllowThreads();
25305 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25306
25307 wxPyEndAllowThreads(__tstate);
25308 if (PyErr_Occurred()) SWIG_fail;
25309 }
25310 {
25311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25312 }
25313 {
25314 if (temp8)
25315 delete arg8;
25316 }
25317 return resultobj;
25318 fail:
25319 {
25320 if (temp8)
25321 delete arg8;
25322 }
25323 return NULL;
25324}
25325
25326
c32bde28 25327static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25328 PyObject *resultobj = NULL;
d55e5bfc
RD
25329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25330 PyObject *arg2 = (PyObject *) 0 ;
25331 PyObject *arg3 = (PyObject *) 0 ;
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj1 = 0 ;
25334 PyObject * obj2 = 0 ;
25335 char *kwnames[] = {
25336 (char *) "self",(char *) "self",(char *) "_class", NULL
25337 };
25338
25339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25342 arg2 = obj1;
25343 arg3 = obj2;
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 (arg1)->_setCallbackInfo(arg2,arg3);
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 Py_INCREF(Py_None); resultobj = Py_None;
25352 return resultobj;
25353 fail:
25354 return NULL;
25355}
25356
25357
c32bde28 25358static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25359 PyObject *resultobj = NULL;
d55e5bfc
RD
25360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25361 wxColour *arg2 = 0 ;
25362 bool result;
25363 wxColour temp2 ;
25364 PyObject * obj0 = 0 ;
25365 PyObject * obj1 = 0 ;
25366 char *kwnames[] = {
25367 (char *) "self",(char *) "col", NULL
25368 };
25369
25370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25373 {
25374 arg2 = &temp2;
25375 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25376 }
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25380
25381 wxPyEndAllowThreads(__tstate);
25382 if (PyErr_Occurred()) SWIG_fail;
25383 }
25384 {
25385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25386 }
25387 return resultobj;
25388 fail:
25389 return NULL;
25390}
25391
25392
c32bde28 25393static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25394 PyObject *resultobj = NULL;
d55e5bfc
RD
25395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25396 wxColour *arg2 = 0 ;
25397 bool result;
25398 wxColour temp2 ;
25399 PyObject * obj0 = 0 ;
25400 PyObject * obj1 = 0 ;
25401 char *kwnames[] = {
25402 (char *) "self",(char *) "col", NULL
25403 };
25404
25405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25408 {
25409 arg2 = &temp2;
25410 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25411 }
25412 {
25413 PyThreadState* __tstate = wxPyBeginAllowThreads();
25414 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25415
25416 wxPyEndAllowThreads(__tstate);
25417 if (PyErr_Occurred()) SWIG_fail;
25418 }
25419 {
25420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25421 }
25422 return resultobj;
25423 fail:
25424 return NULL;
25425}
25426
25427
c32bde28 25428static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25429 PyObject *resultobj = NULL;
d55e5bfc
RD
25430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25431 int arg2 ;
25432 wxListItem *result;
25433 PyObject * obj0 = 0 ;
25434 PyObject * obj1 = 0 ;
25435 char *kwnames[] = {
25436 (char *) "self",(char *) "col", NULL
25437 };
25438
25439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail;
25442 {
7449af73 25443 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25444 if (SWIG_arg_fail(2)) SWIG_fail;
25445 }
d55e5bfc
RD
25446 {
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
25449
25450 wxPyEndAllowThreads(__tstate);
25451 if (PyErr_Occurred()) SWIG_fail;
25452 }
25453 {
7e08d4ef 25454 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25455 }
25456 return resultobj;
25457 fail:
25458 return NULL;
25459}
25460
25461
c32bde28 25462static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25463 PyObject *resultobj = NULL;
d55e5bfc
RD
25464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25465 int arg2 ;
25466 wxListItem *arg3 = 0 ;
25467 bool result;
25468 PyObject * obj0 = 0 ;
25469 PyObject * obj1 = 0 ;
25470 PyObject * obj2 = 0 ;
25471 char *kwnames[] = {
25472 (char *) "self",(char *) "col",(char *) "item", NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail;
25478 {
7449af73 25479 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25480 if (SWIG_arg_fail(2)) SWIG_fail;
25481 }
25482 {
25483 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25484 if (SWIG_arg_fail(3)) SWIG_fail;
25485 if (arg3 == NULL) {
25486 SWIG_null_ref("wxListItem");
25487 }
25488 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25489 }
25490 {
25491 PyThreadState* __tstate = wxPyBeginAllowThreads();
25492 result = (bool)(arg1)->SetColumn(arg2,*arg3);
25493
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 {
25498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25499 }
25500 return resultobj;
25501 fail:
25502 return NULL;
25503}
25504
25505
c32bde28 25506static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25507 PyObject *resultobj = NULL;
d55e5bfc
RD
25508 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25509 int arg2 ;
25510 int result;
25511 PyObject * obj0 = 0 ;
25512 PyObject * obj1 = 0 ;
25513 char *kwnames[] = {
25514 (char *) "self",(char *) "col", NULL
25515 };
25516
25517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail;
25520 {
7449af73 25521 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25522 if (SWIG_arg_fail(2)) SWIG_fail;
25523 }
d55e5bfc
RD
25524 {
25525 PyThreadState* __tstate = wxPyBeginAllowThreads();
25526 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
25527
25528 wxPyEndAllowThreads(__tstate);
25529 if (PyErr_Occurred()) SWIG_fail;
25530 }
093d3ff1 25531 {
7449af73 25532 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25533 }
d55e5bfc
RD
25534 return resultobj;
25535 fail:
25536 return NULL;
25537}
25538
25539
c32bde28 25540static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25541 PyObject *resultobj = NULL;
d55e5bfc
RD
25542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25543 int arg2 ;
25544 int arg3 ;
25545 bool result;
25546 PyObject * obj0 = 0 ;
25547 PyObject * obj1 = 0 ;
25548 PyObject * obj2 = 0 ;
25549 char *kwnames[] = {
25550 (char *) "self",(char *) "col",(char *) "width", NULL
25551 };
25552
25553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail;
25556 {
7449af73 25557 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25558 if (SWIG_arg_fail(2)) SWIG_fail;
25559 }
25560 {
7449af73 25561 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25562 if (SWIG_arg_fail(3)) SWIG_fail;
25563 }
d55e5bfc
RD
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
25567
25568 wxPyEndAllowThreads(__tstate);
25569 if (PyErr_Occurred()) SWIG_fail;
25570 }
25571 {
25572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25573 }
25574 return resultobj;
25575 fail:
25576 return NULL;
25577}
25578
25579
c32bde28 25580static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25581 PyObject *resultobj = NULL;
d55e5bfc
RD
25582 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25583 int result;
25584 PyObject * obj0 = 0 ;
25585 char *kwnames[] = {
25586 (char *) "self", NULL
25587 };
25588
25589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
25590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
25595
25596 wxPyEndAllowThreads(__tstate);
25597 if (PyErr_Occurred()) SWIG_fail;
25598 }
093d3ff1 25599 {
7449af73 25600 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25601 }
d55e5bfc
RD
25602 return resultobj;
25603 fail:
25604 return NULL;
25605}
25606
25607
c32bde28 25608static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25609 PyObject *resultobj = NULL;
d55e5bfc
RD
25610 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25611 wxRect result;
25612 PyObject * obj0 = 0 ;
25613 char *kwnames[] = {
25614 (char *) "self", NULL
25615 };
25616
25617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
25618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25620 {
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
25622 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
25623
25624 wxPyEndAllowThreads(__tstate);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 {
25628 wxRect * resultptr;
7449af73 25629 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
25630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25631 }
25632 return resultobj;
25633 fail:
25634 return NULL;
25635}
25636
25637
c32bde28 25638static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25639 PyObject *resultobj = NULL;
d55e5bfc
RD
25640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25641 wxTextCtrl *result;
25642 PyObject * obj0 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "self", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 {
412d302d 25658 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25659 }
25660 return resultobj;
25661 fail:
25662 return NULL;
25663}
25664
25665
c32bde28 25666static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25667 PyObject *resultobj = NULL;
d55e5bfc
RD
25668 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25669 long arg2 ;
25670 int arg3 = (int) 0 ;
25671 wxListItem *result;
25672 PyObject * obj0 = 0 ;
25673 PyObject * obj1 = 0 ;
25674 PyObject * obj2 = 0 ;
25675 char *kwnames[] = {
25676 (char *) "self",(char *) "itemId",(char *) "col", NULL
25677 };
25678
25679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25681 if (SWIG_arg_fail(1)) SWIG_fail;
25682 {
7449af73 25683 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25684 if (SWIG_arg_fail(2)) SWIG_fail;
25685 }
d55e5bfc 25686 if (obj2) {
093d3ff1 25687 {
7449af73 25688 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25689 if (SWIG_arg_fail(3)) SWIG_fail;
25690 }
d55e5bfc
RD
25691 }
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 {
7e08d4ef 25700 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25701 }
25702 return resultobj;
25703 fail:
25704 return NULL;
25705}
25706
25707
c32bde28 25708static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25709 PyObject *resultobj = NULL;
d55e5bfc
RD
25710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25711 wxListItem *arg2 = 0 ;
25712 bool result;
25713 PyObject * obj0 = 0 ;
25714 PyObject * obj1 = 0 ;
25715 char *kwnames[] = {
25716 (char *) "self",(char *) "info", NULL
25717 };
25718
25719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25721 if (SWIG_arg_fail(1)) SWIG_fail;
25722 {
25723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25724 if (SWIG_arg_fail(2)) SWIG_fail;
25725 if (arg2 == NULL) {
25726 SWIG_null_ref("wxListItem");
25727 }
25728 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25729 }
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 result = (bool)(arg1)->SetItem(*arg2);
25733
25734 wxPyEndAllowThreads(__tstate);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 {
25738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25739 }
25740 return resultobj;
25741 fail:
25742 return NULL;
25743}
25744
25745
c32bde28 25746static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25747 PyObject *resultobj = NULL;
d55e5bfc
RD
25748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25749 long arg2 ;
25750 int arg3 ;
25751 wxString *arg4 = 0 ;
25752 int arg5 = (int) -1 ;
25753 long result;
ae8162c8 25754 bool temp4 = false ;
d55e5bfc
RD
25755 PyObject * obj0 = 0 ;
25756 PyObject * obj1 = 0 ;
25757 PyObject * obj2 = 0 ;
25758 PyObject * obj3 = 0 ;
25759 PyObject * obj4 = 0 ;
25760 char *kwnames[] = {
25761 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25762 };
25763
25764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
25765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25766 if (SWIG_arg_fail(1)) SWIG_fail;
25767 {
7449af73 25768 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25769 if (SWIG_arg_fail(2)) SWIG_fail;
25770 }
25771 {
7449af73 25772 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25773 if (SWIG_arg_fail(3)) SWIG_fail;
25774 }
d55e5bfc
RD
25775 {
25776 arg4 = wxString_in_helper(obj3);
25777 if (arg4 == NULL) SWIG_fail;
ae8162c8 25778 temp4 = true;
d55e5bfc
RD
25779 }
25780 if (obj4) {
093d3ff1 25781 {
7449af73 25782 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
25783 if (SWIG_arg_fail(5)) SWIG_fail;
25784 }
d55e5bfc
RD
25785 }
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
25789
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
093d3ff1 25793 {
7449af73 25794 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 25795 }
d55e5bfc
RD
25796 {
25797 if (temp4)
25798 delete arg4;
25799 }
25800 return resultobj;
25801 fail:
25802 {
25803 if (temp4)
25804 delete arg4;
25805 }
25806 return NULL;
25807}
25808
25809
c32bde28 25810static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25811 PyObject *resultobj = NULL;
d55e5bfc
RD
25812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25813 long arg2 ;
25814 long arg3 ;
25815 int result;
25816 PyObject * obj0 = 0 ;
25817 PyObject * obj1 = 0 ;
25818 PyObject * obj2 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail;
25826 {
7449af73 25827 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25828 if (SWIG_arg_fail(2)) SWIG_fail;
25829 }
25830 {
7449af73 25831 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25832 if (SWIG_arg_fail(3)) SWIG_fail;
25833 }
d55e5bfc
RD
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
25837
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
093d3ff1 25841 {
7449af73 25842 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25843 }
d55e5bfc
RD
25844 return resultobj;
25845 fail:
25846 return NULL;
25847}
25848
25849
c32bde28 25850static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25851 PyObject *resultobj = NULL;
d55e5bfc
RD
25852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25853 long arg2 ;
25854 long arg3 ;
25855 long arg4 ;
25856 bool result;
25857 PyObject * obj0 = 0 ;
25858 PyObject * obj1 = 0 ;
25859 PyObject * obj2 = 0 ;
25860 PyObject * obj3 = 0 ;
25861 char *kwnames[] = {
25862 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25863 };
25864
25865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25867 if (SWIG_arg_fail(1)) SWIG_fail;
25868 {
7449af73 25869 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25870 if (SWIG_arg_fail(2)) SWIG_fail;
25871 }
25872 {
7449af73 25873 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25874 if (SWIG_arg_fail(3)) SWIG_fail;
25875 }
25876 {
7449af73 25877 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
25878 if (SWIG_arg_fail(4)) SWIG_fail;
25879 }
d55e5bfc
RD
25880 {
25881 PyThreadState* __tstate = wxPyBeginAllowThreads();
25882 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
25883
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 {
25888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25889 }
25890 return resultobj;
25891 fail:
25892 return NULL;
25893}
25894
25895
c32bde28 25896static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25897 PyObject *resultobj = NULL;
d55e5bfc
RD
25898 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25899 long arg2 ;
25900 int arg3 ;
84f85550 25901 int arg4 = (int) -1 ;
d55e5bfc
RD
25902 bool result;
25903 PyObject * obj0 = 0 ;
25904 PyObject * obj1 = 0 ;
25905 PyObject * obj2 = 0 ;
25906 PyObject * obj3 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25909 };
25910
84f85550 25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
25914 {
7449af73 25915 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25916 if (SWIG_arg_fail(2)) SWIG_fail;
25917 }
25918 {
7449af73 25919 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25920 if (SWIG_arg_fail(3)) SWIG_fail;
25921 }
84f85550 25922 if (obj3) {
093d3ff1 25923 {
7449af73 25924 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
25925 if (SWIG_arg_fail(4)) SWIG_fail;
25926 }
84f85550 25927 }
d55e5bfc
RD
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 {
25936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25937 }
25938 return resultobj;
25939 fail:
25940 return NULL;
25941}
25942
25943
c32bde28 25944static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25945 PyObject *resultobj = NULL;
d55e5bfc
RD
25946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25947 long arg2 ;
25948 wxString result;
25949 PyObject * obj0 = 0 ;
25950 PyObject * obj1 = 0 ;
25951 char *kwnames[] = {
25952 (char *) "self",(char *) "item", NULL
25953 };
25954
25955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25957 if (SWIG_arg_fail(1)) SWIG_fail;
25958 {
7449af73 25959 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25960 if (SWIG_arg_fail(2)) SWIG_fail;
25961 }
d55e5bfc
RD
25962 {
25963 PyThreadState* __tstate = wxPyBeginAllowThreads();
25964 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
25965
25966 wxPyEndAllowThreads(__tstate);
25967 if (PyErr_Occurred()) SWIG_fail;
25968 }
25969 {
25970#if wxUSE_UNICODE
25971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25972#else
25973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25974#endif
25975 }
25976 return resultobj;
25977 fail:
25978 return NULL;
25979}
25980
25981
c32bde28 25982static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25983 PyObject *resultobj = NULL;
d55e5bfc
RD
25984 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25985 long arg2 ;
25986 wxString *arg3 = 0 ;
ae8162c8 25987 bool temp3 = false ;
d55e5bfc
RD
25988 PyObject * obj0 = 0 ;
25989 PyObject * obj1 = 0 ;
25990 PyObject * obj2 = 0 ;
25991 char *kwnames[] = {
25992 (char *) "self",(char *) "item",(char *) "str", NULL
25993 };
25994
25995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail;
25998 {
7449af73 25999 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26000 if (SWIG_arg_fail(2)) SWIG_fail;
26001 }
d55e5bfc
RD
26002 {
26003 arg3 = wxString_in_helper(obj2);
26004 if (arg3 == NULL) SWIG_fail;
ae8162c8 26005 temp3 = true;
d55e5bfc
RD
26006 }
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
26010
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 Py_INCREF(Py_None); resultobj = Py_None;
26015 {
26016 if (temp3)
26017 delete arg3;
26018 }
26019 return resultobj;
26020 fail:
26021 {
26022 if (temp3)
26023 delete arg3;
26024 }
26025 return NULL;
26026}
26027
26028
c32bde28 26029static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26030 PyObject *resultobj = NULL;
d55e5bfc
RD
26031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26032 long arg2 ;
26033 long result;
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "item", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail;
26043 {
7449af73 26044 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26045 if (SWIG_arg_fail(2)) SWIG_fail;
26046 }
d55e5bfc
RD
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
26050
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
093d3ff1 26054 {
7449af73 26055 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 26056 }
d55e5bfc
RD
26057 return resultobj;
26058 fail:
26059 return NULL;
26060}
26061
26062
c32bde28 26063static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26064 PyObject *resultobj = NULL;
d55e5bfc
RD
26065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26066 long arg2 ;
26067 long arg3 ;
26068 bool result;
26069 PyObject * obj0 = 0 ;
26070 PyObject * obj1 = 0 ;
26071 PyObject * obj2 = 0 ;
26072 char *kwnames[] = {
26073 (char *) "self",(char *) "item",(char *) "data", NULL
26074 };
26075
26076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26078 if (SWIG_arg_fail(1)) SWIG_fail;
26079 {
7449af73 26080 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26081 if (SWIG_arg_fail(2)) SWIG_fail;
26082 }
26083 {
7449af73 26084 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
26085 if (SWIG_arg_fail(3)) SWIG_fail;
26086 }
d55e5bfc
RD
26087 {
26088 PyThreadState* __tstate = wxPyBeginAllowThreads();
26089 result = (bool)(arg1)->SetItemData(arg2,arg3);
26090
26091 wxPyEndAllowThreads(__tstate);
26092 if (PyErr_Occurred()) SWIG_fail;
26093 }
26094 {
26095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26096 }
26097 return resultobj;
26098 fail:
26099 return NULL;
26100}
26101
26102
c32bde28 26103static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26104 PyObject *resultobj = NULL;
d55e5bfc
RD
26105 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26106 long arg2 ;
26107 wxPoint result;
26108 PyObject * obj0 = 0 ;
26109 PyObject * obj1 = 0 ;
26110 char *kwnames[] = {
26111 (char *) "self",(char *) "item", NULL
26112 };
26113
26114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26116 if (SWIG_arg_fail(1)) SWIG_fail;
26117 {
7449af73 26118 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26119 if (SWIG_arg_fail(2)) SWIG_fail;
26120 }
d55e5bfc
RD
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
26124
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 {
26129 wxPoint * resultptr;
7449af73 26130 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
26131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26132 }
26133 return resultobj;
26134 fail:
26135 return NULL;
26136}
26137
26138
c32bde28 26139static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26140 PyObject *resultobj = NULL;
d55e5bfc
RD
26141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26142 long arg2 ;
26143 int arg3 = (int) wxLIST_RECT_BOUNDS ;
26144 wxRect result;
26145 PyObject * obj0 = 0 ;
26146 PyObject * obj1 = 0 ;
26147 PyObject * obj2 = 0 ;
26148 char *kwnames[] = {
26149 (char *) "self",(char *) "item",(char *) "code", NULL
26150 };
26151
26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26154 if (SWIG_arg_fail(1)) SWIG_fail;
26155 {
7449af73 26156 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26157 if (SWIG_arg_fail(2)) SWIG_fail;
26158 }
d55e5bfc 26159 if (obj2) {
093d3ff1 26160 {
7449af73 26161 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26162 if (SWIG_arg_fail(3)) SWIG_fail;
26163 }
d55e5bfc
RD
26164 }
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
26168
26169 wxPyEndAllowThreads(__tstate);
26170 if (PyErr_Occurred()) SWIG_fail;
26171 }
26172 {
26173 wxRect * resultptr;
7449af73 26174 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
26175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26176 }
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
c32bde28 26183static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26184 PyObject *resultobj = NULL;
d55e5bfc
RD
26185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26186 long arg2 ;
26187 wxPoint *arg3 = 0 ;
26188 bool result;
26189 wxPoint temp3 ;
26190 PyObject * obj0 = 0 ;
26191 PyObject * obj1 = 0 ;
26192 PyObject * obj2 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "item",(char *) "pos", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail;
26200 {
7449af73 26201 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26202 if (SWIG_arg_fail(2)) SWIG_fail;
26203 }
d55e5bfc
RD
26204 {
26205 arg3 = &temp3;
26206 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26207 }
26208 {
26209 PyThreadState* __tstate = wxPyBeginAllowThreads();
26210 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 {
26216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26217 }
26218 return resultobj;
26219 fail:
26220 return NULL;
26221}
26222
26223
c32bde28 26224static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26225 PyObject *resultobj = NULL;
d55e5bfc
RD
26226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26227 int result;
26228 PyObject * obj0 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) 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;
d55e5bfc
RD
26236 {
26237 PyThreadState* __tstate = wxPyBeginAllowThreads();
26238 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
26239
26240 wxPyEndAllowThreads(__tstate);
26241 if (PyErr_Occurred()) SWIG_fail;
26242 }
093d3ff1 26243 {
7449af73 26244 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26245 }
d55e5bfc
RD
26246 return resultobj;
26247 fail:
26248 return NULL;
26249}
26250
26251
c32bde28 26252static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26253 PyObject *resultobj = NULL;
d55e5bfc
RD
26254 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26255 int result;
26256 PyObject * obj0 = 0 ;
26257 char *kwnames[] = {
26258 (char *) "self", NULL
26259 };
26260
26261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
26267
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
093d3ff1 26271 {
7449af73 26272 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26273 }
d55e5bfc
RD
26274 return resultobj;
26275 fail:
26276 return NULL;
26277}
26278
26279
c32bde28 26280static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26281 PyObject *resultobj = NULL;
d55e5bfc
RD
26282 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26283 wxSize result;
26284 PyObject * obj0 = 0 ;
26285 char *kwnames[] = {
26286 (char *) "self", NULL
26287 };
26288
26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
26290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
26295
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
26299 {
26300 wxSize * resultptr;
7449af73 26301 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
26302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26303 }
26304 return resultobj;
26305 fail:
26306 return NULL;
26307}
26308
26309
c32bde28 26310static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26311 PyObject *resultobj = NULL;
d55e5bfc
RD
26312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26313 int result;
26314 PyObject * obj0 = 0 ;
26315 char *kwnames[] = {
26316 (char *) "self", NULL
26317 };
26318
26319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
093d3ff1 26329 {
7449af73 26330 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26331 }
d55e5bfc
RD
26332 return resultobj;
26333 fail:
26334 return NULL;
26335}
26336
26337
c32bde28 26338static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26339 PyObject *resultobj = NULL;
d55e5bfc
RD
26340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26341 wxColour result;
26342 PyObject * obj0 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
26348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
26357 {
26358 wxColour * resultptr;
7449af73 26359 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
26360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26361 }
26362 return resultobj;
26363 fail:
26364 return NULL;
26365}
26366
26367
c32bde28 26368static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26369 PyObject *resultobj = NULL;
d55e5bfc
RD
26370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26371 wxColour *arg2 = 0 ;
26372 wxColour temp2 ;
26373 PyObject * obj0 = 0 ;
26374 PyObject * obj1 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "col", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26382 {
26383 arg2 = &temp2;
26384 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26385 }
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 (arg1)->SetTextColour((wxColour const &)*arg2);
26389
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 Py_INCREF(Py_None); resultobj = Py_None;
26394 return resultobj;
26395 fail:
26396 return NULL;
26397}
26398
26399
c32bde28 26400static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26401 PyObject *resultobj = NULL;
d55e5bfc
RD
26402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26403 long result;
26404 PyObject * obj0 = 0 ;
26405 char *kwnames[] = {
26406 (char *) "self", NULL
26407 };
26408
26409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
093d3ff1 26419 {
7449af73 26420 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 26421 }
d55e5bfc
RD
26422 return resultobj;
26423 fail:
26424 return NULL;
26425}
26426
26427
c32bde28 26428static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26429 PyObject *resultobj = NULL;
d55e5bfc
RD
26430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26431 long arg2 ;
ae8162c8 26432 bool arg3 = (bool) true ;
d55e5bfc
RD
26433 PyObject * obj0 = 0 ;
26434 PyObject * obj1 = 0 ;
26435 PyObject * obj2 = 0 ;
26436 char *kwnames[] = {
26437 (char *) "self",(char *) "style",(char *) "add", NULL
26438 };
26439
26440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26442 if (SWIG_arg_fail(1)) SWIG_fail;
26443 {
7449af73 26444 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26445 if (SWIG_arg_fail(2)) SWIG_fail;
26446 }
d55e5bfc 26447 if (obj2) {
093d3ff1 26448 {
7449af73 26449 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
26450 if (SWIG_arg_fail(3)) SWIG_fail;
26451 }
d55e5bfc
RD
26452 }
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 (arg1)->SetSingleStyle(arg2,arg3);
26456
26457 wxPyEndAllowThreads(__tstate);
26458 if (PyErr_Occurred()) SWIG_fail;
26459 }
26460 Py_INCREF(Py_None); resultobj = Py_None;
26461 return resultobj;
26462 fail:
26463 return NULL;
26464}
26465
26466
c32bde28 26467static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26468 PyObject *resultobj = NULL;
d55e5bfc
RD
26469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26470 long arg2 ;
26471 PyObject * obj0 = 0 ;
26472 PyObject * obj1 = 0 ;
26473 char *kwnames[] = {
26474 (char *) "self",(char *) "style", NULL
26475 };
26476
26477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail;
26480 {
7449af73 26481 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26482 if (SWIG_arg_fail(2)) SWIG_fail;
26483 }
d55e5bfc
RD
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 (arg1)->SetWindowStyleFlag(arg2);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 Py_INCREF(Py_None); resultobj = Py_None;
26492 return resultobj;
26493 fail:
26494 return NULL;
26495}
26496
26497
c32bde28 26498static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26499 PyObject *resultobj = NULL;
d55e5bfc
RD
26500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26501 long arg2 ;
26502 int arg3 = (int) wxLIST_NEXT_ALL ;
26503 int arg4 = (int) wxLIST_STATE_DONTCARE ;
26504 long result;
26505 PyObject * obj0 = 0 ;
26506 PyObject * obj1 = 0 ;
26507 PyObject * obj2 = 0 ;
26508 PyObject * obj3 = 0 ;
26509 char *kwnames[] = {
26510 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26511 };
26512
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26515 if (SWIG_arg_fail(1)) SWIG_fail;
26516 {
7449af73 26517 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26518 if (SWIG_arg_fail(2)) SWIG_fail;
26519 }
d55e5bfc 26520 if (obj2) {
093d3ff1 26521 {
7449af73 26522 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26523 if (SWIG_arg_fail(3)) SWIG_fail;
26524 }
d55e5bfc
RD
26525 }
26526 if (obj3) {
093d3ff1 26527 {
7449af73 26528 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
26529 if (SWIG_arg_fail(4)) SWIG_fail;
26530 }
d55e5bfc
RD
26531 }
26532 {
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
26535
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
093d3ff1 26539 {
7449af73 26540 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 26541 }
d55e5bfc
RD
26542 return resultobj;
26543 fail:
26544 return NULL;
26545}
26546
26547
c32bde28 26548static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26549 PyObject *resultobj = NULL;
d55e5bfc
RD
26550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26551 int arg2 ;
26552 wxImageList *result;
26553 PyObject * obj0 = 0 ;
26554 PyObject * obj1 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self",(char *) "which", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26561 if (SWIG_arg_fail(1)) SWIG_fail;
26562 {
7449af73 26563 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26564 if (SWIG_arg_fail(2)) SWIG_fail;
26565 }
d55e5bfc
RD
26566 {
26567 PyThreadState* __tstate = wxPyBeginAllowThreads();
26568 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
26569
26570 wxPyEndAllowThreads(__tstate);
26571 if (PyErr_Occurred()) SWIG_fail;
26572 }
26573 {
7e08d4ef 26574 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
26575 }
26576 return resultobj;
26577 fail:
26578 return NULL;
26579}
26580
26581
c32bde28 26582static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26583 PyObject *resultobj = NULL;
d55e5bfc
RD
26584 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26585 wxImageList *arg2 = (wxImageList *) 0 ;
26586 int arg3 ;
26587 PyObject * obj0 = 0 ;
26588 PyObject * obj1 = 0 ;
26589 PyObject * obj2 = 0 ;
26590 char *kwnames[] = {
26591 (char *) "self",(char *) "imageList",(char *) "which", NULL
26592 };
26593
26594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26596 if (SWIG_arg_fail(1)) SWIG_fail;
26597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
26598 if (SWIG_arg_fail(2)) SWIG_fail;
26599 {
7449af73 26600 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26601 if (SWIG_arg_fail(3)) SWIG_fail;
26602 }
d55e5bfc
RD
26603 {
26604 PyThreadState* __tstate = wxPyBeginAllowThreads();
26605 (arg1)->SetImageList(arg2,arg3);
26606
26607 wxPyEndAllowThreads(__tstate);
26608 if (PyErr_Occurred()) SWIG_fail;
26609 }
26610 Py_INCREF(Py_None); resultobj = Py_None;
26611 return resultobj;
26612 fail:
26613 return NULL;
26614}
26615
26616
c32bde28 26617static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26618 PyObject *resultobj = NULL;
d55e5bfc
RD
26619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26620 wxImageList *arg2 = (wxImageList *) 0 ;
26621 int arg3 ;
26622 PyObject * obj0 = 0 ;
26623 PyObject * obj1 = 0 ;
26624 PyObject * obj2 = 0 ;
26625 char *kwnames[] = {
26626 (char *) "self",(char *) "imageList",(char *) "which", NULL
26627 };
26628
26629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26631 if (SWIG_arg_fail(1)) SWIG_fail;
26632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26633 if (SWIG_arg_fail(2)) SWIG_fail;
26634 {
7449af73 26635 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26636 if (SWIG_arg_fail(3)) SWIG_fail;
26637 }
d55e5bfc
RD
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 (arg1)->AssignImageList(arg2,arg3);
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 Py_INCREF(Py_None); resultobj = Py_None;
26646 return resultobj;
26647 fail:
26648 return NULL;
26649}
26650
26651
c32bde28 26652static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26653 PyObject *resultobj = NULL;
d55e5bfc
RD
26654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26655 bool result;
26656 PyObject * obj0 = 0 ;
26657 char *kwnames[] = {
26658 (char *) "self", NULL
26659 };
26660
26661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
26662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
26667
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
26671 {
26672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26673 }
26674 return resultobj;
26675 fail:
26676 return NULL;
26677}
26678
26679
c32bde28 26680static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26681 PyObject *resultobj = NULL;
d55e5bfc
RD
26682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26683 bool result;
26684 PyObject * obj0 = 0 ;
26685 char *kwnames[] = {
26686 (char *) "self", NULL
26687 };
26688
26689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
26690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26692 {
26693 PyThreadState* __tstate = wxPyBeginAllowThreads();
26694 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
26695
26696 wxPyEndAllowThreads(__tstate);
26697 if (PyErr_Occurred()) SWIG_fail;
26698 }
26699 {
26700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26701 }
26702 return resultobj;
26703 fail:
26704 return NULL;
26705}
26706
26707
c32bde28 26708static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26709 PyObject *resultobj = NULL;
d55e5bfc
RD
26710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26711 long arg2 ;
26712 PyObject * obj0 = 0 ;
26713 PyObject * obj1 = 0 ;
26714 char *kwnames[] = {
26715 (char *) "self",(char *) "item", NULL
26716 };
26717
26718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26720 if (SWIG_arg_fail(1)) SWIG_fail;
26721 {
7449af73 26722 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26723 if (SWIG_arg_fail(2)) SWIG_fail;
26724 }
d55e5bfc
RD
26725 {
26726 PyThreadState* __tstate = wxPyBeginAllowThreads();
26727 (arg1)->RefreshItem(arg2);
26728
26729 wxPyEndAllowThreads(__tstate);
26730 if (PyErr_Occurred()) SWIG_fail;
26731 }
26732 Py_INCREF(Py_None); resultobj = Py_None;
26733 return resultobj;
26734 fail:
26735 return NULL;
26736}
26737
26738
c32bde28 26739static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26740 PyObject *resultobj = NULL;
d55e5bfc
RD
26741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26742 long arg2 ;
26743 long arg3 ;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 PyObject * obj2 = 0 ;
26747 char *kwnames[] = {
26748 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26749 };
26750
26751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26753 if (SWIG_arg_fail(1)) SWIG_fail;
26754 {
7449af73 26755 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26756 if (SWIG_arg_fail(2)) SWIG_fail;
26757 }
26758 {
7449af73 26759 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
26760 if (SWIG_arg_fail(3)) SWIG_fail;
26761 }
d55e5bfc
RD
26762 {
26763 PyThreadState* __tstate = wxPyBeginAllowThreads();
26764 (arg1)->RefreshItems(arg2,arg3);
26765
26766 wxPyEndAllowThreads(__tstate);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
26769 Py_INCREF(Py_None); resultobj = Py_None;
26770 return resultobj;
26771 fail:
26772 return NULL;
26773}
26774
26775
c32bde28 26776static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26777 PyObject *resultobj = NULL;
d55e5bfc
RD
26778 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26779 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
26780 bool result;
26781 PyObject * obj0 = 0 ;
26782 PyObject * obj1 = 0 ;
26783 char *kwnames[] = {
26784 (char *) "self",(char *) "flag", NULL
26785 };
26786
26787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26789 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26790 if (obj1) {
093d3ff1 26791 {
7449af73 26792 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26793 if (SWIG_arg_fail(2)) SWIG_fail;
26794 }
d55e5bfc
RD
26795 }
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 result = (bool)(arg1)->Arrange(arg2);
26799
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 {
26804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26805 }
26806 return resultobj;
26807 fail:
26808 return NULL;
26809}
26810
26811
c32bde28 26812static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26813 PyObject *resultobj = NULL;
d55e5bfc
RD
26814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26815 long arg2 ;
26816 bool result;
26817 PyObject * obj0 = 0 ;
26818 PyObject * obj1 = 0 ;
26819 char *kwnames[] = {
26820 (char *) "self",(char *) "item", NULL
26821 };
26822
26823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26825 if (SWIG_arg_fail(1)) SWIG_fail;
26826 {
7449af73 26827 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26828 if (SWIG_arg_fail(2)) SWIG_fail;
26829 }
d55e5bfc
RD
26830 {
26831 PyThreadState* __tstate = wxPyBeginAllowThreads();
26832 result = (bool)(arg1)->DeleteItem(arg2);
26833
26834 wxPyEndAllowThreads(__tstate);
26835 if (PyErr_Occurred()) SWIG_fail;
26836 }
26837 {
26838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26839 }
26840 return resultobj;
26841 fail:
26842 return NULL;
26843}
26844
26845
c32bde28 26846static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26847 PyObject *resultobj = NULL;
d55e5bfc
RD
26848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26849 bool result;
26850 PyObject * obj0 = 0 ;
26851 char *kwnames[] = {
26852 (char *) "self", NULL
26853 };
26854
26855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
26856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26858 {
26859 PyThreadState* __tstate = wxPyBeginAllowThreads();
26860 result = (bool)(arg1)->DeleteAllItems();
26861
26862 wxPyEndAllowThreads(__tstate);
26863 if (PyErr_Occurred()) SWIG_fail;
26864 }
26865 {
26866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26867 }
26868 return resultobj;
26869 fail:
26870 return NULL;
26871}
26872
26873
c32bde28 26874static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26875 PyObject *resultobj = NULL;
d55e5bfc
RD
26876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26877 int arg2 ;
26878 bool result;
26879 PyObject * obj0 = 0 ;
26880 PyObject * obj1 = 0 ;
26881 char *kwnames[] = {
26882 (char *) "self",(char *) "col", NULL
26883 };
26884
26885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26887 if (SWIG_arg_fail(1)) SWIG_fail;
26888 {
7449af73 26889 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26890 if (SWIG_arg_fail(2)) SWIG_fail;
26891 }
d55e5bfc
RD
26892 {
26893 PyThreadState* __tstate = wxPyBeginAllowThreads();
26894 result = (bool)(arg1)->DeleteColumn(arg2);
26895
26896 wxPyEndAllowThreads(__tstate);
26897 if (PyErr_Occurred()) SWIG_fail;
26898 }
26899 {
26900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26901 }
26902 return resultobj;
26903 fail:
26904 return NULL;
26905}
26906
26907
c32bde28 26908static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26909 PyObject *resultobj = NULL;
d55e5bfc
RD
26910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26911 bool result;
26912 PyObject * obj0 = 0 ;
26913 char *kwnames[] = {
26914 (char *) "self", NULL
26915 };
26916
26917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
26918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26920 {
26921 PyThreadState* __tstate = wxPyBeginAllowThreads();
26922 result = (bool)(arg1)->DeleteAllColumns();
26923
26924 wxPyEndAllowThreads(__tstate);
26925 if (PyErr_Occurred()) SWIG_fail;
26926 }
26927 {
26928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26929 }
26930 return resultobj;
26931 fail:
26932 return NULL;
26933}
26934
26935
c32bde28 26936static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26937 PyObject *resultobj = NULL;
d55e5bfc
RD
26938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26939 PyObject * obj0 = 0 ;
26940 char *kwnames[] = {
26941 (char *) "self", NULL
26942 };
26943
26944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
26945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 (arg1)->ClearAll();
26950
26951 wxPyEndAllowThreads(__tstate);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 }
26954 Py_INCREF(Py_None); resultobj = Py_None;
26955 return resultobj;
26956 fail:
26957 return NULL;
26958}
26959
26960
c32bde28 26961static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26962 PyObject *resultobj = NULL;
d55e5bfc
RD
26963 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26964 long arg2 ;
26965 wxTextCtrl *result;
26966 PyObject * obj0 = 0 ;
26967 PyObject * obj1 = 0 ;
26968 char *kwnames[] = {
26969 (char *) "self",(char *) "item", NULL
26970 };
26971
26972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26974 if (SWIG_arg_fail(1)) SWIG_fail;
26975 {
7449af73 26976 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26977 if (SWIG_arg_fail(2)) SWIG_fail;
26978 }
d55e5bfc
RD
26979 {
26980 PyThreadState* __tstate = wxPyBeginAllowThreads();
26981 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
26982
26983 wxPyEndAllowThreads(__tstate);
26984 if (PyErr_Occurred()) SWIG_fail;
26985 }
26986 {
412d302d 26987 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26988 }
26989 return resultobj;
26990 fail:
26991 return NULL;
26992}
26993
26994
c32bde28 26995static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26996 PyObject *resultobj = NULL;
d55e5bfc
RD
26997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26998 bool arg2 ;
26999 bool result;
27000 PyObject * obj0 = 0 ;
27001 PyObject * obj1 = 0 ;
27002 char *kwnames[] = {
27003 (char *) "self",(char *) "cancel", NULL
27004 };
27005
27006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail;
27009 {
7449af73 27010 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
27011 if (SWIG_arg_fail(2)) SWIG_fail;
27012 }
d55e5bfc
RD
27013 {
27014 PyThreadState* __tstate = wxPyBeginAllowThreads();
27015 result = (bool)(arg1)->EndEditLabel(arg2);
27016
27017 wxPyEndAllowThreads(__tstate);
27018 if (PyErr_Occurred()) SWIG_fail;
27019 }
27020 {
27021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27022 }
27023 return resultobj;
27024 fail:
27025 return NULL;
27026}
27027
27028
c32bde28 27029static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27030 PyObject *resultobj = NULL;
d55e5bfc
RD
27031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27032 long arg2 ;
27033 bool result;
27034 PyObject * obj0 = 0 ;
27035 PyObject * obj1 = 0 ;
27036 char *kwnames[] = {
27037 (char *) "self",(char *) "item", NULL
27038 };
27039
27040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27042 if (SWIG_arg_fail(1)) SWIG_fail;
27043 {
7449af73 27044 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27045 if (SWIG_arg_fail(2)) SWIG_fail;
27046 }
d55e5bfc
RD
27047 {
27048 PyThreadState* __tstate = wxPyBeginAllowThreads();
27049 result = (bool)(arg1)->EnsureVisible(arg2);
27050
27051 wxPyEndAllowThreads(__tstate);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 {
27055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27056 }
27057 return resultobj;
27058 fail:
27059 return NULL;
27060}
27061
27062
c32bde28 27063static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27064 PyObject *resultobj = NULL;
d55e5bfc
RD
27065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27066 long arg2 ;
27067 wxString *arg3 = 0 ;
ae8162c8 27068 bool arg4 = (bool) false ;
d55e5bfc 27069 long result;
ae8162c8 27070 bool temp3 = false ;
d55e5bfc
RD
27071 PyObject * obj0 = 0 ;
27072 PyObject * obj1 = 0 ;
27073 PyObject * obj2 = 0 ;
27074 PyObject * obj3 = 0 ;
27075 char *kwnames[] = {
27076 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
27077 };
27078
27079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27081 if (SWIG_arg_fail(1)) SWIG_fail;
27082 {
7449af73 27083 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27084 if (SWIG_arg_fail(2)) SWIG_fail;
27085 }
d55e5bfc
RD
27086 {
27087 arg3 = wxString_in_helper(obj2);
27088 if (arg3 == NULL) SWIG_fail;
ae8162c8 27089 temp3 = true;
d55e5bfc
RD
27090 }
27091 if (obj3) {
093d3ff1 27092 {
7449af73 27093 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
27094 if (SWIG_arg_fail(4)) SWIG_fail;
27095 }
d55e5bfc
RD
27096 }
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
27099 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
27100
27101 wxPyEndAllowThreads(__tstate);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
093d3ff1 27104 {
7449af73 27105 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27106 }
d55e5bfc
RD
27107 {
27108 if (temp3)
27109 delete arg3;
27110 }
27111 return resultobj;
27112 fail:
27113 {
27114 if (temp3)
27115 delete arg3;
27116 }
27117 return NULL;
27118}
27119
27120
c32bde28 27121static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27122 PyObject *resultobj = NULL;
d55e5bfc
RD
27123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27124 long arg2 ;
27125 long arg3 ;
27126 long result;
27127 PyObject * obj0 = 0 ;
27128 PyObject * obj1 = 0 ;
27129 PyObject * obj2 = 0 ;
27130 char *kwnames[] = {
27131 (char *) "self",(char *) "start",(char *) "data", NULL
27132 };
27133
27134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail;
27137 {
7449af73 27138 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27139 if (SWIG_arg_fail(2)) SWIG_fail;
27140 }
27141 {
7449af73 27142 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
27143 if (SWIG_arg_fail(3)) SWIG_fail;
27144 }
d55e5bfc
RD
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 result = (long)(arg1)->FindItem(arg2,arg3);
27148
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
093d3ff1 27152 {
7449af73 27153 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27154 }
d55e5bfc
RD
27155 return resultobj;
27156 fail:
27157 return NULL;
27158}
27159
27160
c32bde28 27161static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27162 PyObject *resultobj = NULL;
d55e5bfc
RD
27163 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27164 long arg2 ;
27165 wxPoint *arg3 = 0 ;
27166 int arg4 ;
27167 long result;
27168 wxPoint temp3 ;
27169 PyObject * obj0 = 0 ;
27170 PyObject * obj1 = 0 ;
27171 PyObject * obj2 = 0 ;
27172 PyObject * obj3 = 0 ;
27173 char *kwnames[] = {
27174 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27175 };
27176
27177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail;
27180 {
7449af73 27181 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27182 if (SWIG_arg_fail(2)) SWIG_fail;
27183 }
d55e5bfc
RD
27184 {
27185 arg3 = &temp3;
27186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27187 }
093d3ff1 27188 {
7449af73 27189 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27190 if (SWIG_arg_fail(4)) SWIG_fail;
27191 }
d55e5bfc
RD
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
27195
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
093d3ff1 27199 {
7449af73 27200 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27201 }
d55e5bfc
RD
27202 return resultobj;
27203 fail:
27204 return NULL;
27205}
27206
27207
c32bde28 27208static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27209 PyObject *resultobj = NULL;
d55e5bfc
RD
27210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27211 wxPoint *arg2 = 0 ;
27212 int *arg3 = 0 ;
27213 long result;
27214 wxPoint temp2 ;
27215 int temp3 ;
c32bde28 27216 int res3 = 0 ;
d55e5bfc
RD
27217 PyObject * obj0 = 0 ;
27218 PyObject * obj1 = 0 ;
27219 char *kwnames[] = {
27220 (char *) "self",(char *) "point", NULL
27221 };
27222
c32bde28 27223 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 27224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27227 {
27228 arg2 = &temp2;
27229 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27230 }
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
093d3ff1 27238 {
7449af73 27239 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27240 }
c32bde28
RD
27241 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27242 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27243 return resultobj;
27244 fail:
27245 return NULL;
27246}
27247
27248
c32bde28 27249static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27250 PyObject *resultobj = NULL;
d55e5bfc
RD
27251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27252 wxListItem *arg2 = 0 ;
27253 long result;
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 char *kwnames[] = {
27257 (char *) "self",(char *) "info", NULL
27258 };
27259
27260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27262 if (SWIG_arg_fail(1)) SWIG_fail;
27263 {
27264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27265 if (SWIG_arg_fail(2)) SWIG_fail;
27266 if (arg2 == NULL) {
27267 SWIG_null_ref("wxListItem");
27268 }
27269 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27270 }
27271 {
27272 PyThreadState* __tstate = wxPyBeginAllowThreads();
27273 result = (long)(arg1)->InsertItem(*arg2);
27274
27275 wxPyEndAllowThreads(__tstate);
27276 if (PyErr_Occurred()) SWIG_fail;
27277 }
093d3ff1 27278 {
7449af73 27279 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27280 }
d55e5bfc
RD
27281 return resultobj;
27282 fail:
27283 return NULL;
27284}
27285
27286
c32bde28 27287static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27288 PyObject *resultobj = NULL;
d55e5bfc
RD
27289 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27290 long arg2 ;
27291 wxString *arg3 = 0 ;
7449af73 27292 int arg4 = (int) -1 ;
d55e5bfc 27293 long result;
ae8162c8 27294 bool temp3 = false ;
d55e5bfc
RD
27295 PyObject * obj0 = 0 ;
27296 PyObject * obj1 = 0 ;
27297 PyObject * obj2 = 0 ;
7449af73 27298 PyObject * obj3 = 0 ;
d55e5bfc 27299 char *kwnames[] = {
7449af73 27300 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
d55e5bfc
RD
27301 };
27302
7449af73 27303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail;
27306 {
7449af73 27307 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27308 if (SWIG_arg_fail(2)) SWIG_fail;
27309 }
d55e5bfc
RD
27310 {
27311 arg3 = wxString_in_helper(obj2);
27312 if (arg3 == NULL) SWIG_fail;
ae8162c8 27313 temp3 = true;
d55e5bfc 27314 }
7449af73
RD
27315 if (obj3) {
27316 {
27317 arg4 = static_cast<int >(SWIG_As_int(obj3));
27318 if (SWIG_arg_fail(4)) SWIG_fail;
27319 }
27320 }
d55e5bfc
RD
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27323 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
27324
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
093d3ff1 27328 {
7449af73 27329 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27330 }
d55e5bfc
RD
27331 {
27332 if (temp3)
27333 delete arg3;
27334 }
27335 return resultobj;
27336 fail:
27337 {
27338 if (temp3)
27339 delete arg3;
27340 }
27341 return NULL;
27342}
27343
27344
c32bde28 27345static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27346 PyObject *resultobj = NULL;
d55e5bfc
RD
27347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27348 long arg2 ;
27349 int arg3 ;
27350 long result;
27351 PyObject * obj0 = 0 ;
27352 PyObject * obj1 = 0 ;
27353 PyObject * obj2 = 0 ;
27354 char *kwnames[] = {
27355 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27356 };
27357
27358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail;
27361 {
7449af73 27362 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27363 if (SWIG_arg_fail(2)) SWIG_fail;
27364 }
27365 {
7449af73 27366 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27367 if (SWIG_arg_fail(3)) SWIG_fail;
27368 }
d55e5bfc
RD
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 result = (long)(arg1)->InsertItem(arg2,arg3);
27372
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
093d3ff1 27376 {
7449af73 27377 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27378 }
d55e5bfc
RD
27379 return resultobj;
27380 fail:
27381 return NULL;
27382}
27383
27384
c32bde28 27385static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27386 PyObject *resultobj = NULL;
d55e5bfc
RD
27387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27388 long arg2 ;
27389 wxString *arg3 = 0 ;
27390 int arg4 ;
27391 long result;
ae8162c8 27392 bool temp3 = false ;
d55e5bfc
RD
27393 PyObject * obj0 = 0 ;
27394 PyObject * obj1 = 0 ;
27395 PyObject * obj2 = 0 ;
27396 PyObject * obj3 = 0 ;
27397 char *kwnames[] = {
27398 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27399 };
27400
27401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27403 if (SWIG_arg_fail(1)) SWIG_fail;
27404 {
7449af73 27405 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27406 if (SWIG_arg_fail(2)) SWIG_fail;
27407 }
d55e5bfc
RD
27408 {
27409 arg3 = wxString_in_helper(obj2);
27410 if (arg3 == NULL) SWIG_fail;
ae8162c8 27411 temp3 = true;
d55e5bfc 27412 }
093d3ff1 27413 {
7449af73 27414 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27415 if (SWIG_arg_fail(4)) SWIG_fail;
27416 }
d55e5bfc
RD
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
093d3ff1 27424 {
7449af73 27425 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27426 }
d55e5bfc
RD
27427 {
27428 if (temp3)
27429 delete arg3;
27430 }
27431 return resultobj;
27432 fail:
27433 {
27434 if (temp3)
27435 delete arg3;
27436 }
27437 return NULL;
27438}
27439
27440
a3957d3d 27441static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27442 PyObject *resultobj = NULL;
d55e5bfc
RD
27443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27444 long arg2 ;
27445 wxListItem *arg3 = 0 ;
27446 long result;
27447 PyObject * obj0 = 0 ;
27448 PyObject * obj1 = 0 ;
27449 PyObject * obj2 = 0 ;
27450 char *kwnames[] = {
27451 (char *) "self",(char *) "col",(char *) "info", NULL
27452 };
27453
a3957d3d 27454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27456 if (SWIG_arg_fail(1)) SWIG_fail;
27457 {
7449af73 27458 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27459 if (SWIG_arg_fail(2)) SWIG_fail;
27460 }
27461 {
27462 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27463 if (SWIG_arg_fail(3)) SWIG_fail;
27464 if (arg3 == NULL) {
27465 SWIG_null_ref("wxListItem");
27466 }
27467 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27468 }
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 result = (long)(arg1)->InsertColumn(arg2,*arg3);
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
093d3ff1 27476 {
7449af73 27477 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27478 }
d55e5bfc
RD
27479 return resultobj;
27480 fail:
27481 return NULL;
27482}
27483
27484
c32bde28 27485static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27486 PyObject *resultobj = NULL;
d55e5bfc
RD
27487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27488 long arg2 ;
27489 wxString *arg3 = 0 ;
27490 int arg4 = (int) wxLIST_FORMAT_LEFT ;
27491 int arg5 = (int) -1 ;
27492 long result;
ae8162c8 27493 bool temp3 = false ;
d55e5bfc
RD
27494 PyObject * obj0 = 0 ;
27495 PyObject * obj1 = 0 ;
27496 PyObject * obj2 = 0 ;
27497 PyObject * obj3 = 0 ;
27498 PyObject * obj4 = 0 ;
27499 char *kwnames[] = {
27500 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27501 };
27502
27503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
27504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27505 if (SWIG_arg_fail(1)) SWIG_fail;
27506 {
7449af73 27507 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27508 if (SWIG_arg_fail(2)) SWIG_fail;
27509 }
d55e5bfc
RD
27510 {
27511 arg3 = wxString_in_helper(obj2);
27512 if (arg3 == NULL) SWIG_fail;
ae8162c8 27513 temp3 = true;
d55e5bfc
RD
27514 }
27515 if (obj3) {
093d3ff1 27516 {
7449af73 27517 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27518 if (SWIG_arg_fail(4)) SWIG_fail;
27519 }
d55e5bfc
RD
27520 }
27521 if (obj4) {
093d3ff1 27522 {
7449af73 27523 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
27524 if (SWIG_arg_fail(5)) SWIG_fail;
27525 }
d55e5bfc
RD
27526 }
27527 {
27528 PyThreadState* __tstate = wxPyBeginAllowThreads();
27529 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
27530
27531 wxPyEndAllowThreads(__tstate);
27532 if (PyErr_Occurred()) SWIG_fail;
27533 }
093d3ff1 27534 {
7449af73 27535 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27536 }
d55e5bfc
RD
27537 {
27538 if (temp3)
27539 delete arg3;
27540 }
27541 return resultobj;
27542 fail:
27543 {
27544 if (temp3)
27545 delete arg3;
27546 }
27547 return NULL;
27548}
27549
27550
c32bde28 27551static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27552 PyObject *resultobj = NULL;
d55e5bfc
RD
27553 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27554 long arg2 ;
27555 PyObject * obj0 = 0 ;
27556 PyObject * obj1 = 0 ;
27557 char *kwnames[] = {
27558 (char *) "self",(char *) "count", NULL
27559 };
27560
27561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27563 if (SWIG_arg_fail(1)) SWIG_fail;
27564 {
7449af73 27565 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27566 if (SWIG_arg_fail(2)) SWIG_fail;
27567 }
d55e5bfc
RD
27568 {
27569 PyThreadState* __tstate = wxPyBeginAllowThreads();
27570 (arg1)->SetItemCount(arg2);
27571
27572 wxPyEndAllowThreads(__tstate);
27573 if (PyErr_Occurred()) SWIG_fail;
27574 }
27575 Py_INCREF(Py_None); resultobj = Py_None;
27576 return resultobj;
27577 fail:
27578 return NULL;
27579}
27580
27581
c32bde28 27582static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27583 PyObject *resultobj = NULL;
d55e5bfc
RD
27584 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27585 int arg2 ;
27586 int arg3 ;
27587 bool result;
27588 PyObject * obj0 = 0 ;
27589 PyObject * obj1 = 0 ;
27590 PyObject * obj2 = 0 ;
27591 char *kwnames[] = {
27592 (char *) "self",(char *) "dx",(char *) "dy", NULL
27593 };
27594
27595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27597 if (SWIG_arg_fail(1)) SWIG_fail;
27598 {
7449af73 27599 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27600 if (SWIG_arg_fail(2)) SWIG_fail;
27601 }
27602 {
7449af73 27603 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27604 if (SWIG_arg_fail(3)) SWIG_fail;
27605 }
d55e5bfc
RD
27606 {
27607 PyThreadState* __tstate = wxPyBeginAllowThreads();
27608 result = (bool)(arg1)->ScrollList(arg2,arg3);
27609
27610 wxPyEndAllowThreads(__tstate);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 }
27613 {
27614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27615 }
27616 return resultobj;
27617 fail:
27618 return NULL;
27619}
27620
27621
c32bde28 27622static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27623 PyObject *resultobj = NULL;
d55e5bfc
RD
27624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27625 long arg2 ;
27626 wxColour *arg3 = 0 ;
27627 wxColour temp3 ;
27628 PyObject * obj0 = 0 ;
27629 PyObject * obj1 = 0 ;
27630 PyObject * obj2 = 0 ;
27631 char *kwnames[] = {
27632 (char *) "self",(char *) "item",(char *) "col", NULL
27633 };
27634
27635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27637 if (SWIG_arg_fail(1)) SWIG_fail;
27638 {
7449af73 27639 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27640 if (SWIG_arg_fail(2)) SWIG_fail;
27641 }
d55e5bfc
RD
27642 {
27643 arg3 = &temp3;
27644 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27645 }
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
27649
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 Py_INCREF(Py_None); resultobj = Py_None;
27654 return resultobj;
27655 fail:
27656 return NULL;
27657}
27658
27659
c32bde28 27660static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27661 PyObject *resultobj = NULL;
d55e5bfc
RD
27662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27663 long arg2 ;
27664 wxColour result;
27665 PyObject * obj0 = 0 ;
27666 PyObject * obj1 = 0 ;
27667 char *kwnames[] = {
27668 (char *) "self",(char *) "item", NULL
27669 };
27670
27671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27673 if (SWIG_arg_fail(1)) SWIG_fail;
27674 {
7449af73 27675 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27676 if (SWIG_arg_fail(2)) SWIG_fail;
27677 }
d55e5bfc
RD
27678 {
27679 PyThreadState* __tstate = wxPyBeginAllowThreads();
27680 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
27681
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 {
27686 wxColour * resultptr;
7449af73 27687 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
27688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27689 }
27690 return resultobj;
27691 fail:
27692 return NULL;
27693}
27694
27695
c32bde28 27696static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27697 PyObject *resultobj = NULL;
d55e5bfc
RD
27698 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27699 long arg2 ;
27700 wxColour *arg3 = 0 ;
27701 wxColour temp3 ;
27702 PyObject * obj0 = 0 ;
27703 PyObject * obj1 = 0 ;
27704 PyObject * obj2 = 0 ;
27705 char *kwnames[] = {
27706 (char *) "self",(char *) "item",(char *) "col", NULL
27707 };
27708
27709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27711 if (SWIG_arg_fail(1)) SWIG_fail;
27712 {
7449af73 27713 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27714 if (SWIG_arg_fail(2)) SWIG_fail;
27715 }
d55e5bfc
RD
27716 {
27717 arg3 = &temp3;
27718 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27719 }
27720 {
27721 PyThreadState* __tstate = wxPyBeginAllowThreads();
27722 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
27723
27724 wxPyEndAllowThreads(__tstate);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 Py_INCREF(Py_None); resultobj = Py_None;
27728 return resultobj;
27729 fail:
27730 return NULL;
27731}
27732
27733
c32bde28 27734static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27735 PyObject *resultobj = NULL;
d55e5bfc
RD
27736 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27737 long arg2 ;
27738 wxColour result;
27739 PyObject * obj0 = 0 ;
27740 PyObject * obj1 = 0 ;
27741 char *kwnames[] = {
27742 (char *) "self",(char *) "item", NULL
27743 };
27744
27745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27747 if (SWIG_arg_fail(1)) SWIG_fail;
27748 {
7449af73 27749 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27750 if (SWIG_arg_fail(2)) SWIG_fail;
27751 }
d55e5bfc
RD
27752 {
27753 PyThreadState* __tstate = wxPyBeginAllowThreads();
27754 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
27755
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 {
27760 wxColour * resultptr;
7449af73 27761 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
27762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27763 }
27764 return resultobj;
27765 fail:
27766 return NULL;
27767}
27768
27769
9d7dfdff 27770static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27771 PyObject *resultobj = NULL;
9d7dfdff
RD
27772 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27773 long arg2 ;
27774 wxFont *arg3 = 0 ;
27775 PyObject * obj0 = 0 ;
27776 PyObject * obj1 = 0 ;
27777 PyObject * obj2 = 0 ;
27778 char *kwnames[] = {
27779 (char *) "self",(char *) "item",(char *) "f", NULL
27780 };
27781
27782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
27783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27784 if (SWIG_arg_fail(1)) SWIG_fail;
27785 {
7449af73 27786 arg2 = static_cast<long >(SWIG_As_long(obj1));
9d7dfdff
RD
27787 if (SWIG_arg_fail(2)) SWIG_fail;
27788 }
27789 {
27790 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
27791 if (SWIG_arg_fail(3)) SWIG_fail;
27792 if (arg3 == NULL) {
27793 SWIG_null_ref("wxFont");
27794 }
27795 if (SWIG_arg_fail(3)) SWIG_fail;
27796 }
27797 {
27798 PyThreadState* __tstate = wxPyBeginAllowThreads();
27799 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
27800
27801 wxPyEndAllowThreads(__tstate);
27802 if (PyErr_Occurred()) SWIG_fail;
27803 }
27804 Py_INCREF(Py_None); resultobj = Py_None;
27805 return resultobj;
27806 fail:
27807 return NULL;
27808}
27809
27810
27811static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27812 PyObject *resultobj = NULL;
9d7dfdff
RD
27813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27814 long arg2 ;
27815 wxFont result;
27816 PyObject * obj0 = 0 ;
27817 PyObject * obj1 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "self",(char *) "item", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
27823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail;
27825 {
7449af73 27826 arg2 = static_cast<long >(SWIG_As_long(obj1));
9d7dfdff
RD
27827 if (SWIG_arg_fail(2)) SWIG_fail;
27828 }
27829 {
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
27832
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 {
27837 wxFont * resultptr;
7449af73 27838 resultptr = new wxFont(static_cast<wxFont & >(result));
9d7dfdff
RD
27839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
27840 }
27841 return resultobj;
27842 fail:
27843 return NULL;
27844}
27845
27846
c32bde28 27847static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27848 PyObject *resultobj = NULL;
d55e5bfc
RD
27849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27850 PyObject *arg2 = (PyObject *) 0 ;
27851 bool result;
27852 PyObject * obj0 = 0 ;
27853 PyObject * obj1 = 0 ;
27854 char *kwnames[] = {
27855 (char *) "self",(char *) "func", NULL
27856 };
27857
27858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27860 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27861 arg2 = obj1;
27862 {
27863 PyThreadState* __tstate = wxPyBeginAllowThreads();
27864 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
27865
27866 wxPyEndAllowThreads(__tstate);
27867 if (PyErr_Occurred()) SWIG_fail;
27868 }
27869 {
27870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27871 }
27872 return resultobj;
27873 fail:
27874 return NULL;
27875}
27876
27877
c32bde28 27878static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27879 PyObject *resultobj = NULL;
d55e5bfc
RD
27880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27881 wxWindow *result;
27882 PyObject * obj0 = 0 ;
27883 char *kwnames[] = {
27884 (char *) "self", NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
27888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27890 {
27891 PyThreadState* __tstate = wxPyBeginAllowThreads();
27892 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
27893
27894 wxPyEndAllowThreads(__tstate);
27895 if (PyErr_Occurred()) SWIG_fail;
27896 }
27897 {
412d302d 27898 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
27899 }
27900 return resultobj;
27901 fail:
27902 return NULL;
27903}
27904
27905
c32bde28 27906static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27907 PyObject *resultobj = NULL;
093d3ff1 27908 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
27909 wxVisualAttributes result;
27910 PyObject * obj0 = 0 ;
27911 char *kwnames[] = {
27912 (char *) "variant", NULL
27913 };
27914
27915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27916 if (obj0) {
093d3ff1 27917 {
7449af73 27918 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
27919 if (SWIG_arg_fail(1)) SWIG_fail;
27920 }
d55e5bfc
RD
27921 }
27922 {
19272049 27923 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 27924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27925 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
27926
27927 wxPyEndAllowThreads(__tstate);
110da5b0 27928 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27929 }
27930 {
27931 wxVisualAttributes * resultptr;
7449af73 27932 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
27933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27934 }
27935 return resultobj;
27936 fail:
27937 return NULL;
27938}
27939
27940
c32bde28 27941static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27942 PyObject *obj;
27943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27944 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
27945 Py_INCREF(obj);
27946 return Py_BuildValue((char *)"");
27947}
c32bde28 27948static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27949 PyObject *resultobj = NULL;
d55e5bfc
RD
27950 wxWindow *arg1 = (wxWindow *) 0 ;
27951 int arg2 = (int) -1 ;
27952 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27953 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27954 wxSize const &arg4_defvalue = wxDefaultSize ;
27955 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27956 long arg5 = (long) wxLC_REPORT ;
27957 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27958 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27959 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
27960 wxString *arg7 = (wxString *) &arg7_defvalue ;
27961 wxListView *result;
27962 wxPoint temp3 ;
27963 wxSize temp4 ;
ae8162c8 27964 bool temp7 = false ;
d55e5bfc
RD
27965 PyObject * obj0 = 0 ;
27966 PyObject * obj1 = 0 ;
27967 PyObject * obj2 = 0 ;
27968 PyObject * obj3 = 0 ;
27969 PyObject * obj4 = 0 ;
27970 PyObject * obj5 = 0 ;
27971 PyObject * obj6 = 0 ;
27972 char *kwnames[] = {
27973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27974 };
27975
27976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27979 if (obj1) {
093d3ff1 27980 {
7449af73 27981 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27982 if (SWIG_arg_fail(2)) SWIG_fail;
27983 }
d55e5bfc
RD
27984 }
27985 if (obj2) {
27986 {
27987 arg3 = &temp3;
27988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27989 }
27990 }
27991 if (obj3) {
27992 {
27993 arg4 = &temp4;
27994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27995 }
27996 }
27997 if (obj4) {
093d3ff1 27998 {
7449af73 27999 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
28000 if (SWIG_arg_fail(5)) SWIG_fail;
28001 }
d55e5bfc
RD
28002 }
28003 if (obj5) {
093d3ff1
RD
28004 {
28005 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28006 if (SWIG_arg_fail(6)) SWIG_fail;
28007 if (arg6 == NULL) {
28008 SWIG_null_ref("wxValidator");
28009 }
28010 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
28011 }
28012 }
28013 if (obj6) {
28014 {
28015 arg7 = wxString_in_helper(obj6);
28016 if (arg7 == NULL) SWIG_fail;
ae8162c8 28017 temp7 = true;
d55e5bfc
RD
28018 }
28019 }
28020 {
0439c23b 28021 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28022 PyThreadState* __tstate = wxPyBeginAllowThreads();
28023 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28024
28025 wxPyEndAllowThreads(__tstate);
110da5b0 28026 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28027 }
28028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
28029 {
28030 if (temp7)
28031 delete arg7;
28032 }
28033 return resultobj;
28034 fail:
28035 {
28036 if (temp7)
28037 delete arg7;
28038 }
28039 return NULL;
28040}
28041
28042
c32bde28 28043static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28044 PyObject *resultobj = NULL;
d55e5bfc
RD
28045 wxListView *result;
28046 char *kwnames[] = {
28047 NULL
28048 };
28049
28050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
28051 {
0439c23b 28052 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28053 PyThreadState* __tstate = wxPyBeginAllowThreads();
28054 result = (wxListView *)new wxListView();
28055
28056 wxPyEndAllowThreads(__tstate);
110da5b0 28057 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28058 }
28059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
28060 return resultobj;
28061 fail:
28062 return NULL;
28063}
28064
28065
c32bde28 28066static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28067 PyObject *resultobj = NULL;
d55e5bfc
RD
28068 wxListView *arg1 = (wxListView *) 0 ;
28069 wxWindow *arg2 = (wxWindow *) 0 ;
28070 int arg3 = (int) -1 ;
28071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28073 wxSize const &arg5_defvalue = wxDefaultSize ;
28074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28075 long arg6 = (long) wxLC_REPORT ;
28076 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28077 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28078 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28079 wxString *arg8 = (wxString *) &arg8_defvalue ;
28080 bool result;
28081 wxPoint temp4 ;
28082 wxSize temp5 ;
ae8162c8 28083 bool temp8 = false ;
d55e5bfc
RD
28084 PyObject * obj0 = 0 ;
28085 PyObject * obj1 = 0 ;
28086 PyObject * obj2 = 0 ;
28087 PyObject * obj3 = 0 ;
28088 PyObject * obj4 = 0 ;
28089 PyObject * obj5 = 0 ;
28090 PyObject * obj6 = 0 ;
28091 PyObject * obj7 = 0 ;
28092 char *kwnames[] = {
28093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28094 };
28095
28096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28098 if (SWIG_arg_fail(1)) SWIG_fail;
28099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28100 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28101 if (obj2) {
093d3ff1 28102 {
7449af73 28103 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
28104 if (SWIG_arg_fail(3)) SWIG_fail;
28105 }
d55e5bfc
RD
28106 }
28107 if (obj3) {
28108 {
28109 arg4 = &temp4;
28110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28111 }
28112 }
28113 if (obj4) {
28114 {
28115 arg5 = &temp5;
28116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28117 }
28118 }
28119 if (obj5) {
093d3ff1 28120 {
7449af73 28121 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
28122 if (SWIG_arg_fail(6)) SWIG_fail;
28123 }
d55e5bfc
RD
28124 }
28125 if (obj6) {
093d3ff1
RD
28126 {
28127 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28128 if (SWIG_arg_fail(7)) SWIG_fail;
28129 if (arg7 == NULL) {
28130 SWIG_null_ref("wxValidator");
28131 }
28132 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28133 }
28134 }
28135 if (obj7) {
28136 {
28137 arg8 = wxString_in_helper(obj7);
28138 if (arg8 == NULL) SWIG_fail;
ae8162c8 28139 temp8 = true;
d55e5bfc
RD
28140 }
28141 }
28142 {
28143 PyThreadState* __tstate = wxPyBeginAllowThreads();
28144 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28145
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 {
28150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28151 }
28152 {
28153 if (temp8)
28154 delete arg8;
28155 }
28156 return resultobj;
28157 fail:
28158 {
28159 if (temp8)
28160 delete arg8;
28161 }
28162 return NULL;
28163}
28164
28165
c32bde28 28166static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28167 PyObject *resultobj = NULL;
d55e5bfc
RD
28168 wxListView *arg1 = (wxListView *) 0 ;
28169 long arg2 ;
ae8162c8 28170 bool arg3 = (bool) true ;
d55e5bfc
RD
28171 PyObject * obj0 = 0 ;
28172 PyObject * obj1 = 0 ;
28173 PyObject * obj2 = 0 ;
28174 char *kwnames[] = {
28175 (char *) "self",(char *) "n",(char *) "on", NULL
28176 };
28177
28178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail;
28181 {
7449af73 28182 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28183 if (SWIG_arg_fail(2)) SWIG_fail;
28184 }
d55e5bfc 28185 if (obj2) {
093d3ff1 28186 {
7449af73 28187 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
28188 if (SWIG_arg_fail(3)) SWIG_fail;
28189 }
d55e5bfc
RD
28190 }
28191 {
28192 PyThreadState* __tstate = wxPyBeginAllowThreads();
28193 (arg1)->Select(arg2,arg3);
28194
28195 wxPyEndAllowThreads(__tstate);
28196 if (PyErr_Occurred()) SWIG_fail;
28197 }
28198 Py_INCREF(Py_None); resultobj = Py_None;
28199 return resultobj;
28200 fail:
28201 return NULL;
28202}
28203
28204
c32bde28 28205static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28206 PyObject *resultobj = NULL;
d55e5bfc
RD
28207 wxListView *arg1 = (wxListView *) 0 ;
28208 long arg2 ;
28209 PyObject * obj0 = 0 ;
28210 PyObject * obj1 = 0 ;
28211 char *kwnames[] = {
28212 (char *) "self",(char *) "index", NULL
28213 };
28214
28215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail;
28218 {
7449af73 28219 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28220 if (SWIG_arg_fail(2)) SWIG_fail;
28221 }
d55e5bfc
RD
28222 {
28223 PyThreadState* __tstate = wxPyBeginAllowThreads();
28224 (arg1)->Focus(arg2);
28225
28226 wxPyEndAllowThreads(__tstate);
28227 if (PyErr_Occurred()) SWIG_fail;
28228 }
28229 Py_INCREF(Py_None); resultobj = Py_None;
28230 return resultobj;
28231 fail:
28232 return NULL;
28233}
28234
28235
c32bde28 28236static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28237 PyObject *resultobj = NULL;
d55e5bfc
RD
28238 wxListView *arg1 = (wxListView *) 0 ;
28239 long result;
28240 PyObject * obj0 = 0 ;
28241 char *kwnames[] = {
28242 (char *) "self", NULL
28243 };
28244
28245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28247 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 result = (long)((wxListView const *)arg1)->GetFocusedItem();
28251
28252 wxPyEndAllowThreads(__tstate);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
093d3ff1 28255 {
7449af73 28256 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28257 }
d55e5bfc
RD
28258 return resultobj;
28259 fail:
28260 return NULL;
28261}
28262
28263
c32bde28 28264static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28265 PyObject *resultobj = NULL;
d55e5bfc
RD
28266 wxListView *arg1 = (wxListView *) 0 ;
28267 long arg2 ;
28268 long result;
28269 PyObject * obj0 = 0 ;
28270 PyObject * obj1 = 0 ;
28271 char *kwnames[] = {
28272 (char *) "self",(char *) "item", NULL
28273 };
28274
28275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28277 if (SWIG_arg_fail(1)) SWIG_fail;
28278 {
7449af73 28279 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28280 if (SWIG_arg_fail(2)) SWIG_fail;
28281 }
d55e5bfc
RD
28282 {
28283 PyThreadState* __tstate = wxPyBeginAllowThreads();
28284 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
28285
28286 wxPyEndAllowThreads(__tstate);
28287 if (PyErr_Occurred()) SWIG_fail;
28288 }
093d3ff1 28289 {
7449af73 28290 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28291 }
d55e5bfc
RD
28292 return resultobj;
28293 fail:
28294 return NULL;
28295}
28296
28297
c32bde28 28298static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28299 PyObject *resultobj = NULL;
d55e5bfc
RD
28300 wxListView *arg1 = (wxListView *) 0 ;
28301 long result;
28302 PyObject * obj0 = 0 ;
28303 char *kwnames[] = {
28304 (char *) "self", NULL
28305 };
28306
28307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
28308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 result = (long)((wxListView const *)arg1)->GetFirstSelected();
28313
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
093d3ff1 28317 {
7449af73 28318 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28319 }
d55e5bfc
RD
28320 return resultobj;
28321 fail:
28322 return NULL;
28323}
28324
28325
c32bde28 28326static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28327 PyObject *resultobj = NULL;
d55e5bfc
RD
28328 wxListView *arg1 = (wxListView *) 0 ;
28329 long arg2 ;
28330 bool result;
28331 PyObject * obj0 = 0 ;
28332 PyObject * obj1 = 0 ;
28333 char *kwnames[] = {
28334 (char *) "self",(char *) "index", NULL
28335 };
28336
28337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28339 if (SWIG_arg_fail(1)) SWIG_fail;
28340 {
7449af73 28341 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28342 if (SWIG_arg_fail(2)) SWIG_fail;
28343 }
d55e5bfc
RD
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
28346 result = (bool)(arg1)->IsSelected(arg2);
28347
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 {
28352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28353 }
28354 return resultobj;
28355 fail:
28356 return NULL;
28357}
28358
28359
c32bde28 28360static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28361 PyObject *resultobj = NULL;
d55e5bfc
RD
28362 wxListView *arg1 = (wxListView *) 0 ;
28363 int arg2 ;
28364 int arg3 ;
28365 PyObject * obj0 = 0 ;
28366 PyObject * obj1 = 0 ;
28367 PyObject * obj2 = 0 ;
28368 char *kwnames[] = {
28369 (char *) "self",(char *) "col",(char *) "image", NULL
28370 };
28371
28372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28374 if (SWIG_arg_fail(1)) SWIG_fail;
28375 {
7449af73 28376 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28377 if (SWIG_arg_fail(2)) SWIG_fail;
28378 }
28379 {
7449af73 28380 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
28381 if (SWIG_arg_fail(3)) SWIG_fail;
28382 }
d55e5bfc
RD
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 (arg1)->SetColumnImage(arg2,arg3);
28386
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 Py_INCREF(Py_None); resultobj = Py_None;
28391 return resultobj;
28392 fail:
28393 return NULL;
28394}
28395
28396
c32bde28 28397static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28398 PyObject *resultobj = NULL;
d55e5bfc
RD
28399 wxListView *arg1 = (wxListView *) 0 ;
28400 int arg2 ;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 char *kwnames[] = {
28404 (char *) "self",(char *) "col", NULL
28405 };
28406
28407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail;
28410 {
7449af73 28411 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28412 if (SWIG_arg_fail(2)) SWIG_fail;
28413 }
d55e5bfc
RD
28414 {
28415 PyThreadState* __tstate = wxPyBeginAllowThreads();
28416 (arg1)->ClearColumnImage(arg2);
28417
28418 wxPyEndAllowThreads(__tstate);
28419 if (PyErr_Occurred()) SWIG_fail;
28420 }
28421 Py_INCREF(Py_None); resultobj = Py_None;
28422 return resultobj;
28423 fail:
28424 return NULL;
28425}
28426
28427
c32bde28 28428static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28429 PyObject *obj;
28430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28431 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
28432 Py_INCREF(obj);
28433 return Py_BuildValue((char *)"");
28434}
c32bde28 28435static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
28436 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
28437 return 1;
28438}
28439
28440
093d3ff1 28441static PyObject *_wrap_TreeCtrlNameStr_get(void) {
7449af73 28442 PyObject *pyobj = NULL;
d55e5bfc
RD
28443
28444 {
28445#if wxUSE_UNICODE
28446 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28447#else
28448 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28449#endif
28450 }
28451 return pyobj;
28452}
28453
28454
c32bde28 28455static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28456 PyObject *resultobj = NULL;
d55e5bfc
RD
28457 wxTreeItemId *result;
28458 char *kwnames[] = {
28459 NULL
28460 };
28461
28462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
28463 {
28464 PyThreadState* __tstate = wxPyBeginAllowThreads();
28465 result = (wxTreeItemId *)new wxTreeItemId();
28466
28467 wxPyEndAllowThreads(__tstate);
28468 if (PyErr_Occurred()) SWIG_fail;
28469 }
28470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
28471 return resultobj;
28472 fail:
28473 return NULL;
28474}
28475
28476
c32bde28 28477static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28478 PyObject *resultobj = NULL;
d55e5bfc
RD
28479 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28480 PyObject * obj0 = 0 ;
28481 char *kwnames[] = {
28482 (char *) "self", NULL
28483 };
28484
28485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 delete arg1;
28491
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 Py_INCREF(Py_None); resultobj = Py_None;
28496 return resultobj;
28497 fail:
28498 return NULL;
28499}
28500
28501
c32bde28 28502static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28503 PyObject *resultobj = NULL;
d55e5bfc
RD
28504 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28505 bool result;
28506 PyObject * obj0 = 0 ;
28507 char *kwnames[] = {
28508 (char *) "self", NULL
28509 };
28510
28511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
28512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 {
28522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28523 }
28524 return resultobj;
28525 fail:
28526 return NULL;
28527}
28528
28529
c32bde28 28530static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28531 PyObject *resultobj = NULL;
d55e5bfc
RD
28532 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28533 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28534 bool result;
28535 PyObject * obj0 = 0 ;
28536 PyObject * obj1 = 0 ;
28537 char *kwnames[] = {
28538 (char *) "self",(char *) "other", NULL
28539 };
28540
28541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28543 if (SWIG_arg_fail(1)) SWIG_fail;
28544 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28545 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28546 {
28547 PyThreadState* __tstate = wxPyBeginAllowThreads();
28548 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
28549
28550 wxPyEndAllowThreads(__tstate);
28551 if (PyErr_Occurred()) SWIG_fail;
28552 }
28553 {
28554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28555 }
28556 return resultobj;
28557 fail:
28558 return NULL;
28559}
28560
28561
c32bde28 28562static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28563 PyObject *resultobj = NULL;
d55e5bfc
RD
28564 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28565 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28566 bool result;
28567 PyObject * obj0 = 0 ;
28568 PyObject * obj1 = 0 ;
28569 char *kwnames[] = {
28570 (char *) "self",(char *) "other", NULL
28571 };
28572
28573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28575 if (SWIG_arg_fail(1)) SWIG_fail;
28576 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28577 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28578 {
28579 PyThreadState* __tstate = wxPyBeginAllowThreads();
28580 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
28581
28582 wxPyEndAllowThreads(__tstate);
28583 if (PyErr_Occurred()) SWIG_fail;
28584 }
28585 {
28586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28587 }
28588 return resultobj;
28589 fail:
28590 return NULL;
28591}
28592
28593
c32bde28 28594static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28595 PyObject *resultobj = NULL;
d55e5bfc
RD
28596 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28597 void *arg2 = (void *) 0 ;
28598 PyObject * obj0 = 0 ;
28599 PyObject * obj1 = 0 ;
28600 char *kwnames[] = {
28601 (char *) "self",(char *) "m_pItem", NULL
28602 };
28603
28604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28606 if (SWIG_arg_fail(1)) SWIG_fail;
28607 {
7449af73 28608 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
093d3ff1
RD
28609 SWIG_arg_fail(2);SWIG_fail;
28610 }
28611 }
d55e5bfc
RD
28612 if (arg1) (arg1)->m_pItem = arg2;
28613
28614 Py_INCREF(Py_None); resultobj = Py_None;
28615 return resultobj;
28616 fail:
28617 return NULL;
28618}
28619
28620
c32bde28 28621static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28622 PyObject *resultobj = NULL;
d55e5bfc
RD
28623 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28624 void *result;
28625 PyObject * obj0 = 0 ;
28626 char *kwnames[] = {
28627 (char *) "self", NULL
28628 };
28629
28630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
28631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28633 result = (void *) ((arg1)->m_pItem);
28634
28635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
28636 return resultobj;
28637 fail:
28638 return NULL;
28639}
28640
28641
c32bde28 28642static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28643 PyObject *obj;
28644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28645 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
28646 Py_INCREF(obj);
28647 return Py_BuildValue((char *)"");
28648}
c32bde28 28649static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28650 PyObject *resultobj = NULL;
d55e5bfc
RD
28651 PyObject *arg1 = (PyObject *) NULL ;
28652 wxPyTreeItemData *result;
28653 PyObject * obj0 = 0 ;
28654 char *kwnames[] = {
28655 (char *) "obj", NULL
28656 };
28657
28658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
28659 if (obj0) {
28660 arg1 = obj0;
28661 }
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
28665
28666 wxPyEndAllowThreads(__tstate);
28667 if (PyErr_Occurred()) SWIG_fail;
28668 }
28669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
28670 return resultobj;
28671 fail:
28672 return NULL;
28673}
28674
28675
7e08d4ef
RD
28676static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28677 PyObject *resultobj = NULL;
28678 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28679 PyObject * obj0 = 0 ;
28680 char *kwnames[] = {
28681 (char *) "self", NULL
28682 };
28683
28684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail;
28685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28686 if (SWIG_arg_fail(1)) SWIG_fail;
28687 {
28688 PyThreadState* __tstate = wxPyBeginAllowThreads();
28689 delete arg1;
28690
28691 wxPyEndAllowThreads(__tstate);
28692 if (PyErr_Occurred()) SWIG_fail;
28693 }
28694 Py_INCREF(Py_None); resultobj = Py_None;
28695 return resultobj;
28696 fail:
28697 return NULL;
28698}
28699
28700
c32bde28 28701static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28702 PyObject *resultobj = NULL;
d55e5bfc
RD
28703 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28704 PyObject *result;
28705 PyObject * obj0 = 0 ;
28706 char *kwnames[] = {
28707 (char *) "self", NULL
28708 };
28709
28710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
28711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28713 {
28714 PyThreadState* __tstate = wxPyBeginAllowThreads();
28715 result = (PyObject *)(arg1)->GetData();
28716
28717 wxPyEndAllowThreads(__tstate);
28718 if (PyErr_Occurred()) SWIG_fail;
28719 }
28720 resultobj = result;
28721 return resultobj;
28722 fail:
28723 return NULL;
28724}
28725
28726
c32bde28 28727static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28728 PyObject *resultobj = NULL;
d55e5bfc
RD
28729 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28730 PyObject *arg2 = (PyObject *) 0 ;
28731 PyObject * obj0 = 0 ;
28732 PyObject * obj1 = 0 ;
28733 char *kwnames[] = {
28734 (char *) "self",(char *) "obj", NULL
28735 };
28736
28737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28740 arg2 = obj1;
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 (arg1)->SetData(arg2);
28744
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 Py_INCREF(Py_None); resultobj = Py_None;
28749 return resultobj;
28750 fail:
28751 return NULL;
28752}
28753
28754
c32bde28 28755static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28756 PyObject *resultobj = NULL;
d55e5bfc
RD
28757 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28758 wxTreeItemId *result;
28759 PyObject * obj0 = 0 ;
28760 char *kwnames[] = {
28761 (char *) "self", NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28766 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28767 {
28768 PyThreadState* __tstate = wxPyBeginAllowThreads();
28769 {
28770 wxTreeItemId const &_result_ref = (arg1)->GetId();
28771 result = (wxTreeItemId *) &_result_ref;
28772 }
28773
28774 wxPyEndAllowThreads(__tstate);
28775 if (PyErr_Occurred()) SWIG_fail;
28776 }
28777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
28778 return resultobj;
28779 fail:
28780 return NULL;
28781}
28782
28783
c32bde28 28784static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28785 PyObject *resultobj = NULL;
d55e5bfc
RD
28786 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28787 wxTreeItemId *arg2 = 0 ;
28788 PyObject * obj0 = 0 ;
28789 PyObject * obj1 = 0 ;
28790 char *kwnames[] = {
28791 (char *) "self",(char *) "id", NULL
28792 };
28793
28794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28796 if (SWIG_arg_fail(1)) SWIG_fail;
28797 {
28798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28799 if (SWIG_arg_fail(2)) SWIG_fail;
28800 if (arg2 == NULL) {
28801 SWIG_null_ref("wxTreeItemId");
28802 }
28803 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28804 }
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 (arg1)->SetId((wxTreeItemId const &)*arg2);
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 Py_INCREF(Py_None); resultobj = Py_None;
28813 return resultobj;
28814 fail:
28815 return NULL;
28816}
28817
28818
c32bde28 28819static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28820 PyObject *resultobj = NULL;
d55e5bfc
RD
28821 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28822 PyObject * obj0 = 0 ;
28823 char *kwnames[] = {
28824 (char *) "self", NULL
28825 };
28826
28827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
28828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28830 {
28831 PyThreadState* __tstate = wxPyBeginAllowThreads();
28832 wxPyTreeItemData_Destroy(arg1);
28833
28834 wxPyEndAllowThreads(__tstate);
28835 if (PyErr_Occurred()) SWIG_fail;
28836 }
28837 Py_INCREF(Py_None); resultobj = Py_None;
28838 return resultobj;
28839 fail:
28840 return NULL;
28841}
28842
28843
c32bde28 28844static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28845 PyObject *obj;
28846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28847 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
28848 Py_INCREF(obj);
28849 return Py_BuildValue((char *)"");
28850}
c32bde28 28851static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28852 PyObject *resultobj = NULL;
d55e5bfc
RD
28853 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28854 int arg2 = (int) 0 ;
28855 wxTreeEvent *result;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 char *kwnames[] = {
28859 (char *) "commandType",(char *) "id", NULL
28860 };
28861
28862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
28863 if (obj0) {
093d3ff1 28864 {
7449af73 28865 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
28866 if (SWIG_arg_fail(1)) SWIG_fail;
28867 }
d55e5bfc
RD
28868 }
28869 if (obj1) {
093d3ff1 28870 {
7449af73 28871 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28872 if (SWIG_arg_fail(2)) SWIG_fail;
28873 }
d55e5bfc
RD
28874 }
28875 {
28876 PyThreadState* __tstate = wxPyBeginAllowThreads();
28877 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
28878
28879 wxPyEndAllowThreads(__tstate);
28880 if (PyErr_Occurred()) SWIG_fail;
28881 }
28882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
28883 return resultobj;
28884 fail:
28885 return NULL;
28886}
28887
28888
c32bde28 28889static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28890 PyObject *resultobj = NULL;
d55e5bfc
RD
28891 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28892 wxTreeItemId result;
28893 PyObject * obj0 = 0 ;
28894 char *kwnames[] = {
28895 (char *) "self", NULL
28896 };
28897
28898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 result = ((wxTreeEvent const *)arg1)->GetItem();
28904
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 {
28909 wxTreeItemId * resultptr;
7449af73 28910 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
28911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28912 }
28913 return resultobj;
28914 fail:
28915 return NULL;
28916}
28917
28918
c32bde28 28919static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28920 PyObject *resultobj = NULL;
d55e5bfc
RD
28921 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28922 wxTreeItemId *arg2 = 0 ;
28923 PyObject * obj0 = 0 ;
28924 PyObject * obj1 = 0 ;
28925 char *kwnames[] = {
28926 (char *) "self",(char *) "item", NULL
28927 };
28928
28929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28931 if (SWIG_arg_fail(1)) SWIG_fail;
28932 {
28933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28934 if (SWIG_arg_fail(2)) SWIG_fail;
28935 if (arg2 == NULL) {
28936 SWIG_null_ref("wxTreeItemId");
28937 }
28938 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28939 }
28940 {
28941 PyThreadState* __tstate = wxPyBeginAllowThreads();
28942 (arg1)->SetItem((wxTreeItemId const &)*arg2);
28943
28944 wxPyEndAllowThreads(__tstate);
28945 if (PyErr_Occurred()) SWIG_fail;
28946 }
28947 Py_INCREF(Py_None); resultobj = Py_None;
28948 return resultobj;
28949 fail:
28950 return NULL;
28951}
28952
28953
c32bde28 28954static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28955 PyObject *resultobj = NULL;
d55e5bfc
RD
28956 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28957 wxTreeItemId result;
28958 PyObject * obj0 = 0 ;
28959 char *kwnames[] = {
28960 (char *) "self", NULL
28961 };
28962
28963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28965 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28966 {
28967 PyThreadState* __tstate = wxPyBeginAllowThreads();
28968 result = ((wxTreeEvent const *)arg1)->GetOldItem();
28969
28970 wxPyEndAllowThreads(__tstate);
28971 if (PyErr_Occurred()) SWIG_fail;
28972 }
28973 {
28974 wxTreeItemId * resultptr;
7449af73 28975 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
28976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28977 }
28978 return resultobj;
28979 fail:
28980 return NULL;
28981}
28982
28983
c32bde28 28984static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28985 PyObject *resultobj = NULL;
d55e5bfc
RD
28986 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28987 wxTreeItemId *arg2 = 0 ;
28988 PyObject * obj0 = 0 ;
28989 PyObject * obj1 = 0 ;
28990 char *kwnames[] = {
28991 (char *) "self",(char *) "item", NULL
28992 };
28993
28994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail;
28997 {
28998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28999 if (SWIG_arg_fail(2)) SWIG_fail;
29000 if (arg2 == NULL) {
29001 SWIG_null_ref("wxTreeItemId");
29002 }
29003 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29004 }
29005 {
29006 PyThreadState* __tstate = wxPyBeginAllowThreads();
29007 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
29008
29009 wxPyEndAllowThreads(__tstate);
29010 if (PyErr_Occurred()) SWIG_fail;
29011 }
29012 Py_INCREF(Py_None); resultobj = Py_None;
29013 return resultobj;
29014 fail:
29015 return NULL;
29016}
29017
29018
c32bde28 29019static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29020 PyObject *resultobj = NULL;
d55e5bfc
RD
29021 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29022 wxPoint result;
29023 PyObject * obj0 = 0 ;
29024 char *kwnames[] = {
29025 (char *) "self", NULL
29026 };
29027
29028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
29029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29030 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29031 {
29032 PyThreadState* __tstate = wxPyBeginAllowThreads();
29033 result = ((wxTreeEvent const *)arg1)->GetPoint();
29034
29035 wxPyEndAllowThreads(__tstate);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 {
29039 wxPoint * resultptr;
7449af73 29040 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
29041 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29042 }
29043 return resultobj;
29044 fail:
29045 return NULL;
29046}
29047
29048
c32bde28 29049static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29050 PyObject *resultobj = NULL;
d55e5bfc
RD
29051 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29052 wxPoint *arg2 = 0 ;
29053 wxPoint temp2 ;
29054 PyObject * obj0 = 0 ;
29055 PyObject * obj1 = 0 ;
29056 char *kwnames[] = {
29057 (char *) "self",(char *) "pt", NULL
29058 };
29059
29060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29063 {
29064 arg2 = &temp2;
29065 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29066 }
29067 {
29068 PyThreadState* __tstate = wxPyBeginAllowThreads();
29069 (arg1)->SetPoint((wxPoint const &)*arg2);
29070
29071 wxPyEndAllowThreads(__tstate);
29072 if (PyErr_Occurred()) SWIG_fail;
29073 }
29074 Py_INCREF(Py_None); resultobj = Py_None;
29075 return resultobj;
29076 fail:
29077 return NULL;
29078}
29079
29080
c32bde28 29081static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29082 PyObject *resultobj = NULL;
d55e5bfc
RD
29083 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29084 wxKeyEvent *result;
29085 PyObject * obj0 = 0 ;
29086 char *kwnames[] = {
29087 (char *) "self", NULL
29088 };
29089
29090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29093 {
29094 PyThreadState* __tstate = wxPyBeginAllowThreads();
29095 {
29096 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
29097 result = (wxKeyEvent *) &_result_ref;
29098 }
29099
29100 wxPyEndAllowThreads(__tstate);
29101 if (PyErr_Occurred()) SWIG_fail;
29102 }
29103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
29104 return resultobj;
29105 fail:
29106 return NULL;
29107}
29108
29109
c32bde28 29110static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29111 PyObject *resultobj = NULL;
d55e5bfc
RD
29112 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29113 int result;
29114 PyObject * obj0 = 0 ;
29115 char *kwnames[] = {
29116 (char *) "self", NULL
29117 };
29118
29119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
29120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29122 {
29123 PyThreadState* __tstate = wxPyBeginAllowThreads();
29124 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
29125
29126 wxPyEndAllowThreads(__tstate);
29127 if (PyErr_Occurred()) SWIG_fail;
29128 }
093d3ff1 29129 {
7449af73 29130 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 29131 }
d55e5bfc
RD
29132 return resultobj;
29133 fail:
29134 return NULL;
29135}
29136
29137
c32bde28 29138static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29139 PyObject *resultobj = NULL;
d55e5bfc
RD
29140 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29141 wxKeyEvent *arg2 = 0 ;
29142 PyObject * obj0 = 0 ;
29143 PyObject * obj1 = 0 ;
29144 char *kwnames[] = {
29145 (char *) "self",(char *) "evt", NULL
29146 };
29147
29148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29150 if (SWIG_arg_fail(1)) SWIG_fail;
29151 {
29152 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
29153 if (SWIG_arg_fail(2)) SWIG_fail;
29154 if (arg2 == NULL) {
29155 SWIG_null_ref("wxKeyEvent");
29156 }
29157 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29158 }
29159 {
29160 PyThreadState* __tstate = wxPyBeginAllowThreads();
29161 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
29162
29163 wxPyEndAllowThreads(__tstate);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 }
29166 Py_INCREF(Py_None); resultobj = Py_None;
29167 return resultobj;
29168 fail:
29169 return NULL;
29170}
29171
29172
c32bde28 29173static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29174 PyObject *resultobj = NULL;
d55e5bfc
RD
29175 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29176 wxString *result;
29177 PyObject * obj0 = 0 ;
29178 char *kwnames[] = {
29179 (char *) "self", NULL
29180 };
29181
29182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
29183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29185 {
29186 PyThreadState* __tstate = wxPyBeginAllowThreads();
29187 {
29188 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
29189 result = (wxString *) &_result_ref;
29190 }
29191
29192 wxPyEndAllowThreads(__tstate);
29193 if (PyErr_Occurred()) SWIG_fail;
29194 }
29195 {
29196#if wxUSE_UNICODE
29197 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29198#else
29199 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29200#endif
29201 }
29202 return resultobj;
29203 fail:
29204 return NULL;
29205}
29206
29207
c32bde28 29208static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29209 PyObject *resultobj = NULL;
d55e5bfc
RD
29210 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29211 wxString *arg2 = 0 ;
ae8162c8 29212 bool temp2 = false ;
d55e5bfc
RD
29213 PyObject * obj0 = 0 ;
29214 PyObject * obj1 = 0 ;
29215 char *kwnames[] = {
29216 (char *) "self",(char *) "label", NULL
29217 };
29218
29219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29222 {
29223 arg2 = wxString_in_helper(obj1);
29224 if (arg2 == NULL) SWIG_fail;
ae8162c8 29225 temp2 = true;
d55e5bfc
RD
29226 }
29227 {
29228 PyThreadState* __tstate = wxPyBeginAllowThreads();
29229 (arg1)->SetLabel((wxString const &)*arg2);
29230
29231 wxPyEndAllowThreads(__tstate);
29232 if (PyErr_Occurred()) SWIG_fail;
29233 }
29234 Py_INCREF(Py_None); resultobj = Py_None;
29235 {
29236 if (temp2)
29237 delete arg2;
29238 }
29239 return resultobj;
29240 fail:
29241 {
29242 if (temp2)
29243 delete arg2;
29244 }
29245 return NULL;
29246}
29247
29248
c32bde28 29249static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29250 PyObject *resultobj = NULL;
d55e5bfc
RD
29251 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29252 bool result;
29253 PyObject * obj0 = 0 ;
29254 char *kwnames[] = {
29255 (char *) "self", NULL
29256 };
29257
29258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
29259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29261 {
29262 PyThreadState* __tstate = wxPyBeginAllowThreads();
29263 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
29264
29265 wxPyEndAllowThreads(__tstate);
29266 if (PyErr_Occurred()) SWIG_fail;
29267 }
29268 {
29269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29270 }
29271 return resultobj;
29272 fail:
29273 return NULL;
29274}
29275
29276
c32bde28 29277static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29278 PyObject *resultobj = NULL;
d55e5bfc
RD
29279 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29280 bool arg2 ;
29281 PyObject * obj0 = 0 ;
29282 PyObject * obj1 = 0 ;
29283 char *kwnames[] = {
29284 (char *) "self",(char *) "editCancelled", NULL
29285 };
29286
29287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29289 if (SWIG_arg_fail(1)) SWIG_fail;
29290 {
7449af73 29291 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
29292 if (SWIG_arg_fail(2)) SWIG_fail;
29293 }
d55e5bfc
RD
29294 {
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
29296 (arg1)->SetEditCanceled(arg2);
29297
29298 wxPyEndAllowThreads(__tstate);
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
29301 Py_INCREF(Py_None); resultobj = Py_None;
29302 return resultobj;
29303 fail:
29304 return NULL;
29305}
29306
29307
c32bde28 29308static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29309 PyObject *resultobj = NULL;
d55e5bfc
RD
29310 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29311 wxString *arg2 = 0 ;
ae8162c8 29312 bool temp2 = false ;
d55e5bfc
RD
29313 PyObject * obj0 = 0 ;
29314 PyObject * obj1 = 0 ;
29315 char *kwnames[] = {
29316 (char *) "self",(char *) "toolTip", NULL
29317 };
29318
29319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29322 {
29323 arg2 = wxString_in_helper(obj1);
29324 if (arg2 == NULL) SWIG_fail;
ae8162c8 29325 temp2 = true;
d55e5bfc
RD
29326 }
29327 {
29328 PyThreadState* __tstate = wxPyBeginAllowThreads();
29329 (arg1)->SetToolTip((wxString const &)*arg2);
29330
29331 wxPyEndAllowThreads(__tstate);
29332 if (PyErr_Occurred()) SWIG_fail;
29333 }
29334 Py_INCREF(Py_None); resultobj = Py_None;
29335 {
29336 if (temp2)
29337 delete arg2;
29338 }
29339 return resultobj;
29340 fail:
29341 {
29342 if (temp2)
29343 delete arg2;
29344 }
29345 return NULL;
29346}
29347
29348
dcb8fc74 29349static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29350 PyObject *resultobj = NULL;
dcb8fc74
RD
29351 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29352 wxString result;
29353 PyObject * obj0 = 0 ;
29354 char *kwnames[] = {
29355 (char *) "self", NULL
29356 };
29357
29358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
29359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29360 if (SWIG_arg_fail(1)) SWIG_fail;
29361 {
29362 PyThreadState* __tstate = wxPyBeginAllowThreads();
29363 result = (arg1)->GetToolTip();
29364
29365 wxPyEndAllowThreads(__tstate);
29366 if (PyErr_Occurred()) SWIG_fail;
29367 }
29368 {
29369#if wxUSE_UNICODE
29370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29371#else
29372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29373#endif
29374 }
29375 return resultobj;
29376 fail:
29377 return NULL;
29378}
29379
29380
c32bde28 29381static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29382 PyObject *obj;
29383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29384 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
29385 Py_INCREF(obj);
29386 return Py_BuildValue((char *)"");
29387}
c32bde28 29388static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29389 PyObject *resultobj = NULL;
d55e5bfc
RD
29390 wxWindow *arg1 = (wxWindow *) 0 ;
29391 int arg2 = (int) -1 ;
29392 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29393 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29394 wxSize const &arg4_defvalue = wxDefaultSize ;
29395 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29396 long arg5 = (long) wxTR_DEFAULT_STYLE ;
29397 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29398 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29399 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
29400 wxString *arg7 = (wxString *) &arg7_defvalue ;
29401 wxPyTreeCtrl *result;
29402 wxPoint temp3 ;
29403 wxSize temp4 ;
ae8162c8 29404 bool temp7 = false ;
d55e5bfc
RD
29405 PyObject * obj0 = 0 ;
29406 PyObject * obj1 = 0 ;
29407 PyObject * obj2 = 0 ;
29408 PyObject * obj3 = 0 ;
29409 PyObject * obj4 = 0 ;
29410 PyObject * obj5 = 0 ;
29411 PyObject * obj6 = 0 ;
29412 char *kwnames[] = {
29413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29414 };
29415
29416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
29417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29419 if (obj1) {
093d3ff1 29420 {
7449af73 29421 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
29422 if (SWIG_arg_fail(2)) SWIG_fail;
29423 }
d55e5bfc
RD
29424 }
29425 if (obj2) {
29426 {
29427 arg3 = &temp3;
29428 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29429 }
29430 }
29431 if (obj3) {
29432 {
29433 arg4 = &temp4;
29434 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29435 }
29436 }
29437 if (obj4) {
093d3ff1 29438 {
7449af73 29439 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
29440 if (SWIG_arg_fail(5)) SWIG_fail;
29441 }
d55e5bfc
RD
29442 }
29443 if (obj5) {
093d3ff1
RD
29444 {
29445 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29446 if (SWIG_arg_fail(6)) SWIG_fail;
29447 if (arg6 == NULL) {
29448 SWIG_null_ref("wxValidator");
29449 }
29450 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
29451 }
29452 }
29453 if (obj6) {
29454 {
29455 arg7 = wxString_in_helper(obj6);
29456 if (arg7 == NULL) SWIG_fail;
ae8162c8 29457 temp7 = true;
d55e5bfc
RD
29458 }
29459 }
29460 {
0439c23b 29461 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29462 PyThreadState* __tstate = wxPyBeginAllowThreads();
29463 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29464
29465 wxPyEndAllowThreads(__tstate);
110da5b0 29466 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 29467 }
b0f7404b 29468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
29469 {
29470 if (temp7)
29471 delete arg7;
29472 }
29473 return resultobj;
29474 fail:
29475 {
29476 if (temp7)
29477 delete arg7;
29478 }
29479 return NULL;
29480}
29481
29482
c32bde28 29483static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29484 PyObject *resultobj = NULL;
d55e5bfc
RD
29485 wxPyTreeCtrl *result;
29486 char *kwnames[] = {
29487 NULL
29488 };
29489
29490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
29491 {
0439c23b 29492 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29493 PyThreadState* __tstate = wxPyBeginAllowThreads();
29494 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
29495
29496 wxPyEndAllowThreads(__tstate);
110da5b0 29497 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 29498 }
b0f7404b 29499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
29500 return resultobj;
29501 fail:
29502 return NULL;
29503}
29504
29505
c32bde28 29506static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29507 PyObject *resultobj = NULL;
d55e5bfc
RD
29508 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29509 wxWindow *arg2 = (wxWindow *) 0 ;
29510 int arg3 = (int) -1 ;
29511 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29512 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29513 wxSize const &arg5_defvalue = wxDefaultSize ;
29514 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29515 long arg6 = (long) wxTR_DEFAULT_STYLE ;
29516 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29517 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29518 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
29519 wxString *arg8 = (wxString *) &arg8_defvalue ;
29520 bool result;
29521 wxPoint temp4 ;
29522 wxSize temp5 ;
ae8162c8 29523 bool temp8 = false ;
d55e5bfc
RD
29524 PyObject * obj0 = 0 ;
29525 PyObject * obj1 = 0 ;
29526 PyObject * obj2 = 0 ;
29527 PyObject * obj3 = 0 ;
29528 PyObject * obj4 = 0 ;
29529 PyObject * obj5 = 0 ;
29530 PyObject * obj6 = 0 ;
29531 PyObject * obj7 = 0 ;
29532 char *kwnames[] = {
29533 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29534 };
29535
29536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
29537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29538 if (SWIG_arg_fail(1)) SWIG_fail;
29539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29540 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29541 if (obj2) {
093d3ff1 29542 {
7449af73 29543 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
29544 if (SWIG_arg_fail(3)) SWIG_fail;
29545 }
d55e5bfc
RD
29546 }
29547 if (obj3) {
29548 {
29549 arg4 = &temp4;
29550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29551 }
29552 }
29553 if (obj4) {
29554 {
29555 arg5 = &temp5;
29556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29557 }
29558 }
29559 if (obj5) {
093d3ff1 29560 {
7449af73 29561 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
29562 if (SWIG_arg_fail(6)) SWIG_fail;
29563 }
d55e5bfc
RD
29564 }
29565 if (obj6) {
093d3ff1
RD
29566 {
29567 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29568 if (SWIG_arg_fail(7)) SWIG_fail;
29569 if (arg7 == NULL) {
29570 SWIG_null_ref("wxValidator");
29571 }
29572 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
29573 }
29574 }
29575 if (obj7) {
29576 {
29577 arg8 = wxString_in_helper(obj7);
29578 if (arg8 == NULL) SWIG_fail;
ae8162c8 29579 temp8 = true;
d55e5bfc
RD
29580 }
29581 }
29582 {
29583 PyThreadState* __tstate = wxPyBeginAllowThreads();
29584 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29585
29586 wxPyEndAllowThreads(__tstate);
29587 if (PyErr_Occurred()) SWIG_fail;
29588 }
29589 {
29590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29591 }
29592 {
29593 if (temp8)
29594 delete arg8;
29595 }
29596 return resultobj;
29597 fail:
29598 {
29599 if (temp8)
29600 delete arg8;
29601 }
29602 return NULL;
29603}
29604
29605
c32bde28 29606static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29607 PyObject *resultobj = NULL;
d55e5bfc
RD
29608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29609 PyObject *arg2 = (PyObject *) 0 ;
29610 PyObject *arg3 = (PyObject *) 0 ;
29611 PyObject * obj0 = 0 ;
29612 PyObject * obj1 = 0 ;
29613 PyObject * obj2 = 0 ;
29614 char *kwnames[] = {
29615 (char *) "self",(char *) "self",(char *) "_class", NULL
29616 };
29617
29618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29620 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29621 arg2 = obj1;
29622 arg3 = obj2;
29623 {
29624 PyThreadState* __tstate = wxPyBeginAllowThreads();
29625 (arg1)->_setCallbackInfo(arg2,arg3);
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_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29638 PyObject *resultobj = NULL;
d55e5bfc
RD
29639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29640 size_t result;
29641 PyObject * obj0 = 0 ;
29642 char *kwnames[] = {
29643 (char *) "self", NULL
29644 };
29645
29646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",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;
d55e5bfc
RD
29649 {
29650 PyThreadState* __tstate = wxPyBeginAllowThreads();
29651 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
29652
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
093d3ff1 29656 {
7449af73 29657 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 29658 }
d55e5bfc
RD
29659 return resultobj;
29660 fail:
29661 return NULL;
29662}
29663
29664
c32bde28 29665static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29666 PyObject *resultobj = NULL;
d55e5bfc
RD
29667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29668 unsigned int result;
29669 PyObject * obj0 = 0 ;
29670 char *kwnames[] = {
29671 (char *) "self", NULL
29672 };
29673
29674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29677 {
29678 PyThreadState* __tstate = wxPyBeginAllowThreads();
29679 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
29680
29681 wxPyEndAllowThreads(__tstate);
29682 if (PyErr_Occurred()) SWIG_fail;
29683 }
093d3ff1 29684 {
7449af73 29685 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 29686 }
d55e5bfc
RD
29687 return resultobj;
29688 fail:
29689 return NULL;
29690}
29691
29692
c32bde28 29693static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29694 PyObject *resultobj = NULL;
d55e5bfc
RD
29695 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29696 unsigned int arg2 ;
29697 PyObject * obj0 = 0 ;
29698 PyObject * obj1 = 0 ;
29699 char *kwnames[] = {
29700 (char *) "self",(char *) "indent", NULL
29701 };
29702
29703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail;
29706 {
7449af73 29707 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
29708 if (SWIG_arg_fail(2)) SWIG_fail;
29709 }
d55e5bfc
RD
29710 {
29711 PyThreadState* __tstate = wxPyBeginAllowThreads();
29712 (arg1)->SetIndent(arg2);
29713
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 Py_INCREF(Py_None); resultobj = Py_None;
29718 return resultobj;
29719 fail:
29720 return NULL;
29721}
29722
29723
c32bde28 29724static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29725 PyObject *resultobj = NULL;
d55e5bfc
RD
29726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29727 unsigned int result;
29728 PyObject * obj0 = 0 ;
29729 char *kwnames[] = {
29730 (char *) "self", NULL
29731 };
29732
29733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",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;
d55e5bfc
RD
29736 {
29737 PyThreadState* __tstate = wxPyBeginAllowThreads();
29738 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
29739
29740 wxPyEndAllowThreads(__tstate);
29741 if (PyErr_Occurred()) SWIG_fail;
29742 }
093d3ff1 29743 {
7449af73 29744 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 29745 }
d55e5bfc
RD
29746 return resultobj;
29747 fail:
29748 return NULL;
29749}
29750
29751
c32bde28 29752static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29753 PyObject *resultobj = NULL;
d55e5bfc
RD
29754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29755 unsigned int arg2 ;
29756 PyObject * obj0 = 0 ;
29757 PyObject * obj1 = 0 ;
29758 char *kwnames[] = {
29759 (char *) "self",(char *) "spacing", NULL
29760 };
29761
29762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",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 {
7449af73 29766 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
29767 if (SWIG_arg_fail(2)) SWIG_fail;
29768 }
d55e5bfc
RD
29769 {
29770 PyThreadState* __tstate = wxPyBeginAllowThreads();
29771 (arg1)->SetSpacing(arg2);
29772
29773 wxPyEndAllowThreads(__tstate);
29774 if (PyErr_Occurred()) SWIG_fail;
29775 }
29776 Py_INCREF(Py_None); resultobj = Py_None;
29777 return resultobj;
29778 fail:
29779 return NULL;
29780}
29781
29782
c32bde28 29783static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29784 PyObject *resultobj = NULL;
d55e5bfc
RD
29785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29786 wxImageList *result;
29787 PyObject * obj0 = 0 ;
29788 char *kwnames[] = {
29789 (char *) "self", NULL
29790 };
29791
29792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
29793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29795 {
29796 PyThreadState* __tstate = wxPyBeginAllowThreads();
29797 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
29798
29799 wxPyEndAllowThreads(__tstate);
29800 if (PyErr_Occurred()) SWIG_fail;
29801 }
29802 {
7e08d4ef 29803 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
29804 }
29805 return resultobj;
29806 fail:
29807 return NULL;
29808}
29809
29810
c32bde28 29811static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29812 PyObject *resultobj = NULL;
d55e5bfc
RD
29813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29814 wxImageList *result;
29815 PyObject * obj0 = 0 ;
29816 char *kwnames[] = {
29817 (char *) "self", NULL
29818 };
29819
29820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) 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;
d55e5bfc
RD
29823 {
29824 PyThreadState* __tstate = wxPyBeginAllowThreads();
29825 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
29826
29827 wxPyEndAllowThreads(__tstate);
29828 if (PyErr_Occurred()) SWIG_fail;
29829 }
29830 {
7e08d4ef 29831 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
29832 }
29833 return resultobj;
29834 fail:
29835 return NULL;
29836}
29837
29838
c32bde28 29839static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29840 PyObject *resultobj = NULL;
d55e5bfc
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_SetImageList",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 | 0);
29853 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29854 {
29855 PyThreadState* __tstate = wxPyBeginAllowThreads();
29856 (arg1)->SetImageList(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_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29869 PyObject *resultobj = NULL;
d55e5bfc
RD
29870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29871 wxImageList *arg2 = (wxImageList *) 0 ;
29872 PyObject * obj0 = 0 ;
29873 PyObject * obj1 = 0 ;
29874 char *kwnames[] = {
29875 (char *) "self",(char *) "imageList", NULL
29876 };
29877
29878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29880 if (SWIG_arg_fail(1)) SWIG_fail;
29881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29882 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29883 {
29884 PyThreadState* __tstate = wxPyBeginAllowThreads();
29885 (arg1)->SetStateImageList(arg2);
29886
29887 wxPyEndAllowThreads(__tstate);
29888 if (PyErr_Occurred()) SWIG_fail;
29889 }
29890 Py_INCREF(Py_None); resultobj = Py_None;
29891 return resultobj;
29892 fail:
29893 return NULL;
29894}
29895
29896
c32bde28 29897static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29898 PyObject *resultobj = NULL;
d55e5bfc
RD
29899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29900 wxImageList *arg2 = (wxImageList *) 0 ;
29901 PyObject * obj0 = 0 ;
29902 PyObject * obj1 = 0 ;
29903 char *kwnames[] = {
29904 (char *) "self",(char *) "imageList", NULL
29905 };
29906
29907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29909 if (SWIG_arg_fail(1)) SWIG_fail;
29910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29911 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 (arg1)->AssignImageList(arg2);
29915
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 Py_INCREF(Py_None); resultobj = Py_None;
29920 return resultobj;
29921 fail:
29922 return NULL;
29923}
29924
29925
c32bde28 29926static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29927 PyObject *resultobj = NULL;
d55e5bfc
RD
29928 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29929 wxImageList *arg2 = (wxImageList *) 0 ;
29930 PyObject * obj0 = 0 ;
29931 PyObject * obj1 = 0 ;
29932 char *kwnames[] = {
29933 (char *) "self",(char *) "imageList", NULL
29934 };
29935
29936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29938 if (SWIG_arg_fail(1)) SWIG_fail;
29939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29940 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29941 {
29942 PyThreadState* __tstate = wxPyBeginAllowThreads();
29943 (arg1)->AssignStateImageList(arg2);
29944
29945 wxPyEndAllowThreads(__tstate);
29946 if (PyErr_Occurred()) SWIG_fail;
29947 }
29948 Py_INCREF(Py_None); resultobj = Py_None;
29949 return resultobj;
29950 fail:
29951 return NULL;
29952}
29953
29954
c32bde28 29955static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29956 PyObject *resultobj = NULL;
d55e5bfc
RD
29957 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29958 wxTreeItemId *arg2 = 0 ;
29959 wxString result;
29960 PyObject * obj0 = 0 ;
29961 PyObject * obj1 = 0 ;
29962 char *kwnames[] = {
29963 (char *) "self",(char *) "item", NULL
29964 };
29965
29966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29968 if (SWIG_arg_fail(1)) SWIG_fail;
29969 {
29970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29971 if (SWIG_arg_fail(2)) SWIG_fail;
29972 if (arg2 == NULL) {
29973 SWIG_null_ref("wxTreeItemId");
29974 }
29975 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29976 }
29977 {
29978 PyThreadState* __tstate = wxPyBeginAllowThreads();
29979 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
29980
29981 wxPyEndAllowThreads(__tstate);
29982 if (PyErr_Occurred()) SWIG_fail;
29983 }
29984 {
29985#if wxUSE_UNICODE
29986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29987#else
29988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29989#endif
29990 }
29991 return resultobj;
29992 fail:
29993 return NULL;
29994}
29995
29996
c32bde28 29997static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29998 PyObject *resultobj = NULL;
d55e5bfc
RD
29999 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30000 wxTreeItemId *arg2 = 0 ;
093d3ff1 30001 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
30002 int result;
30003 PyObject * obj0 = 0 ;
30004 PyObject * obj1 = 0 ;
30005 PyObject * obj2 = 0 ;
30006 char *kwnames[] = {
30007 (char *) "self",(char *) "item",(char *) "which", NULL
30008 };
30009
30010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30012 if (SWIG_arg_fail(1)) SWIG_fail;
30013 {
30014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30015 if (SWIG_arg_fail(2)) SWIG_fail;
30016 if (arg2 == NULL) {
30017 SWIG_null_ref("wxTreeItemId");
30018 }
30019 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30020 }
30021 if (obj2) {
093d3ff1 30022 {
7449af73 30023 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
093d3ff1
RD
30024 if (SWIG_arg_fail(3)) SWIG_fail;
30025 }
d55e5bfc
RD
30026 }
30027 {
30028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 30029 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
d55e5bfc
RD
30030
30031 wxPyEndAllowThreads(__tstate);
30032 if (PyErr_Occurred()) SWIG_fail;
30033 }
093d3ff1 30034 {
7449af73 30035 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 30036 }
d55e5bfc
RD
30037 return resultobj;
30038 fail:
30039 return NULL;
30040}
30041
30042
c32bde28 30043static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30044 PyObject *resultobj = NULL;
d55e5bfc
RD
30045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30046 wxTreeItemId *arg2 = 0 ;
30047 wxPyTreeItemData *result;
30048 PyObject * obj0 = 0 ;
30049 PyObject * obj1 = 0 ;
30050 char *kwnames[] = {
30051 (char *) "self",(char *) "item", NULL
30052 };
30053
30054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30056 if (SWIG_arg_fail(1)) SWIG_fail;
30057 {
30058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30059 if (SWIG_arg_fail(2)) SWIG_fail;
30060 if (arg2 == NULL) {
30061 SWIG_null_ref("wxTreeItemId");
30062 }
30063 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30064 }
30065 {
30066 PyThreadState* __tstate = wxPyBeginAllowThreads();
30067 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
30068
30069 wxPyEndAllowThreads(__tstate);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
30072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
30073 return resultobj;
30074 fail:
30075 return NULL;
30076}
30077
30078
c32bde28 30079static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30080 PyObject *resultobj = NULL;
d55e5bfc
RD
30081 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30082 wxTreeItemId *arg2 = 0 ;
30083 PyObject *result;
30084 PyObject * obj0 = 0 ;
30085 PyObject * obj1 = 0 ;
30086 char *kwnames[] = {
30087 (char *) "self",(char *) "item", NULL
30088 };
30089
30090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30092 if (SWIG_arg_fail(1)) SWIG_fail;
30093 {
30094 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30095 if (SWIG_arg_fail(2)) SWIG_fail;
30096 if (arg2 == NULL) {
30097 SWIG_null_ref("wxTreeItemId");
30098 }
30099 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30100 }
30101 {
30102 PyThreadState* __tstate = wxPyBeginAllowThreads();
30103 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
30104
30105 wxPyEndAllowThreads(__tstate);
30106 if (PyErr_Occurred()) SWIG_fail;
30107 }
30108 resultobj = result;
30109 return resultobj;
30110 fail:
30111 return NULL;
30112}
30113
30114
c32bde28 30115static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30116 PyObject *resultobj = NULL;
d55e5bfc
RD
30117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30118 wxTreeItemId *arg2 = 0 ;
30119 wxColour result;
30120 PyObject * obj0 = 0 ;
30121 PyObject * obj1 = 0 ;
30122 char *kwnames[] = {
30123 (char *) "self",(char *) "item", NULL
30124 };
30125
30126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30128 if (SWIG_arg_fail(1)) SWIG_fail;
30129 {
30130 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30131 if (SWIG_arg_fail(2)) SWIG_fail;
30132 if (arg2 == NULL) {
30133 SWIG_null_ref("wxTreeItemId");
30134 }
30135 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30136 }
30137 {
30138 PyThreadState* __tstate = wxPyBeginAllowThreads();
30139 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
30140
30141 wxPyEndAllowThreads(__tstate);
30142 if (PyErr_Occurred()) SWIG_fail;
30143 }
30144 {
30145 wxColour * resultptr;
7449af73 30146 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
30147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30148 }
30149 return resultobj;
30150 fail:
30151 return NULL;
30152}
30153
30154
c32bde28 30155static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30156 PyObject *resultobj = NULL;
d55e5bfc
RD
30157 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30158 wxTreeItemId *arg2 = 0 ;
30159 wxColour result;
30160 PyObject * obj0 = 0 ;
30161 PyObject * obj1 = 0 ;
30162 char *kwnames[] = {
30163 (char *) "self",(char *) "item", NULL
30164 };
30165
30166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30168 if (SWIG_arg_fail(1)) SWIG_fail;
30169 {
30170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30171 if (SWIG_arg_fail(2)) SWIG_fail;
30172 if (arg2 == NULL) {
30173 SWIG_null_ref("wxTreeItemId");
30174 }
30175 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30176 }
30177 {
30178 PyThreadState* __tstate = wxPyBeginAllowThreads();
30179 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
30180
30181 wxPyEndAllowThreads(__tstate);
30182 if (PyErr_Occurred()) SWIG_fail;
30183 }
30184 {
30185 wxColour * resultptr;
7449af73 30186 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
30187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30188 }
30189 return resultobj;
30190 fail:
30191 return NULL;
30192}
30193
30194
c32bde28 30195static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30196 PyObject *resultobj = NULL;
d55e5bfc
RD
30197 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30198 wxTreeItemId *arg2 = 0 ;
30199 wxFont result;
30200 PyObject * obj0 = 0 ;
30201 PyObject * obj1 = 0 ;
30202 char *kwnames[] = {
30203 (char *) "self",(char *) "item", NULL
30204 };
30205
30206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30208 if (SWIG_arg_fail(1)) SWIG_fail;
30209 {
30210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30211 if (SWIG_arg_fail(2)) SWIG_fail;
30212 if (arg2 == NULL) {
30213 SWIG_null_ref("wxTreeItemId");
30214 }
30215 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30216 }
30217 {
30218 PyThreadState* __tstate = wxPyBeginAllowThreads();
30219 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
30220
30221 wxPyEndAllowThreads(__tstate);
30222 if (PyErr_Occurred()) SWIG_fail;
30223 }
30224 {
30225 wxFont * resultptr;
7449af73 30226 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
30227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
30228 }
30229 return resultobj;
30230 fail:
30231 return NULL;
30232}
30233
30234
c32bde28 30235static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30236 PyObject *resultobj = NULL;
d55e5bfc
RD
30237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30238 wxTreeItemId *arg2 = 0 ;
30239 wxString *arg3 = 0 ;
ae8162c8 30240 bool temp3 = false ;
d55e5bfc
RD
30241 PyObject * obj0 = 0 ;
30242 PyObject * obj1 = 0 ;
30243 PyObject * obj2 = 0 ;
30244 char *kwnames[] = {
30245 (char *) "self",(char *) "item",(char *) "text", NULL
30246 };
30247
30248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30250 if (SWIG_arg_fail(1)) SWIG_fail;
30251 {
30252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30253 if (SWIG_arg_fail(2)) SWIG_fail;
30254 if (arg2 == NULL) {
30255 SWIG_null_ref("wxTreeItemId");
30256 }
30257 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30258 }
30259 {
30260 arg3 = wxString_in_helper(obj2);
30261 if (arg3 == NULL) SWIG_fail;
ae8162c8 30262 temp3 = true;
d55e5bfc
RD
30263 }
30264 {
30265 PyThreadState* __tstate = wxPyBeginAllowThreads();
30266 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
30267
30268 wxPyEndAllowThreads(__tstate);
30269 if (PyErr_Occurred()) SWIG_fail;
30270 }
30271 Py_INCREF(Py_None); resultobj = Py_None;
30272 {
30273 if (temp3)
30274 delete arg3;
30275 }
30276 return resultobj;
30277 fail:
30278 {
30279 if (temp3)
30280 delete arg3;
30281 }
30282 return NULL;
30283}
30284
30285
c32bde28 30286static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30287 PyObject *resultobj = NULL;
d55e5bfc
RD
30288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30289 wxTreeItemId *arg2 = 0 ;
30290 int arg3 ;
093d3ff1 30291 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
30292 PyObject * obj0 = 0 ;
30293 PyObject * obj1 = 0 ;
30294 PyObject * obj2 = 0 ;
30295 PyObject * obj3 = 0 ;
30296 char *kwnames[] = {
30297 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30298 };
30299
30300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30302 if (SWIG_arg_fail(1)) SWIG_fail;
30303 {
30304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30305 if (SWIG_arg_fail(2)) SWIG_fail;
30306 if (arg2 == NULL) {
30307 SWIG_null_ref("wxTreeItemId");
30308 }
30309 if (SWIG_arg_fail(2)) SWIG_fail;
30310 }
30311 {
7449af73 30312 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30313 if (SWIG_arg_fail(3)) SWIG_fail;
30314 }
d55e5bfc 30315 if (obj3) {
093d3ff1 30316 {
7449af73 30317 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
093d3ff1
RD
30318 if (SWIG_arg_fail(4)) SWIG_fail;
30319 }
d55e5bfc
RD
30320 }
30321 {
30322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 30323 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
d55e5bfc
RD
30324
30325 wxPyEndAllowThreads(__tstate);
30326 if (PyErr_Occurred()) SWIG_fail;
30327 }
30328 Py_INCREF(Py_None); resultobj = Py_None;
30329 return resultobj;
30330 fail:
30331 return NULL;
30332}
30333
30334
c32bde28 30335static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30336 PyObject *resultobj = NULL;
d55e5bfc
RD
30337 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30338 wxTreeItemId *arg2 = 0 ;
30339 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
30340 PyObject * obj0 = 0 ;
30341 PyObject * obj1 = 0 ;
30342 PyObject * obj2 = 0 ;
30343 char *kwnames[] = {
30344 (char *) "self",(char *) "item",(char *) "data", NULL
30345 };
30346
30347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail;
30350 {
30351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30352 if (SWIG_arg_fail(2)) SWIG_fail;
30353 if (arg2 == NULL) {
30354 SWIG_null_ref("wxTreeItemId");
30355 }
30356 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 30357 }
7e08d4ef 30358 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 30359 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30360 {
30361 PyThreadState* __tstate = wxPyBeginAllowThreads();
30362 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
30363
30364 wxPyEndAllowThreads(__tstate);
30365 if (PyErr_Occurred()) SWIG_fail;
30366 }
30367 Py_INCREF(Py_None); resultobj = Py_None;
30368 return resultobj;
30369 fail:
30370 return NULL;
30371}
30372
30373
c32bde28 30374static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30375 PyObject *resultobj = NULL;
d55e5bfc
RD
30376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30377 wxTreeItemId *arg2 = 0 ;
30378 PyObject *arg3 = (PyObject *) 0 ;
30379 PyObject * obj0 = 0 ;
30380 PyObject * obj1 = 0 ;
30381 PyObject * obj2 = 0 ;
30382 char *kwnames[] = {
30383 (char *) "self",(char *) "item",(char *) "obj", NULL
30384 };
30385
30386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30388 if (SWIG_arg_fail(1)) SWIG_fail;
30389 {
30390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30391 if (SWIG_arg_fail(2)) SWIG_fail;
30392 if (arg2 == NULL) {
30393 SWIG_null_ref("wxTreeItemId");
30394 }
30395 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30396 }
30397 arg3 = obj2;
30398 {
30399 PyThreadState* __tstate = wxPyBeginAllowThreads();
30400 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
30401
30402 wxPyEndAllowThreads(__tstate);
30403 if (PyErr_Occurred()) SWIG_fail;
30404 }
30405 Py_INCREF(Py_None); resultobj = Py_None;
30406 return resultobj;
30407 fail:
30408 return NULL;
30409}
30410
30411
c32bde28 30412static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30413 PyObject *resultobj = NULL;
d55e5bfc
RD
30414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30415 wxTreeItemId *arg2 = 0 ;
ae8162c8 30416 bool arg3 = (bool) true ;
d55e5bfc
RD
30417 PyObject * obj0 = 0 ;
30418 PyObject * obj1 = 0 ;
30419 PyObject * obj2 = 0 ;
30420 char *kwnames[] = {
30421 (char *) "self",(char *) "item",(char *) "has", NULL
30422 };
30423
30424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30426 if (SWIG_arg_fail(1)) SWIG_fail;
30427 {
30428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30429 if (SWIG_arg_fail(2)) SWIG_fail;
30430 if (arg2 == NULL) {
30431 SWIG_null_ref("wxTreeItemId");
30432 }
30433 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30434 }
30435 if (obj2) {
093d3ff1 30436 {
7449af73 30437 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30438 if (SWIG_arg_fail(3)) SWIG_fail;
30439 }
d55e5bfc
RD
30440 }
30441 {
30442 PyThreadState* __tstate = wxPyBeginAllowThreads();
30443 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
30444
30445 wxPyEndAllowThreads(__tstate);
30446 if (PyErr_Occurred()) SWIG_fail;
30447 }
30448 Py_INCREF(Py_None); resultobj = Py_None;
30449 return resultobj;
30450 fail:
30451 return NULL;
30452}
30453
30454
c32bde28 30455static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30456 PyObject *resultobj = NULL;
d55e5bfc
RD
30457 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30458 wxTreeItemId *arg2 = 0 ;
ae8162c8 30459 bool arg3 = (bool) true ;
d55e5bfc
RD
30460 PyObject * obj0 = 0 ;
30461 PyObject * obj1 = 0 ;
30462 PyObject * obj2 = 0 ;
30463 char *kwnames[] = {
30464 (char *) "self",(char *) "item",(char *) "bold", NULL
30465 };
30466
30467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",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;
d55e5bfc
RD
30477 }
30478 if (obj2) {
093d3ff1 30479 {
7449af73 30480 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30481 if (SWIG_arg_fail(3)) SWIG_fail;
30482 }
d55e5bfc
RD
30483 }
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
30487
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 Py_INCREF(Py_None); resultobj = Py_None;
30492 return resultobj;
30493 fail:
30494 return NULL;
30495}
30496
30497
c32bde28 30498static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30499 PyObject *resultobj = NULL;
d55e5bfc
RD
30500 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30501 wxTreeItemId *arg2 = 0 ;
ae8162c8 30502 bool arg3 = (bool) true ;
d55e5bfc
RD
30503 PyObject * obj0 = 0 ;
30504 PyObject * obj1 = 0 ;
30505 PyObject * obj2 = 0 ;
30506 char *kwnames[] = {
30507 (char *) "self",(char *) "item",(char *) "highlight", NULL
30508 };
30509
30510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30512 if (SWIG_arg_fail(1)) SWIG_fail;
30513 {
30514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30515 if (SWIG_arg_fail(2)) SWIG_fail;
30516 if (arg2 == NULL) {
30517 SWIG_null_ref("wxTreeItemId");
30518 }
30519 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30520 }
30521 if (obj2) {
093d3ff1 30522 {
7449af73 30523 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30524 if (SWIG_arg_fail(3)) SWIG_fail;
30525 }
d55e5bfc
RD
30526 }
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
30530
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 Py_INCREF(Py_None); resultobj = Py_None;
30535 return resultobj;
30536 fail:
30537 return NULL;
30538}
30539
30540
c32bde28 30541static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30542 PyObject *resultobj = NULL;
d55e5bfc
RD
30543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30544 wxTreeItemId *arg2 = 0 ;
30545 wxColour *arg3 = 0 ;
30546 wxColour temp3 ;
30547 PyObject * obj0 = 0 ;
30548 PyObject * obj1 = 0 ;
30549 PyObject * obj2 = 0 ;
30550 char *kwnames[] = {
30551 (char *) "self",(char *) "item",(char *) "col", NULL
30552 };
30553
30554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30556 if (SWIG_arg_fail(1)) SWIG_fail;
30557 {
30558 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30559 if (SWIG_arg_fail(2)) SWIG_fail;
30560 if (arg2 == NULL) {
30561 SWIG_null_ref("wxTreeItemId");
30562 }
30563 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30564 }
30565 {
30566 arg3 = &temp3;
30567 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30568 }
30569 {
30570 PyThreadState* __tstate = wxPyBeginAllowThreads();
30571 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour 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_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30584 PyObject *resultobj = NULL;
d55e5bfc
RD
30585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30586 wxTreeItemId *arg2 = 0 ;
30587 wxColour *arg3 = 0 ;
30588 wxColour temp3 ;
30589 PyObject * obj0 = 0 ;
30590 PyObject * obj1 = 0 ;
30591 PyObject * obj2 = 0 ;
30592 char *kwnames[] = {
30593 (char *) "self",(char *) "item",(char *) "col", NULL
30594 };
30595
30596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30598 if (SWIG_arg_fail(1)) SWIG_fail;
30599 {
30600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30601 if (SWIG_arg_fail(2)) SWIG_fail;
30602 if (arg2 == NULL) {
30603 SWIG_null_ref("wxTreeItemId");
30604 }
30605 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30606 }
30607 {
30608 arg3 = &temp3;
30609 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30610 }
30611 {
30612 PyThreadState* __tstate = wxPyBeginAllowThreads();
30613 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30614
30615 wxPyEndAllowThreads(__tstate);
30616 if (PyErr_Occurred()) SWIG_fail;
30617 }
30618 Py_INCREF(Py_None); resultobj = Py_None;
30619 return resultobj;
30620 fail:
30621 return NULL;
30622}
30623
30624
c32bde28 30625static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30626 PyObject *resultobj = NULL;
d55e5bfc
RD
30627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30628 wxTreeItemId *arg2 = 0 ;
30629 wxFont *arg3 = 0 ;
30630 PyObject * obj0 = 0 ;
30631 PyObject * obj1 = 0 ;
30632 PyObject * obj2 = 0 ;
30633 char *kwnames[] = {
30634 (char *) "self",(char *) "item",(char *) "font", NULL
30635 };
30636
30637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30639 if (SWIG_arg_fail(1)) SWIG_fail;
30640 {
30641 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30642 if (SWIG_arg_fail(2)) SWIG_fail;
30643 if (arg2 == NULL) {
30644 SWIG_null_ref("wxTreeItemId");
30645 }
30646 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 30647 }
093d3ff1
RD
30648 {
30649 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30650 if (SWIG_arg_fail(3)) SWIG_fail;
30651 if (arg3 == NULL) {
30652 SWIG_null_ref("wxFont");
30653 }
30654 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30655 }
30656 {
30657 PyThreadState* __tstate = wxPyBeginAllowThreads();
30658 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
30659
30660 wxPyEndAllowThreads(__tstate);
30661 if (PyErr_Occurred()) SWIG_fail;
30662 }
30663 Py_INCREF(Py_None); resultobj = Py_None;
30664 return resultobj;
30665 fail:
30666 return NULL;
30667}
30668
30669
c32bde28 30670static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30671 PyObject *resultobj = NULL;
d55e5bfc
RD
30672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30673 wxTreeItemId *arg2 = 0 ;
30674 bool result;
30675 PyObject * obj0 = 0 ;
30676 PyObject * obj1 = 0 ;
30677 char *kwnames[] = {
30678 (char *) "self",(char *) "item", NULL
30679 };
30680
30681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30683 if (SWIG_arg_fail(1)) SWIG_fail;
30684 {
30685 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30686 if (SWIG_arg_fail(2)) SWIG_fail;
30687 if (arg2 == NULL) {
30688 SWIG_null_ref("wxTreeItemId");
30689 }
30690 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30691 }
30692 {
30693 PyThreadState* __tstate = wxPyBeginAllowThreads();
30694 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
30695
30696 wxPyEndAllowThreads(__tstate);
30697 if (PyErr_Occurred()) SWIG_fail;
30698 }
30699 {
30700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30701 }
30702 return resultobj;
30703 fail:
30704 return NULL;
30705}
30706
30707
c32bde28 30708static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30709 PyObject *resultobj = NULL;
d55e5bfc
RD
30710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30711 wxTreeItemId *arg2 = 0 ;
30712 bool result;
30713 PyObject * obj0 = 0 ;
30714 PyObject * obj1 = 0 ;
30715 char *kwnames[] = {
30716 (char *) "self",(char *) "item", NULL
30717 };
30718
30719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail;
30722 {
30723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30724 if (SWIG_arg_fail(2)) SWIG_fail;
30725 if (arg2 == NULL) {
30726 SWIG_null_ref("wxTreeItemId");
30727 }
30728 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30729 }
30730 {
30731 PyThreadState* __tstate = wxPyBeginAllowThreads();
30732 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
30733
30734 wxPyEndAllowThreads(__tstate);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
30737 {
30738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30739 }
30740 return resultobj;
30741 fail:
30742 return NULL;
30743}
30744
30745
c32bde28 30746static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30747 PyObject *resultobj = NULL;
d55e5bfc
RD
30748 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30749 wxTreeItemId *arg2 = 0 ;
30750 bool result;
30751 PyObject * obj0 = 0 ;
30752 PyObject * obj1 = 0 ;
30753 char *kwnames[] = {
30754 (char *) "self",(char *) "item", NULL
30755 };
30756
30757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30759 if (SWIG_arg_fail(1)) SWIG_fail;
30760 {
30761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30762 if (SWIG_arg_fail(2)) SWIG_fail;
30763 if (arg2 == NULL) {
30764 SWIG_null_ref("wxTreeItemId");
30765 }
30766 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30767 }
30768 {
30769 PyThreadState* __tstate = wxPyBeginAllowThreads();
30770 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
30771
30772 wxPyEndAllowThreads(__tstate);
30773 if (PyErr_Occurred()) SWIG_fail;
30774 }
30775 {
30776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30777 }
30778 return resultobj;
30779 fail:
30780 return NULL;
30781}
30782
30783
c32bde28 30784static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30785 PyObject *resultobj = NULL;
d55e5bfc
RD
30786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30787 wxTreeItemId *arg2 = 0 ;
30788 bool result;
30789 PyObject * obj0 = 0 ;
30790 PyObject * obj1 = 0 ;
30791 char *kwnames[] = {
30792 (char *) "self",(char *) "item", NULL
30793 };
30794
30795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30797 if (SWIG_arg_fail(1)) SWIG_fail;
30798 {
30799 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30800 if (SWIG_arg_fail(2)) SWIG_fail;
30801 if (arg2 == NULL) {
30802 SWIG_null_ref("wxTreeItemId");
30803 }
30804 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30805 }
30806 {
30807 PyThreadState* __tstate = wxPyBeginAllowThreads();
30808 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
30809
30810 wxPyEndAllowThreads(__tstate);
30811 if (PyErr_Occurred()) SWIG_fail;
30812 }
30813 {
30814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30815 }
30816 return resultobj;
30817 fail:
30818 return NULL;
30819}
30820
30821
c32bde28 30822static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30823 PyObject *resultobj = NULL;
d55e5bfc
RD
30824 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30825 wxTreeItemId *arg2 = 0 ;
30826 bool result;
30827 PyObject * obj0 = 0 ;
30828 PyObject * obj1 = 0 ;
30829 char *kwnames[] = {
30830 (char *) "self",(char *) "item", NULL
30831 };
30832
30833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30835 if (SWIG_arg_fail(1)) SWIG_fail;
30836 {
30837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30838 if (SWIG_arg_fail(2)) SWIG_fail;
30839 if (arg2 == NULL) {
30840 SWIG_null_ref("wxTreeItemId");
30841 }
30842 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30843 }
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
30847
30848 wxPyEndAllowThreads(__tstate);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 }
30851 {
30852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30853 }
30854 return resultobj;
30855 fail:
30856 return NULL;
30857}
30858
30859
c32bde28 30860static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30861 PyObject *resultobj = NULL;
d55e5bfc
RD
30862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30863 wxTreeItemId *arg2 = 0 ;
ae8162c8 30864 bool arg3 = (bool) true ;
d55e5bfc
RD
30865 size_t result;
30866 PyObject * obj0 = 0 ;
30867 PyObject * obj1 = 0 ;
30868 PyObject * obj2 = 0 ;
30869 char *kwnames[] = {
30870 (char *) "self",(char *) "item",(char *) "recursively", NULL
30871 };
30872
30873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30875 if (SWIG_arg_fail(1)) SWIG_fail;
30876 {
30877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30878 if (SWIG_arg_fail(2)) SWIG_fail;
30879 if (arg2 == NULL) {
30880 SWIG_null_ref("wxTreeItemId");
30881 }
30882 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30883 }
30884 if (obj2) {
093d3ff1 30885 {
7449af73 30886 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30887 if (SWIG_arg_fail(3)) SWIG_fail;
30888 }
d55e5bfc
RD
30889 }
30890 {
30891 PyThreadState* __tstate = wxPyBeginAllowThreads();
30892 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
30893
30894 wxPyEndAllowThreads(__tstate);
30895 if (PyErr_Occurred()) SWIG_fail;
30896 }
093d3ff1 30897 {
7449af73 30898 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 30899 }
d55e5bfc
RD
30900 return resultobj;
30901 fail:
30902 return NULL;
30903}
30904
30905
c32bde28 30906static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30907 PyObject *resultobj = NULL;
d55e5bfc
RD
30908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30909 wxTreeItemId result;
30910 PyObject * obj0 = 0 ;
30911 char *kwnames[] = {
30912 (char *) "self", NULL
30913 };
30914
30915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
30916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30917 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30918 {
30919 PyThreadState* __tstate = wxPyBeginAllowThreads();
30920 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
30921
30922 wxPyEndAllowThreads(__tstate);
30923 if (PyErr_Occurred()) SWIG_fail;
30924 }
30925 {
30926 wxTreeItemId * resultptr;
7449af73 30927 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30929 }
30930 return resultobj;
30931 fail:
30932 return NULL;
30933}
30934
30935
c32bde28 30936static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30937 PyObject *resultobj = NULL;
d55e5bfc
RD
30938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30939 wxTreeItemId result;
30940 PyObject * obj0 = 0 ;
30941 char *kwnames[] = {
30942 (char *) "self", NULL
30943 };
30944
30945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
30946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30948 {
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
30951
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 {
30956 wxTreeItemId * resultptr;
7449af73 30957 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30959 }
30960 return resultobj;
30961 fail:
30962 return NULL;
30963}
30964
30965
c32bde28 30966static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30967 PyObject *resultobj = NULL;
d55e5bfc
RD
30968 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30969 PyObject *result;
30970 PyObject * obj0 = 0 ;
30971 char *kwnames[] = {
30972 (char *) "self", NULL
30973 };
30974
30975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
30976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30978 {
30979 PyThreadState* __tstate = wxPyBeginAllowThreads();
30980 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
30981
30982 wxPyEndAllowThreads(__tstate);
30983 if (PyErr_Occurred()) SWIG_fail;
30984 }
30985 resultobj = result;
30986 return resultobj;
30987 fail:
30988 return NULL;
30989}
30990
30991
c32bde28 30992static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30993 PyObject *resultobj = NULL;
d55e5bfc
RD
30994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30995 wxTreeItemId *arg2 = 0 ;
30996 wxTreeItemId result;
30997 PyObject * obj0 = 0 ;
30998 PyObject * obj1 = 0 ;
30999 char *kwnames[] = {
31000 (char *) "self",(char *) "item", NULL
31001 };
31002
31003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31005 if (SWIG_arg_fail(1)) SWIG_fail;
31006 {
31007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31008 if (SWIG_arg_fail(2)) SWIG_fail;
31009 if (arg2 == NULL) {
31010 SWIG_null_ref("wxTreeItemId");
31011 }
31012 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31013 }
31014 {
31015 PyThreadState* __tstate = wxPyBeginAllowThreads();
31016 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
31017
31018 wxPyEndAllowThreads(__tstate);
31019 if (PyErr_Occurred()) SWIG_fail;
31020 }
31021 {
31022 wxTreeItemId * resultptr;
7449af73 31023 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31024 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31025 }
31026 return resultobj;
31027 fail:
31028 return NULL;
31029}
31030
31031
c32bde28 31032static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31033 PyObject *resultobj = NULL;
d55e5bfc
RD
31034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31035 wxTreeItemId *arg2 = 0 ;
31036 PyObject *result;
31037 PyObject * obj0 = 0 ;
31038 PyObject * obj1 = 0 ;
31039 char *kwnames[] = {
31040 (char *) "self",(char *) "item", NULL
31041 };
31042
31043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31045 if (SWIG_arg_fail(1)) SWIG_fail;
31046 {
31047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31048 if (SWIG_arg_fail(2)) SWIG_fail;
31049 if (arg2 == NULL) {
31050 SWIG_null_ref("wxTreeItemId");
31051 }
31052 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31053 }
31054 {
31055 PyThreadState* __tstate = wxPyBeginAllowThreads();
31056 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
31057
31058 wxPyEndAllowThreads(__tstate);
31059 if (PyErr_Occurred()) SWIG_fail;
31060 }
31061 resultobj = result;
31062 return resultobj;
31063 fail:
31064 return NULL;
31065}
31066
31067
c32bde28 31068static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31069 PyObject *resultobj = NULL;
d55e5bfc
RD
31070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31071 wxTreeItemId *arg2 = 0 ;
31072 void *arg3 = (void *) 0 ;
31073 PyObject *result;
31074 PyObject * obj0 = 0 ;
31075 PyObject * obj1 = 0 ;
31076 PyObject * obj2 = 0 ;
31077 char *kwnames[] = {
31078 (char *) "self",(char *) "item",(char *) "cookie", NULL
31079 };
31080
31081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail;
31084 {
31085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31086 if (SWIG_arg_fail(2)) SWIG_fail;
31087 if (arg2 == NULL) {
31088 SWIG_null_ref("wxTreeItemId");
31089 }
31090 if (SWIG_arg_fail(2)) SWIG_fail;
31091 }
31092 {
7449af73 31093 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
093d3ff1
RD
31094 SWIG_arg_fail(3);SWIG_fail;
31095 }
d55e5bfc 31096 }
d55e5bfc
RD
31097 {
31098 PyThreadState* __tstate = wxPyBeginAllowThreads();
31099 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
31100
31101 wxPyEndAllowThreads(__tstate);
31102 if (PyErr_Occurred()) SWIG_fail;
31103 }
31104 resultobj = result;
31105 return resultobj;
31106 fail:
31107 return NULL;
31108}
31109
31110
c32bde28 31111static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31112 PyObject *resultobj = NULL;
d55e5bfc
RD
31113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31114 wxTreeItemId *arg2 = 0 ;
31115 wxTreeItemId result;
31116 PyObject * obj0 = 0 ;
31117 PyObject * obj1 = 0 ;
31118 char *kwnames[] = {
31119 (char *) "self",(char *) "item", NULL
31120 };
31121
31122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail;
31125 {
31126 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31127 if (SWIG_arg_fail(2)) SWIG_fail;
31128 if (arg2 == NULL) {
31129 SWIG_null_ref("wxTreeItemId");
31130 }
31131 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31132 }
31133 {
31134 PyThreadState* __tstate = wxPyBeginAllowThreads();
31135 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
31136
31137 wxPyEndAllowThreads(__tstate);
31138 if (PyErr_Occurred()) SWIG_fail;
31139 }
31140 {
31141 wxTreeItemId * resultptr;
7449af73 31142 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31144 }
31145 return resultobj;
31146 fail:
31147 return NULL;
31148}
31149
31150
c32bde28 31151static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31152 PyObject *resultobj = NULL;
d55e5bfc
RD
31153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31154 wxTreeItemId *arg2 = 0 ;
31155 wxTreeItemId result;
31156 PyObject * obj0 = 0 ;
31157 PyObject * obj1 = 0 ;
31158 char *kwnames[] = {
31159 (char *) "self",(char *) "item", NULL
31160 };
31161
31162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31164 if (SWIG_arg_fail(1)) SWIG_fail;
31165 {
31166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31167 if (SWIG_arg_fail(2)) SWIG_fail;
31168 if (arg2 == NULL) {
31169 SWIG_null_ref("wxTreeItemId");
31170 }
31171 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31172 }
31173 {
31174 PyThreadState* __tstate = wxPyBeginAllowThreads();
31175 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
31176
31177 wxPyEndAllowThreads(__tstate);
31178 if (PyErr_Occurred()) SWIG_fail;
31179 }
31180 {
31181 wxTreeItemId * resultptr;
7449af73 31182 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31184 }
31185 return resultobj;
31186 fail:
31187 return NULL;
31188}
31189
31190
c32bde28 31191static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31192 PyObject *resultobj = NULL;
d55e5bfc
RD
31193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31194 wxTreeItemId *arg2 = 0 ;
31195 wxTreeItemId result;
31196 PyObject * obj0 = 0 ;
31197 PyObject * obj1 = 0 ;
31198 char *kwnames[] = {
31199 (char *) "self",(char *) "item", NULL
31200 };
31201
31202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31204 if (SWIG_arg_fail(1)) SWIG_fail;
31205 {
31206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31207 if (SWIG_arg_fail(2)) SWIG_fail;
31208 if (arg2 == NULL) {
31209 SWIG_null_ref("wxTreeItemId");
31210 }
31211 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31212 }
31213 {
31214 PyThreadState* __tstate = wxPyBeginAllowThreads();
31215 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
31216
31217 wxPyEndAllowThreads(__tstate);
31218 if (PyErr_Occurred()) SWIG_fail;
31219 }
31220 {
31221 wxTreeItemId * resultptr;
7449af73 31222 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31224 }
31225 return resultobj;
31226 fail:
31227 return NULL;
31228}
31229
31230
c32bde28 31231static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31232 PyObject *resultobj = NULL;
d55e5bfc
RD
31233 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31234 wxTreeItemId result;
31235 PyObject * obj0 = 0 ;
31236 char *kwnames[] = {
31237 (char *) "self", NULL
31238 };
31239
31240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
31241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31242 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31243 {
31244 PyThreadState* __tstate = wxPyBeginAllowThreads();
31245 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
31246
31247 wxPyEndAllowThreads(__tstate);
31248 if (PyErr_Occurred()) SWIG_fail;
31249 }
31250 {
31251 wxTreeItemId * resultptr;
7449af73 31252 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31254 }
31255 return resultobj;
31256 fail:
31257 return NULL;
31258}
31259
31260
c32bde28 31261static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31262 PyObject *resultobj = NULL;
d55e5bfc
RD
31263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31264 wxTreeItemId *arg2 = 0 ;
31265 wxTreeItemId result;
31266 PyObject * obj0 = 0 ;
31267 PyObject * obj1 = 0 ;
31268 char *kwnames[] = {
31269 (char *) "self",(char *) "item", NULL
31270 };
31271
31272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) 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;
31275 {
31276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31277 if (SWIG_arg_fail(2)) SWIG_fail;
31278 if (arg2 == NULL) {
31279 SWIG_null_ref("wxTreeItemId");
31280 }
31281 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31282 }
31283 {
31284 PyThreadState* __tstate = wxPyBeginAllowThreads();
31285 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
31286
31287 wxPyEndAllowThreads(__tstate);
31288 if (PyErr_Occurred()) SWIG_fail;
31289 }
31290 {
31291 wxTreeItemId * resultptr;
7449af73 31292 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31294 }
31295 return resultobj;
31296 fail:
31297 return NULL;
31298}
31299
31300
c32bde28 31301static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31302 PyObject *resultobj = NULL;
d55e5bfc
RD
31303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31304 wxTreeItemId *arg2 = 0 ;
31305 wxTreeItemId result;
31306 PyObject * obj0 = 0 ;
31307 PyObject * obj1 = 0 ;
31308 char *kwnames[] = {
31309 (char *) "self",(char *) "item", NULL
31310 };
31311
31312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail;
31315 {
31316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31317 if (SWIG_arg_fail(2)) SWIG_fail;
31318 if (arg2 == NULL) {
31319 SWIG_null_ref("wxTreeItemId");
31320 }
31321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31322 }
31323 {
31324 PyThreadState* __tstate = wxPyBeginAllowThreads();
31325 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
31326
31327 wxPyEndAllowThreads(__tstate);
31328 if (PyErr_Occurred()) SWIG_fail;
31329 }
31330 {
31331 wxTreeItemId * resultptr;
7449af73 31332 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31334 }
31335 return resultobj;
31336 fail:
31337 return NULL;
31338}
31339
31340
c32bde28 31341static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31342 PyObject *resultobj = NULL;
d55e5bfc
RD
31343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31344 wxString *arg2 = 0 ;
31345 int arg3 = (int) -1 ;
31346 int arg4 = (int) -1 ;
31347 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
31348 wxTreeItemId result;
ae8162c8 31349 bool temp2 = false ;
d55e5bfc
RD
31350 PyObject * obj0 = 0 ;
31351 PyObject * obj1 = 0 ;
31352 PyObject * obj2 = 0 ;
31353 PyObject * obj3 = 0 ;
31354 PyObject * obj4 = 0 ;
31355 char *kwnames[] = {
31356 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31357 };
31358
31359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
31360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31361 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31362 {
31363 arg2 = wxString_in_helper(obj1);
31364 if (arg2 == NULL) SWIG_fail;
ae8162c8 31365 temp2 = true;
d55e5bfc
RD
31366 }
31367 if (obj2) {
093d3ff1 31368 {
7449af73 31369 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31370 if (SWIG_arg_fail(3)) SWIG_fail;
31371 }
d55e5bfc
RD
31372 }
31373 if (obj3) {
093d3ff1 31374 {
7449af73 31375 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31376 if (SWIG_arg_fail(4)) SWIG_fail;
31377 }
d55e5bfc
RD
31378 }
31379 if (obj4) {
7e08d4ef 31380 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31381 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
31382 }
31383 {
31384 PyThreadState* __tstate = wxPyBeginAllowThreads();
31385 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
31386
31387 wxPyEndAllowThreads(__tstate);
31388 if (PyErr_Occurred()) SWIG_fail;
31389 }
31390 {
31391 wxTreeItemId * resultptr;
7449af73 31392 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31393 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31394 }
31395 {
31396 if (temp2)
31397 delete arg2;
31398 }
31399 return resultobj;
31400 fail:
31401 {
31402 if (temp2)
31403 delete arg2;
31404 }
31405 return NULL;
31406}
31407
31408
c32bde28 31409static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31410 PyObject *resultobj = NULL;
d55e5bfc
RD
31411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31412 wxTreeItemId *arg2 = 0 ;
31413 wxString *arg3 = 0 ;
31414 int arg4 = (int) -1 ;
31415 int arg5 = (int) -1 ;
31416 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31417 wxTreeItemId result;
ae8162c8 31418 bool temp3 = false ;
d55e5bfc
RD
31419 PyObject * obj0 = 0 ;
31420 PyObject * obj1 = 0 ;
31421 PyObject * obj2 = 0 ;
31422 PyObject * obj3 = 0 ;
31423 PyObject * obj4 = 0 ;
31424 PyObject * obj5 = 0 ;
31425 char *kwnames[] = {
31426 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31427 };
31428
31429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31431 if (SWIG_arg_fail(1)) SWIG_fail;
31432 {
31433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31434 if (SWIG_arg_fail(2)) SWIG_fail;
31435 if (arg2 == NULL) {
31436 SWIG_null_ref("wxTreeItemId");
31437 }
31438 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31439 }
31440 {
31441 arg3 = wxString_in_helper(obj2);
31442 if (arg3 == NULL) SWIG_fail;
ae8162c8 31443 temp3 = true;
d55e5bfc
RD
31444 }
31445 if (obj3) {
093d3ff1 31446 {
7449af73 31447 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31448 if (SWIG_arg_fail(4)) SWIG_fail;
31449 }
d55e5bfc
RD
31450 }
31451 if (obj4) {
093d3ff1 31452 {
7449af73 31453 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31454 if (SWIG_arg_fail(5)) SWIG_fail;
31455 }
d55e5bfc
RD
31456 }
31457 if (obj5) {
7e08d4ef 31458 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31459 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
31460 }
31461 {
31462 PyThreadState* __tstate = wxPyBeginAllowThreads();
31463 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31464
31465 wxPyEndAllowThreads(__tstate);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 }
31468 {
31469 wxTreeItemId * resultptr;
7449af73 31470 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31471 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31472 }
31473 {
31474 if (temp3)
31475 delete arg3;
31476 }
31477 return resultobj;
31478 fail:
31479 {
31480 if (temp3)
31481 delete arg3;
31482 }
31483 return NULL;
31484}
31485
31486
c32bde28 31487static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31488 PyObject *resultobj = NULL;
d55e5bfc
RD
31489 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31490 wxTreeItemId *arg2 = 0 ;
31491 wxTreeItemId *arg3 = 0 ;
31492 wxString *arg4 = 0 ;
31493 int arg5 = (int) -1 ;
31494 int arg6 = (int) -1 ;
31495 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31496 wxTreeItemId result;
ae8162c8 31497 bool temp4 = false ;
d55e5bfc
RD
31498 PyObject * obj0 = 0 ;
31499 PyObject * obj1 = 0 ;
31500 PyObject * obj2 = 0 ;
31501 PyObject * obj3 = 0 ;
31502 PyObject * obj4 = 0 ;
31503 PyObject * obj5 = 0 ;
31504 PyObject * obj6 = 0 ;
31505 char *kwnames[] = {
31506 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31507 };
31508
31509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
31510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail;
31512 {
31513 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31514 if (SWIG_arg_fail(2)) SWIG_fail;
31515 if (arg2 == NULL) {
31516 SWIG_null_ref("wxTreeItemId");
31517 }
31518 if (SWIG_arg_fail(2)) SWIG_fail;
31519 }
31520 {
31521 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31522 if (SWIG_arg_fail(3)) SWIG_fail;
31523 if (arg3 == NULL) {
31524 SWIG_null_ref("wxTreeItemId");
31525 }
31526 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
31527 }
31528 {
31529 arg4 = wxString_in_helper(obj3);
31530 if (arg4 == NULL) SWIG_fail;
ae8162c8 31531 temp4 = true;
d55e5bfc
RD
31532 }
31533 if (obj4) {
093d3ff1 31534 {
7449af73 31535 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31536 if (SWIG_arg_fail(5)) SWIG_fail;
31537 }
d55e5bfc
RD
31538 }
31539 if (obj5) {
093d3ff1 31540 {
7449af73 31541 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
31542 if (SWIG_arg_fail(6)) SWIG_fail;
31543 }
d55e5bfc
RD
31544 }
31545 if (obj6) {
7e08d4ef 31546 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31547 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
31548 }
31549 {
31550 PyThreadState* __tstate = wxPyBeginAllowThreads();
31551 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31552
31553 wxPyEndAllowThreads(__tstate);
31554 if (PyErr_Occurred()) SWIG_fail;
31555 }
31556 {
31557 wxTreeItemId * resultptr;
7449af73 31558 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31560 }
31561 {
31562 if (temp4)
31563 delete arg4;
31564 }
31565 return resultobj;
31566 fail:
31567 {
31568 if (temp4)
31569 delete arg4;
31570 }
31571 return NULL;
31572}
31573
31574
c32bde28 31575static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31576 PyObject *resultobj = NULL;
d55e5bfc
RD
31577 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31578 wxTreeItemId *arg2 = 0 ;
31579 size_t arg3 ;
31580 wxString *arg4 = 0 ;
31581 int arg5 = (int) -1 ;
31582 int arg6 = (int) -1 ;
31583 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31584 wxTreeItemId result;
ae8162c8 31585 bool temp4 = false ;
d55e5bfc
RD
31586 PyObject * obj0 = 0 ;
31587 PyObject * obj1 = 0 ;
31588 PyObject * obj2 = 0 ;
31589 PyObject * obj3 = 0 ;
31590 PyObject * obj4 = 0 ;
31591 PyObject * obj5 = 0 ;
31592 PyObject * obj6 = 0 ;
31593 char *kwnames[] = {
31594 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31595 };
31596
31597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
31598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31599 if (SWIG_arg_fail(1)) SWIG_fail;
31600 {
31601 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31602 if (SWIG_arg_fail(2)) SWIG_fail;
31603 if (arg2 == NULL) {
31604 SWIG_null_ref("wxTreeItemId");
31605 }
31606 if (SWIG_arg_fail(2)) SWIG_fail;
31607 }
31608 {
7449af73 31609 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
31610 if (SWIG_arg_fail(3)) SWIG_fail;
31611 }
d55e5bfc
RD
31612 {
31613 arg4 = wxString_in_helper(obj3);
31614 if (arg4 == NULL) SWIG_fail;
ae8162c8 31615 temp4 = true;
d55e5bfc
RD
31616 }
31617 if (obj4) {
093d3ff1 31618 {
7449af73 31619 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31620 if (SWIG_arg_fail(5)) SWIG_fail;
31621 }
d55e5bfc
RD
31622 }
31623 if (obj5) {
093d3ff1 31624 {
7449af73 31625 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
31626 if (SWIG_arg_fail(6)) SWIG_fail;
31627 }
d55e5bfc
RD
31628 }
31629 if (obj6) {
7e08d4ef 31630 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31631 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
31632 }
31633 {
31634 PyThreadState* __tstate = wxPyBeginAllowThreads();
31635 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31636
31637 wxPyEndAllowThreads(__tstate);
31638 if (PyErr_Occurred()) SWIG_fail;
31639 }
31640 {
31641 wxTreeItemId * resultptr;
7449af73 31642 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31644 }
31645 {
31646 if (temp4)
31647 delete arg4;
31648 }
31649 return resultobj;
31650 fail:
31651 {
31652 if (temp4)
31653 delete arg4;
31654 }
31655 return NULL;
31656}
31657
31658
c32bde28 31659static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31660 PyObject *resultobj = NULL;
d55e5bfc
RD
31661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31662 wxTreeItemId *arg2 = 0 ;
31663 wxString *arg3 = 0 ;
31664 int arg4 = (int) -1 ;
31665 int arg5 = (int) -1 ;
31666 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31667 wxTreeItemId result;
ae8162c8 31668 bool temp3 = false ;
d55e5bfc
RD
31669 PyObject * obj0 = 0 ;
31670 PyObject * obj1 = 0 ;
31671 PyObject * obj2 = 0 ;
31672 PyObject * obj3 = 0 ;
31673 PyObject * obj4 = 0 ;
31674 PyObject * obj5 = 0 ;
31675 char *kwnames[] = {
31676 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31677 };
31678
31679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31681 if (SWIG_arg_fail(1)) SWIG_fail;
31682 {
31683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31684 if (SWIG_arg_fail(2)) SWIG_fail;
31685 if (arg2 == NULL) {
31686 SWIG_null_ref("wxTreeItemId");
31687 }
31688 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31689 }
31690 {
31691 arg3 = wxString_in_helper(obj2);
31692 if (arg3 == NULL) SWIG_fail;
ae8162c8 31693 temp3 = true;
d55e5bfc
RD
31694 }
31695 if (obj3) {
093d3ff1 31696 {
7449af73 31697 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31698 if (SWIG_arg_fail(4)) SWIG_fail;
31699 }
d55e5bfc
RD
31700 }
31701 if (obj4) {
093d3ff1 31702 {
7449af73 31703 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31704 if (SWIG_arg_fail(5)) SWIG_fail;
31705 }
d55e5bfc
RD
31706 }
31707 if (obj5) {
7e08d4ef 31708 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31709 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
31710 }
31711 {
31712 PyThreadState* __tstate = wxPyBeginAllowThreads();
31713 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31714
31715 wxPyEndAllowThreads(__tstate);
31716 if (PyErr_Occurred()) SWIG_fail;
31717 }
31718 {
31719 wxTreeItemId * resultptr;
7449af73 31720 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31722 }
31723 {
31724 if (temp3)
31725 delete arg3;
31726 }
31727 return resultobj;
31728 fail:
31729 {
31730 if (temp3)
31731 delete arg3;
31732 }
31733 return NULL;
31734}
31735
31736
c32bde28 31737static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31738 PyObject *resultobj = NULL;
d55e5bfc
RD
31739 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31740 wxTreeItemId *arg2 = 0 ;
31741 PyObject * obj0 = 0 ;
31742 PyObject * obj1 = 0 ;
31743 char *kwnames[] = {
31744 (char *) "self",(char *) "item", NULL
31745 };
31746
31747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31749 if (SWIG_arg_fail(1)) SWIG_fail;
31750 {
31751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31752 if (SWIG_arg_fail(2)) SWIG_fail;
31753 if (arg2 == NULL) {
31754 SWIG_null_ref("wxTreeItemId");
31755 }
31756 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31757 }
31758 {
31759 PyThreadState* __tstate = wxPyBeginAllowThreads();
31760 (arg1)->Delete((wxTreeItemId const &)*arg2);
31761
31762 wxPyEndAllowThreads(__tstate);
31763 if (PyErr_Occurred()) SWIG_fail;
31764 }
31765 Py_INCREF(Py_None); resultobj = Py_None;
31766 return resultobj;
31767 fail:
31768 return NULL;
31769}
31770
31771
c32bde28 31772static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31773 PyObject *resultobj = NULL;
d55e5bfc
RD
31774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31775 wxTreeItemId *arg2 = 0 ;
31776 PyObject * obj0 = 0 ;
31777 PyObject * obj1 = 0 ;
31778 char *kwnames[] = {
31779 (char *) "self",(char *) "item", NULL
31780 };
31781
31782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31784 if (SWIG_arg_fail(1)) SWIG_fail;
31785 {
31786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31787 if (SWIG_arg_fail(2)) SWIG_fail;
31788 if (arg2 == NULL) {
31789 SWIG_null_ref("wxTreeItemId");
31790 }
31791 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31792 }
31793 {
31794 PyThreadState* __tstate = wxPyBeginAllowThreads();
31795 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
31796
31797 wxPyEndAllowThreads(__tstate);
31798 if (PyErr_Occurred()) SWIG_fail;
31799 }
31800 Py_INCREF(Py_None); resultobj = Py_None;
31801 return resultobj;
31802 fail:
31803 return NULL;
31804}
31805
31806
c32bde28 31807static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31808 PyObject *resultobj = NULL;
d55e5bfc
RD
31809 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31810 PyObject * obj0 = 0 ;
31811 char *kwnames[] = {
31812 (char *) "self", NULL
31813 };
31814
31815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
31816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31817 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31818 {
31819 PyThreadState* __tstate = wxPyBeginAllowThreads();
31820 (arg1)->DeleteAllItems();
31821
31822 wxPyEndAllowThreads(__tstate);
31823 if (PyErr_Occurred()) SWIG_fail;
31824 }
31825 Py_INCREF(Py_None); resultobj = Py_None;
31826 return resultobj;
31827 fail:
31828 return NULL;
31829}
31830
31831
c32bde28 31832static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31833 PyObject *resultobj = NULL;
d55e5bfc
RD
31834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31835 wxTreeItemId *arg2 = 0 ;
31836 PyObject * obj0 = 0 ;
31837 PyObject * obj1 = 0 ;
31838 char *kwnames[] = {
31839 (char *) "self",(char *) "item", NULL
31840 };
31841
31842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31844 if (SWIG_arg_fail(1)) SWIG_fail;
31845 {
31846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31847 if (SWIG_arg_fail(2)) SWIG_fail;
31848 if (arg2 == NULL) {
31849 SWIG_null_ref("wxTreeItemId");
31850 }
31851 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31852 }
31853 {
31854 PyThreadState* __tstate = wxPyBeginAllowThreads();
31855 (arg1)->Expand((wxTreeItemId const &)*arg2);
31856
31857 wxPyEndAllowThreads(__tstate);
31858 if (PyErr_Occurred()) SWIG_fail;
31859 }
31860 Py_INCREF(Py_None); resultobj = Py_None;
31861 return resultobj;
31862 fail:
31863 return NULL;
31864}
31865
31866
c32bde28 31867static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31868 PyObject *resultobj = NULL;
d55e5bfc
RD
31869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31870 wxTreeItemId *arg2 = 0 ;
31871 PyObject * obj0 = 0 ;
31872 PyObject * obj1 = 0 ;
31873 char *kwnames[] = {
31874 (char *) "self",(char *) "item", NULL
31875 };
31876
31877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31879 if (SWIG_arg_fail(1)) SWIG_fail;
31880 {
31881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31882 if (SWIG_arg_fail(2)) SWIG_fail;
31883 if (arg2 == NULL) {
31884 SWIG_null_ref("wxTreeItemId");
31885 }
31886 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31887 }
31888 {
31889 PyThreadState* __tstate = wxPyBeginAllowThreads();
31890 (arg1)->Collapse((wxTreeItemId const &)*arg2);
31891
31892 wxPyEndAllowThreads(__tstate);
31893 if (PyErr_Occurred()) SWIG_fail;
31894 }
31895 Py_INCREF(Py_None); resultobj = Py_None;
31896 return resultobj;
31897 fail:
31898 return NULL;
31899}
31900
31901
c32bde28 31902static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31903 PyObject *resultobj = NULL;
d55e5bfc
RD
31904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31905 wxTreeItemId *arg2 = 0 ;
31906 PyObject * obj0 = 0 ;
31907 PyObject * obj1 = 0 ;
31908 char *kwnames[] = {
31909 (char *) "self",(char *) "item", NULL
31910 };
31911
31912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31914 if (SWIG_arg_fail(1)) SWIG_fail;
31915 {
31916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31917 if (SWIG_arg_fail(2)) SWIG_fail;
31918 if (arg2 == NULL) {
31919 SWIG_null_ref("wxTreeItemId");
31920 }
31921 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31922 }
31923 {
31924 PyThreadState* __tstate = wxPyBeginAllowThreads();
31925 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
31926
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 Py_INCREF(Py_None); resultobj = Py_None;
31931 return resultobj;
31932 fail:
31933 return NULL;
31934}
31935
31936
c32bde28 31937static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31938 PyObject *resultobj = NULL;
d55e5bfc
RD
31939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31940 wxTreeItemId *arg2 = 0 ;
31941 PyObject * obj0 = 0 ;
31942 PyObject * obj1 = 0 ;
31943 char *kwnames[] = {
31944 (char *) "self",(char *) "item", NULL
31945 };
31946
31947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31949 if (SWIG_arg_fail(1)) SWIG_fail;
31950 {
31951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31952 if (SWIG_arg_fail(2)) SWIG_fail;
31953 if (arg2 == NULL) {
31954 SWIG_null_ref("wxTreeItemId");
31955 }
31956 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31957 }
31958 {
31959 PyThreadState* __tstate = wxPyBeginAllowThreads();
31960 (arg1)->Toggle((wxTreeItemId const &)*arg2);
31961
31962 wxPyEndAllowThreads(__tstate);
31963 if (PyErr_Occurred()) SWIG_fail;
31964 }
31965 Py_INCREF(Py_None); resultobj = Py_None;
31966 return resultobj;
31967 fail:
31968 return NULL;
31969}
31970
31971
c32bde28 31972static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31973 PyObject *resultobj = NULL;
d55e5bfc
RD
31974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31975 PyObject * obj0 = 0 ;
31976 char *kwnames[] = {
31977 (char *) "self", NULL
31978 };
31979
31980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
31981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31983 {
31984 PyThreadState* __tstate = wxPyBeginAllowThreads();
31985 (arg1)->Unselect();
31986
31987 wxPyEndAllowThreads(__tstate);
31988 if (PyErr_Occurred()) SWIG_fail;
31989 }
31990 Py_INCREF(Py_None); resultobj = Py_None;
31991 return resultobj;
31992 fail:
31993 return NULL;
31994}
31995
31996
c32bde28 31997static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31998 PyObject *resultobj = NULL;
d55e5bfc
RD
31999 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32000 wxTreeItemId *arg2 = 0 ;
32001 PyObject * obj0 = 0 ;
32002 PyObject * obj1 = 0 ;
32003 char *kwnames[] = {
32004 (char *) "self",(char *) "item", NULL
32005 };
32006
32007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32009 if (SWIG_arg_fail(1)) SWIG_fail;
32010 {
32011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32012 if (SWIG_arg_fail(2)) SWIG_fail;
32013 if (arg2 == NULL) {
32014 SWIG_null_ref("wxTreeItemId");
32015 }
32016 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32017 }
32018 {
32019 PyThreadState* __tstate = wxPyBeginAllowThreads();
32020 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
32021
32022 wxPyEndAllowThreads(__tstate);
32023 if (PyErr_Occurred()) SWIG_fail;
32024 }
32025 Py_INCREF(Py_None); resultobj = Py_None;
32026 return resultobj;
32027 fail:
32028 return NULL;
32029}
32030
32031
c32bde28 32032static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32033 PyObject *resultobj = NULL;
d55e5bfc
RD
32034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32035 PyObject * obj0 = 0 ;
32036 char *kwnames[] = {
32037 (char *) "self", NULL
32038 };
32039
32040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
32041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32043 {
32044 PyThreadState* __tstate = wxPyBeginAllowThreads();
32045 (arg1)->UnselectAll();
32046
32047 wxPyEndAllowThreads(__tstate);
32048 if (PyErr_Occurred()) SWIG_fail;
32049 }
32050 Py_INCREF(Py_None); resultobj = Py_None;
32051 return resultobj;
32052 fail:
32053 return NULL;
32054}
32055
32056
c32bde28 32057static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32058 PyObject *resultobj = NULL;
d55e5bfc
RD
32059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32060 wxTreeItemId *arg2 = 0 ;
ae8162c8 32061 bool arg3 = (bool) true ;
d55e5bfc
RD
32062 PyObject * obj0 = 0 ;
32063 PyObject * obj1 = 0 ;
32064 PyObject * obj2 = 0 ;
32065 char *kwnames[] = {
32066 (char *) "self",(char *) "item",(char *) "select", NULL
32067 };
32068
32069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32071 if (SWIG_arg_fail(1)) SWIG_fail;
32072 {
32073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32074 if (SWIG_arg_fail(2)) SWIG_fail;
32075 if (arg2 == NULL) {
32076 SWIG_null_ref("wxTreeItemId");
32077 }
32078 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32079 }
32080 if (obj2) {
093d3ff1 32081 {
7449af73 32082 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32083 if (SWIG_arg_fail(3)) SWIG_fail;
32084 }
d55e5bfc
RD
32085 }
32086 {
32087 PyThreadState* __tstate = wxPyBeginAllowThreads();
32088 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
32089
32090 wxPyEndAllowThreads(__tstate);
32091 if (PyErr_Occurred()) SWIG_fail;
32092 }
32093 Py_INCREF(Py_None); resultobj = Py_None;
32094 return resultobj;
32095 fail:
32096 return NULL;
32097}
32098
32099
c32bde28 32100static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32101 PyObject *resultobj = NULL;
d55e5bfc
RD
32102 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32103 wxTreeItemId *arg2 = 0 ;
32104 PyObject * obj0 = 0 ;
32105 PyObject * obj1 = 0 ;
32106 char *kwnames[] = {
32107 (char *) "self",(char *) "item", NULL
32108 };
32109
32110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32112 if (SWIG_arg_fail(1)) SWIG_fail;
32113 {
32114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32115 if (SWIG_arg_fail(2)) SWIG_fail;
32116 if (arg2 == NULL) {
32117 SWIG_null_ref("wxTreeItemId");
32118 }
32119 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32120 }
32121 {
32122 PyThreadState* __tstate = wxPyBeginAllowThreads();
32123 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
32124
32125 wxPyEndAllowThreads(__tstate);
32126 if (PyErr_Occurred()) SWIG_fail;
32127 }
32128 Py_INCREF(Py_None); resultobj = Py_None;
32129 return resultobj;
32130 fail:
32131 return NULL;
32132}
32133
32134
c32bde28 32135static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32136 PyObject *resultobj = NULL;
d55e5bfc
RD
32137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32138 wxTreeItemId *arg2 = 0 ;
32139 PyObject * obj0 = 0 ;
32140 PyObject * obj1 = 0 ;
32141 char *kwnames[] = {
32142 (char *) "self",(char *) "item", NULL
32143 };
32144
32145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32147 if (SWIG_arg_fail(1)) SWIG_fail;
32148 {
32149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32150 if (SWIG_arg_fail(2)) SWIG_fail;
32151 if (arg2 == NULL) {
32152 SWIG_null_ref("wxTreeItemId");
32153 }
32154 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32155 }
32156 {
32157 PyThreadState* __tstate = wxPyBeginAllowThreads();
32158 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
32159
32160 wxPyEndAllowThreads(__tstate);
32161 if (PyErr_Occurred()) SWIG_fail;
32162 }
32163 Py_INCREF(Py_None); resultobj = Py_None;
32164 return resultobj;
32165 fail:
32166 return NULL;
32167}
32168
32169
c32bde28 32170static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32171 PyObject *resultobj = NULL;
d55e5bfc
RD
32172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32173 wxTreeItemId *arg2 = 0 ;
32174 PyObject * obj0 = 0 ;
32175 PyObject * obj1 = 0 ;
32176 char *kwnames[] = {
32177 (char *) "self",(char *) "item", NULL
32178 };
32179
32180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32182 if (SWIG_arg_fail(1)) SWIG_fail;
32183 {
32184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32185 if (SWIG_arg_fail(2)) SWIG_fail;
32186 if (arg2 == NULL) {
32187 SWIG_null_ref("wxTreeItemId");
32188 }
32189 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32190 }
32191 {
32192 PyThreadState* __tstate = wxPyBeginAllowThreads();
32193 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
32194
32195 wxPyEndAllowThreads(__tstate);
32196 if (PyErr_Occurred()) SWIG_fail;
32197 }
32198 Py_INCREF(Py_None); resultobj = Py_None;
32199 return resultobj;
32200 fail:
32201 return NULL;
32202}
32203
32204
c32bde28 32205static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32206 PyObject *resultobj = NULL;
d55e5bfc
RD
32207 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32208 wxTreeItemId *arg2 = 0 ;
32209 PyObject * obj0 = 0 ;
32210 PyObject * obj1 = 0 ;
32211 char *kwnames[] = {
32212 (char *) "self",(char *) "item", NULL
32213 };
32214
32215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32217 if (SWIG_arg_fail(1)) SWIG_fail;
32218 {
32219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32220 if (SWIG_arg_fail(2)) SWIG_fail;
32221 if (arg2 == NULL) {
32222 SWIG_null_ref("wxTreeItemId");
32223 }
32224 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32225 }
32226 {
32227 PyThreadState* __tstate = wxPyBeginAllowThreads();
32228 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
32229
32230 wxPyEndAllowThreads(__tstate);
32231 if (PyErr_Occurred()) SWIG_fail;
32232 }
32233 Py_INCREF(Py_None); resultobj = Py_None;
32234 return resultobj;
32235 fail:
32236 return NULL;
32237}
32238
32239
c32bde28 32240static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32241 PyObject *resultobj = NULL;
d55e5bfc
RD
32242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32243 wxTextCtrl *result;
32244 PyObject * obj0 = 0 ;
32245 char *kwnames[] = {
32246 (char *) "self", NULL
32247 };
32248
32249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
32250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32252 {
32253 PyThreadState* __tstate = wxPyBeginAllowThreads();
32254 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
32255
32256 wxPyEndAllowThreads(__tstate);
32257 if (PyErr_Occurred()) SWIG_fail;
32258 }
32259 {
412d302d 32260 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32261 }
32262 return resultobj;
32263 fail:
32264 return NULL;
32265}
32266
32267
c32bde28 32268static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32269 PyObject *resultobj = NULL;
d55e5bfc
RD
32270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32271 wxTreeItemId *arg2 = 0 ;
ae8162c8 32272 bool arg3 = (bool) false ;
d55e5bfc
RD
32273 PyObject * obj0 = 0 ;
32274 PyObject * obj1 = 0 ;
32275 PyObject * obj2 = 0 ;
32276 char *kwnames[] = {
32277 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
32278 };
32279
32280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32282 if (SWIG_arg_fail(1)) SWIG_fail;
32283 {
32284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32285 if (SWIG_arg_fail(2)) SWIG_fail;
32286 if (arg2 == NULL) {
32287 SWIG_null_ref("wxTreeItemId");
32288 }
32289 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32290 }
32291 if (obj2) {
093d3ff1 32292 {
7449af73 32293 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32294 if (SWIG_arg_fail(3)) SWIG_fail;
32295 }
d55e5bfc
RD
32296 }
32297 {
32298 PyThreadState* __tstate = wxPyBeginAllowThreads();
32299 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
32300
32301 wxPyEndAllowThreads(__tstate);
32302 if (PyErr_Occurred()) SWIG_fail;
32303 }
32304 Py_INCREF(Py_None); resultobj = Py_None;
32305 return resultobj;
32306 fail:
32307 return NULL;
32308}
32309
32310
c32bde28 32311static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32312 PyObject *resultobj = NULL;
d55e5bfc
RD
32313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32314 wxTreeItemId *arg2 = 0 ;
32315 PyObject * obj0 = 0 ;
32316 PyObject * obj1 = 0 ;
32317 char *kwnames[] = {
32318 (char *) "self",(char *) "item", NULL
32319 };
32320
32321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32323 if (SWIG_arg_fail(1)) SWIG_fail;
32324 {
32325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32326 if (SWIG_arg_fail(2)) SWIG_fail;
32327 if (arg2 == NULL) {
32328 SWIG_null_ref("wxTreeItemId");
32329 }
32330 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32331 }
32332 {
32333 PyThreadState* __tstate = wxPyBeginAllowThreads();
32334 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
32335
32336 wxPyEndAllowThreads(__tstate);
32337 if (PyErr_Occurred()) SWIG_fail;
32338 }
32339 Py_INCREF(Py_None); resultobj = Py_None;
32340 return resultobj;
32341 fail:
32342 return NULL;
32343}
32344
32345
c32bde28 32346static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32347 PyObject *resultobj = NULL;
d55e5bfc
RD
32348 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32349 wxPoint *arg2 = 0 ;
32350 int *arg3 = 0 ;
32351 wxTreeItemId result;
32352 wxPoint temp2 ;
32353 int temp3 ;
c32bde28 32354 int res3 = 0 ;
d55e5bfc
RD
32355 PyObject * obj0 = 0 ;
32356 PyObject * obj1 = 0 ;
32357 char *kwnames[] = {
32358 (char *) "self",(char *) "point", NULL
32359 };
32360
c32bde28 32361 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32365 {
32366 arg2 = &temp2;
32367 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32368 }
32369 {
32370 PyThreadState* __tstate = wxPyBeginAllowThreads();
32371 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
32372
32373 wxPyEndAllowThreads(__tstate);
32374 if (PyErr_Occurred()) SWIG_fail;
32375 }
32376 {
32377 wxTreeItemId * resultptr;
7449af73 32378 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
32379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32380 }
c32bde28
RD
32381 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32382 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32383 return resultobj;
32384 fail:
32385 return NULL;
32386}
32387
32388
c32bde28 32389static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32390 PyObject *resultobj = NULL;
d55e5bfc
RD
32391 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32392 wxTreeItemId *arg2 = 0 ;
ae8162c8 32393 bool arg3 = (bool) false ;
d55e5bfc
RD
32394 PyObject *result;
32395 PyObject * obj0 = 0 ;
32396 PyObject * obj1 = 0 ;
32397 PyObject * obj2 = 0 ;
32398 char *kwnames[] = {
32399 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32400 };
32401
32402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32404 if (SWIG_arg_fail(1)) SWIG_fail;
32405 {
32406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32407 if (SWIG_arg_fail(2)) SWIG_fail;
32408 if (arg2 == NULL) {
32409 SWIG_null_ref("wxTreeItemId");
32410 }
32411 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32412 }
32413 if (obj2) {
093d3ff1 32414 {
7449af73 32415 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32416 if (SWIG_arg_fail(3)) SWIG_fail;
32417 }
d55e5bfc
RD
32418 }
32419 {
32420 PyThreadState* __tstate = wxPyBeginAllowThreads();
32421 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
32422
32423 wxPyEndAllowThreads(__tstate);
32424 if (PyErr_Occurred()) SWIG_fail;
32425 }
32426 resultobj = result;
32427 return resultobj;
32428 fail:
32429 return NULL;
32430}
32431
32432
c32bde28 32433static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32434 PyObject *resultobj = NULL;
110da5b0
RD
32435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32436 wxTreeItemId *arg2 = 0 ;
32437 int arg3 ;
32438 PyObject * obj0 = 0 ;
32439 PyObject * obj1 = 0 ;
32440 PyObject * obj2 = 0 ;
32441 char *kwnames[] = {
32442 (char *) "self",(char *) "node",(char *) "state", NULL
32443 };
32444
32445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32447 if (SWIG_arg_fail(1)) SWIG_fail;
32448 {
32449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32450 if (SWIG_arg_fail(2)) SWIG_fail;
32451 if (arg2 == NULL) {
32452 SWIG_null_ref("wxTreeItemId");
32453 }
32454 if (SWIG_arg_fail(2)) SWIG_fail;
32455 }
32456 {
7449af73 32457 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 32458 if (SWIG_arg_fail(3)) SWIG_fail;
110da5b0 32459 }
110da5b0
RD
32460 {
32461 PyThreadState* __tstate = wxPyBeginAllowThreads();
32462 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
32463
32464 wxPyEndAllowThreads(__tstate);
32465 if (PyErr_Occurred()) SWIG_fail;
32466 }
32467 Py_INCREF(Py_None); resultobj = Py_None;
32468 return resultobj;
32469 fail:
32470 return NULL;
32471}
32472
32473
c32bde28 32474static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32475 PyObject *resultobj = NULL;
110da5b0
RD
32476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32477 wxTreeItemId *arg2 = 0 ;
32478 int result;
32479 PyObject * obj0 = 0 ;
32480 PyObject * obj1 = 0 ;
32481 char *kwnames[] = {
32482 (char *) "self",(char *) "node", NULL
32483 };
32484
32485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail;
32488 {
32489 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32490 if (SWIG_arg_fail(2)) SWIG_fail;
32491 if (arg2 == NULL) {
32492 SWIG_null_ref("wxTreeItemId");
32493 }
32494 if (SWIG_arg_fail(2)) SWIG_fail;
110da5b0
RD
32495 }
32496 {
32497 PyThreadState* __tstate = wxPyBeginAllowThreads();
32498 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
32499
32500 wxPyEndAllowThreads(__tstate);
32501 if (PyErr_Occurred()) SWIG_fail;
32502 }
093d3ff1 32503 {
7449af73 32504 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32505 }
110da5b0
RD
32506 return resultobj;
32507 fail:
32508 return NULL;
32509}
32510
32511
c32bde28 32512static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32513 PyObject *resultobj = NULL;
093d3ff1 32514 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
32515 wxVisualAttributes result;
32516 PyObject * obj0 = 0 ;
32517 char *kwnames[] = {
32518 (char *) "variant", NULL
32519 };
32520
32521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32522 if (obj0) {
093d3ff1 32523 {
7449af73 32524 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
32525 if (SWIG_arg_fail(1)) SWIG_fail;
32526 }
d55e5bfc
RD
32527 }
32528 {
19272049 32529 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 32530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 32531 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
32532
32533 wxPyEndAllowThreads(__tstate);
110da5b0 32534 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32535 }
32536 {
32537 wxVisualAttributes * resultptr;
7449af73 32538 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
32539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32540 }
32541 return resultobj;
32542 fail:
32543 return NULL;
32544}
32545
32546
c32bde28 32547static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32548 PyObject *obj;
32549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32550 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
32551 Py_INCREF(obj);
32552 return Py_BuildValue((char *)"");
32553}
c32bde28 32554static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
32555 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
32556 return 1;
32557}
32558
32559
093d3ff1 32560static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
7449af73 32561 PyObject *pyobj = NULL;
d55e5bfc
RD
32562
32563 {
32564#if wxUSE_UNICODE
32565 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32566#else
32567 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32568#endif
32569 }
32570 return pyobj;
32571}
32572
32573
c32bde28 32574static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32575 PyObject *resultobj = NULL;
d55e5bfc
RD
32576 wxWindow *arg1 = (wxWindow *) 0 ;
32577 int arg2 = (int) (int)-1 ;
32578 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
32579 wxString *arg3 = (wxString *) &arg3_defvalue ;
32580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32582 wxSize const &arg5_defvalue = wxDefaultSize ;
32583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32584 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32585 wxString const &arg7_defvalue = wxPyEmptyString ;
32586 wxString *arg7 = (wxString *) &arg7_defvalue ;
32587 int arg8 = (int) 0 ;
32588 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
32589 wxString *arg9 = (wxString *) &arg9_defvalue ;
32590 wxGenericDirCtrl *result;
ae8162c8 32591 bool temp3 = false ;
d55e5bfc
RD
32592 wxPoint temp4 ;
32593 wxSize temp5 ;
ae8162c8
RD
32594 bool temp7 = false ;
32595 bool temp9 = false ;
d55e5bfc
RD
32596 PyObject * obj0 = 0 ;
32597 PyObject * obj1 = 0 ;
32598 PyObject * obj2 = 0 ;
32599 PyObject * obj3 = 0 ;
32600 PyObject * obj4 = 0 ;
32601 PyObject * obj5 = 0 ;
32602 PyObject * obj6 = 0 ;
32603 PyObject * obj7 = 0 ;
32604 PyObject * obj8 = 0 ;
32605 char *kwnames[] = {
32606 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32607 };
32608
32609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
32610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32612 if (obj1) {
093d3ff1 32613 {
7449af73 32614 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
32615 if (SWIG_arg_fail(2)) SWIG_fail;
32616 }
d55e5bfc
RD
32617 }
32618 if (obj2) {
32619 {
32620 arg3 = wxString_in_helper(obj2);
32621 if (arg3 == NULL) SWIG_fail;
ae8162c8 32622 temp3 = true;
d55e5bfc
RD
32623 }
32624 }
32625 if (obj3) {
32626 {
32627 arg4 = &temp4;
32628 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32629 }
32630 }
32631 if (obj4) {
32632 {
32633 arg5 = &temp5;
32634 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32635 }
32636 }
32637 if (obj5) {
093d3ff1 32638 {
7449af73 32639 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
32640 if (SWIG_arg_fail(6)) SWIG_fail;
32641 }
d55e5bfc
RD
32642 }
32643 if (obj6) {
32644 {
32645 arg7 = wxString_in_helper(obj6);
32646 if (arg7 == NULL) SWIG_fail;
ae8162c8 32647 temp7 = true;
d55e5bfc
RD
32648 }
32649 }
32650 if (obj7) {
093d3ff1 32651 {
7449af73 32652 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
32653 if (SWIG_arg_fail(8)) SWIG_fail;
32654 }
d55e5bfc
RD
32655 }
32656 if (obj8) {
32657 {
32658 arg9 = wxString_in_helper(obj8);
32659 if (arg9 == NULL) SWIG_fail;
ae8162c8 32660 temp9 = true;
d55e5bfc
RD
32661 }
32662 }
32663 {
0439c23b 32664 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32665 PyThreadState* __tstate = wxPyBeginAllowThreads();
32666 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
32667
32668 wxPyEndAllowThreads(__tstate);
110da5b0 32669 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32670 }
32671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32672 {
32673 if (temp3)
32674 delete arg3;
32675 }
32676 {
32677 if (temp7)
32678 delete arg7;
32679 }
32680 {
32681 if (temp9)
32682 delete arg9;
32683 }
32684 return resultobj;
32685 fail:
32686 {
32687 if (temp3)
32688 delete arg3;
32689 }
32690 {
32691 if (temp7)
32692 delete arg7;
32693 }
32694 {
32695 if (temp9)
32696 delete arg9;
32697 }
32698 return NULL;
32699}
32700
32701
c32bde28 32702static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32703 PyObject *resultobj = NULL;
d55e5bfc
RD
32704 wxGenericDirCtrl *result;
32705 char *kwnames[] = {
32706 NULL
32707 };
32708
32709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
32710 {
0439c23b 32711 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32712 PyThreadState* __tstate = wxPyBeginAllowThreads();
32713 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
32714
32715 wxPyEndAllowThreads(__tstate);
110da5b0 32716 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32717 }
32718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32719 return resultobj;
32720 fail:
32721 return NULL;
32722}
32723
32724
c32bde28 32725static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32726 PyObject *resultobj = NULL;
d55e5bfc
RD
32727 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32728 wxWindow *arg2 = (wxWindow *) 0 ;
32729 int arg3 = (int) (int)-1 ;
32730 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
32731 wxString *arg4 = (wxString *) &arg4_defvalue ;
32732 wxPoint const &arg5_defvalue = wxDefaultPosition ;
32733 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
32734 wxSize const &arg6_defvalue = wxDefaultSize ;
32735 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
32736 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32737 wxString const &arg8_defvalue = wxPyEmptyString ;
32738 wxString *arg8 = (wxString *) &arg8_defvalue ;
32739 int arg9 = (int) 0 ;
32740 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
32741 wxString *arg10 = (wxString *) &arg10_defvalue ;
32742 bool result;
ae8162c8 32743 bool temp4 = false ;
d55e5bfc
RD
32744 wxPoint temp5 ;
32745 wxSize temp6 ;
ae8162c8
RD
32746 bool temp8 = false ;
32747 bool temp10 = false ;
d55e5bfc
RD
32748 PyObject * obj0 = 0 ;
32749 PyObject * obj1 = 0 ;
32750 PyObject * obj2 = 0 ;
32751 PyObject * obj3 = 0 ;
32752 PyObject * obj4 = 0 ;
32753 PyObject * obj5 = 0 ;
32754 PyObject * obj6 = 0 ;
32755 PyObject * obj7 = 0 ;
32756 PyObject * obj8 = 0 ;
32757 PyObject * obj9 = 0 ;
32758 char *kwnames[] = {
32759 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32760 };
32761
32762 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
32763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32764 if (SWIG_arg_fail(1)) SWIG_fail;
32765 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32766 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 32767 if (obj2) {
093d3ff1 32768 {
7449af73 32769 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
32770 if (SWIG_arg_fail(3)) SWIG_fail;
32771 }
d55e5bfc
RD
32772 }
32773 if (obj3) {
32774 {
32775 arg4 = wxString_in_helper(obj3);
32776 if (arg4 == NULL) SWIG_fail;
ae8162c8 32777 temp4 = true;
d55e5bfc
RD
32778 }
32779 }
32780 if (obj4) {
32781 {
32782 arg5 = &temp5;
32783 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
32784 }
32785 }
32786 if (obj5) {
32787 {
32788 arg6 = &temp6;
32789 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
32790 }
32791 }
32792 if (obj6) {
093d3ff1 32793 {
7449af73 32794 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
32795 if (SWIG_arg_fail(7)) SWIG_fail;
32796 }
d55e5bfc
RD
32797 }
32798 if (obj7) {
32799 {
32800 arg8 = wxString_in_helper(obj7);
32801 if (arg8 == NULL) SWIG_fail;
ae8162c8 32802 temp8 = true;
d55e5bfc
RD
32803 }
32804 }
32805 if (obj8) {
093d3ff1 32806 {
7449af73 32807 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
32808 if (SWIG_arg_fail(9)) SWIG_fail;
32809 }
d55e5bfc
RD
32810 }
32811 if (obj9) {
32812 {
32813 arg10 = wxString_in_helper(obj9);
32814 if (arg10 == NULL) SWIG_fail;
ae8162c8 32815 temp10 = true;
d55e5bfc
RD
32816 }
32817 }
32818 {
32819 PyThreadState* __tstate = wxPyBeginAllowThreads();
32820 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
32821
32822 wxPyEndAllowThreads(__tstate);
32823 if (PyErr_Occurred()) SWIG_fail;
32824 }
32825 {
32826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32827 }
32828 {
32829 if (temp4)
32830 delete arg4;
32831 }
32832 {
32833 if (temp8)
32834 delete arg8;
32835 }
32836 {
32837 if (temp10)
32838 delete arg10;
32839 }
32840 return resultobj;
32841 fail:
32842 {
32843 if (temp4)
32844 delete arg4;
32845 }
32846 {
32847 if (temp8)
32848 delete arg8;
32849 }
32850 {
32851 if (temp10)
32852 delete arg10;
32853 }
32854 return NULL;
32855}
32856
32857
c32bde28 32858static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32859 PyObject *resultobj = NULL;
d55e5bfc
RD
32860 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32861 wxString *arg2 = 0 ;
32862 bool result;
ae8162c8 32863 bool temp2 = false ;
d55e5bfc
RD
32864 PyObject * obj0 = 0 ;
32865 PyObject * obj1 = 0 ;
32866 char *kwnames[] = {
32867 (char *) "self",(char *) "path", NULL
32868 };
32869
32870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32873 {
32874 arg2 = wxString_in_helper(obj1);
32875 if (arg2 == NULL) SWIG_fail;
ae8162c8 32876 temp2 = true;
d55e5bfc
RD
32877 }
32878 {
32879 PyThreadState* __tstate = wxPyBeginAllowThreads();
32880 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
32881
32882 wxPyEndAllowThreads(__tstate);
32883 if (PyErr_Occurred()) SWIG_fail;
32884 }
32885 {
32886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32887 }
32888 {
32889 if (temp2)
32890 delete arg2;
32891 }
32892 return resultobj;
32893 fail:
32894 {
32895 if (temp2)
32896 delete arg2;
32897 }
32898 return NULL;
32899}
32900
32901
c32bde28 32902static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32903 PyObject *resultobj = NULL;
d55e5bfc
RD
32904 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32905 wxString result;
32906 PyObject * obj0 = 0 ;
32907 char *kwnames[] = {
32908 (char *) "self", NULL
32909 };
32910
32911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",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;
d55e5bfc
RD
32914 {
32915 PyThreadState* __tstate = wxPyBeginAllowThreads();
32916 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
32917
32918 wxPyEndAllowThreads(__tstate);
32919 if (PyErr_Occurred()) SWIG_fail;
32920 }
32921 {
32922#if wxUSE_UNICODE
32923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32924#else
32925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32926#endif
32927 }
32928 return resultobj;
32929 fail:
32930 return NULL;
32931}
32932
32933
c32bde28 32934static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32935 PyObject *resultobj = NULL;
d55e5bfc
RD
32936 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32937 wxString *arg2 = 0 ;
ae8162c8 32938 bool temp2 = false ;
d55e5bfc
RD
32939 PyObject * obj0 = 0 ;
32940 PyObject * obj1 = 0 ;
32941 char *kwnames[] = {
32942 (char *) "self",(char *) "path", NULL
32943 };
32944
32945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32948 {
32949 arg2 = wxString_in_helper(obj1);
32950 if (arg2 == NULL) SWIG_fail;
ae8162c8 32951 temp2 = true;
d55e5bfc
RD
32952 }
32953 {
32954 PyThreadState* __tstate = wxPyBeginAllowThreads();
32955 (arg1)->SetDefaultPath((wxString const &)*arg2);
32956
32957 wxPyEndAllowThreads(__tstate);
32958 if (PyErr_Occurred()) SWIG_fail;
32959 }
32960 Py_INCREF(Py_None); resultobj = Py_None;
32961 {
32962 if (temp2)
32963 delete arg2;
32964 }
32965 return resultobj;
32966 fail:
32967 {
32968 if (temp2)
32969 delete arg2;
32970 }
32971 return NULL;
32972}
32973
32974
c32bde28 32975static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32976 PyObject *resultobj = NULL;
d55e5bfc
RD
32977 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32978 wxString result;
32979 PyObject * obj0 = 0 ;
32980 char *kwnames[] = {
32981 (char *) "self", NULL
32982 };
32983
32984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
32985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32987 {
32988 PyThreadState* __tstate = wxPyBeginAllowThreads();
32989 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
32990
32991 wxPyEndAllowThreads(__tstate);
32992 if (PyErr_Occurred()) SWIG_fail;
32993 }
32994 {
32995#if wxUSE_UNICODE
32996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32997#else
32998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32999#endif
33000 }
33001 return resultobj;
33002 fail:
33003 return NULL;
33004}
33005
33006
c32bde28 33007static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33008 PyObject *resultobj = NULL;
d55e5bfc
RD
33009 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33010 wxString result;
33011 PyObject * obj0 = 0 ;
33012 char *kwnames[] = {
33013 (char *) "self", NULL
33014 };
33015
33016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
33017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33019 {
33020 PyThreadState* __tstate = wxPyBeginAllowThreads();
33021 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
33022
33023 wxPyEndAllowThreads(__tstate);
33024 if (PyErr_Occurred()) SWIG_fail;
33025 }
33026 {
33027#if wxUSE_UNICODE
33028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33029#else
33030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33031#endif
33032 }
33033 return resultobj;
33034 fail:
33035 return NULL;
33036}
33037
33038
c32bde28 33039static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33040 PyObject *resultobj = NULL;
d55e5bfc
RD
33041 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33042 wxString *arg2 = 0 ;
ae8162c8 33043 bool temp2 = false ;
d55e5bfc
RD
33044 PyObject * obj0 = 0 ;
33045 PyObject * obj1 = 0 ;
33046 char *kwnames[] = {
33047 (char *) "self",(char *) "path", NULL
33048 };
33049
33050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33053 {
33054 arg2 = wxString_in_helper(obj1);
33055 if (arg2 == NULL) SWIG_fail;
ae8162c8 33056 temp2 = true;
d55e5bfc
RD
33057 }
33058 {
33059 PyThreadState* __tstate = wxPyBeginAllowThreads();
33060 (arg1)->SetPath((wxString const &)*arg2);
33061
33062 wxPyEndAllowThreads(__tstate);
33063 if (PyErr_Occurred()) SWIG_fail;
33064 }
33065 Py_INCREF(Py_None); resultobj = Py_None;
33066 {
33067 if (temp2)
33068 delete arg2;
33069 }
33070 return resultobj;
33071 fail:
33072 {
33073 if (temp2)
33074 delete arg2;
33075 }
33076 return NULL;
33077}
33078
33079
c32bde28 33080static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33081 PyObject *resultobj = NULL;
d55e5bfc
RD
33082 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33083 bool arg2 ;
33084 PyObject * obj0 = 0 ;
33085 PyObject * obj1 = 0 ;
33086 char *kwnames[] = {
33087 (char *) "self",(char *) "show", NULL
33088 };
33089
33090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail;
33093 {
7449af73 33094 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
33095 if (SWIG_arg_fail(2)) SWIG_fail;
33096 }
d55e5bfc
RD
33097 {
33098 PyThreadState* __tstate = wxPyBeginAllowThreads();
33099 (arg1)->ShowHidden(arg2);
33100
33101 wxPyEndAllowThreads(__tstate);
33102 if (PyErr_Occurred()) SWIG_fail;
33103 }
33104 Py_INCREF(Py_None); resultobj = Py_None;
33105 return resultobj;
33106 fail:
33107 return NULL;
33108}
33109
33110
c32bde28 33111static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33112 PyObject *resultobj = NULL;
d55e5bfc
RD
33113 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33114 bool result;
33115 PyObject * obj0 = 0 ;
33116 char *kwnames[] = {
33117 (char *) "self", NULL
33118 };
33119
33120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
33121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33122 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33123 {
33124 PyThreadState* __tstate = wxPyBeginAllowThreads();
33125 result = (bool)(arg1)->GetShowHidden();
33126
33127 wxPyEndAllowThreads(__tstate);
33128 if (PyErr_Occurred()) SWIG_fail;
33129 }
33130 {
33131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33132 }
33133 return resultobj;
33134 fail:
33135 return NULL;
33136}
33137
33138
c32bde28 33139static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33140 PyObject *resultobj = NULL;
d55e5bfc
RD
33141 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33142 wxString result;
33143 PyObject * obj0 = 0 ;
33144 char *kwnames[] = {
33145 (char *) "self", NULL
33146 };
33147
33148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
33149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33151 {
33152 PyThreadState* __tstate = wxPyBeginAllowThreads();
33153 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
33154
33155 wxPyEndAllowThreads(__tstate);
33156 if (PyErr_Occurred()) SWIG_fail;
33157 }
33158 {
33159#if wxUSE_UNICODE
33160 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33161#else
33162 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33163#endif
33164 }
33165 return resultobj;
33166 fail:
33167 return NULL;
33168}
33169
33170
c32bde28 33171static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33172 PyObject *resultobj = NULL;
d55e5bfc
RD
33173 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33174 wxString *arg2 = 0 ;
ae8162c8 33175 bool temp2 = false ;
d55e5bfc
RD
33176 PyObject * obj0 = 0 ;
33177 PyObject * obj1 = 0 ;
33178 char *kwnames[] = {
33179 (char *) "self",(char *) "filter", NULL
33180 };
33181
33182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33185 {
33186 arg2 = wxString_in_helper(obj1);
33187 if (arg2 == NULL) SWIG_fail;
ae8162c8 33188 temp2 = true;
d55e5bfc
RD
33189 }
33190 {
33191 PyThreadState* __tstate = wxPyBeginAllowThreads();
33192 (arg1)->SetFilter((wxString const &)*arg2);
33193
33194 wxPyEndAllowThreads(__tstate);
33195 if (PyErr_Occurred()) SWIG_fail;
33196 }
33197 Py_INCREF(Py_None); resultobj = Py_None;
33198 {
33199 if (temp2)
33200 delete arg2;
33201 }
33202 return resultobj;
33203 fail:
33204 {
33205 if (temp2)
33206 delete arg2;
33207 }
33208 return NULL;
33209}
33210
33211
c32bde28 33212static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33213 PyObject *resultobj = NULL;
d55e5bfc
RD
33214 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33215 int result;
33216 PyObject * obj0 = 0 ;
33217 char *kwnames[] = {
33218 (char *) "self", NULL
33219 };
33220
33221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
33222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33224 {
33225 PyThreadState* __tstate = wxPyBeginAllowThreads();
33226 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
33227
33228 wxPyEndAllowThreads(__tstate);
33229 if (PyErr_Occurred()) SWIG_fail;
33230 }
093d3ff1 33231 {
7449af73 33232 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 33233 }
d55e5bfc
RD
33234 return resultobj;
33235 fail:
33236 return NULL;
33237}
33238
33239
c32bde28 33240static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33241 PyObject *resultobj = NULL;
d55e5bfc
RD
33242 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33243 int arg2 ;
33244 PyObject * obj0 = 0 ;
33245 PyObject * obj1 = 0 ;
33246 char *kwnames[] = {
33247 (char *) "self",(char *) "n", NULL
33248 };
33249
33250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33252 if (SWIG_arg_fail(1)) SWIG_fail;
33253 {
7449af73 33254 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33255 if (SWIG_arg_fail(2)) SWIG_fail;
33256 }
d55e5bfc
RD
33257 {
33258 PyThreadState* __tstate = wxPyBeginAllowThreads();
33259 (arg1)->SetFilterIndex(arg2);
33260
33261 wxPyEndAllowThreads(__tstate);
33262 if (PyErr_Occurred()) SWIG_fail;
33263 }
33264 Py_INCREF(Py_None); resultobj = Py_None;
33265 return resultobj;
33266 fail:
33267 return NULL;
33268}
33269
33270
c32bde28 33271static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33272 PyObject *resultobj = NULL;
d55e5bfc
RD
33273 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33274 wxTreeItemId result;
33275 PyObject * obj0 = 0 ;
33276 char *kwnames[] = {
33277 (char *) "self", NULL
33278 };
33279
33280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
33281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33283 {
33284 PyThreadState* __tstate = wxPyBeginAllowThreads();
33285 result = (arg1)->GetRootId();
33286
33287 wxPyEndAllowThreads(__tstate);
33288 if (PyErr_Occurred()) SWIG_fail;
33289 }
33290 {
33291 wxTreeItemId * resultptr;
7449af73 33292 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
33293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33294 }
33295 return resultobj;
33296 fail:
33297 return NULL;
33298}
33299
33300
c32bde28 33301static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33302 PyObject *resultobj = NULL;
d55e5bfc
RD
33303 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33304 wxPyTreeCtrl *result;
33305 PyObject * obj0 = 0 ;
33306 char *kwnames[] = {
33307 (char *) "self", NULL
33308 };
33309
33310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
33311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33313 {
33314 PyThreadState* __tstate = wxPyBeginAllowThreads();
33315 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
33316
33317 wxPyEndAllowThreads(__tstate);
33318 if (PyErr_Occurred()) SWIG_fail;
33319 }
33320 {
412d302d 33321 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33322 }
33323 return resultobj;
33324 fail:
33325 return NULL;
33326}
33327
33328
c32bde28 33329static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33330 PyObject *resultobj = NULL;
d55e5bfc
RD
33331 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33332 wxDirFilterListCtrl *result;
33333 PyObject * obj0 = 0 ;
33334 char *kwnames[] = {
33335 (char *) "self", NULL
33336 };
33337
33338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
33339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33341 {
33342 PyThreadState* __tstate = wxPyBeginAllowThreads();
33343 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
33344
33345 wxPyEndAllowThreads(__tstate);
33346 if (PyErr_Occurred()) SWIG_fail;
33347 }
33348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
33349 return resultobj;
33350 fail:
33351 return NULL;
33352}
33353
33354
c32bde28 33355static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33356 PyObject *resultobj = NULL;
d55e5bfc
RD
33357 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33358 wxTreeItemId arg2 ;
33359 wxString *arg3 = 0 ;
33360 bool *arg4 = 0 ;
33361 wxTreeItemId result;
ae8162c8 33362 bool temp3 = false ;
d55e5bfc 33363 bool temp4 ;
c32bde28 33364 int res4 = 0 ;
d55e5bfc
RD
33365 PyObject * obj0 = 0 ;
33366 PyObject * obj1 = 0 ;
33367 PyObject * obj2 = 0 ;
33368 char *kwnames[] = {
33369 (char *) "self",(char *) "parentId",(char *) "path", NULL
33370 };
33371
c32bde28 33372 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 33373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33375 if (SWIG_arg_fail(1)) SWIG_fail;
33376 {
33377 wxTreeItemId * argp;
33378 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
33379 if (SWIG_arg_fail(2)) SWIG_fail;
33380 if (argp == NULL) {
33381 SWIG_null_ref("wxTreeItemId");
33382 }
33383 if (SWIG_arg_fail(2)) SWIG_fail;
33384 arg2 = *argp;
33385 }
d55e5bfc
RD
33386 {
33387 arg3 = wxString_in_helper(obj2);
33388 if (arg3 == NULL) SWIG_fail;
ae8162c8 33389 temp3 = true;
d55e5bfc
RD
33390 }
33391 {
33392 PyThreadState* __tstate = wxPyBeginAllowThreads();
33393 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
33394
33395 wxPyEndAllowThreads(__tstate);
33396 if (PyErr_Occurred()) SWIG_fail;
33397 }
33398 {
33399 wxTreeItemId * resultptr;
7449af73 33400 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
33401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33402 }
c32bde28
RD
33403 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
33404 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
33405 {
33406 if (temp3)
33407 delete arg3;
33408 }
33409 return resultobj;
33410 fail:
33411 {
33412 if (temp3)
33413 delete arg3;
33414 }
33415 return NULL;
33416}
33417
33418
c32bde28 33419static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33420 PyObject *resultobj = NULL;
d55e5bfc
RD
33421 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33422 PyObject * obj0 = 0 ;
33423 char *kwnames[] = {
33424 (char *) "self", NULL
33425 };
33426
33427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33430 {
33431 PyThreadState* __tstate = wxPyBeginAllowThreads();
33432 (arg1)->DoResize();
33433
33434 wxPyEndAllowThreads(__tstate);
33435 if (PyErr_Occurred()) SWIG_fail;
33436 }
33437 Py_INCREF(Py_None); resultobj = Py_None;
33438 return resultobj;
33439 fail:
33440 return NULL;
33441}
33442
33443
c32bde28 33444static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33445 PyObject *resultobj = NULL;
d55e5bfc
RD
33446 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33447 PyObject * obj0 = 0 ;
33448 char *kwnames[] = {
33449 (char *) "self", NULL
33450 };
33451
33452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
33453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33455 {
33456 PyThreadState* __tstate = wxPyBeginAllowThreads();
33457 (arg1)->ReCreateTree();
33458
33459 wxPyEndAllowThreads(__tstate);
33460 if (PyErr_Occurred()) SWIG_fail;
33461 }
33462 Py_INCREF(Py_None); resultobj = Py_None;
33463 return resultobj;
33464 fail:
33465 return NULL;
33466}
33467
33468
c32bde28 33469static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33470 PyObject *obj;
33471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33472 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
33473 Py_INCREF(obj);
33474 return Py_BuildValue((char *)"");
33475}
c32bde28 33476static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33477 PyObject *resultobj = NULL;
d55e5bfc
RD
33478 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33479 int arg2 = (int) (int)-1 ;
33480 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33481 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33482 wxSize const &arg4_defvalue = wxDefaultSize ;
33483 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33484 long arg5 = (long) 0 ;
33485 wxDirFilterListCtrl *result;
33486 wxPoint temp3 ;
33487 wxSize temp4 ;
33488 PyObject * obj0 = 0 ;
33489 PyObject * obj1 = 0 ;
33490 PyObject * obj2 = 0 ;
33491 PyObject * obj3 = 0 ;
33492 PyObject * obj4 = 0 ;
33493 char *kwnames[] = {
33494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33495 };
33496
33497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33500 if (obj1) {
093d3ff1 33501 {
7449af73 33502 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
33503 if (SWIG_arg_fail(2)) SWIG_fail;
33504 }
d55e5bfc
RD
33505 }
33506 if (obj2) {
33507 {
33508 arg3 = &temp3;
33509 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33510 }
33511 }
33512 if (obj3) {
33513 {
33514 arg4 = &temp4;
33515 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33516 }
33517 }
33518 if (obj4) {
093d3ff1 33519 {
7449af73 33520 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
33521 if (SWIG_arg_fail(5)) SWIG_fail;
33522 }
d55e5bfc
RD
33523 }
33524 {
0439c23b 33525 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33526 PyThreadState* __tstate = wxPyBeginAllowThreads();
33527 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33528
33529 wxPyEndAllowThreads(__tstate);
110da5b0 33530 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33531 }
33532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33533 return resultobj;
33534 fail:
33535 return NULL;
33536}
33537
33538
c32bde28 33539static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33540 PyObject *resultobj = NULL;
d55e5bfc
RD
33541 wxDirFilterListCtrl *result;
33542 char *kwnames[] = {
33543 NULL
33544 };
33545
33546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
33547 {
0439c23b 33548 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33549 PyThreadState* __tstate = wxPyBeginAllowThreads();
33550 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
33551
33552 wxPyEndAllowThreads(__tstate);
110da5b0 33553 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33554 }
33555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33556 return resultobj;
33557 fail:
33558 return NULL;
33559}
33560
33561
c32bde28 33562static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33563 PyObject *resultobj = NULL;
d55e5bfc
RD
33564 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33565 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
33566 int arg3 = (int) (int)-1 ;
33567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33569 wxSize const &arg5_defvalue = wxDefaultSize ;
33570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33571 long arg6 = (long) 0 ;
33572 bool result;
33573 wxPoint temp4 ;
33574 wxSize temp5 ;
33575 PyObject * obj0 = 0 ;
33576 PyObject * obj1 = 0 ;
33577 PyObject * obj2 = 0 ;
33578 PyObject * obj3 = 0 ;
33579 PyObject * obj4 = 0 ;
33580 PyObject * obj5 = 0 ;
33581 char *kwnames[] = {
33582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33583 };
33584
33585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33587 if (SWIG_arg_fail(1)) SWIG_fail;
33588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33589 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 33590 if (obj2) {
093d3ff1 33591 {
7449af73 33592 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
33593 if (SWIG_arg_fail(3)) SWIG_fail;
33594 }
d55e5bfc
RD
33595 }
33596 if (obj3) {
33597 {
33598 arg4 = &temp4;
33599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33600 }
33601 }
33602 if (obj4) {
33603 {
33604 arg5 = &temp5;
33605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33606 }
33607 }
33608 if (obj5) {
093d3ff1 33609 {
7449af73 33610 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
33611 if (SWIG_arg_fail(6)) SWIG_fail;
33612 }
d55e5bfc
RD
33613 }
33614 {
33615 PyThreadState* __tstate = wxPyBeginAllowThreads();
33616 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
33617
33618 wxPyEndAllowThreads(__tstate);
33619 if (PyErr_Occurred()) SWIG_fail;
33620 }
33621 {
33622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33623 }
33624 return resultobj;
33625 fail:
33626 return NULL;
33627}
33628
33629
c32bde28 33630static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33631 PyObject *resultobj = NULL;
d55e5bfc
RD
33632 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33633 wxString *arg2 = 0 ;
33634 int arg3 ;
ae8162c8 33635 bool temp2 = false ;
d55e5bfc
RD
33636 PyObject * obj0 = 0 ;
33637 PyObject * obj1 = 0 ;
33638 PyObject * obj2 = 0 ;
33639 char *kwnames[] = {
33640 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33641 };
33642
33643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33646 {
33647 arg2 = wxString_in_helper(obj1);
33648 if (arg2 == NULL) SWIG_fail;
ae8162c8 33649 temp2 = true;
d55e5bfc 33650 }
093d3ff1 33651 {
7449af73 33652 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33653 if (SWIG_arg_fail(3)) SWIG_fail;
33654 }
d55e5bfc
RD
33655 {
33656 PyThreadState* __tstate = wxPyBeginAllowThreads();
33657 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
33658
33659 wxPyEndAllowThreads(__tstate);
33660 if (PyErr_Occurred()) SWIG_fail;
33661 }
33662 Py_INCREF(Py_None); resultobj = Py_None;
33663 {
33664 if (temp2)
33665 delete arg2;
33666 }
33667 return resultobj;
33668 fail:
33669 {
33670 if (temp2)
33671 delete arg2;
33672 }
33673 return NULL;
33674}
33675
33676
c32bde28 33677static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33678 PyObject *obj;
33679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33680 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
33681 Py_INCREF(obj);
33682 return Py_BuildValue((char *)"");
33683}
c32bde28 33684static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33685 PyObject *resultobj = NULL;
d55e5bfc 33686 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 33687 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
33688 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33689 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33690 wxSize const &arg4_defvalue = wxDefaultSize ;
33691 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33692 long arg5 = (long) 0 ;
33693 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33694 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33695 wxString const &arg7_defvalue = wxPyControlNameStr ;
33696 wxString *arg7 = (wxString *) &arg7_defvalue ;
33697 wxPyControl *result;
33698 wxPoint temp3 ;
33699 wxSize temp4 ;
ae8162c8 33700 bool temp7 = false ;
d55e5bfc
RD
33701 PyObject * obj0 = 0 ;
33702 PyObject * obj1 = 0 ;
33703 PyObject * obj2 = 0 ;
33704 PyObject * obj3 = 0 ;
33705 PyObject * obj4 = 0 ;
33706 PyObject * obj5 = 0 ;
33707 PyObject * obj6 = 0 ;
33708 char *kwnames[] = {
33709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33710 };
33711
248ed943 33712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
33713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33714 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 33715 if (obj1) {
093d3ff1 33716 {
7449af73 33717 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
33718 if (SWIG_arg_fail(2)) SWIG_fail;
33719 }
248ed943 33720 }
d55e5bfc
RD
33721 if (obj2) {
33722 {
33723 arg3 = &temp3;
33724 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33725 }
33726 }
33727 if (obj3) {
33728 {
33729 arg4 = &temp4;
33730 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33731 }
33732 }
33733 if (obj4) {
093d3ff1 33734 {
7449af73 33735 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
33736 if (SWIG_arg_fail(5)) SWIG_fail;
33737 }
d55e5bfc
RD
33738 }
33739 if (obj5) {
093d3ff1
RD
33740 {
33741 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33742 if (SWIG_arg_fail(6)) SWIG_fail;
33743 if (arg6 == NULL) {
33744 SWIG_null_ref("wxValidator");
33745 }
33746 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
33747 }
33748 }
33749 if (obj6) {
33750 {
33751 arg7 = wxString_in_helper(obj6);
33752 if (arg7 == NULL) SWIG_fail;
ae8162c8 33753 temp7 = true;
d55e5bfc
RD
33754 }
33755 }
33756 {
0439c23b 33757 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33758 PyThreadState* __tstate = wxPyBeginAllowThreads();
33759 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33760
33761 wxPyEndAllowThreads(__tstate);
110da5b0 33762 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33763 }
33764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33765 {
33766 if (temp7)
33767 delete arg7;
33768 }
33769 return resultobj;
33770 fail:
33771 {
33772 if (temp7)
33773 delete arg7;
33774 }
33775 return NULL;
33776}
33777
33778
c32bde28 33779static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33780 PyObject *resultobj = NULL;
d55e5bfc
RD
33781 wxPyControl *result;
33782 char *kwnames[] = {
33783 NULL
33784 };
33785
33786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
33787 {
0439c23b 33788 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33789 PyThreadState* __tstate = wxPyBeginAllowThreads();
33790 result = (wxPyControl *)new wxPyControl();
33791
33792 wxPyEndAllowThreads(__tstate);
110da5b0 33793 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33794 }
33795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33796 return resultobj;
33797 fail:
33798 return NULL;
33799}
33800
33801
c32bde28 33802static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33803 PyObject *resultobj = NULL;
d55e5bfc
RD
33804 wxPyControl *arg1 = (wxPyControl *) 0 ;
33805 PyObject *arg2 = (PyObject *) 0 ;
33806 PyObject *arg3 = (PyObject *) 0 ;
33807 PyObject * obj0 = 0 ;
33808 PyObject * obj1 = 0 ;
33809 PyObject * obj2 = 0 ;
33810 char *kwnames[] = {
33811 (char *) "self",(char *) "self",(char *) "_class", NULL
33812 };
33813
33814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33816 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33817 arg2 = obj1;
33818 arg3 = obj2;
33819 {
33820 PyThreadState* __tstate = wxPyBeginAllowThreads();
33821 (arg1)->_setCallbackInfo(arg2,arg3);
33822
33823 wxPyEndAllowThreads(__tstate);
33824 if (PyErr_Occurred()) SWIG_fail;
33825 }
33826 Py_INCREF(Py_None); resultobj = Py_None;
33827 return resultobj;
33828 fail:
33829 return NULL;
33830}
33831
33832
c32bde28 33833static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33834 PyObject *resultobj = NULL;
caef1a4d
RD
33835 wxPyControl *arg1 = (wxPyControl *) 0 ;
33836 wxSize *arg2 = 0 ;
33837 wxSize temp2 ;
33838 PyObject * obj0 = 0 ;
33839 PyObject * obj1 = 0 ;
33840 char *kwnames[] = {
33841 (char *) "self",(char *) "size", NULL
33842 };
33843
33844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33846 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
33847 {
33848 arg2 = &temp2;
33849 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33850 }
33851 {
33852 PyThreadState* __tstate = wxPyBeginAllowThreads();
33853 (arg1)->SetBestSize((wxSize const &)*arg2);
33854
33855 wxPyEndAllowThreads(__tstate);
33856 if (PyErr_Occurred()) SWIG_fail;
33857 }
33858 Py_INCREF(Py_None); resultobj = Py_None;
33859 return resultobj;
33860 fail:
33861 return NULL;
33862}
33863
33864
60d5fcc1 33865static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33866 PyObject *resultobj = NULL;
60d5fcc1
RD
33867 wxPyControl *arg1 = (wxPyControl *) 0 ;
33868 wxDC *arg2 = (wxDC *) 0 ;
33869 bool result;
33870 PyObject * obj0 = 0 ;
33871 PyObject * obj1 = 0 ;
33872 char *kwnames[] = {
33873 (char *) "self",(char *) "dc", NULL
33874 };
33875
33876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
33877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33878 if (SWIG_arg_fail(1)) SWIG_fail;
33879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33880 if (SWIG_arg_fail(2)) SWIG_fail;
33881 {
33882 PyThreadState* __tstate = wxPyBeginAllowThreads();
33883 result = (bool)(arg1)->DoEraseBackground(arg2);
33884
33885 wxPyEndAllowThreads(__tstate);
33886 if (PyErr_Occurred()) SWIG_fail;
33887 }
33888 {
33889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33890 }
33891 return resultobj;
33892 fail:
33893 return NULL;
33894}
33895
33896
b06b3e70 33897static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33898 PyObject *resultobj = NULL;
d55e5bfc
RD
33899 wxPyControl *arg1 = (wxPyControl *) 0 ;
33900 int arg2 ;
33901 int arg3 ;
33902 int arg4 ;
33903 int arg5 ;
33904 PyObject * obj0 = 0 ;
33905 PyObject * obj1 = 0 ;
33906 PyObject * obj2 = 0 ;
33907 PyObject * obj3 = 0 ;
33908 PyObject * obj4 = 0 ;
33909 char *kwnames[] = {
33910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33911 };
33912
b06b3e70 33913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33915 if (SWIG_arg_fail(1)) SWIG_fail;
33916 {
7449af73 33917 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33918 if (SWIG_arg_fail(2)) SWIG_fail;
33919 }
33920 {
7449af73 33921 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33922 if (SWIG_arg_fail(3)) SWIG_fail;
33923 }
33924 {
7449af73 33925 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
33926 if (SWIG_arg_fail(4)) SWIG_fail;
33927 }
33928 {
7449af73 33929 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
33930 if (SWIG_arg_fail(5)) SWIG_fail;
33931 }
d55e5bfc
RD
33932 {
33933 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 33934 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
33935
33936 wxPyEndAllowThreads(__tstate);
33937 if (PyErr_Occurred()) SWIG_fail;
33938 }
33939 Py_INCREF(Py_None); resultobj = Py_None;
33940 return resultobj;
33941 fail:
33942 return NULL;
33943}
33944
33945
b06b3e70 33946static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33947 PyObject *resultobj = NULL;
d55e5bfc
RD
33948 wxPyControl *arg1 = (wxPyControl *) 0 ;
33949 int arg2 ;
33950 int arg3 ;
33951 int arg4 ;
33952 int arg5 ;
33953 int arg6 = (int) wxSIZE_AUTO ;
33954 PyObject * obj0 = 0 ;
33955 PyObject * obj1 = 0 ;
33956 PyObject * obj2 = 0 ;
33957 PyObject * obj3 = 0 ;
33958 PyObject * obj4 = 0 ;
33959 PyObject * obj5 = 0 ;
33960 char *kwnames[] = {
33961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33962 };
33963
b06b3e70 33964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33966 if (SWIG_arg_fail(1)) SWIG_fail;
33967 {
7449af73 33968 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33969 if (SWIG_arg_fail(2)) SWIG_fail;
33970 }
33971 {
7449af73 33972 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33973 if (SWIG_arg_fail(3)) SWIG_fail;
33974 }
33975 {
7449af73 33976 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
33977 if (SWIG_arg_fail(4)) SWIG_fail;
33978 }
33979 {
7449af73 33980 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
33981 if (SWIG_arg_fail(5)) SWIG_fail;
33982 }
d55e5bfc 33983 if (obj5) {
093d3ff1 33984 {
7449af73 33985 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
33986 if (SWIG_arg_fail(6)) SWIG_fail;
33987 }
d55e5bfc
RD
33988 }
33989 {
33990 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 33991 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
33992
33993 wxPyEndAllowThreads(__tstate);
33994 if (PyErr_Occurred()) SWIG_fail;
33995 }
33996 Py_INCREF(Py_None); resultobj = Py_None;
33997 return resultobj;
33998 fail:
33999 return NULL;
34000}
34001
34002
b06b3e70 34003static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34004 PyObject *resultobj = NULL;
d55e5bfc
RD
34005 wxPyControl *arg1 = (wxPyControl *) 0 ;
34006 int arg2 ;
34007 int arg3 ;
34008 PyObject * obj0 = 0 ;
34009 PyObject * obj1 = 0 ;
34010 PyObject * obj2 = 0 ;
34011 char *kwnames[] = {
34012 (char *) "self",(char *) "width",(char *) "height", NULL
34013 };
34014
b06b3e70 34015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34017 if (SWIG_arg_fail(1)) SWIG_fail;
34018 {
7449af73 34019 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34020 if (SWIG_arg_fail(2)) SWIG_fail;
34021 }
34022 {
7449af73 34023 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
34024 if (SWIG_arg_fail(3)) SWIG_fail;
34025 }
d55e5bfc
RD
34026 {
34027 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34028 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
34029
34030 wxPyEndAllowThreads(__tstate);
34031 if (PyErr_Occurred()) SWIG_fail;
34032 }
34033 Py_INCREF(Py_None); resultobj = Py_None;
34034 return resultobj;
34035 fail:
34036 return NULL;
34037}
34038
34039
b06b3e70 34040static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34041 PyObject *resultobj = NULL;
d55e5bfc
RD
34042 wxPyControl *arg1 = (wxPyControl *) 0 ;
34043 int arg2 ;
34044 int arg3 ;
34045 PyObject * obj0 = 0 ;
34046 PyObject * obj1 = 0 ;
34047 PyObject * obj2 = 0 ;
34048 char *kwnames[] = {
34049 (char *) "self",(char *) "x",(char *) "y", NULL
34050 };
34051
b06b3e70 34052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34054 if (SWIG_arg_fail(1)) SWIG_fail;
34055 {
7449af73 34056 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34057 if (SWIG_arg_fail(2)) SWIG_fail;
34058 }
34059 {
7449af73 34060 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
34061 if (SWIG_arg_fail(3)) SWIG_fail;
34062 }
d55e5bfc
RD
34063 {
34064 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34065 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
34066
34067 wxPyEndAllowThreads(__tstate);
34068 if (PyErr_Occurred()) SWIG_fail;
34069 }
34070 Py_INCREF(Py_None); resultobj = Py_None;
34071 return resultobj;
34072 fail:
34073 return NULL;
34074}
34075
34076
b06b3e70 34077static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34078 PyObject *resultobj = NULL;
d55e5bfc
RD
34079 wxPyControl *arg1 = (wxPyControl *) 0 ;
34080 int *arg2 = (int *) 0 ;
34081 int *arg3 = (int *) 0 ;
34082 int temp2 ;
c32bde28 34083 int res2 = 0 ;
d55e5bfc 34084 int temp3 ;
c32bde28 34085 int res3 = 0 ;
d55e5bfc
RD
34086 PyObject * obj0 = 0 ;
34087 char *kwnames[] = {
34088 (char *) "self", NULL
34089 };
34090
c32bde28
RD
34091 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34092 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 34093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34096 {
34097 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34098 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
34099
34100 wxPyEndAllowThreads(__tstate);
34101 if (PyErr_Occurred()) SWIG_fail;
34102 }
34103 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
34104 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34105 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34106 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34107 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
34108 return resultobj;
34109 fail:
34110 return NULL;
34111}
34112
34113
b06b3e70 34114static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34115 PyObject *resultobj = NULL;
d55e5bfc
RD
34116 wxPyControl *arg1 = (wxPyControl *) 0 ;
34117 int *arg2 = (int *) 0 ;
34118 int *arg3 = (int *) 0 ;
34119 int temp2 ;
c32bde28 34120 int res2 = 0 ;
d55e5bfc 34121 int temp3 ;
c32bde28 34122 int res3 = 0 ;
d55e5bfc
RD
34123 PyObject * obj0 = 0 ;
34124 char *kwnames[] = {
34125 (char *) "self", NULL
34126 };
34127
c32bde28
RD
34128 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34129 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 34130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34133 {
34134 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34135 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
34136
34137 wxPyEndAllowThreads(__tstate);
34138 if (PyErr_Occurred()) SWIG_fail;
34139 }
34140 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
34141 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34142 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34143 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34144 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
34145 return resultobj;
34146 fail:
34147 return NULL;
34148}
34149
34150
b06b3e70 34151static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34152 PyObject *resultobj = NULL;
d55e5bfc
RD
34153 wxPyControl *arg1 = (wxPyControl *) 0 ;
34154 int *arg2 = (int *) 0 ;
34155 int *arg3 = (int *) 0 ;
34156 int temp2 ;
c32bde28 34157 int res2 = 0 ;
d55e5bfc 34158 int temp3 ;
c32bde28 34159 int res3 = 0 ;
d55e5bfc
RD
34160 PyObject * obj0 = 0 ;
34161 char *kwnames[] = {
34162 (char *) "self", NULL
34163 };
34164
c32bde28
RD
34165 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34166 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 34167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
34168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34170 {
34171 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34172 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
34173
34174 wxPyEndAllowThreads(__tstate);
34175 if (PyErr_Occurred()) SWIG_fail;
34176 }
34177 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
34178 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34179 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34180 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34181 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
34182 return resultobj;
34183 fail:
34184 return NULL;
34185}
34186
34187
b06b3e70 34188static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34189 PyObject *resultobj = NULL;
d55e5bfc
RD
34190 wxPyControl *arg1 = (wxPyControl *) 0 ;
34191 wxSize result;
34192 PyObject * obj0 = 0 ;
34193 char *kwnames[] = {
34194 (char *) "self", NULL
34195 };
34196
b06b3e70 34197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34200 {
34201 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34202 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
34203
34204 wxPyEndAllowThreads(__tstate);
34205 if (PyErr_Occurred()) SWIG_fail;
34206 }
34207 {
34208 wxSize * resultptr;
7449af73 34209 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
34210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34211 }
34212 return resultobj;
34213 fail:
34214 return NULL;
34215}
34216
34217
b06b3e70 34218static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34219 PyObject *resultobj = NULL;
d55e5bfc
RD
34220 wxPyControl *arg1 = (wxPyControl *) 0 ;
34221 wxSize result;
34222 PyObject * obj0 = 0 ;
34223 char *kwnames[] = {
34224 (char *) "self", NULL
34225 };
34226
b06b3e70 34227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34230 {
34231 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34232 result = ((wxPyControl const *)arg1)->DoGetBestSize();
d55e5bfc
RD
34233
34234 wxPyEndAllowThreads(__tstate);
34235 if (PyErr_Occurred()) SWIG_fail;
34236 }
34237 {
34238 wxSize * resultptr;
7449af73 34239 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
34240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34241 }
34242 return resultobj;
34243 fail:
34244 return NULL;
34245}
34246
34247
b06b3e70 34248static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34249 PyObject *resultobj = NULL;
d55e5bfc
RD
34250 wxPyControl *arg1 = (wxPyControl *) 0 ;
34251 PyObject * obj0 = 0 ;
34252 char *kwnames[] = {
34253 (char *) "self", NULL
34254 };
34255
b06b3e70 34256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
34257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34259 {
34260 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34261 (arg1)->InitDialog();
d55e5bfc
RD
34262
34263 wxPyEndAllowThreads(__tstate);
34264 if (PyErr_Occurred()) SWIG_fail;
34265 }
34266 Py_INCREF(Py_None); resultobj = Py_None;
34267 return resultobj;
34268 fail:
34269 return NULL;
34270}
34271
34272
b06b3e70 34273static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34274 PyObject *resultobj = NULL;
d55e5bfc
RD
34275 wxPyControl *arg1 = (wxPyControl *) 0 ;
34276 bool result;
34277 PyObject * obj0 = 0 ;
34278 char *kwnames[] = {
34279 (char *) "self", NULL
34280 };
34281
b06b3e70 34282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
34283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34285 {
34286 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34287 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
34288
34289 wxPyEndAllowThreads(__tstate);
34290 if (PyErr_Occurred()) SWIG_fail;
34291 }
34292 {
34293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34294 }
34295 return resultobj;
34296 fail:
34297 return NULL;
34298}
34299
34300
b06b3e70 34301static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34302 PyObject *resultobj = NULL;
d55e5bfc
RD
34303 wxPyControl *arg1 = (wxPyControl *) 0 ;
34304 bool result;
34305 PyObject * obj0 = 0 ;
34306 char *kwnames[] = {
34307 (char *) "self", NULL
34308 };
34309
b06b3e70 34310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
34311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34313 {
34314 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34315 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
34316
34317 wxPyEndAllowThreads(__tstate);
34318 if (PyErr_Occurred()) SWIG_fail;
34319 }
34320 {
34321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34322 }
34323 return resultobj;
34324 fail:
34325 return NULL;
34326}
34327
34328
b06b3e70 34329static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34330 PyObject *resultobj = NULL;
d55e5bfc
RD
34331 wxPyControl *arg1 = (wxPyControl *) 0 ;
34332 bool result;
34333 PyObject * obj0 = 0 ;
34334 char *kwnames[] = {
34335 (char *) "self", NULL
34336 };
34337
b06b3e70 34338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
34339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34341 {
34342 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34343 result = (bool)(arg1)->Validate();
d55e5bfc
RD
34344
34345 wxPyEndAllowThreads(__tstate);
34346 if (PyErr_Occurred()) SWIG_fail;
34347 }
34348 {
34349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34350 }
34351 return resultobj;
34352 fail:
34353 return NULL;
34354}
34355
34356
b06b3e70 34357static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34358 PyObject *resultobj = NULL;
d55e5bfc
RD
34359 wxPyControl *arg1 = (wxPyControl *) 0 ;
34360 bool result;
34361 PyObject * obj0 = 0 ;
34362 char *kwnames[] = {
34363 (char *) "self", NULL
34364 };
34365
b06b3e70 34366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
34367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34369 {
34370 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34371 result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
d55e5bfc
RD
34372
34373 wxPyEndAllowThreads(__tstate);
34374 if (PyErr_Occurred()) SWIG_fail;
34375 }
34376 {
34377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34378 }
34379 return resultobj;
34380 fail:
34381 return NULL;
34382}
34383
34384
b06b3e70 34385static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34386 PyObject *resultobj = NULL;
d55e5bfc
RD
34387 wxPyControl *arg1 = (wxPyControl *) 0 ;
34388 bool result;
34389 PyObject * obj0 = 0 ;
34390 char *kwnames[] = {
34391 (char *) "self", NULL
34392 };
34393
b06b3e70 34394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
34395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34397 {
34398 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34399 result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
34400
34401 wxPyEndAllowThreads(__tstate);
34402 if (PyErr_Occurred()) SWIG_fail;
34403 }
34404 {
34405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34406 }
34407 return resultobj;
34408 fail:
34409 return NULL;
34410}
34411
34412
b06b3e70 34413static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34414 PyObject *resultobj = NULL;
d55e5bfc
RD
34415 wxPyControl *arg1 = (wxPyControl *) 0 ;
34416 wxSize result;
34417 PyObject * obj0 = 0 ;
34418 char *kwnames[] = {
34419 (char *) "self", NULL
34420 };
34421
b06b3e70 34422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34425 {
34426 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34427 result = ((wxPyControl const *)arg1)->GetMaxSize();
d55e5bfc
RD
34428
34429 wxPyEndAllowThreads(__tstate);
34430 if (PyErr_Occurred()) SWIG_fail;
34431 }
34432 {
34433 wxSize * resultptr;
7449af73 34434 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
34435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34436 }
34437 return resultobj;
34438 fail:
34439 return NULL;
34440}
34441
34442
b06b3e70 34443static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34444 PyObject *resultobj = NULL;
d55e5bfc
RD
34445 wxPyControl *arg1 = (wxPyControl *) 0 ;
34446 wxWindow *arg2 = (wxWindow *) 0 ;
34447 PyObject * obj0 = 0 ;
34448 PyObject * obj1 = 0 ;
34449 char *kwnames[] = {
34450 (char *) "self",(char *) "child", NULL
34451 };
34452
b06b3e70 34453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34455 if (SWIG_arg_fail(1)) SWIG_fail;
34456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34457 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34458 {
34459 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34460 (arg1)->AddChild(arg2);
d55e5bfc
RD
34461
34462 wxPyEndAllowThreads(__tstate);
34463 if (PyErr_Occurred()) SWIG_fail;
34464 }
34465 Py_INCREF(Py_None); resultobj = Py_None;
34466 return resultobj;
34467 fail:
34468 return NULL;
34469}
34470
34471
b06b3e70 34472static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34473 PyObject *resultobj = NULL;
d55e5bfc
RD
34474 wxPyControl *arg1 = (wxPyControl *) 0 ;
34475 wxWindow *arg2 = (wxWindow *) 0 ;
34476 PyObject * obj0 = 0 ;
34477 PyObject * obj1 = 0 ;
34478 char *kwnames[] = {
34479 (char *) "self",(char *) "child", NULL
34480 };
34481
b06b3e70 34482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34484 if (SWIG_arg_fail(1)) SWIG_fail;
34485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34486 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34487 {
34488 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34489 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
34490
34491 wxPyEndAllowThreads(__tstate);
34492 if (PyErr_Occurred()) SWIG_fail;
34493 }
34494 Py_INCREF(Py_None); resultobj = Py_None;
34495 return resultobj;
34496 fail:
34497 return NULL;
34498}
34499
34500
b06b3e70 34501static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34502 PyObject *resultobj = NULL;
d55e5bfc
RD
34503 wxPyControl *arg1 = (wxPyControl *) 0 ;
34504 bool result;
34505 PyObject * obj0 = 0 ;
34506 char *kwnames[] = {
34507 (char *) "self", NULL
34508 };
34509
b06b3e70 34510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
34511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34513 {
34514 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34515 result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
34516
34517 wxPyEndAllowThreads(__tstate);
34518 if (PyErr_Occurred()) SWIG_fail;
34519 }
34520 {
34521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34522 }
34523 return resultobj;
34524 fail:
34525 return NULL;
34526}
34527
34528
b06b3e70 34529static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34530 PyObject *resultobj = NULL;
caef1a4d
RD
34531 wxPyControl *arg1 = (wxPyControl *) 0 ;
34532 wxVisualAttributes result;
34533 PyObject * obj0 = 0 ;
34534 char *kwnames[] = {
34535 (char *) "self", NULL
34536 };
34537
b06b3e70 34538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
34539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34540 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
34541 {
34542 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34543 result = (arg1)->GetDefaultAttributes();
caef1a4d
RD
34544
34545 wxPyEndAllowThreads(__tstate);
34546 if (PyErr_Occurred()) SWIG_fail;
34547 }
34548 {
34549 wxVisualAttributes * resultptr;
7449af73 34550 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
caef1a4d
RD
34551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34552 }
34553 return resultobj;
34554 fail:
34555 return NULL;
34556}
34557
34558
b06b3e70 34559static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34560 PyObject *resultobj = NULL;
8d38bd1d
RD
34561 wxPyControl *arg1 = (wxPyControl *) 0 ;
34562 PyObject * obj0 = 0 ;
34563 char *kwnames[] = {
34564 (char *) "self", NULL
34565 };
34566
b06b3e70 34567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
34568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34569 if (SWIG_arg_fail(1)) SWIG_fail;
34570 {
34571 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34572 (arg1)->OnInternalIdle();
8d38bd1d
RD
34573
34574 wxPyEndAllowThreads(__tstate);
34575 if (PyErr_Occurred()) SWIG_fail;
34576 }
34577 Py_INCREF(Py_None); resultobj = Py_None;
34578 return resultobj;
34579 fail:
34580 return NULL;
34581}
34582
34583
c32bde28 34584static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34585 PyObject *obj;
34586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34587 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
34588 Py_INCREF(obj);
34589 return Py_BuildValue((char *)"");
34590}
c32bde28 34591static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34592 PyObject *resultobj = NULL;
d55e5bfc
RD
34593 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
34594 int arg2 = (int) 0 ;
34595 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34596 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34597 wxHelpEvent *result;
34598 wxPoint temp3 ;
34599 PyObject * obj0 = 0 ;
34600 PyObject * obj1 = 0 ;
34601 PyObject * obj2 = 0 ;
34602 char *kwnames[] = {
34603 (char *) "type",(char *) "winid",(char *) "pt", NULL
34604 };
34605
34606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
34607 if (obj0) {
093d3ff1 34608 {
7449af73 34609 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
34610 if (SWIG_arg_fail(1)) SWIG_fail;
34611 }
d55e5bfc
RD
34612 }
34613 if (obj1) {
093d3ff1 34614 {
7449af73 34615 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34616 if (SWIG_arg_fail(2)) SWIG_fail;
34617 }
d55e5bfc
RD
34618 }
34619 if (obj2) {
34620 {
34621 arg3 = &temp3;
34622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34623 }
34624 }
34625 {
34626 PyThreadState* __tstate = wxPyBeginAllowThreads();
34627 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
34628
34629 wxPyEndAllowThreads(__tstate);
34630 if (PyErr_Occurred()) SWIG_fail;
34631 }
34632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
34633 return resultobj;
34634 fail:
34635 return NULL;
34636}
34637
34638
c32bde28 34639static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34640 PyObject *resultobj = NULL;
d55e5bfc
RD
34641 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34642 wxPoint result;
34643 PyObject * obj0 = 0 ;
34644 char *kwnames[] = {
34645 (char *) "self", NULL
34646 };
34647
34648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
34649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34651 {
34652 PyThreadState* __tstate = wxPyBeginAllowThreads();
34653 result = ((wxHelpEvent const *)arg1)->GetPosition();
34654
34655 wxPyEndAllowThreads(__tstate);
34656 if (PyErr_Occurred()) SWIG_fail;
34657 }
34658 {
34659 wxPoint * resultptr;
7449af73 34660 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
d55e5bfc
RD
34661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34662 }
34663 return resultobj;
34664 fail:
34665 return NULL;
34666}
34667
34668
c32bde28 34669static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34670 PyObject *resultobj = NULL;
d55e5bfc
RD
34671 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34672 wxPoint *arg2 = 0 ;
34673 wxPoint temp2 ;
34674 PyObject * obj0 = 0 ;
34675 PyObject * obj1 = 0 ;
34676 char *kwnames[] = {
34677 (char *) "self",(char *) "pos", NULL
34678 };
34679
34680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34683 {
34684 arg2 = &temp2;
34685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34686 }
34687 {
34688 PyThreadState* __tstate = wxPyBeginAllowThreads();
34689 (arg1)->SetPosition((wxPoint const &)*arg2);
34690
34691 wxPyEndAllowThreads(__tstate);
34692 if (PyErr_Occurred()) SWIG_fail;
34693 }
34694 Py_INCREF(Py_None); resultobj = Py_None;
34695 return resultobj;
34696 fail:
34697 return NULL;
34698}
34699
34700
c32bde28 34701static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34702 PyObject *resultobj = NULL;
d55e5bfc
RD
34703 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34704 wxString *result;
34705 PyObject * obj0 = 0 ;
34706 char *kwnames[] = {
34707 (char *) "self", NULL
34708 };
34709
34710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
34711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34713 {
34714 PyThreadState* __tstate = wxPyBeginAllowThreads();
34715 {
34716 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
34717 result = (wxString *) &_result_ref;
34718 }
34719
34720 wxPyEndAllowThreads(__tstate);
34721 if (PyErr_Occurred()) SWIG_fail;
34722 }
34723 {
34724#if wxUSE_UNICODE
34725 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34726#else
34727 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34728#endif
34729 }
34730 return resultobj;
34731 fail:
34732 return NULL;
34733}
34734
34735
c32bde28 34736static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34737 PyObject *resultobj = NULL;
d55e5bfc
RD
34738 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34739 wxString *arg2 = 0 ;
ae8162c8 34740 bool temp2 = false ;
d55e5bfc
RD
34741 PyObject * obj0 = 0 ;
34742 PyObject * obj1 = 0 ;
34743 char *kwnames[] = {
34744 (char *) "self",(char *) "link", NULL
34745 };
34746
34747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34750 {
34751 arg2 = wxString_in_helper(obj1);
34752 if (arg2 == NULL) SWIG_fail;
ae8162c8 34753 temp2 = true;
d55e5bfc
RD
34754 }
34755 {
34756 PyThreadState* __tstate = wxPyBeginAllowThreads();
34757 (arg1)->SetLink((wxString const &)*arg2);
34758
34759 wxPyEndAllowThreads(__tstate);
34760 if (PyErr_Occurred()) SWIG_fail;
34761 }
34762 Py_INCREF(Py_None); resultobj = Py_None;
34763 {
34764 if (temp2)
34765 delete arg2;
34766 }
34767 return resultobj;
34768 fail:
34769 {
34770 if (temp2)
34771 delete arg2;
34772 }
34773 return NULL;
34774}
34775
34776
c32bde28 34777static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34778 PyObject *resultobj = NULL;
d55e5bfc
RD
34779 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34780 wxString *result;
34781 PyObject * obj0 = 0 ;
34782 char *kwnames[] = {
34783 (char *) "self", NULL
34784 };
34785
34786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
34787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34788 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34789 {
34790 PyThreadState* __tstate = wxPyBeginAllowThreads();
34791 {
34792 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
34793 result = (wxString *) &_result_ref;
34794 }
34795
34796 wxPyEndAllowThreads(__tstate);
34797 if (PyErr_Occurred()) SWIG_fail;
34798 }
34799 {
34800#if wxUSE_UNICODE
34801 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34802#else
34803 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34804#endif
34805 }
34806 return resultobj;
34807 fail:
34808 return NULL;
34809}
34810
34811
c32bde28 34812static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34813 PyObject *resultobj = NULL;
d55e5bfc
RD
34814 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34815 wxString *arg2 = 0 ;
ae8162c8 34816 bool temp2 = false ;
d55e5bfc
RD
34817 PyObject * obj0 = 0 ;
34818 PyObject * obj1 = 0 ;
34819 char *kwnames[] = {
34820 (char *) "self",(char *) "target", NULL
34821 };
34822
34823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34826 {
34827 arg2 = wxString_in_helper(obj1);
34828 if (arg2 == NULL) SWIG_fail;
ae8162c8 34829 temp2 = true;
d55e5bfc
RD
34830 }
34831 {
34832 PyThreadState* __tstate = wxPyBeginAllowThreads();
34833 (arg1)->SetTarget((wxString const &)*arg2);
34834
34835 wxPyEndAllowThreads(__tstate);
34836 if (PyErr_Occurred()) SWIG_fail;
34837 }
34838 Py_INCREF(Py_None); resultobj = Py_None;
34839 {
34840 if (temp2)
34841 delete arg2;
34842 }
34843 return resultobj;
34844 fail:
34845 {
34846 if (temp2)
34847 delete arg2;
34848 }
34849 return NULL;
34850}
34851
34852
c32bde28 34853static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34854 PyObject *obj;
34855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34856 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
34857 Py_INCREF(obj);
34858 return Py_BuildValue((char *)"");
34859}
c32bde28 34860static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34861 PyObject *resultobj = NULL;
d55e5bfc 34862 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 34863 bool arg2 = (bool) true ;
d55e5bfc
RD
34864 wxContextHelp *result;
34865 PyObject * obj0 = 0 ;
34866 PyObject * obj1 = 0 ;
34867 char *kwnames[] = {
34868 (char *) "window",(char *) "doNow", NULL
34869 };
34870
34871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
34872 if (obj0) {
093d3ff1
RD
34873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34875 }
34876 if (obj1) {
093d3ff1 34877 {
7449af73 34878 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
34879 if (SWIG_arg_fail(2)) SWIG_fail;
34880 }
d55e5bfc
RD
34881 }
34882 {
0439c23b 34883 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34884 PyThreadState* __tstate = wxPyBeginAllowThreads();
34885 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
34886
34887 wxPyEndAllowThreads(__tstate);
110da5b0 34888 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34889 }
34890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
34891 return resultobj;
34892 fail:
34893 return NULL;
34894}
34895
34896
c32bde28 34897static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34898 PyObject *resultobj = NULL;
d55e5bfc
RD
34899 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34900 PyObject * obj0 = 0 ;
34901 char *kwnames[] = {
34902 (char *) "self", NULL
34903 };
34904
34905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
34906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34908 {
34909 PyThreadState* __tstate = wxPyBeginAllowThreads();
34910 delete arg1;
34911
34912 wxPyEndAllowThreads(__tstate);
34913 if (PyErr_Occurred()) SWIG_fail;
34914 }
34915 Py_INCREF(Py_None); resultobj = Py_None;
34916 return resultobj;
34917 fail:
34918 return NULL;
34919}
34920
34921
c32bde28 34922static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34923 PyObject *resultobj = NULL;
d55e5bfc
RD
34924 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34925 wxWindow *arg2 = (wxWindow *) NULL ;
34926 bool result;
34927 PyObject * obj0 = 0 ;
34928 PyObject * obj1 = 0 ;
34929 char *kwnames[] = {
34930 (char *) "self",(char *) "window", NULL
34931 };
34932
34933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34936 if (obj1) {
093d3ff1
RD
34937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34938 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34939 }
34940 {
34941 PyThreadState* __tstate = wxPyBeginAllowThreads();
34942 result = (bool)(arg1)->BeginContextHelp(arg2);
34943
34944 wxPyEndAllowThreads(__tstate);
34945 if (PyErr_Occurred()) SWIG_fail;
34946 }
34947 {
34948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34949 }
34950 return resultobj;
34951 fail:
34952 return NULL;
34953}
34954
34955
c32bde28 34956static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34957 PyObject *resultobj = NULL;
d55e5bfc
RD
34958 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34959 bool result;
34960 PyObject * obj0 = 0 ;
34961 char *kwnames[] = {
34962 (char *) "self", NULL
34963 };
34964
34965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
34966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34967 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34968 {
34969 PyThreadState* __tstate = wxPyBeginAllowThreads();
34970 result = (bool)(arg1)->EndContextHelp();
34971
34972 wxPyEndAllowThreads(__tstate);
34973 if (PyErr_Occurred()) SWIG_fail;
34974 }
34975 {
34976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34977 }
34978 return resultobj;
34979 fail:
34980 return NULL;
34981}
34982
34983
c32bde28 34984static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34985 PyObject *obj;
34986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34987 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
34988 Py_INCREF(obj);
34989 return Py_BuildValue((char *)"");
34990}
c32bde28 34991static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34992 PyObject *resultobj = NULL;
d55e5bfc
RD
34993 wxWindow *arg1 = (wxWindow *) 0 ;
34994 int arg2 = (int) wxID_CONTEXT_HELP ;
34995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34997 wxSize const &arg4_defvalue = wxDefaultSize ;
34998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34999 long arg5 = (long) wxBU_AUTODRAW ;
35000 wxContextHelpButton *result;
35001 wxPoint temp3 ;
35002 wxSize temp4 ;
35003 PyObject * obj0 = 0 ;
35004 PyObject * obj1 = 0 ;
35005 PyObject * obj2 = 0 ;
35006 PyObject * obj3 = 0 ;
35007 PyObject * obj4 = 0 ;
35008 char *kwnames[] = {
35009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
35010 };
35011
35012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 35015 if (obj1) {
093d3ff1 35016 {
7449af73 35017 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35018 if (SWIG_arg_fail(2)) SWIG_fail;
35019 }
d55e5bfc
RD
35020 }
35021 if (obj2) {
35022 {
35023 arg3 = &temp3;
35024 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35025 }
35026 }
35027 if (obj3) {
35028 {
35029 arg4 = &temp4;
35030 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
35031 }
35032 }
35033 if (obj4) {
093d3ff1 35034 {
7449af73 35035 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
35036 if (SWIG_arg_fail(5)) SWIG_fail;
35037 }
d55e5bfc
RD
35038 }
35039 {
0439c23b 35040 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35041 PyThreadState* __tstate = wxPyBeginAllowThreads();
35042 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
35043
35044 wxPyEndAllowThreads(__tstate);
110da5b0 35045 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35046 }
35047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
35048 return resultobj;
35049 fail:
35050 return NULL;
35051}
35052
35053
c32bde28 35054static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35055 PyObject *obj;
35056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35057 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
35058 Py_INCREF(obj);
35059 return Py_BuildValue((char *)"");
35060}
c32bde28 35061static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35062 PyObject *resultobj = NULL;
d55e5bfc
RD
35063 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35064 wxHelpProvider *result;
35065 PyObject * obj0 = 0 ;
35066 char *kwnames[] = {
35067 (char *) "helpProvider", NULL
35068 };
35069
35070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
7e08d4ef 35071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 35072 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35073 {
35074 PyThreadState* __tstate = wxPyBeginAllowThreads();
35075 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
35076
35077 wxPyEndAllowThreads(__tstate);
35078 if (PyErr_Occurred()) SWIG_fail;
35079 }
7e08d4ef 35080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1);
d55e5bfc
RD
35081 return resultobj;
35082 fail:
35083 return NULL;
35084}
35085
35086
c32bde28 35087static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35088 PyObject *resultobj = NULL;
d55e5bfc
RD
35089 wxHelpProvider *result;
35090 char *kwnames[] = {
35091 NULL
35092 };
35093
35094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
35095 {
35096 PyThreadState* __tstate = wxPyBeginAllowThreads();
35097 result = (wxHelpProvider *)wxHelpProvider::Get();
35098
35099 wxPyEndAllowThreads(__tstate);
35100 if (PyErr_Occurred()) SWIG_fail;
35101 }
35102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
35103 return resultobj;
35104 fail:
35105 return NULL;
35106}
35107
35108
c32bde28 35109static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35110 PyObject *resultobj = NULL;
d55e5bfc
RD
35111 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35112 wxWindow *arg2 = (wxWindow *) 0 ;
35113 wxString result;
35114 PyObject * obj0 = 0 ;
35115 PyObject * obj1 = 0 ;
35116 char *kwnames[] = {
35117 (char *) "self",(char *) "window", NULL
35118 };
35119
35120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35122 if (SWIG_arg_fail(1)) SWIG_fail;
35123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35124 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35125 {
35126 PyThreadState* __tstate = wxPyBeginAllowThreads();
35127 result = (arg1)->GetHelp((wxWindow const *)arg2);
35128
35129 wxPyEndAllowThreads(__tstate);
35130 if (PyErr_Occurred()) SWIG_fail;
35131 }
35132 {
35133#if wxUSE_UNICODE
35134 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35135#else
35136 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35137#endif
35138 }
35139 return resultobj;
35140 fail:
35141 return NULL;
35142}
35143
35144
c32bde28 35145static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35146 PyObject *resultobj = NULL;
d55e5bfc
RD
35147 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35148 wxWindow *arg2 = (wxWindow *) 0 ;
35149 bool result;
35150 PyObject * obj0 = 0 ;
35151 PyObject * obj1 = 0 ;
35152 char *kwnames[] = {
35153 (char *) "self",(char *) "window", NULL
35154 };
35155
35156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35158 if (SWIG_arg_fail(1)) SWIG_fail;
35159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35160 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35161 {
35162 PyThreadState* __tstate = wxPyBeginAllowThreads();
35163 result = (bool)(arg1)->ShowHelp(arg2);
35164
35165 wxPyEndAllowThreads(__tstate);
35166 if (PyErr_Occurred()) SWIG_fail;
35167 }
35168 {
35169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35170 }
35171 return resultobj;
35172 fail:
35173 return NULL;
35174}
35175
35176
c32bde28 35177static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35178 PyObject *resultobj = NULL;
d55e5bfc
RD
35179 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35180 wxWindow *arg2 = (wxWindow *) 0 ;
35181 wxString *arg3 = 0 ;
ae8162c8 35182 bool temp3 = false ;
d55e5bfc
RD
35183 PyObject * obj0 = 0 ;
35184 PyObject * obj1 = 0 ;
35185 PyObject * obj2 = 0 ;
35186 char *kwnames[] = {
35187 (char *) "self",(char *) "window",(char *) "text", NULL
35188 };
35189
35190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35192 if (SWIG_arg_fail(1)) SWIG_fail;
35193 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35194 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35195 {
35196 arg3 = wxString_in_helper(obj2);
35197 if (arg3 == NULL) SWIG_fail;
ae8162c8 35198 temp3 = true;
d55e5bfc
RD
35199 }
35200 {
35201 PyThreadState* __tstate = wxPyBeginAllowThreads();
35202 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35203
35204 wxPyEndAllowThreads(__tstate);
35205 if (PyErr_Occurred()) SWIG_fail;
35206 }
35207 Py_INCREF(Py_None); resultobj = Py_None;
35208 {
35209 if (temp3)
35210 delete arg3;
35211 }
35212 return resultobj;
35213 fail:
35214 {
35215 if (temp3)
35216 delete arg3;
35217 }
35218 return NULL;
35219}
35220
35221
c32bde28 35222static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35223 PyObject *resultobj = NULL;
d55e5bfc
RD
35224 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35225 int arg2 ;
35226 wxString *arg3 = 0 ;
ae8162c8 35227 bool temp3 = false ;
d55e5bfc
RD
35228 PyObject * obj0 = 0 ;
35229 PyObject * obj1 = 0 ;
35230 PyObject * obj2 = 0 ;
35231 char *kwnames[] = {
35232 (char *) "self",(char *) "id",(char *) "text", NULL
35233 };
35234
35235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35237 if (SWIG_arg_fail(1)) SWIG_fail;
35238 {
7449af73 35239 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35240 if (SWIG_arg_fail(2)) SWIG_fail;
35241 }
d55e5bfc
RD
35242 {
35243 arg3 = wxString_in_helper(obj2);
35244 if (arg3 == NULL) SWIG_fail;
ae8162c8 35245 temp3 = true;
d55e5bfc
RD
35246 }
35247 {
35248 PyThreadState* __tstate = wxPyBeginAllowThreads();
35249 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35250
35251 wxPyEndAllowThreads(__tstate);
35252 if (PyErr_Occurred()) SWIG_fail;
35253 }
35254 Py_INCREF(Py_None); resultobj = Py_None;
35255 {
35256 if (temp3)
35257 delete arg3;
35258 }
35259 return resultobj;
35260 fail:
35261 {
35262 if (temp3)
35263 delete arg3;
35264 }
35265 return NULL;
35266}
35267
35268
c32bde28 35269static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35270 PyObject *resultobj = NULL;
d55e5bfc
RD
35271 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35272 wxWindow *arg2 = (wxWindow *) 0 ;
35273 PyObject * obj0 = 0 ;
35274 PyObject * obj1 = 0 ;
35275 char *kwnames[] = {
35276 (char *) "self",(char *) "window", NULL
35277 };
35278
35279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35281 if (SWIG_arg_fail(1)) SWIG_fail;
35282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35283 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35284 {
35285 PyThreadState* __tstate = wxPyBeginAllowThreads();
35286 (arg1)->RemoveHelp(arg2);
35287
35288 wxPyEndAllowThreads(__tstate);
35289 if (PyErr_Occurred()) SWIG_fail;
35290 }
35291 Py_INCREF(Py_None); resultobj = Py_None;
35292 return resultobj;
35293 fail:
35294 return NULL;
35295}
35296
35297
c32bde28 35298static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35299 PyObject *resultobj = NULL;
d55e5bfc
RD
35300 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35301 PyObject * obj0 = 0 ;
35302 char *kwnames[] = {
35303 (char *) "self", NULL
35304 };
35305
35306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
35307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35309 {
35310 PyThreadState* __tstate = wxPyBeginAllowThreads();
35311 wxHelpProvider_Destroy(arg1);
35312
35313 wxPyEndAllowThreads(__tstate);
35314 if (PyErr_Occurred()) SWIG_fail;
35315 }
35316 Py_INCREF(Py_None); resultobj = Py_None;
35317 return resultobj;
35318 fail:
35319 return NULL;
35320}
35321
35322
c32bde28 35323static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35324 PyObject *obj;
35325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35326 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
35327 Py_INCREF(obj);
35328 return Py_BuildValue((char *)"");
35329}
c32bde28 35330static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35331 PyObject *resultobj = NULL;
d55e5bfc
RD
35332 wxSimpleHelpProvider *result;
35333 char *kwnames[] = {
35334 NULL
35335 };
35336
35337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
35338 {
35339 PyThreadState* __tstate = wxPyBeginAllowThreads();
35340 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
35341
35342 wxPyEndAllowThreads(__tstate);
35343 if (PyErr_Occurred()) SWIG_fail;
35344 }
35345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
35346 return resultobj;
35347 fail:
35348 return NULL;
35349}
35350
35351
c32bde28 35352static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35353 PyObject *obj;
35354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35355 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
35356 Py_INCREF(obj);
35357 return Py_BuildValue((char *)"");
35358}
c32bde28 35359static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35360 PyObject *resultobj = NULL;
d55e5bfc
RD
35361 wxBitmap *arg1 = 0 ;
35362 wxCursor const &arg2_defvalue = wxNullCursor ;
35363 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35364 wxGenericDragImage *result;
35365 PyObject * obj0 = 0 ;
35366 PyObject * obj1 = 0 ;
35367 char *kwnames[] = {
35368 (char *) "image",(char *) "cursor", NULL
35369 };
35370
35371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35372 {
35373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35374 if (SWIG_arg_fail(1)) SWIG_fail;
35375 if (arg1 == NULL) {
35376 SWIG_null_ref("wxBitmap");
35377 }
35378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35379 }
35380 if (obj1) {
093d3ff1
RD
35381 {
35382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35383 if (SWIG_arg_fail(2)) SWIG_fail;
35384 if (arg2 == NULL) {
35385 SWIG_null_ref("wxCursor");
35386 }
35387 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35388 }
35389 }
35390 {
0439c23b 35391 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35392 PyThreadState* __tstate = wxPyBeginAllowThreads();
35393 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
35394
35395 wxPyEndAllowThreads(__tstate);
110da5b0 35396 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35397 }
35398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35399 return resultobj;
35400 fail:
35401 return NULL;
35402}
35403
35404
c32bde28 35405static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35406 PyObject *resultobj = NULL;
d55e5bfc
RD
35407 wxIcon *arg1 = 0 ;
35408 wxCursor const &arg2_defvalue = wxNullCursor ;
35409 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35410 wxGenericDragImage *result;
35411 PyObject * obj0 = 0 ;
35412 PyObject * obj1 = 0 ;
35413 char *kwnames[] = {
35414 (char *) "image",(char *) "cursor", NULL
35415 };
35416
35417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35418 {
35419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
35420 if (SWIG_arg_fail(1)) SWIG_fail;
35421 if (arg1 == NULL) {
35422 SWIG_null_ref("wxIcon");
35423 }
35424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35425 }
35426 if (obj1) {
093d3ff1
RD
35427 {
35428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35429 if (SWIG_arg_fail(2)) SWIG_fail;
35430 if (arg2 == NULL) {
35431 SWIG_null_ref("wxCursor");
35432 }
35433 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35434 }
35435 }
35436 {
0439c23b 35437 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35438 PyThreadState* __tstate = wxPyBeginAllowThreads();
35439 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
35440
35441 wxPyEndAllowThreads(__tstate);
110da5b0 35442 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35443 }
35444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35445 return resultobj;
35446 fail:
35447 return NULL;
35448}
35449
35450
c32bde28 35451static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35452 PyObject *resultobj = NULL;
d55e5bfc
RD
35453 wxString *arg1 = 0 ;
35454 wxCursor const &arg2_defvalue = wxNullCursor ;
35455 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35456 wxGenericDragImage *result;
ae8162c8 35457 bool temp1 = false ;
d55e5bfc
RD
35458 PyObject * obj0 = 0 ;
35459 PyObject * obj1 = 0 ;
35460 char *kwnames[] = {
35461 (char *) "str",(char *) "cursor", NULL
35462 };
35463
35464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
35465 {
35466 arg1 = wxString_in_helper(obj0);
35467 if (arg1 == NULL) SWIG_fail;
ae8162c8 35468 temp1 = true;
d55e5bfc
RD
35469 }
35470 if (obj1) {
093d3ff1
RD
35471 {
35472 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35473 if (SWIG_arg_fail(2)) SWIG_fail;
35474 if (arg2 == NULL) {
35475 SWIG_null_ref("wxCursor");
35476 }
35477 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35478 }
35479 }
35480 {
0439c23b 35481 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35482 PyThreadState* __tstate = wxPyBeginAllowThreads();
35483 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
35484
35485 wxPyEndAllowThreads(__tstate);
110da5b0 35486 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35487 }
35488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35489 {
35490 if (temp1)
35491 delete arg1;
35492 }
35493 return resultobj;
35494 fail:
35495 {
35496 if (temp1)
35497 delete arg1;
35498 }
35499 return NULL;
35500}
35501
35502
c32bde28 35503static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35504 PyObject *resultobj = NULL;
d55e5bfc
RD
35505 wxPyTreeCtrl *arg1 = 0 ;
35506 wxTreeItemId *arg2 = 0 ;
35507 wxGenericDragImage *result;
35508 PyObject * obj0 = 0 ;
35509 PyObject * obj1 = 0 ;
35510 char *kwnames[] = {
35511 (char *) "treeCtrl",(char *) "id", NULL
35512 };
35513
35514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35515 {
35516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
35517 if (SWIG_arg_fail(1)) SWIG_fail;
35518 if (arg1 == NULL) {
35519 SWIG_null_ref("wxPyTreeCtrl");
35520 }
35521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 35522 }
093d3ff1
RD
35523 {
35524 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
35525 if (SWIG_arg_fail(2)) SWIG_fail;
35526 if (arg2 == NULL) {
35527 SWIG_null_ref("wxTreeItemId");
35528 }
35529 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35530 }
35531 {
0439c23b 35532 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35533 PyThreadState* __tstate = wxPyBeginAllowThreads();
35534 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
35535
35536 wxPyEndAllowThreads(__tstate);
110da5b0 35537 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35538 }
35539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35540 return resultobj;
35541 fail:
35542 return NULL;
35543}
35544
35545
c32bde28 35546static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35547 PyObject *resultobj = NULL;
d55e5bfc
RD
35548 wxPyListCtrl *arg1 = 0 ;
35549 long arg2 ;
35550 wxGenericDragImage *result;
35551 PyObject * obj0 = 0 ;
35552 PyObject * obj1 = 0 ;
35553 char *kwnames[] = {
35554 (char *) "listCtrl",(char *) "id", NULL
35555 };
35556
35557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35558 {
35559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
35560 if (SWIG_arg_fail(1)) SWIG_fail;
35561 if (arg1 == NULL) {
35562 SWIG_null_ref("wxPyListCtrl");
35563 }
35564 if (SWIG_arg_fail(1)) SWIG_fail;
35565 }
35566 {
7449af73 35567 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1 35568 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 35569 }
d55e5bfc 35570 {
0439c23b 35571 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35572 PyThreadState* __tstate = wxPyBeginAllowThreads();
35573 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
35574
35575 wxPyEndAllowThreads(__tstate);
110da5b0 35576 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35577 }
35578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35579 return resultobj;
35580 fail:
35581 return NULL;
35582}
35583
35584
c32bde28 35585static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35586 PyObject *resultobj = NULL;
d55e5bfc
RD
35587 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35588 PyObject * obj0 = 0 ;
35589 char *kwnames[] = {
35590 (char *) "self", NULL
35591 };
35592
35593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
35594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35596 {
35597 PyThreadState* __tstate = wxPyBeginAllowThreads();
35598 delete arg1;
35599
35600 wxPyEndAllowThreads(__tstate);
35601 if (PyErr_Occurred()) SWIG_fail;
35602 }
35603 Py_INCREF(Py_None); resultobj = Py_None;
35604 return resultobj;
35605 fail:
35606 return NULL;
35607}
35608
35609
c32bde28 35610static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35611 PyObject *resultobj = NULL;
d55e5bfc
RD
35612 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35613 wxBitmap *arg2 = (wxBitmap *) 0 ;
35614 PyObject * obj0 = 0 ;
35615 PyObject * obj1 = 0 ;
35616 char *kwnames[] = {
35617 (char *) "self",(char *) "bitmap", NULL
35618 };
35619
35620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35622 if (SWIG_arg_fail(1)) SWIG_fail;
35623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35624 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35625 {
35626 PyThreadState* __tstate = wxPyBeginAllowThreads();
35627 (arg1)->SetBackingBitmap(arg2);
35628
35629 wxPyEndAllowThreads(__tstate);
35630 if (PyErr_Occurred()) SWIG_fail;
35631 }
35632 Py_INCREF(Py_None); resultobj = Py_None;
35633 return resultobj;
35634 fail:
35635 return NULL;
35636}
35637
35638
c32bde28 35639static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35640 PyObject *resultobj = NULL;
d55e5bfc
RD
35641 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35642 wxPoint *arg2 = 0 ;
35643 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 35644 bool arg4 = (bool) false ;
d55e5bfc
RD
35645 wxRect *arg5 = (wxRect *) NULL ;
35646 bool result;
35647 wxPoint temp2 ;
35648 PyObject * obj0 = 0 ;
35649 PyObject * obj1 = 0 ;
35650 PyObject * obj2 = 0 ;
35651 PyObject * obj3 = 0 ;
35652 PyObject * obj4 = 0 ;
35653 char *kwnames[] = {
35654 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35655 };
35656
35657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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;
d55e5bfc
RD
35660 {
35661 arg2 = &temp2;
35662 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35663 }
093d3ff1
RD
35664 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35665 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 35666 if (obj3) {
093d3ff1 35667 {
7449af73 35668 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
35669 if (SWIG_arg_fail(4)) SWIG_fail;
35670 }
d55e5bfc
RD
35671 }
35672 if (obj4) {
093d3ff1
RD
35673 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
35674 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
35675 }
35676 {
35677 PyThreadState* __tstate = wxPyBeginAllowThreads();
35678 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
35679
35680 wxPyEndAllowThreads(__tstate);
35681 if (PyErr_Occurred()) SWIG_fail;
35682 }
35683 {
35684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35685 }
35686 return resultobj;
35687 fail:
35688 return NULL;
35689}
35690
35691
c32bde28 35692static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35693 PyObject *resultobj = NULL;
d55e5bfc
RD
35694 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35695 wxPoint *arg2 = 0 ;
35696 wxWindow *arg3 = (wxWindow *) 0 ;
35697 wxWindow *arg4 = (wxWindow *) 0 ;
35698 bool result;
35699 wxPoint temp2 ;
35700 PyObject * obj0 = 0 ;
35701 PyObject * obj1 = 0 ;
35702 PyObject * obj2 = 0 ;
35703 PyObject * obj3 = 0 ;
35704 char *kwnames[] = {
35705 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35706 };
35707
35708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
35709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35711 {
35712 arg2 = &temp2;
35713 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35714 }
093d3ff1
RD
35715 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35716 if (SWIG_arg_fail(3)) SWIG_fail;
35717 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35718 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
35719 {
35720 PyThreadState* __tstate = wxPyBeginAllowThreads();
35721 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
35722
35723 wxPyEndAllowThreads(__tstate);
35724 if (PyErr_Occurred()) SWIG_fail;
35725 }
35726 {
35727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35728 }
35729 return resultobj;
35730 fail:
35731 return NULL;
35732}
35733
35734
c32bde28 35735static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35736 PyObject *resultobj = NULL;
d55e5bfc
RD
35737 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35738 bool result;
35739 PyObject * obj0 = 0 ;
35740 char *kwnames[] = {
35741 (char *) "self", NULL
35742 };
35743
35744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
35745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35747 {
35748 PyThreadState* __tstate = wxPyBeginAllowThreads();
35749 result = (bool)(arg1)->EndDrag();
35750
35751 wxPyEndAllowThreads(__tstate);
35752 if (PyErr_Occurred()) SWIG_fail;
35753 }
35754 {
35755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35756 }
35757 return resultobj;
35758 fail:
35759 return NULL;
35760}
35761
35762
c32bde28 35763static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35764 PyObject *resultobj = NULL;
d55e5bfc
RD
35765 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35766 wxPoint *arg2 = 0 ;
35767 bool result;
35768 wxPoint temp2 ;
35769 PyObject * obj0 = 0 ;
35770 PyObject * obj1 = 0 ;
35771 char *kwnames[] = {
35772 (char *) "self",(char *) "pt", NULL
35773 };
35774
35775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35778 {
35779 arg2 = &temp2;
35780 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35781 }
35782 {
35783 PyThreadState* __tstate = wxPyBeginAllowThreads();
35784 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
35785
35786 wxPyEndAllowThreads(__tstate);
35787 if (PyErr_Occurred()) SWIG_fail;
35788 }
35789 {
35790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35791 }
35792 return resultobj;
35793 fail:
35794 return NULL;
35795}
35796
35797
c32bde28 35798static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35799 PyObject *resultobj = NULL;
d55e5bfc
RD
35800 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35801 bool result;
35802 PyObject * obj0 = 0 ;
35803 char *kwnames[] = {
35804 (char *) "self", NULL
35805 };
35806
35807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
35808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35810 {
35811 PyThreadState* __tstate = wxPyBeginAllowThreads();
35812 result = (bool)(arg1)->Show();
35813
35814 wxPyEndAllowThreads(__tstate);
35815 if (PyErr_Occurred()) SWIG_fail;
35816 }
35817 {
35818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35819 }
35820 return resultobj;
35821 fail:
35822 return NULL;
35823}
35824
35825
c32bde28 35826static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35827 PyObject *resultobj = NULL;
d55e5bfc
RD
35828 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35829 bool result;
35830 PyObject * obj0 = 0 ;
35831 char *kwnames[] = {
35832 (char *) "self", NULL
35833 };
35834
35835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
35836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35838 {
35839 PyThreadState* __tstate = wxPyBeginAllowThreads();
35840 result = (bool)(arg1)->Hide();
35841
35842 wxPyEndAllowThreads(__tstate);
35843 if (PyErr_Occurred()) SWIG_fail;
35844 }
35845 {
35846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35847 }
35848 return resultobj;
35849 fail:
35850 return NULL;
35851}
35852
35853
c32bde28 35854static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35855 PyObject *resultobj = NULL;
d55e5bfc
RD
35856 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35857 wxPoint *arg2 = 0 ;
35858 wxRect result;
35859 wxPoint temp2 ;
35860 PyObject * obj0 = 0 ;
35861 PyObject * obj1 = 0 ;
35862 char *kwnames[] = {
35863 (char *) "self",(char *) "pos", NULL
35864 };
35865
35866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35868 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35869 {
35870 arg2 = &temp2;
35871 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35872 }
35873 {
35874 PyThreadState* __tstate = wxPyBeginAllowThreads();
35875 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
35876
35877 wxPyEndAllowThreads(__tstate);
35878 if (PyErr_Occurred()) SWIG_fail;
35879 }
35880 {
35881 wxRect * resultptr;
7449af73 35882 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
35883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
35884 }
35885 return resultobj;
35886 fail:
35887 return NULL;
35888}
35889
35890
c32bde28 35891static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35892 PyObject *resultobj = NULL;
d55e5bfc
RD
35893 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35894 wxDC *arg2 = 0 ;
35895 wxPoint *arg3 = 0 ;
35896 bool result;
35897 wxPoint temp3 ;
35898 PyObject * obj0 = 0 ;
35899 PyObject * obj1 = 0 ;
35900 PyObject * obj2 = 0 ;
35901 char *kwnames[] = {
35902 (char *) "self",(char *) "dc",(char *) "pos", NULL
35903 };
35904
35905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35907 if (SWIG_arg_fail(1)) SWIG_fail;
35908 {
35909 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35910 if (SWIG_arg_fail(2)) SWIG_fail;
35911 if (arg2 == NULL) {
35912 SWIG_null_ref("wxDC");
35913 }
35914 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35915 }
35916 {
35917 arg3 = &temp3;
35918 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35919 }
35920 {
35921 PyThreadState* __tstate = wxPyBeginAllowThreads();
35922 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
35923
35924 wxPyEndAllowThreads(__tstate);
35925 if (PyErr_Occurred()) SWIG_fail;
35926 }
35927 {
35928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35929 }
35930 return resultobj;
35931 fail:
35932 return NULL;
35933}
35934
35935
c32bde28 35936static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35937 PyObject *resultobj = NULL;
d55e5bfc
RD
35938 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35939 wxDC *arg2 = 0 ;
35940 wxMemoryDC *arg3 = 0 ;
35941 wxRect *arg4 = 0 ;
35942 wxRect *arg5 = 0 ;
35943 bool result;
35944 wxRect temp4 ;
35945 wxRect temp5 ;
35946 PyObject * obj0 = 0 ;
35947 PyObject * obj1 = 0 ;
35948 PyObject * obj2 = 0 ;
35949 PyObject * obj3 = 0 ;
35950 PyObject * obj4 = 0 ;
35951 char *kwnames[] = {
35952 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35953 };
35954
35955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35957 if (SWIG_arg_fail(1)) SWIG_fail;
35958 {
35959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35960 if (SWIG_arg_fail(2)) SWIG_fail;
35961 if (arg2 == NULL) {
35962 SWIG_null_ref("wxDC");
35963 }
35964 if (SWIG_arg_fail(2)) SWIG_fail;
35965 }
35966 {
35967 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
35968 if (SWIG_arg_fail(3)) SWIG_fail;
35969 if (arg3 == NULL) {
35970 SWIG_null_ref("wxMemoryDC");
35971 }
35972 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
35973 }
35974 {
35975 arg4 = &temp4;
35976 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
35977 }
35978 {
35979 arg5 = &temp5;
35980 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
35981 }
35982 {
35983 PyThreadState* __tstate = wxPyBeginAllowThreads();
35984 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
35985
35986 wxPyEndAllowThreads(__tstate);
35987 if (PyErr_Occurred()) SWIG_fail;
35988 }
35989 {
35990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35991 }
35992 return resultobj;
35993 fail:
35994 return NULL;
35995}
35996
35997
c32bde28 35998static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35999 PyObject *resultobj = NULL;
d55e5bfc
RD
36000 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
36001 wxPoint *arg2 = 0 ;
36002 wxPoint *arg3 = 0 ;
36003 bool arg4 ;
36004 bool arg5 ;
36005 bool result;
36006 wxPoint temp2 ;
36007 wxPoint temp3 ;
36008 PyObject * obj0 = 0 ;
36009 PyObject * obj1 = 0 ;
36010 PyObject * obj2 = 0 ;
36011 PyObject * obj3 = 0 ;
36012 PyObject * obj4 = 0 ;
36013 char *kwnames[] = {
36014 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
36015 };
36016
36017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
36018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
36019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36020 {
36021 arg2 = &temp2;
36022 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
36023 }
36024 {
36025 arg3 = &temp3;
36026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36027 }
093d3ff1 36028 {
7449af73 36029 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
36030 if (SWIG_arg_fail(4)) SWIG_fail;
36031 }
36032 {
7449af73 36033 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
36034 if (SWIG_arg_fail(5)) SWIG_fail;
36035 }
d55e5bfc
RD
36036 {
36037 PyThreadState* __tstate = wxPyBeginAllowThreads();
36038 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
36039
36040 wxPyEndAllowThreads(__tstate);
36041 if (PyErr_Occurred()) SWIG_fail;
36042 }
36043 {
36044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36045 }
36046 return resultobj;
36047 fail:
36048 return NULL;
36049}
36050
36051
c32bde28 36052static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
36053 PyObject *obj;
36054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36055 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
36056 Py_INCREF(obj);
36057 return Py_BuildValue((char *)"");
36058}
53aa7709
RD
36059static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
36060 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
36061 return 1;
36062}
36063
36064
36065static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
7449af73 36066 PyObject *pyobj = NULL;
53aa7709
RD
36067
36068 {
36069#if wxUSE_UNICODE
36070 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
36071#else
36072 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
36073#endif
36074 }
36075 return pyobj;
36076}
36077
36078
36079static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36080 PyObject *resultobj = NULL;
53aa7709
RD
36081 wxWindow *arg1 = (wxWindow *) 0 ;
36082 int arg2 = (int) -1 ;
36083 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
36084 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
36085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
36086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
36087 wxSize const &arg5_defvalue = wxDefaultSize ;
36088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
36089 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36090 wxValidator const &arg7_defvalue = wxDefaultValidator ;
36091 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
36092 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
36093 wxString *arg8 = (wxString *) &arg8_defvalue ;
36094 wxDatePickerCtrl *result;
36095 wxPoint temp4 ;
36096 wxSize temp5 ;
36097 bool temp8 = false ;
36098 PyObject * obj0 = 0 ;
36099 PyObject * obj1 = 0 ;
36100 PyObject * obj2 = 0 ;
36101 PyObject * obj3 = 0 ;
36102 PyObject * obj4 = 0 ;
36103 PyObject * obj5 = 0 ;
36104 PyObject * obj6 = 0 ;
36105 PyObject * obj7 = 0 ;
36106 char *kwnames[] = {
36107 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36108 };
36109
36110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36112 if (SWIG_arg_fail(1)) SWIG_fail;
36113 if (obj1) {
36114 {
7449af73 36115 arg2 = static_cast<int >(SWIG_As_int(obj1));
53aa7709
RD
36116 if (SWIG_arg_fail(2)) SWIG_fail;
36117 }
36118 }
36119 if (obj2) {
36120 {
36121 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36122 if (SWIG_arg_fail(3)) SWIG_fail;
36123 if (arg3 == NULL) {
36124 SWIG_null_ref("wxDateTime");
36125 }
36126 if (SWIG_arg_fail(3)) SWIG_fail;
36127 }
36128 }
36129 if (obj3) {
36130 {
36131 arg4 = &temp4;
36132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36133 }
36134 }
36135 if (obj4) {
36136 {
36137 arg5 = &temp5;
36138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36139 }
36140 }
36141 if (obj5) {
36142 {
7449af73 36143 arg6 = static_cast<long >(SWIG_As_long(obj5));
53aa7709
RD
36144 if (SWIG_arg_fail(6)) SWIG_fail;
36145 }
36146 }
36147 if (obj6) {
36148 {
36149 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36150 if (SWIG_arg_fail(7)) SWIG_fail;
36151 if (arg7 == NULL) {
36152 SWIG_null_ref("wxValidator");
36153 }
36154 if (SWIG_arg_fail(7)) SWIG_fail;
36155 }
36156 }
36157 if (obj7) {
36158 {
36159 arg8 = wxString_in_helper(obj7);
36160 if (arg8 == NULL) SWIG_fail;
36161 temp8 = true;
36162 }
36163 }
36164 {
36165 if (!wxPyCheckForApp()) SWIG_fail;
36166 PyThreadState* __tstate = wxPyBeginAllowThreads();
36167 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
36168
36169 wxPyEndAllowThreads(__tstate);
36170 if (PyErr_Occurred()) SWIG_fail;
36171 }
36172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
36173 {
36174 if (temp8)
36175 delete arg8;
36176 }
36177 return resultobj;
36178 fail:
36179 {
36180 if (temp8)
36181 delete arg8;
36182 }
36183 return NULL;
36184}
36185
36186
36187static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36188 PyObject *resultobj = NULL;
53aa7709
RD
36189 wxDatePickerCtrl *result;
36190 char *kwnames[] = {
36191 NULL
36192 };
36193
36194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
36195 {
36196 if (!wxPyCheckForApp()) SWIG_fail;
36197 PyThreadState* __tstate = wxPyBeginAllowThreads();
36198 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
36199
36200 wxPyEndAllowThreads(__tstate);
36201 if (PyErr_Occurred()) SWIG_fail;
36202 }
36203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
36204 return resultobj;
36205 fail:
36206 return NULL;
36207}
36208
36209
36210static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36211 PyObject *resultobj = NULL;
53aa7709
RD
36212 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36213 wxWindow *arg2 = (wxWindow *) 0 ;
36214 int arg3 = (int) -1 ;
36215 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
36216 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
36217 wxPoint const &arg5_defvalue = wxDefaultPosition ;
36218 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
36219 wxSize const &arg6_defvalue = wxDefaultSize ;
36220 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
36221 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36222 wxValidator const &arg8_defvalue = wxDefaultValidator ;
36223 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
36224 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
36225 wxString *arg9 = (wxString *) &arg9_defvalue ;
36226 bool result;
36227 wxPoint temp5 ;
36228 wxSize temp6 ;
36229 bool temp9 = false ;
36230 PyObject * obj0 = 0 ;
36231 PyObject * obj1 = 0 ;
36232 PyObject * obj2 = 0 ;
36233 PyObject * obj3 = 0 ;
36234 PyObject * obj4 = 0 ;
36235 PyObject * obj5 = 0 ;
36236 PyObject * obj6 = 0 ;
36237 PyObject * obj7 = 0 ;
36238 PyObject * obj8 = 0 ;
36239 char *kwnames[] = {
36240 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36241 };
36242
36243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36245 if (SWIG_arg_fail(1)) SWIG_fail;
36246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36247 if (SWIG_arg_fail(2)) SWIG_fail;
36248 if (obj2) {
36249 {
7449af73 36250 arg3 = static_cast<int >(SWIG_As_int(obj2));
53aa7709
RD
36251 if (SWIG_arg_fail(3)) SWIG_fail;
36252 }
36253 }
36254 if (obj3) {
36255 {
36256 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36257 if (SWIG_arg_fail(4)) SWIG_fail;
36258 if (arg4 == NULL) {
36259 SWIG_null_ref("wxDateTime");
36260 }
36261 if (SWIG_arg_fail(4)) SWIG_fail;
36262 }
36263 }
36264 if (obj4) {
36265 {
36266 arg5 = &temp5;
36267 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36268 }
36269 }
36270 if (obj5) {
36271 {
36272 arg6 = &temp6;
36273 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36274 }
36275 }
36276 if (obj6) {
36277 {
7449af73 36278 arg7 = static_cast<long >(SWIG_As_long(obj6));
53aa7709
RD
36279 if (SWIG_arg_fail(7)) SWIG_fail;
36280 }
36281 }
36282 if (obj7) {
36283 {
36284 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36285 if (SWIG_arg_fail(8)) SWIG_fail;
36286 if (arg8 == NULL) {
36287 SWIG_null_ref("wxValidator");
36288 }
36289 if (SWIG_arg_fail(8)) SWIG_fail;
36290 }
36291 }
36292 if (obj8) {
36293 {
36294 arg9 = wxString_in_helper(obj8);
36295 if (arg9 == NULL) SWIG_fail;
36296 temp9 = true;
36297 }
36298 }
36299 {
36300 PyThreadState* __tstate = wxPyBeginAllowThreads();
36301 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
36302
36303 wxPyEndAllowThreads(__tstate);
36304 if (PyErr_Occurred()) SWIG_fail;
36305 }
36306 {
36307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36308 }
36309 {
36310 if (temp9)
36311 delete arg9;
36312 }
36313 return resultobj;
36314 fail:
36315 {
36316 if (temp9)
36317 delete arg9;
36318 }
36319 return NULL;
36320}
36321
36322
36323static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36324 PyObject *resultobj = NULL;
53aa7709
RD
36325 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36326 wxDateTime *arg2 = 0 ;
36327 PyObject * obj0 = 0 ;
36328 PyObject * obj1 = 0 ;
36329 char *kwnames[] = {
36330 (char *) "self",(char *) "dt", NULL
36331 };
36332
36333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36335 if (SWIG_arg_fail(1)) SWIG_fail;
36336 {
36337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36338 if (SWIG_arg_fail(2)) SWIG_fail;
36339 if (arg2 == NULL) {
36340 SWIG_null_ref("wxDateTime");
36341 }
36342 if (SWIG_arg_fail(2)) SWIG_fail;
36343 }
36344 {
36345 PyThreadState* __tstate = wxPyBeginAllowThreads();
36346 (arg1)->SetValue((wxDateTime const &)*arg2);
36347
36348 wxPyEndAllowThreads(__tstate);
36349 if (PyErr_Occurred()) SWIG_fail;
36350 }
36351 Py_INCREF(Py_None); resultobj = Py_None;
36352 return resultobj;
36353 fail:
36354 return NULL;
36355}
36356
36357
36358static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36359 PyObject *resultobj = NULL;
53aa7709
RD
36360 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36361 wxDateTime result;
36362 PyObject * obj0 = 0 ;
36363 char *kwnames[] = {
36364 (char *) "self", NULL
36365 };
36366
36367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
36368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36369 if (SWIG_arg_fail(1)) SWIG_fail;
36370 {
36371 PyThreadState* __tstate = wxPyBeginAllowThreads();
36372 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
36373
36374 wxPyEndAllowThreads(__tstate);
36375 if (PyErr_Occurred()) SWIG_fail;
36376 }
36377 {
36378 wxDateTime * resultptr;
7449af73 36379 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36381 }
36382 return resultobj;
36383 fail:
36384 return NULL;
36385}
36386
36387
36388static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36389 PyObject *resultobj = NULL;
53aa7709
RD
36390 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36391 wxDateTime *arg2 = 0 ;
36392 wxDateTime *arg3 = 0 ;
36393 PyObject * obj0 = 0 ;
36394 PyObject * obj1 = 0 ;
36395 PyObject * obj2 = 0 ;
36396 char *kwnames[] = {
36397 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36398 };
36399
36400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36402 if (SWIG_arg_fail(1)) SWIG_fail;
36403 {
36404 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36405 if (SWIG_arg_fail(2)) SWIG_fail;
36406 if (arg2 == NULL) {
36407 SWIG_null_ref("wxDateTime");
36408 }
36409 if (SWIG_arg_fail(2)) SWIG_fail;
36410 }
36411 {
36412 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36413 if (SWIG_arg_fail(3)) SWIG_fail;
36414 if (arg3 == NULL) {
36415 SWIG_null_ref("wxDateTime");
36416 }
36417 if (SWIG_arg_fail(3)) SWIG_fail;
36418 }
36419 {
36420 PyThreadState* __tstate = wxPyBeginAllowThreads();
36421 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
36422
36423 wxPyEndAllowThreads(__tstate);
36424 if (PyErr_Occurred()) SWIG_fail;
36425 }
36426 Py_INCREF(Py_None); resultobj = Py_None;
36427 return resultobj;
36428 fail:
36429 return NULL;
36430}
36431
36432
36433static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36434 PyObject *resultobj = NULL;
53aa7709
RD
36435 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36436 wxDateTime result;
36437 PyObject * obj0 = 0 ;
36438 char *kwnames[] = {
36439 (char *) "self", NULL
36440 };
36441
36442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
36443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36444 if (SWIG_arg_fail(1)) SWIG_fail;
36445 {
36446 PyThreadState* __tstate = wxPyBeginAllowThreads();
36447 result = wxDatePickerCtrl_GetLowerLimit(arg1);
36448
36449 wxPyEndAllowThreads(__tstate);
36450 if (PyErr_Occurred()) SWIG_fail;
36451 }
36452 {
36453 wxDateTime * resultptr;
7449af73 36454 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36456 }
36457 return resultobj;
36458 fail:
36459 return NULL;
36460}
36461
36462
36463static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36464 PyObject *resultobj = NULL;
53aa7709
RD
36465 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36466 wxDateTime result;
36467 PyObject * obj0 = 0 ;
36468 char *kwnames[] = {
36469 (char *) "self", NULL
36470 };
36471
36472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
36473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36474 if (SWIG_arg_fail(1)) SWIG_fail;
36475 {
36476 PyThreadState* __tstate = wxPyBeginAllowThreads();
36477 result = wxDatePickerCtrl_GetUpperLimit(arg1);
36478
36479 wxPyEndAllowThreads(__tstate);
36480 if (PyErr_Occurred()) SWIG_fail;
36481 }
36482 {
36483 wxDateTime * resultptr;
7449af73 36484 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36486 }
36487 return resultobj;
36488 fail:
36489 return NULL;
36490}
36491
36492
36493static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
36494 PyObject *obj;
36495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36496 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
36497 Py_INCREF(obj);
36498 return Py_BuildValue((char *)"");
36499}
d55e5bfc 36500static PyMethodDef SwigMethods[] = {
093d3ff1
RD
36501 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
36502 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
36503 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36504 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36505 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36506 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36507 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
36508 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36509 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36510 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36511 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36512 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36513 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36514 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 36515 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction) _wrap_BitmapButton_GetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36516 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36517 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36518 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36519 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 36520 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36521 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36522 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
36523 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
36524 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
36525 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36526 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36527 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36528 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36529 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36530 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36531 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36532 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36533 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
36534 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
36535 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36536 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
36537 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
36538 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
36539 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff 36540 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36541 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36542 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
36543 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36544 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36545 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36546 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36547 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36548 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36549 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36550 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36551 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36552 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36553 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36554 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36555 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36556 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
36557 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff 36558 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36559 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36560 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36561 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36562 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36563 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36564 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36565 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36566 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36567 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36568 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36569 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36570 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36571 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36572 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36573 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36574 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
36575 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
36576 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
36577 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36578 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36579 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36580 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36581 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36582 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36583 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36584 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36585 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36586 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36587 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36588 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
36589 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36590 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36591 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36592 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36593 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
36594 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36595 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36596 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36597 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36598 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36599 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36600 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
36601 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36602 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36603 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff 36604 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36605 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36606 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
36607 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36608 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36609 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36610 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36611 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36612 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36613 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36614 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
36615 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36616 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36617 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36618 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
36619 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
36620 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36621 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36622 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36623 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36624 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
36625 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36626 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
36630 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36635 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36637 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
36638 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
36643 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36645 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
36646 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
36647 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36648 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36654 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36656 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36657 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36660 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36663 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36664 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36670 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36671 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36672 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36674 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36675 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36676 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
36678 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36679 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36681 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36683 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
36686 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
36687 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36689 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
36691 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
36700 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
36702 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36705 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36707 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36712 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
36713 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36715 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36716 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36720 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36726 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36727 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36728 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36734 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
36736 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36737 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36738 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36740 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
36741 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36745 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
36753 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
36766 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36767 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36775 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
36778 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
36782 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36788 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36790 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
36791 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36792 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36793 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36796 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36797 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36798 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
36800 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36802 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
36807 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
36808 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36810 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36816 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36817 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36819 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36821 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36824 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
36826 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
36828 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36831 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36832 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
36833 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36834 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36836 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36838 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
36841 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36846 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36850 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36852 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef
RD
36854 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
36857 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36858 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36859 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36860 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36862 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
36868 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36870 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36871 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
36874 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36878 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
36879 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 36882 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36883 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
36885 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36886 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
36887 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
36888 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
36889 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36890 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
36892 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
36894 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe 36897 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36898 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
36900 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
7e08d4ef
RD
36902 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL},
36904 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
36912 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
36913 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
36914 { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
36916 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
36918 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36920 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
36924 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
36926 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36935 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36936 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36937 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36941 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36942 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36943 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36946 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36947 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36948 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36949 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36952 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36953 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36955 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
36956 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
36958 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
36962 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36965 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
36966 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
36969 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36974 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36979 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36982 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
36983 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36984 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36990 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
37001 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37005 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37006 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
37007 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 37008 { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37009 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37013 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37014 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
37015 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37016 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 37018 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37019 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
37021 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37025 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
37027 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37034 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
37035 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37036 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
37040 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
37044 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
37045 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
37054 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
37055 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
37056 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
37057 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
37058 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
37059 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
37060 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
37061 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
37062 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
37063 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
37064 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
37065 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
37066 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
37067 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
37068 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
37069 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
37070 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
37071 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
37072 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
37073 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37074 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
37075 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
37076 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
37077 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
37078 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
37079 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
37080 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
37081 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
37082 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
37083 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
37084 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
37085 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
37086 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37087 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37088 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37089 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37090 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
37091 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
37092 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
37093 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
37094 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37095 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
37096 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
37097 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37098 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37099 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
37100 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37101 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37102 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37103 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37104 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37105 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37106 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37107 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37108 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37109 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37110 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
37111 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
37112 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37113 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37114 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37115 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
37116 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
37117 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
37118 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37119 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37120 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37121 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37122 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37123 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37124 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
37125 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37126 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37127 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
37128 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37129 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37130 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37131 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37132 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
37133 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
37134 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
37135 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
37136 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37137 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37138 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37139 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
37140 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
37141 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
37142 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
37143 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
37144 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
37145 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37146 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37147 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
37148 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
37149 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37150 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37151 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37152 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
37153 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37154 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
37155 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37156 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37157 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
37158 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
37159 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 37160 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37161 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37162 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37163 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
37164 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37165 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37166 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37167 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
37168 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37169 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37170 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
37171 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37172 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37173 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
37174 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
37175 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
37176 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37177 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
37178 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
37179 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
37180 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37181 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37182 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37183 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
37184 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
37185 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
37186 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
37187 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
37188 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
37189 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
37190 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
37191 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
37192 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
37193 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
37194 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 37195 { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37196 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
37197 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
37198 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
37199 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
37200 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37201 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
37202 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37203 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37204 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37205 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
37206 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
37207 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37208 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37209 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37210 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
37211 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37212 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37213 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37214 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37215 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37216 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74 37217 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37218 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
37219 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37220 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37221 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37222 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37223 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
37224 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37225 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37226 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37227 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37228 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37229 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37230 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37231 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37232 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37233 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37234 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37235 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37236 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37237 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37238 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37239 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37240 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37241 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37242 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37243 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37244 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37245 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37246 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
37247 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37248 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37249 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37250 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37251 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37252 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37253 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
37254 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37255 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
37256 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
37257 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
37258 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37259 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
37260 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
37261 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
37262 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
37263 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
37264 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37265 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37266 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
37267 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37268 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37269 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
37270 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
37271 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37272 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
37273 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
37274 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
37275 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37276 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37277 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
37278 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
37279 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
37280 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
37281 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
37282 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37283 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
37284 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37285 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37286 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37287 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
37288 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37289 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37290 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37291 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37292 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37293 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37294 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
37295 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
37296 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37297 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
37298 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37299 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37300 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37301 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
37302 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37303 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37304 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37305 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
37306 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37307 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37308 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37309 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37310 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37311 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37312 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37313 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
37314 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37315 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37316 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
37317 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
37318 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
37319 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
37320 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37321 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37322 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37323 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
37324 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
37325 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37326 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37327 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37328 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 37329 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
37330 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37331 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37332 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37333 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37334 { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37335 { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37336 { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37337 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37338 { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37339 { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
37340 { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37341 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37342 { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
37343 { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
37344 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
37345 { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
37346 { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
37347 { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
37348 { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
37349 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37350 { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37351 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
37352 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37353 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37354 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37355 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37356 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37357 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37358 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37359 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
37360 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37361 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37362 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37363 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37364 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
37365 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
37366 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
37367 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
37368 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
37369 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37370 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37371 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37372 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
37373 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37374 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37375 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
37376 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
37377 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
37378 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37379 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
37380 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
37381 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
37382 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37383 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37384 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
37385 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37386 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
37387 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37388 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
37389 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
37390 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
37391 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
37392 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37393 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37394 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37395 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
37396 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37397 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37398 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37399 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37400 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37401 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
37402 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37403 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37404 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c32bde28 37405 { NULL, NULL, 0, NULL }
d55e5bfc
RD
37406};
37407
37408
37409/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37410
d55e5bfc
RD
37411static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37413}
37414static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37415 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37416}
37417static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37418 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37419}
37420static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37421 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37422}
37423static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37424 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37425}
8ac8dba0
RD
37426static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
37427 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37428}
d55e5bfc
RD
37429static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
37430 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37431}
37432static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37433 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37434}
37435static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37436 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37437}
37438static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37439 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37440}
37441static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
37442 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
37443}
d55e5bfc
RD
37444static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37445 return (void *)((wxEvent *) ((wxPyEvent *) x));
37446}
37447static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37448 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37449}
37450static void *_p_wxListEventTo_p_wxEvent(void *x) {
37451 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37452}
37453static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 37454 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
37455}
37456static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 37457 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 37458}
ae8162c8 37459static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 37460 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 37461}
7e08d4ef
RD
37462static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
37463 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37464}
37465static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
37466 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37467}
d55e5bfc
RD
37468static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
37469 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
37470}
37471static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37472 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37473}
37474static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37475 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37476}
37477static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37478 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37479}
37480static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37481 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37482}
37483static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37484 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37485}
37486static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37487 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37488}
37489static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37490 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37491}
37492static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37493 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37494}
53aa7709
RD
37495static void *_p_wxDateEventTo_p_wxEvent(void *x) {
37496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
37497}
d55e5bfc
RD
37498static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37499 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37500}
37501static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37502 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37503}
37504static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37505 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37506}
37507static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37508 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37509}
37510static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37511 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37512}
37513static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37514 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37515}
37516static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37517 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37518}
37519static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37520 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37521}
37522static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37523 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37524}
37525static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37526 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37527}
37528static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37529 return (void *)((wxEvent *) ((wxShowEvent *) x));
37530}
37531static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37532 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37533}
37534static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37535 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37536}
37537static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37538 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37539}
37540static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37541 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37542}
37543static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37544 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37545}
37546static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37547 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37548}
37549static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
37550 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37551}
37552static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
37553 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
37554}
37555static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
37556 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37557}
37558static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
37559 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
37560}
37561static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37562 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37563}
37564static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
37565 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
37566}
37567static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
37568 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37569}
37570static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
37571 return (void *)((wxPyListCtrl *) ((wxListView *) x));
37572}
8ac8dba0
RD
37573static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
37574 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
37575}
37576static void *_p_wxToolBarTo_p_wxControl(void *x) {
37577 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
37578}
ae8162c8
RD
37579static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
37580 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 37581}
ae8162c8
RD
37582static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
37583 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 37584}
7e08d4ef
RD
37585static void *_p_wxToolbookTo_p_wxControl(void *x) {
37586 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
d55e5bfc 37587}
ae8162c8
RD
37588static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
37589 return (void *)((wxControl *) ((wxToolBarBase *) x));
37590}
37591static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
37592 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
37593}
37594static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
37595 return (void *)((wxControl *) ((wxPyListCtrl *) x));
37596}
ae8162c8
RD
37597static void *_p_wxComboBoxTo_p_wxControl(void *x) {
37598 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
d55e5bfc 37599}
7e08d4ef
RD
37600static void *_p_wxPyControlTo_p_wxControl(void *x) {
37601 return (void *)((wxControl *) ((wxPyControl *) x));
37602}
ae8162c8
RD
37603static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
37604 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
37605}
37606static void *_p_wxScrollBarTo_p_wxControl(void *x) {
37607 return (void *)((wxControl *) ((wxScrollBar *) x));
37608}
ae8162c8
RD
37609static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37610 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
37611}
37612static void *_p_wxGaugeTo_p_wxControl(void *x) {
37613 return (void *)((wxControl *) ((wxGauge *) x));
37614}
ae8162c8
RD
37615static void *_p_wxStaticLineTo_p_wxControl(void *x) {
37616 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 37617}
ae8162c8 37618static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 37619 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 37620}
ae8162c8 37621static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 37622 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 37623}
ae8162c8
RD
37624static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
37625 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 37626}
ae8162c8
RD
37627static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
37628 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
37629}
37630static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
37631 return (void *)((wxControl *) ((wxRadioBox *) x));
37632}
ae8162c8
RD
37633static void *_p_wxChoiceTo_p_wxControl(void *x) {
37634 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
37635}
37636static void *_p_wxListBoxTo_p_wxControl(void *x) {
37637 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
37638}
37639static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
37640 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37641}
37642static void *_p_wxListViewTo_p_wxControl(void *x) {
37643 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
37644}
d55e5bfc 37645static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 37646 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 37647}
ae8162c8
RD
37648static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
37649 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 37650}
ae8162c8
RD
37651static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
37652 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 37653}
ae8162c8
RD
37654static void *_p_wxStaticTextTo_p_wxControl(void *x) {
37655 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 37656}
ae8162c8
RD
37657static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
37658 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
37659}
37660static void *_p_wxSliderTo_p_wxControl(void *x) {
37661 return (void *)((wxControl *) ((wxSlider *) x));
37662}
7e08d4ef
RD
37663static void *_p_wxTreebookTo_p_wxControl(void *x) {
37664 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
d55e5bfc 37665}
ae8162c8
RD
37666static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
37667 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 37668}
ae8162c8
RD
37669static void *_p_wxButtonTo_p_wxControl(void *x) {
37670 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 37671}
ae8162c8
RD
37672static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
37673 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
37674}
7e08d4ef
RD
37675static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
37676 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37677}
53aa7709
RD
37678static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
37679 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
37680}
ae8162c8
RD
37681static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
37682 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
37683}
37684static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
37685 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
37686}
37687static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
37688 return (void *)((wxChoice *) ((wxComboBox *) x));
37689}
37690static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
37691 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
37692}
8ac8dba0
RD
37693static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
37694 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37695}
d55e5bfc
RD
37696static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
37697 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
37698}
d55e5bfc
RD
37699static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
37700 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
37701}
37702static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
37703 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
37704}
37705static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 37706 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
37707}
37708static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 37709 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 37710}
ae8162c8 37711static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
37712 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37713}
7e08d4ef
RD
37714static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
37715 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37716}
37717static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
37718 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37719}
8ac8dba0
RD
37720static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
37721 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
37722}
37723static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
37724 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
ae8162c8 37725}
7e08d4ef
RD
37726static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
37727 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
37728}
37729static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
37730 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
37731}
8ac8dba0
RD
37732static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
37733 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37734}
37735static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37736 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37737}
8ac8dba0
RD
37738static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
37739 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37740}
d55e5bfc
RD
37741static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37742 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37743}
37744static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37745 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37746}
37747static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
37748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37749}
37750static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37751 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37752}
37753static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
37754 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
37755}
37756static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
37757 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
37758}
7e08d4ef
RD
37759static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
37760 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37761}
d55e5bfc
RD
37762static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37763 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37764}
37765static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37766 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37767}
d55e5bfc
RD
37768static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
37769 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
37770}
7e08d4ef
RD
37771static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
37772 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37773}
ae8162c8
RD
37774static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
37775 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37776}
d55e5bfc
RD
37777static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
37778 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37779}
37780static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
37781 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
37782}
37783static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37784 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37785}
37786static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
37787 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37788}
37789static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
37790 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
37791}
37792static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37793 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37794}
37795static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
37796 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
37797}
37798static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
37799 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
37800}
ae8162c8 37801static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37802 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 37803}
d55e5bfc 37804static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37805 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
37806}
37807static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
37808 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37809}
37810static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
37811 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
37812}
37813static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
37814 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
37815}
37816static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
37817 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37818}
37819static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
37820 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37821}
37822static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
37823 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37824}
37825static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37826 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37827}
37828static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
37829 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37830}
37831static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
37832 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37833}
37834static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
37835 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37836}
37837static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
37838 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
37839}
37840static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
37841 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
37842}
37843static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
37844 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
37845}
7e08d4ef
RD
37846static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
37847 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37848}
d55e5bfc
RD
37849static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
37850 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
37851}
37852static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
37853 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
37854}
37855static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
37856 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37857}
37858static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
37859 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37860}
53aa7709
RD
37861static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
37862 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37863}
d55e5bfc
RD
37864static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
37865 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37866}
37867static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
37868 return (void *)((wxListBox *) ((wxCheckListBox *) x));
37869}
d55e5bfc
RD
37870static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
37871 return (void *)((wxButton *) ((wxBitmapButton *) x));
37872}
37873static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
37874 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
37875}
37876static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
37877 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
37878}
37879static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
37880 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
37881}
37882static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37883 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37884}
7e08d4ef
RD
37885static void *_p_wxToolbookTo_p_wxObject(void *x) {
37886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37887}
d55e5bfc
RD
37888static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37889 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37890}
37891static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37892 return (void *)((wxObject *) ((wxSizerItem *) x));
37893}
37894static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37895 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37896}
37897static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37898 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37899}
37900static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
37901 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
37902}
d55e5bfc
RD
37903static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37904 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37905}
37906static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37907 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37908}
37909static void *_p_wxSizerTo_p_wxObject(void *x) {
37910 return (void *)((wxObject *) ((wxSizer *) x));
37911}
37912static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37913 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37914}
37915static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
37916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
37917}
37918static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
37919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37920}
37921static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37923}
37924static void *_p_wxEventTo_p_wxObject(void *x) {
37925 return (void *)((wxObject *) ((wxEvent *) x));
37926}
37927static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37928 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37929}
37930static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37931 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37932}
37933static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37934 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37935}
37936static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
37937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37938}
37939static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
37940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37941}
37942static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
37943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37944}
37945static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37946 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37947}
37948static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37949 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37950}
37951static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37952 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37953}
37954static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37955 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37956}
37957static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37958 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37959}
37960static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37961 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37962}
37963static void *_p_wxStaticLineTo_p_wxObject(void *x) {
37964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
37965}
37966static void *_p_wxControlTo_p_wxObject(void *x) {
37967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37968}
37969static void *_p_wxPyControlTo_p_wxObject(void *x) {
37970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
37971}
37972static void *_p_wxGaugeTo_p_wxObject(void *x) {
37973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
37974}
37975static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
37976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
37977}
37978static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
37979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
37980}
37981static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
37982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37983}
37984static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37985 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37986}
37987static void *_p_wxChoiceTo_p_wxObject(void *x) {
37988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37989}
37990static void *_p_wxFSFileTo_p_wxObject(void *x) {
37991 return (void *)((wxObject *) ((wxFSFile *) x));
37992}
37993static void *_p_wxPySizerTo_p_wxObject(void *x) {
37994 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37995}
7e08d4ef
RD
37996static void *_p_wxTreebookTo_p_wxObject(void *x) {
37997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37998}
d55e5bfc
RD
37999static void *_p_wxListViewTo_p_wxObject(void *x) {
38000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
38001}
38002static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
38003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
38004}
38005static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 38006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
38007}
38008static void *_p_wxPyEventTo_p_wxObject(void *x) {
38009 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
38010}
38011static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
38012 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
38013}
ae8162c8 38014static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 38015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 38016}
d55e5bfc 38017static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 38018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
38019}
38020static void *_p_wxShowEventTo_p_wxObject(void *x) {
38021 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
38022}
38023static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
38024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
38025}
38026static void *_p_wxSliderTo_p_wxObject(void *x) {
38027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
38028}
38029static void *_p_wxMenuItemTo_p_wxObject(void *x) {
38030 return (void *)((wxObject *) ((wxMenuItem *) x));
38031}
53aa7709
RD
38032static void *_p_wxDateEventTo_p_wxObject(void *x) {
38033 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
38034}
d55e5bfc
RD
38035static void *_p_wxIdleEventTo_p_wxObject(void *x) {
38036 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
38037}
38038static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
38039 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
38040}
38041static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
38042 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
38043}
38044static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
38045 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
38046}
38047static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
38048 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
38049}
38050static void *_p_wxSizeEventTo_p_wxObject(void *x) {
38051 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
38052}
38053static void *_p_wxMoveEventTo_p_wxObject(void *x) {
38054 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
38055}
38056static void *_p_wxActivateEventTo_p_wxObject(void *x) {
38057 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
38058}
38059static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
38060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
38061}
38062static void *_p_wxContextHelpTo_p_wxObject(void *x) {
38063 return (void *)((wxObject *) ((wxContextHelp *) x));
38064}
8ac8dba0
RD
38065static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
38066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
38067}
d55e5bfc
RD
38068static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
38069 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
38070}
38071static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
38072 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
38073}
38074static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
38075 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
38076}
38077static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
38078 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
38079}
38080static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
38081 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
38082}
38083static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
38084 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
38085}
38086static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
38087 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
38088}
38089static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
38090 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
38091}
38092static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
38093 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
38094}
9d7dfdff
RD
38095static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
38096 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
38097}
d55e5bfc
RD
38098static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
38099 return (void *)((wxObject *) ((wxImageHandler *) x));
38100}
9d7dfdff
RD
38101static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
38102 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
38103}
d55e5bfc
RD
38104static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
38105 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
38106}
38107static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
38108 return (void *)((wxObject *) ((wxEvtHandler *) x));
38109}
38110static void *_p_wxListEventTo_p_wxObject(void *x) {
38111 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
38112}
38113static void *_p_wxListBoxTo_p_wxObject(void *x) {
38114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38115}
38116static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
38117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38118}
d55e5bfc
RD
38119static void *_p_wxButtonTo_p_wxObject(void *x) {
38120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
38121}
38122static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
38123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
38124}
38125static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
38126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
38127}
38128static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
38129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38130}
62d32a5f
RD
38131static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
38132 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
38133}
d55e5bfc
RD
38134static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
38135 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
38136}
38137static void *_p_wxScrollBarTo_p_wxObject(void *x) {
38138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
38139}
38140static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
38141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
38142}
38143static void *_p_wxComboBoxTo_p_wxObject(void *x) {
38144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
38145}
38146static void *_p_wxHelpEventTo_p_wxObject(void *x) {
38147 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
38148}
38149static void *_p_wxListItemTo_p_wxObject(void *x) {
38150 return (void *)((wxObject *) ((wxListItem *) x));
38151}
38152static void *_p_wxImageTo_p_wxObject(void *x) {
38153 return (void *)((wxObject *) ((wxImage *) x));
38154}
d55e5bfc
RD
38155static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
38156 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
38157}
38158static void *_p_wxSpinEventTo_p_wxObject(void *x) {
38159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
38160}
38161static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
38162 return (void *)((wxObject *) ((wxGenericDragImage *) x));
38163}
38164static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
38165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
38166}
38167static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 38168 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
38169}
38170static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 38171 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 38172}
ae8162c8 38173static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 38174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 38175}
7e08d4ef
RD
38176static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
38177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38178}
38179static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
38180 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38181}
d55e5bfc
RD
38182static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
38183 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38184}
38185static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
38186 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
38187}
38188static void *_p_wxKeyEventTo_p_wxObject(void *x) {
38189 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
38190}
38191static void *_p_wxWindowTo_p_wxObject(void *x) {
38192 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
38193}
38194static void *_p_wxMenuTo_p_wxObject(void *x) {
38195 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
38196}
38197static void *_p_wxMenuBarTo_p_wxObject(void *x) {
38198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
38199}
38200static void *_p_wxFileSystemTo_p_wxObject(void *x) {
38201 return (void *)((wxObject *) ((wxFileSystem *) x));
38202}
38203static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
38204 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
38205}
38206static void *_p_wxMenuEventTo_p_wxObject(void *x) {
38207 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
38208}
38209static void *_p_wxPyAppTo_p_wxObject(void *x) {
38210 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
38211}
38212static void *_p_wxCloseEventTo_p_wxObject(void *x) {
38213 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
38214}
38215static void *_p_wxMouseEventTo_p_wxObject(void *x) {
38216 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
38217}
38218static void *_p_wxEraseEventTo_p_wxObject(void *x) {
38219 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
38220}
8ac8dba0
RD
38221static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
38222 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38223}
d55e5bfc
RD
38224static void *_p_wxTreeEventTo_p_wxObject(void *x) {
38225 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
38226}
38227static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
38228 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
38229}
38230static void *_p_wxCommandEventTo_p_wxObject(void *x) {
38231 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
38232}
38233static void *_p_wxStaticTextTo_p_wxObject(void *x) {
38234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
38235}
38236static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
38237 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
38238}
38239static void *_p_wxFocusEventTo_p_wxObject(void *x) {
38240 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
38241}
38242static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
38243 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
38244}
53aa7709
RD
38245static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
38246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
38247}
d55e5bfc
RD
38248static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
38249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
38250}
38251static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
38252 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
38253}
38254static void *_p_wxToolBarTo_p_wxObject(void *x) {
38255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38256}
38257static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
38258 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
38259}
38260static void *_p_wxValidatorTo_p_wxObject(void *x) {
38261 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
38262}
d55e5bfc
RD
38263static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
38264 return (void *)((wxWindow *) ((wxMenuBar *) x));
38265}
8ac8dba0
RD
38266static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
38267 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
38268}
d55e5bfc
RD
38269static void *_p_wxToolBarTo_p_wxWindow(void *x) {
38270 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38271}
38272static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
38273 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
38274}
38275static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
38276 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
38277}
7e08d4ef
RD
38278static void *_p_wxToolbookTo_p_wxWindow(void *x) {
38279 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
38280}
d55e5bfc
RD
38281static void *_p_wxControlTo_p_wxWindow(void *x) {
38282 return (void *)((wxWindow *) ((wxControl *) x));
38283}
38284static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
38285 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
38286}
d55e5bfc
RD
38287static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
38288 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
38289}
38290static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
38291 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
38292}
7e08d4ef
RD
38293static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
38294 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
38295}
ae8162c8
RD
38296static void *_p_wxPyControlTo_p_wxWindow(void *x) {
38297 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
38298}
d55e5bfc
RD
38299static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
38300 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
38301}
38302static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
38303 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
38304}
38305static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
38306 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
38307}
38308static void *_p_wxGaugeTo_p_wxWindow(void *x) {
38309 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
38310}
38311static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
38312 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
38313}
ae8162c8 38314static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 38315 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 38316}
d55e5bfc 38317static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 38318 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
38319}
38320static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
38321 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
38322}
38323static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
38324 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
38325}
38326static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
38327 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
38328}
38329static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
38330 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38331}
38332static void *_p_wxChoiceTo_p_wxWindow(void *x) {
38333 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
38334}
38335static void *_p_wxListBoxTo_p_wxWindow(void *x) {
38336 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38337}
38338static void *_p_wxListViewTo_p_wxWindow(void *x) {
38339 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
38340}
38341static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 38342 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
38343}
38344static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
38345 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
38346}
38347static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
38348 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
38349}
38350static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
38351 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
38352}
38353static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
38354 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
38355}
38356static void *_p_wxSliderTo_p_wxWindow(void *x) {
38357 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
38358}
7e08d4ef
RD
38359static void *_p_wxTreebookTo_p_wxWindow(void *x) {
38360 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
38361}
d55e5bfc
RD
38362static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
38363 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
38364}
38365static void *_p_wxButtonTo_p_wxWindow(void *x) {
38366 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
38367}
38368static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
38369 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
38370}
38371static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
38372 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38373}
53aa7709
RD
38374static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
38375 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
38376}
d55e5bfc
RD
38377static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
38378 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
38379}
8ac8dba0
RD
38380static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38381 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38382}
38383static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38384 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38385}
38386static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38387 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38388}
7e08d4ef
RD
38389static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38390 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38391}
38392static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38393 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38394}
d55e5bfc
RD
38395static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
38396 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38397}
d55e5bfc
RD
38398static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
38399 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
38400}
38401static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
38402 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
38403}
38404static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
38405 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
38406}
38407static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
38408 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
38409}
38410static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
38411 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
38412}
38413static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 38414 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
38415}
38416static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 38417 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 38418}
53aa7709
RD
38419static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
38420 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38421}
7e08d4ef
RD
38422static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
38423 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38424}
38425static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
38426 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38427}
53aa7709
RD
38428static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
38429 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
38430}
d55e5bfc
RD
38431static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
38432 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
38433}
ae8162c8
RD
38434static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
38435 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
38436}
8ac8dba0
RD
38437static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
38438 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38439}
d55e5bfc
RD
38440static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
38441 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
38442}
38443static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
38444 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
38445}
38446static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
38447 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
38448}
38449static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
38450 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
38451}
38452static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
38453 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
38454}
38455static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
38456 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
38457}
38458static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
38459 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
38460}
38461static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
38462 return (void *)((wxControlWithItems *) ((wxChoice *) x));
38463}
38464static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
38465 return (void *)((wxControlWithItems *) ((wxListBox *) x));
38466}
38467static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
38468 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
38469}
38470static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
38471 return (void *)((wxValidator *) ((wxPyValidator *) x));
38472}
7449af73
RD
38473static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
38474static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
38475static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38476static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
38477static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
38478static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38479static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38480static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38481static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
38482static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38483static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38484static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38485static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38486static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38487static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38488static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
38489static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38490static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38491static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38492static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38493static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38494static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
38495static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38496static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38497static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38498static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
38499static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38500static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38501static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38502static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
38503static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38504static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38505static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38506static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38507static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
38508static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38509static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38510static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
38511static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38512static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38513static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38514static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38515static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38516static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
38517static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
38518static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
38519static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38520static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38521static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
38522static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
38523static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38524static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38525static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
38526static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
38527static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
38528static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
38529static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
38530static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
7e08d4ef 38531static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
7449af73
RD
38532static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38533static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
7449af73
RD
38534static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38535static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38536static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
38537static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
38538static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38539static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38540static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38541static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
38542static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
38543static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
38544static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
38545static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
38546static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38547static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38548static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38549static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38550static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38551static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38552static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38553static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38554static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38555static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38556static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38557static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38558static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38559static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
38560static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38561static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38562static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38563static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38564static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38565static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38566static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38567static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
38568static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38569static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
38570static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
38571static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38572static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38573static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
38574static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
38575static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
38576static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
38577static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38578static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
38579static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
38580static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
7449af73
RD
38581static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
38582static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
38583static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
38584static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
38585static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
38586static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
38587static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
38588static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
38589static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
38590static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
38591static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
7e08d4ef
RD
38592static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
38593static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
7449af73
RD
38594static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38595static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38596static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
38597static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
38598static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38599static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38600static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38601static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38602static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38603static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38604static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38605static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38606static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
38607static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38608static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38609static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
38610static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38611static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38612static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38613static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38614static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38615static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38616static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38617static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38618static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
38619static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38620static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38621static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38622static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38623static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38624static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38625static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
7e08d4ef
RD
38626static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38627static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38628static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
7449af73
RD
38629static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38630static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
7e08d4ef
RD
38631static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38632static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
7449af73
RD
38633static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38634static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38635static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38636static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38637static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38638static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38639
38640static swig_type_info *swig_type_initial[] = {
38641 &_swigt__p_bool,
38642 &_swigt__p_char,
38643 &_swigt__p_form_ops_t,
38644 &_swigt__p_int,
38645 &_swigt__p_long,
38646 &_swigt__p_unsigned_char,
38647 &_swigt__p_unsigned_int,
38648 &_swigt__p_unsigned_long,
38649 &_swigt__p_void,
38650 &_swigt__p_wxANIHandler,
38651 &_swigt__p_wxAcceleratorTable,
38652 &_swigt__p_wxActivateEvent,
38653 &_swigt__p_wxArrayInt,
38654 &_swigt__p_wxArrayString,
38655 &_swigt__p_wxBMPHandler,
38656 &_swigt__p_wxBitmap,
38657 &_swigt__p_wxBitmapButton,
38658 &_swigt__p_wxBookCtrlBase,
38659 &_swigt__p_wxBookCtrlBaseEvent,
38660 &_swigt__p_wxBoxSizer,
38661 &_swigt__p_wxButton,
38662 &_swigt__p_wxCURHandler,
38663 &_swigt__p_wxCheckBox,
38664 &_swigt__p_wxCheckListBox,
38665 &_swigt__p_wxChildFocusEvent,
38666 &_swigt__p_wxChoice,
38667 &_swigt__p_wxChoicebook,
38668 &_swigt__p_wxChoicebookEvent,
38669 &_swigt__p_wxCloseEvent,
38670 &_swigt__p_wxColour,
38671 &_swigt__p_wxComboBox,
38672 &_swigt__p_wxCommandEvent,
38673 &_swigt__p_wxContextHelp,
38674 &_swigt__p_wxContextHelpButton,
38675 &_swigt__p_wxContextMenuEvent,
38676 &_swigt__p_wxControl,
38677 &_swigt__p_wxControlWithItems,
38678 &_swigt__p_wxCursor,
38679 &_swigt__p_wxDC,
38680 &_swigt__p_wxDateEvent,
38681 &_swigt__p_wxDatePickerCtrl,
38682 &_swigt__p_wxDateTime,
38683 &_swigt__p_wxDirFilterListCtrl,
38684 &_swigt__p_wxDisplayChangedEvent,
38685 &_swigt__p_wxDropFilesEvent,
38686 &_swigt__p_wxDuplexMode,
38687 &_swigt__p_wxEraseEvent,
38688 &_swigt__p_wxEvent,
38689 &_swigt__p_wxEvtHandler,
38690 &_swigt__p_wxFSFile,
38691 &_swigt__p_wxFileSystem,
38692 &_swigt__p_wxFlexGridSizer,
38693 &_swigt__p_wxFocusEvent,
38694 &_swigt__p_wxFont,
38695 &_swigt__p_wxGBSizerItem,
38696 &_swigt__p_wxGIFHandler,
38697 &_swigt__p_wxGauge,
38698 &_swigt__p_wxGenericDirCtrl,
38699 &_swigt__p_wxGenericDragImage,
38700 &_swigt__p_wxGridBagSizer,
38701 &_swigt__p_wxGridSizer,
38702 &_swigt__p_wxHelpEvent,
38703 &_swigt__p_wxHelpProvider,
38704 &_swigt__p_wxICOHandler,
38705 &_swigt__p_wxIcon,
38706 &_swigt__p_wxIconizeEvent,
38707 &_swigt__p_wxIdleEvent,
38708 &_swigt__p_wxImage,
38709 &_swigt__p_wxImageHandler,
38710 &_swigt__p_wxImageList,
38711 &_swigt__p_wxIndividualLayoutConstraint,
38712 &_swigt__p_wxInitDialogEvent,
38713 &_swigt__p_wxItemContainer,
38714 &_swigt__p_wxJPEGHandler,
38715 &_swigt__p_wxKeyEvent,
38716 &_swigt__p_wxLayoutConstraints,
38717 &_swigt__p_wxListBox,
38718 &_swigt__p_wxListEvent,
38719 &_swigt__p_wxListItem,
38720 &_swigt__p_wxListItemAttr,
38721 &_swigt__p_wxListView,
38722 &_swigt__p_wxListbook,
38723 &_swigt__p_wxListbookEvent,
38724 &_swigt__p_wxMaximizeEvent,
38725 &_swigt__p_wxMemoryDC,
38726 &_swigt__p_wxMenu,
38727 &_swigt__p_wxMenuBar,
38728 &_swigt__p_wxMenuEvent,
38729 &_swigt__p_wxMenuItem,
38730 &_swigt__p_wxMouseCaptureChangedEvent,
38731 &_swigt__p_wxMouseEvent,
38732 &_swigt__p_wxMoveEvent,
38733 &_swigt__p_wxNavigationKeyEvent,
38734 &_swigt__p_wxNcPaintEvent,
38735 &_swigt__p_wxNotebook,
38736 &_swigt__p_wxNotebookEvent,
38737 &_swigt__p_wxNotifyEvent,
38738 &_swigt__p_wxObject,
38739 &_swigt__p_wxPCXHandler,
38740 &_swigt__p_wxPNGHandler,
38741 &_swigt__p_wxPNMHandler,
38742 &_swigt__p_wxPaintEvent,
38743 &_swigt__p_wxPaletteChangedEvent,
38744 &_swigt__p_wxPaperSize,
38745 &_swigt__p_wxPoint,
38746 &_swigt__p_wxPyApp,
38747 &_swigt__p_wxPyCommandEvent,
38748 &_swigt__p_wxPyControl,
38749 &_swigt__p_wxPyEvent,
38750 &_swigt__p_wxPyImageHandler,
38751 &_swigt__p_wxPyListCtrl,
38752 &_swigt__p_wxPySizer,
38753 &_swigt__p_wxPyTreeCtrl,
38754 &_swigt__p_wxPyTreeItemData,
38755 &_swigt__p_wxPyValidator,
38756 &_swigt__p_wxQueryNewPaletteEvent,
38757 &_swigt__p_wxRadioBox,
38758 &_swigt__p_wxRadioButton,
38759 &_swigt__p_wxRect,
38760 &_swigt__p_wxScrollBar,
38761 &_swigt__p_wxScrollEvent,
38762 &_swigt__p_wxScrollWinEvent,
38763 &_swigt__p_wxSetCursorEvent,
38764 &_swigt__p_wxShowEvent,
38765 &_swigt__p_wxSimpleHelpProvider,
38766 &_swigt__p_wxSize,
38767 &_swigt__p_wxSizeEvent,
38768 &_swigt__p_wxSizer,
38769 &_swigt__p_wxSizerItem,
38770 &_swigt__p_wxSlider,
38771 &_swigt__p_wxSpinButton,
38772 &_swigt__p_wxSpinCtrl,
38773 &_swigt__p_wxSpinEvent,
38774 &_swigt__p_wxStaticBitmap,
38775 &_swigt__p_wxStaticBox,
38776 &_swigt__p_wxStaticBoxSizer,
38777 &_swigt__p_wxStaticLine,
38778 &_swigt__p_wxStaticText,
38779 &_swigt__p_wxStdDialogButtonSizer,
38780 &_swigt__p_wxString,
38781 &_swigt__p_wxSysColourChangedEvent,
38782 &_swigt__p_wxTIFFHandler,
38783 &_swigt__p_wxTextAttr,
38784 &_swigt__p_wxTextCtrl,
38785 &_swigt__p_wxTextUrlEvent,
38786 &_swigt__p_wxToggleButton,
38787 &_swigt__p_wxToolBar,
38788 &_swigt__p_wxToolBarBase,
38789 &_swigt__p_wxToolBarToolBase,
7e08d4ef
RD
38790 &_swigt__p_wxToolbook,
38791 &_swigt__p_wxToolbookEvent,
38792 &_swigt__p_wxTreeCtrl,
7449af73
RD
38793 &_swigt__p_wxTreeEvent,
38794 &_swigt__p_wxTreeItemId,
7e08d4ef
RD
38795 &_swigt__p_wxTreebook,
38796 &_swigt__p_wxTreebookEvent,
7449af73
RD
38797 &_swigt__p_wxUpdateUIEvent,
38798 &_swigt__p_wxValidator,
38799 &_swigt__p_wxVisualAttributes,
38800 &_swigt__p_wxWindow,
38801 &_swigt__p_wxWindowCreateEvent,
38802 &_swigt__p_wxWindowDestroyEvent,
38803 &_swigt__p_wxXPMHandler,
38804 &_swigt__ptrdiff_t,
38805 &_swigt__std__ptrdiff_t,
38806 &_swigt__unsigned_int,
38807};
38808
38809static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
38810static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
38811static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
38812static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
38813static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
38814static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
38815static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38816static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
38817static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
38818static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
38819static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
38820static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
38821static 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
38822static 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}};
38823static 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}};
7449af73
RD
38824static 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}};
38825static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
38826static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
38827static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
38828static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
38829static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38830static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
38831static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
38832static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
38833static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
38834static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
38835static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38836static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38837static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
38838static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
38839static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38840static 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}};
7449af73
RD
38841static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
38842static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38843static 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}};
7449af73
RD
38844static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_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}};
38845static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
38846static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
38847static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
38848static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
38849static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
38850static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
38851static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38852static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
38853static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
38854static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
38855static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
38856static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
38857static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
38858static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
38859static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38860static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38861static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
38862static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38863static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
38864static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38865static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38866static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38867static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38868static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38869static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38870static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
38871static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38872static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
38873static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38874static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38875static 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}};
7449af73
RD
38876static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
38877static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
38878static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
38879static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38880static 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}};
7449af73
RD
38881static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
38882static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
38883static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
38884static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
38885static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
38886static 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}};
38887static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
38888static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
38889static 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}};
38890static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38891static 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}};
38892static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
38893static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
38894static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
38895static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
38896static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
38897static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38898static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
38899static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
38900static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
38901static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38902static 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}};
7449af73
RD
38903static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
38904static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38905static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38906static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
38907static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38908static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38909static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
38910static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
38911static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38912static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38913static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
38914static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
38915static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38916static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38917static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38918static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
38919static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
38920static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
38921static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
38922static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
38923static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
38924static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
38925static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
38926static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38927static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
38928static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38929static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
38930static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
38931static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
38932static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38933static 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}};
7449af73
RD
38934static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
38935static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
38936static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
38937static 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}};
38938static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38939static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
38940static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
38941static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
38942static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
38943static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
38944static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
38945static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
38946static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
38947static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
38948static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
38949static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
38950static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
38951static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
38952static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
38953static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
38954static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
38955static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
38956static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
38957static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
38958static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
38959static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
38960static 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}};
38961static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38962static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
38963static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38964static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38965static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
38966static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38967static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
38968static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38969static 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}};
38970static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38971static 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}};
7449af73
RD
38972static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38973static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38974static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38975
38976static swig_cast_info *swig_cast_initial[] = {
38977 _swigc__p_bool,
38978 _swigc__p_char,
38979 _swigc__p_form_ops_t,
38980 _swigc__p_int,
38981 _swigc__p_long,
38982 _swigc__p_unsigned_char,
38983 _swigc__p_unsigned_int,
38984 _swigc__p_unsigned_long,
38985 _swigc__p_void,
38986 _swigc__p_wxANIHandler,
38987 _swigc__p_wxAcceleratorTable,
38988 _swigc__p_wxActivateEvent,
38989 _swigc__p_wxArrayInt,
38990 _swigc__p_wxArrayString,
38991 _swigc__p_wxBMPHandler,
38992 _swigc__p_wxBitmap,
38993 _swigc__p_wxBitmapButton,
38994 _swigc__p_wxBookCtrlBase,
38995 _swigc__p_wxBookCtrlBaseEvent,
38996 _swigc__p_wxBoxSizer,
38997 _swigc__p_wxButton,
38998 _swigc__p_wxCURHandler,
38999 _swigc__p_wxCheckBox,
39000 _swigc__p_wxCheckListBox,
39001 _swigc__p_wxChildFocusEvent,
39002 _swigc__p_wxChoice,
39003 _swigc__p_wxChoicebook,
39004 _swigc__p_wxChoicebookEvent,
39005 _swigc__p_wxCloseEvent,
39006 _swigc__p_wxColour,
39007 _swigc__p_wxComboBox,
39008 _swigc__p_wxCommandEvent,
39009 _swigc__p_wxContextHelp,
39010 _swigc__p_wxContextHelpButton,
39011 _swigc__p_wxContextMenuEvent,
39012 _swigc__p_wxControl,
39013 _swigc__p_wxControlWithItems,
39014 _swigc__p_wxCursor,
39015 _swigc__p_wxDC,
39016 _swigc__p_wxDateEvent,
39017 _swigc__p_wxDatePickerCtrl,
39018 _swigc__p_wxDateTime,
39019 _swigc__p_wxDirFilterListCtrl,
39020 _swigc__p_wxDisplayChangedEvent,
39021 _swigc__p_wxDropFilesEvent,
39022 _swigc__p_wxDuplexMode,
39023 _swigc__p_wxEraseEvent,
39024 _swigc__p_wxEvent,
39025 _swigc__p_wxEvtHandler,
39026 _swigc__p_wxFSFile,
39027 _swigc__p_wxFileSystem,
39028 _swigc__p_wxFlexGridSizer,
39029 _swigc__p_wxFocusEvent,
39030 _swigc__p_wxFont,
39031 _swigc__p_wxGBSizerItem,
39032 _swigc__p_wxGIFHandler,
39033 _swigc__p_wxGauge,
39034 _swigc__p_wxGenericDirCtrl,
39035 _swigc__p_wxGenericDragImage,
39036 _swigc__p_wxGridBagSizer,
39037 _swigc__p_wxGridSizer,
39038 _swigc__p_wxHelpEvent,
39039 _swigc__p_wxHelpProvider,
39040 _swigc__p_wxICOHandler,
39041 _swigc__p_wxIcon,
39042 _swigc__p_wxIconizeEvent,
39043 _swigc__p_wxIdleEvent,
39044 _swigc__p_wxImage,
39045 _swigc__p_wxImageHandler,
39046 _swigc__p_wxImageList,
39047 _swigc__p_wxIndividualLayoutConstraint,
39048 _swigc__p_wxInitDialogEvent,
39049 _swigc__p_wxItemContainer,
39050 _swigc__p_wxJPEGHandler,
39051 _swigc__p_wxKeyEvent,
39052 _swigc__p_wxLayoutConstraints,
39053 _swigc__p_wxListBox,
39054 _swigc__p_wxListEvent,
39055 _swigc__p_wxListItem,
39056 _swigc__p_wxListItemAttr,
39057 _swigc__p_wxListView,
39058 _swigc__p_wxListbook,
39059 _swigc__p_wxListbookEvent,
39060 _swigc__p_wxMaximizeEvent,
39061 _swigc__p_wxMemoryDC,
39062 _swigc__p_wxMenu,
39063 _swigc__p_wxMenuBar,
39064 _swigc__p_wxMenuEvent,
39065 _swigc__p_wxMenuItem,
39066 _swigc__p_wxMouseCaptureChangedEvent,
39067 _swigc__p_wxMouseEvent,
39068 _swigc__p_wxMoveEvent,
39069 _swigc__p_wxNavigationKeyEvent,
39070 _swigc__p_wxNcPaintEvent,
39071 _swigc__p_wxNotebook,
39072 _swigc__p_wxNotebookEvent,
39073 _swigc__p_wxNotifyEvent,
39074 _swigc__p_wxObject,
39075 _swigc__p_wxPCXHandler,
39076 _swigc__p_wxPNGHandler,
39077 _swigc__p_wxPNMHandler,
39078 _swigc__p_wxPaintEvent,
39079 _swigc__p_wxPaletteChangedEvent,
39080 _swigc__p_wxPaperSize,
39081 _swigc__p_wxPoint,
39082 _swigc__p_wxPyApp,
39083 _swigc__p_wxPyCommandEvent,
39084 _swigc__p_wxPyControl,
39085 _swigc__p_wxPyEvent,
39086 _swigc__p_wxPyImageHandler,
39087 _swigc__p_wxPyListCtrl,
39088 _swigc__p_wxPySizer,
39089 _swigc__p_wxPyTreeCtrl,
39090 _swigc__p_wxPyTreeItemData,
39091 _swigc__p_wxPyValidator,
39092 _swigc__p_wxQueryNewPaletteEvent,
39093 _swigc__p_wxRadioBox,
39094 _swigc__p_wxRadioButton,
39095 _swigc__p_wxRect,
39096 _swigc__p_wxScrollBar,
39097 _swigc__p_wxScrollEvent,
39098 _swigc__p_wxScrollWinEvent,
39099 _swigc__p_wxSetCursorEvent,
39100 _swigc__p_wxShowEvent,
39101 _swigc__p_wxSimpleHelpProvider,
39102 _swigc__p_wxSize,
39103 _swigc__p_wxSizeEvent,
39104 _swigc__p_wxSizer,
39105 _swigc__p_wxSizerItem,
39106 _swigc__p_wxSlider,
39107 _swigc__p_wxSpinButton,
39108 _swigc__p_wxSpinCtrl,
39109 _swigc__p_wxSpinEvent,
39110 _swigc__p_wxStaticBitmap,
39111 _swigc__p_wxStaticBox,
39112 _swigc__p_wxStaticBoxSizer,
39113 _swigc__p_wxStaticLine,
39114 _swigc__p_wxStaticText,
39115 _swigc__p_wxStdDialogButtonSizer,
39116 _swigc__p_wxString,
39117 _swigc__p_wxSysColourChangedEvent,
39118 _swigc__p_wxTIFFHandler,
39119 _swigc__p_wxTextAttr,
39120 _swigc__p_wxTextCtrl,
39121 _swigc__p_wxTextUrlEvent,
39122 _swigc__p_wxToggleButton,
39123 _swigc__p_wxToolBar,
39124 _swigc__p_wxToolBarBase,
39125 _swigc__p_wxToolBarToolBase,
7e08d4ef
RD
39126 _swigc__p_wxToolbook,
39127 _swigc__p_wxToolbookEvent,
39128 _swigc__p_wxTreeCtrl,
7449af73
RD
39129 _swigc__p_wxTreeEvent,
39130 _swigc__p_wxTreeItemId,
7e08d4ef
RD
39131 _swigc__p_wxTreebook,
39132 _swigc__p_wxTreebookEvent,
7449af73
RD
39133 _swigc__p_wxUpdateUIEvent,
39134 _swigc__p_wxValidator,
39135 _swigc__p_wxVisualAttributes,
39136 _swigc__p_wxWindow,
39137 _swigc__p_wxWindowCreateEvent,
39138 _swigc__p_wxWindowDestroyEvent,
39139 _swigc__p_wxXPMHandler,
39140 _swigc__ptrdiff_t,
39141 _swigc__std__ptrdiff_t,
39142 _swigc__unsigned_int,
d55e5bfc
RD
39143};
39144
39145
39146/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39147
39148static swig_const_info swig_const_table[] = {
c32bde28 39149{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
39150
39151#ifdef __cplusplus
39152}
39153#endif
7449af73
RD
39154/*************************************************************************
39155 * Type initialization:
39156 * This problem is tough by the requirement that no dynamic
39157 * memory is used. Also, since swig_type_info structures store pointers to
39158 * swig_cast_info structures and swig_cast_info structures store pointers back
39159 * to swig_type_info structures, we need some lookup code at initialization.
39160 * The idea is that swig generates all the structures that are needed.
39161 * The runtime then collects these partially filled structures.
39162 * The SWIG_InitializeModule function takes these initial arrays out of
39163 * swig_module, and does all the lookup, filling in the swig_module.types
39164 * array with the correct data and linking the correct swig_cast_info
39165 * structures together.
39166
39167 * The generated swig_type_info structures are assigned staticly to an initial
39168 * array. We just loop though that array, and handle each type individually.
39169 * First we lookup if this type has been already loaded, and if so, use the
39170 * loaded structure instead of the generated one. Then we have to fill in the
39171 * cast linked list. The cast data is initially stored in something like a
39172 * two-dimensional array. Each row corresponds to a type (there are the same
39173 * number of rows as there are in the swig_type_initial array). Each entry in
39174 * a column is one of the swig_cast_info structures for that type.
39175 * The cast_initial array is actually an array of arrays, because each row has
39176 * a variable number of columns. So to actually build the cast linked list,
39177 * we find the array of casts associated with the type, and loop through it
39178 * adding the casts to the list. The one last trick we need to do is making
39179 * sure the type pointer in the swig_cast_info struct is correct.
39180
39181 * First off, we lookup the cast->type name to see if it is already loaded.
39182 * There are three cases to handle:
39183 * 1) If the cast->type has already been loaded AND the type we are adding
39184 * casting info to has not been loaded (it is in this module), THEN we
39185 * replace the cast->type pointer with the type pointer that has already
39186 * been loaded.
39187 * 2) If BOTH types (the one we are adding casting info to, and the
39188 * cast->type) are loaded, THEN the cast info has already been loaded by
39189 * the previous module so we just ignore it.
39190 * 3) Finally, if cast->type has not already been loaded, then we add that
39191 * swig_cast_info to the linked list (because the cast->type) pointer will
39192 * be correct.
39193**/
39194
39195#ifdef __cplusplus
39196extern "C" {
39197#if 0
39198} /* c-mode */
39199#endif
39200#endif
39201
39202#if 0
39203#define SWIGRUNTIME_DEBUG
39204#endif
39205
39206SWIGRUNTIME void
39207SWIG_InitializeModule(void *clientdata) {
39208 size_t i;
39209 swig_module_info *module_head;
39210 static int init_run = 0;
39211
39212 clientdata = clientdata;
39213
39214 if (init_run) return;
39215 init_run = 1;
39216
39217 /* Initialize the swig_module */
39218 swig_module.type_initial = swig_type_initial;
39219 swig_module.cast_initial = swig_cast_initial;
39220
39221 /* Try and load any already created modules */
39222 module_head = SWIG_GetModule(clientdata);
39223 if (module_head) {
39224 swig_module.next = module_head->next;
39225 module_head->next = &swig_module;
39226 } else {
39227 /* This is the first module loaded */
39228 swig_module.next = &swig_module;
39229 SWIG_SetModule(clientdata, &swig_module);
39230 }
39231
39232 /* Now work on filling in swig_module.types */
39233#ifdef SWIGRUNTIME_DEBUG
39234 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
39235#endif
39236 for (i = 0; i < swig_module.size; ++i) {
39237 swig_type_info *type = 0;
39238 swig_type_info *ret;
39239 swig_cast_info *cast;
39240
39241#ifdef SWIGRUNTIME_DEBUG
39242 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39243#endif
39244
39245 /* if there is another module already loaded */
39246 if (swig_module.next != &swig_module) {
39247 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
39248 }
39249 if (type) {
39250 /* Overwrite clientdata field */
39251#ifdef SWIGRUNTIME_DEBUG
39252 printf("SWIG_InitializeModule: found type %s\n", type->name);
39253#endif
39254 if (swig_module.type_initial[i]->clientdata) {
39255 type->clientdata = swig_module.type_initial[i]->clientdata;
39256#ifdef SWIGRUNTIME_DEBUG
39257 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
39258#endif
39259 }
39260 } else {
39261 type = swig_module.type_initial[i];
39262 }
39263
39264 /* Insert casting types */
39265 cast = swig_module.cast_initial[i];
39266 while (cast->type) {
39267 /* Don't need to add information already in the list */
39268 ret = 0;
39269#ifdef SWIGRUNTIME_DEBUG
39270 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
39271#endif
39272 if (swig_module.next != &swig_module) {
39273 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
39274#ifdef SWIGRUNTIME_DEBUG
39275 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
39276#endif
39277 }
39278 if (ret) {
39279 if (type == swig_module.type_initial[i]) {
39280#ifdef SWIGRUNTIME_DEBUG
39281 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
39282#endif
39283 cast->type = ret;
39284 ret = 0;
39285 } else {
39286 /* Check for casting already in the list */
39287 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
39288#ifdef SWIGRUNTIME_DEBUG
39289 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
39290#endif
39291 if (!ocast) ret = 0;
39292 }
39293 }
39294
39295 if (!ret) {
39296#ifdef SWIGRUNTIME_DEBUG
39297 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
39298#endif
39299 if (type->cast) {
39300 type->cast->prev = cast;
39301 cast->next = type->cast;
39302 }
39303 type->cast = cast;
39304 }
39305 cast++;
39306 }
39307 /* Set entry in modules->types array equal to the type */
39308 swig_module.types[i] = type;
39309 }
39310 swig_module.types[i] = 0;
39311
39312#ifdef SWIGRUNTIME_DEBUG
39313 printf("**** SWIG_InitializeModule: Cast List ******\n");
39314 for (i = 0; i < swig_module.size; ++i) {
39315 int j = 0;
39316 swig_cast_info *cast = swig_module.cast_initial[i];
39317 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39318 while (cast->type) {
39319 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
39320 cast++;
39321 ++j;
39322 }
39323 printf("---- Total casts: %d\n",j);
39324 }
39325 printf("**** SWIG_InitializeModule: Cast List ******\n");
39326#endif
39327}
39328
39329/* This function will propagate the clientdata field of type to
39330* any new swig_type_info structures that have been added into the list
39331* of equivalent types. It is like calling
39332* SWIG_TypeClientData(type, clientdata) a second time.
39333*/
39334SWIGRUNTIME void
39335SWIG_PropagateClientData(void) {
39336 size_t i;
39337 swig_cast_info *equiv;
39338 static int init_run = 0;
39339
39340 if (init_run) return;
39341 init_run = 1;
39342
39343 for (i = 0; i < swig_module.size; i++) {
39344 if (swig_module.types[i]->clientdata) {
39345 equiv = swig_module.types[i]->cast;
39346 while (equiv) {
39347 if (!equiv->converter) {
39348 if (equiv->type && !equiv->type->clientdata)
39349 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
39350 }
39351 equiv = equiv->next;
39352 }
39353 }
39354 }
39355}
39356
39357#ifdef __cplusplus
39358#if 0
39359{
39360 /* c-mode */
39361#endif
39362}
39363#endif
39364
d55e5bfc 39365
093d3ff1
RD
39366
39367#ifdef __cplusplus
39368extern "C" {
39369#endif
39370
39371 /* Python-specific SWIG API */
39372#define SWIG_newvarlink() SWIG_Python_newvarlink()
39373#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39374#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39375
39376 /* -----------------------------------------------------------------------------
39377 * global variable support code.
39378 * ----------------------------------------------------------------------------- */
39379
39380 typedef struct swig_globalvar {
39381 char *name; /* Name of global variable */
7449af73 39382 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
39383 int (*set_attr)(PyObject *); /* Set the value */
39384 struct swig_globalvar *next;
39385 } swig_globalvar;
39386
39387 typedef struct swig_varlinkobject {
39388 PyObject_HEAD
39389 swig_globalvar *vars;
39390 } swig_varlinkobject;
39391
7449af73 39392 SWIGINTERN PyObject *
093d3ff1
RD
39393 swig_varlink_repr(swig_varlinkobject *v) {
39394 v = v;
39395 return PyString_FromString("<Swig global variables>");
39396 }
39397
7449af73 39398 SWIGINTERN int
093d3ff1
RD
39399 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
39400 swig_globalvar *var;
39401 flags = flags;
39402 fprintf(fp,"Swig global variables { ");
39403 for (var = v->vars; var; var=var->next) {
39404 fprintf(fp,"%s", var->name);
39405 if (var->next) fprintf(fp,", ");
39406 }
39407 fprintf(fp," }\n");
39408 return 0;
39409 }
39410
7449af73 39411 SWIGINTERN PyObject *
093d3ff1
RD
39412 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
39413 swig_globalvar *var = v->vars;
39414 while (var) {
39415 if (strcmp(var->name,n) == 0) {
39416 return (*var->get_attr)();
39417 }
39418 var = var->next;
39419 }
39420 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39421 return NULL;
39422 }
39423
7449af73 39424 SWIGINTERN int
093d3ff1
RD
39425 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
39426 swig_globalvar *var = v->vars;
39427 while (var) {
39428 if (strcmp(var->name,n) == 0) {
39429 return (*var->set_attr)(p);
39430 }
39431 var = var->next;
39432 }
39433 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39434 return 1;
39435 }
39436
7449af73
RD
39437 SWIGINTERN PyTypeObject*
39438 swig_varlink_type(void) {
39439 static char varlink__doc__[] = "Swig var link object";
39440 static PyTypeObject varlink_type
39441#if !defined(__cplusplus)
39442 ;
39443 static int type_init = 0;
39444 if (!type_init) {
39445 PyTypeObject tmp
39446#endif
39447 = {
39448 PyObject_HEAD_INIT(&PyType_Type)
39449 0, /* Number of items in variable part (ob_size) */
39450 (char *)"swigvarlink", /* Type name (tp_name) */
39451 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
39452 0, /* Itemsize (tp_itemsize) */
39453 0, /* Deallocator (tp_dealloc) */
39454 (printfunc) swig_varlink_print, /* Print (tp_print) */
39455 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
39456 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
39457 0, /* tp_compare */
39458 (reprfunc) swig_varlink_repr, /* tp_repr */
39459 0, /* tp_as_number */
39460 0, /* tp_as_sequence */
39461 0, /* tp_as_mapping */
39462 0, /* tp_hash */
39463 0, /* tp_call */
39464 0, /* tp_str */
39465 0, /* tp_getattro */
39466 0, /* tp_setattro */
39467 0, /* tp_as_buffer */
39468 0, /* tp_flags */
39469 varlink__doc__, /* tp_doc */
093d3ff1 39470#if PY_VERSION_HEX >= 0x02000000
7449af73
RD
39471 0, /* tp_traverse */
39472 0, /* tp_clear */
093d3ff1
RD
39473#endif
39474#if PY_VERSION_HEX >= 0x02010000
7449af73
RD
39475 0, /* tp_richcompare */
39476 0, /* tp_weaklistoffset */
093d3ff1
RD
39477#endif
39478#if PY_VERSION_HEX >= 0x02020000
7449af73 39479 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
39480#endif
39481#if PY_VERSION_HEX >= 0x02030000
7449af73 39482 0, /* tp_del */
093d3ff1
RD
39483#endif
39484#ifdef COUNT_ALLOCS
7449af73 39485 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 39486#endif
7449af73
RD
39487 };
39488#if !defined(__cplusplus)
39489 varlink_type = tmp;
39490 type_init = 1;
39491 }
39492#endif
39493 return &varlink_type;
39494 }
093d3ff1
RD
39495
39496 /* Create a variable linking object for use later */
7449af73 39497 SWIGINTERN PyObject *
093d3ff1 39498 SWIG_Python_newvarlink(void) {
7449af73
RD
39499 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
39500 if (result) {
39501 result->vars = 0;
39502 }
093d3ff1
RD
39503 return ((PyObject*) result);
39504 }
39505
7449af73 39506 SWIGINTERN void
093d3ff1 39507 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
7449af73
RD
39508 swig_varlinkobject *v = (swig_varlinkobject *) p;
39509 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
39510 if (gv) {
39511 size_t size = strlen(name)+1;
39512 gv->name = (char *)malloc(size);
39513 if (gv->name) {
39514 strncpy(gv->name,name,size);
39515 gv->get_attr = get_attr;
39516 gv->set_attr = set_attr;
39517 gv->next = v->vars;
39518 }
39519 }
093d3ff1
RD
39520 v->vars = gv;
39521 }
39522
39523 /* -----------------------------------------------------------------------------
39524 * constants/methods manipulation
39525 * ----------------------------------------------------------------------------- */
39526
39527 /* Install Constants */
7449af73 39528 SWIGINTERN void
093d3ff1
RD
39529 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
39530 PyObject *obj = 0;
39531 size_t i;
7449af73 39532 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
39533 switch(constants[i].type) {
39534 case SWIG_PY_INT:
39535 obj = PyInt_FromLong(constants[i].lvalue);
39536 break;
39537 case SWIG_PY_FLOAT:
39538 obj = PyFloat_FromDouble(constants[i].dvalue);
39539 break;
39540 case SWIG_PY_STRING:
39541 if (constants[i].pvalue) {
39542 obj = PyString_FromString((char *) constants[i].pvalue);
39543 } else {
39544 Py_INCREF(Py_None);
39545 obj = Py_None;
39546 }
39547 break;
39548 case SWIG_PY_POINTER:
39549 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
39550 break;
39551 case SWIG_PY_BINARY:
39552 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
39553 break;
39554 default:
39555 obj = 0;
39556 break;
39557 }
39558 if (obj) {
39559 PyDict_SetItemString(d,constants[i].name,obj);
39560 Py_DECREF(obj);
39561 }
39562 }
39563 }
39564
39565 /* -----------------------------------------------------------------------------*/
39566 /* Fix SwigMethods to carry the callback ptrs when needed */
39567 /* -----------------------------------------------------------------------------*/
39568
7449af73 39569 SWIGINTERN void
093d3ff1
RD
39570 SWIG_Python_FixMethods(PyMethodDef *methods,
39571 swig_const_info *const_table,
39572 swig_type_info **types,
39573 swig_type_info **types_initial) {
39574 size_t i;
39575 for (i = 0; methods[i].ml_name; ++i) {
39576 char *c = methods[i].ml_doc;
39577 if (c && (c = strstr(c, "swig_ptr: "))) {
39578 int j;
39579 swig_const_info *ci = 0;
39580 char *name = c + 10;
7449af73 39581 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
39582 if (strncmp(const_table[j].name, name,
39583 strlen(const_table[j].name)) == 0) {
39584 ci = &(const_table[j]);
39585 break;
39586 }
39587 }
39588 if (ci) {
39589 size_t shift = (ci->ptype) - types;
39590 swig_type_info *ty = types_initial[shift];
39591 size_t ldoc = (c - methods[i].ml_doc);
39592 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
39593 char *ndoc = (char*)malloc(ldoc + lptr + 10);
7449af73
RD
39594 if (ndoc) {
39595 char *buff = ndoc;
39596 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
39597 if (ptr) {
39598 strncpy(buff, methods[i].ml_doc, ldoc);
39599 buff += ldoc;
39600 strncpy(buff, "swig_ptr: ", 10);
39601 buff += 10;
39602 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
39603 methods[i].ml_doc = ndoc;
39604 }
39605 }
093d3ff1
RD
39606 }
39607 }
39608 }
39609 }
39610
39611 /* -----------------------------------------------------------------------------*
39612 * Initialize type list
39613 * -----------------------------------------------------------------------------*/
39614
093d3ff1
RD
39615#ifdef __cplusplus
39616}
39617#endif
39618
39619/* -----------------------------------------------------------------------------*
39620 * Partial Init method
39621 * -----------------------------------------------------------------------------*/
39622
d55e5bfc
RD
39623#ifdef __cplusplus
39624extern "C"
39625#endif
7449af73 39626SWIGEXPORT void SWIG_init(void) {
d55e5bfc 39627 static PyObject *SWIG_globals = 0;
d55e5bfc 39628 PyObject *m, *d;
d55e5bfc 39629 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
39630
39631 /* Fix SwigMethods to carry the callback ptrs when needed */
7449af73 39632 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 39633
d55e5bfc
RD
39634 m = Py_InitModule((char *) SWIG_name, SwigMethods);
39635 d = PyModule_GetDict(m);
39636
7449af73 39637 SWIG_InitializeModule(0);
d55e5bfc
RD
39638 SWIG_InstallConstants(d,swig_const_table);
39639
39640 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
39641 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1 39642 {
7449af73 39643 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
093d3ff1
RD
39644 }
39645 {
7449af73 39646 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
093d3ff1
RD
39647 }
39648 {
7449af73 39649 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
093d3ff1
RD
39650 }
39651 {
7449af73 39652 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
093d3ff1
RD
39653 }
39654 {
7449af73 39655 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
093d3ff1
RD
39656 }
39657 {
7449af73 39658 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
093d3ff1
RD
39659 }
39660 {
7449af73 39661 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
093d3ff1 39662 }
d55e5bfc 39663 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1 39664 {
7449af73 39665 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
093d3ff1
RD
39666 }
39667 {
7449af73 39668 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
093d3ff1
RD
39669 }
39670 {
7449af73 39671 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
093d3ff1
RD
39672 }
39673 {
7449af73 39674 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
093d3ff1
RD
39675 }
39676 {
7449af73 39677 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
093d3ff1
RD
39678 }
39679 {
7449af73 39680 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
093d3ff1 39681 }
d55e5bfc
RD
39682 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
39683 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
39684 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1 39685 {
7449af73 39686 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
093d3ff1
RD
39687 }
39688 {
7449af73 39689 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
093d3ff1
RD
39690 }
39691 {
7449af73 39692 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
093d3ff1
RD
39693 }
39694 {
7449af73 39695 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
093d3ff1 39696 }
d55e5bfc
RD
39697 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
39698 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
39699 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
39700 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
39701 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1 39702 {
7449af73 39703 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
093d3ff1
RD
39704 }
39705 {
7449af73 39706 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
093d3ff1
RD
39707 }
39708 {
7449af73 39709 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
093d3ff1
RD
39710 }
39711 {
7449af73 39712 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
093d3ff1
RD
39713 }
39714 {
7449af73 39715 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
093d3ff1
RD
39716 }
39717 {
7449af73 39718 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
093d3ff1
RD
39719 }
39720 {
7449af73 39721 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
093d3ff1
RD
39722 }
39723 {
7449af73 39724 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
093d3ff1
RD
39725 }
39726 {
7449af73 39727 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
093d3ff1
RD
39728 }
39729 {
7449af73 39730 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
093d3ff1
RD
39731 }
39732 {
7449af73 39733 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
093d3ff1
RD
39734 }
39735 {
7449af73 39736 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
093d3ff1
RD
39737 }
39738 {
7449af73 39739 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
093d3ff1
RD
39740 }
39741 {
7449af73 39742 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
093d3ff1
RD
39743 }
39744 {
7449af73 39745 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
093d3ff1
RD
39746 }
39747 {
7449af73 39748 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
093d3ff1
RD
39749 }
39750 {
7449af73 39751 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
093d3ff1 39752 }
08d9e66e 39753 {
7449af73 39754 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
08d9e66e
RD
39755 }
39756 {
7449af73 39757 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
08d9e66e 39758 }
093d3ff1 39759 {
7449af73 39760 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
093d3ff1 39761 }
88c6b281 39762 {
7449af73 39763 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
88c6b281 39764 }
093d3ff1 39765 {
7449af73 39766 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
093d3ff1
RD
39767 }
39768 {
7449af73 39769 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
093d3ff1
RD
39770 }
39771 {
7449af73 39772 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
093d3ff1
RD
39773 }
39774 {
7449af73 39775 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
093d3ff1
RD
39776 }
39777 {
7449af73 39778 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
093d3ff1
RD
39779 }
39780 {
7449af73 39781 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
093d3ff1
RD
39782 }
39783 {
7449af73 39784 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
093d3ff1
RD
39785 }
39786 {
7449af73 39787 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
093d3ff1
RD
39788 }
39789 {
7449af73 39790 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
093d3ff1
RD
39791 }
39792 {
7449af73 39793 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
093d3ff1
RD
39794 }
39795 {
7449af73 39796 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
093d3ff1
RD
39797 }
39798 {
7449af73 39799 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
093d3ff1
RD
39800 }
39801 {
7449af73 39802 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
093d3ff1
RD
39803 }
39804 {
7449af73 39805 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
093d3ff1
RD
39806 }
39807 {
7449af73 39808 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
093d3ff1
RD
39809 }
39810 {
7449af73 39811 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
093d3ff1
RD
39812 }
39813 {
7449af73 39814 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
093d3ff1
RD
39815 }
39816 {
7449af73 39817 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
093d3ff1
RD
39818 }
39819 {
7449af73 39820 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
093d3ff1
RD
39821 }
39822 {
7449af73 39823 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
093d3ff1
RD
39824 }
39825 {
7449af73 39826 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
093d3ff1
RD
39827 }
39828 {
7449af73 39829 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
093d3ff1
RD
39830 }
39831 {
7449af73 39832 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
093d3ff1 39833 }
fef4c27a 39834 {
7449af73 39835 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
fef4c27a
RD
39836 }
39837 {
7449af73 39838 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
fef4c27a 39839 }
d55e5bfc
RD
39840 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
39841 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
39842 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
39843 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
39844 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
39845 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
39846 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1 39847 {
7449af73 39848 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
093d3ff1
RD
39849 }
39850 {
7449af73 39851 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
093d3ff1
RD
39852 }
39853 {
7449af73 39854 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
093d3ff1
RD
39855 }
39856 {
7449af73 39857 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
093d3ff1 39858 }
d55e5bfc
RD
39859 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
39860 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
39861 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
39862 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a 39863 {
7449af73 39864 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
fef4c27a
RD
39865 }
39866 {
7449af73 39867 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
fef4c27a 39868 }
70b7a5fe 39869 {
7449af73 39870 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
70b7a5fe 39871 }
fef4c27a 39872 {
7449af73 39873 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
fef4c27a
RD
39874 }
39875 {
7449af73 39876 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
fef4c27a
RD
39877 }
39878 {
7449af73 39879 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
fef4c27a
RD
39880 }
39881 {
7449af73 39882 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
fef4c27a
RD
39883 }
39884 {
7449af73 39885 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
fef4c27a
RD
39886 }
39887 {
7449af73 39888 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
fef4c27a
RD
39889 }
39890 {
7449af73 39891 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
fef4c27a
RD
39892 }
39893 {
7449af73 39894 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
fef4c27a
RD
39895 }
39896 {
7449af73 39897 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
fef4c27a 39898 }
d55e5bfc
RD
39899 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
39900 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 39901 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
7e08d4ef
RD
39902 {
39903 PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
39904 }
39905 {
39906 PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
39907 }
39908 {
39909 PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
39910 }
39911 {
39912 PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
39913 }
39914 {
39915 PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
39916 }
39917 {
39918 PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
39919 }
093d3ff1 39920 {
7449af73 39921 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
093d3ff1
RD
39922 }
39923 {
7449af73 39924 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
093d3ff1
RD
39925 }
39926 {
7449af73 39927 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
093d3ff1
RD
39928 }
39929 {
7449af73 39930 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
093d3ff1
RD
39931 }
39932 {
7449af73 39933 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
093d3ff1
RD
39934 }
39935 {
7449af73 39936 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
093d3ff1 39937 }
091fdbfa 39938 {
7449af73 39939 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
091fdbfa 39940 }
093d3ff1 39941 {
7449af73 39942 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
093d3ff1
RD
39943 }
39944 {
7449af73 39945 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
093d3ff1
RD
39946 }
39947 {
7449af73 39948 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
093d3ff1
RD
39949 }
39950 {
7449af73 39951 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
093d3ff1 39952 }
d55e5bfc
RD
39953 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
39954 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1 39955 {
7449af73 39956 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
093d3ff1
RD
39957 }
39958 {
7449af73 39959 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
093d3ff1
RD
39960 }
39961 {
7449af73 39962 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
093d3ff1
RD
39963 }
39964 {
7449af73 39965 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
093d3ff1
RD
39966 }
39967 {
7449af73 39968 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
093d3ff1
RD
39969 }
39970 {
7449af73 39971 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
093d3ff1 39972 }
d55e5bfc
RD
39973 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
39974 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1 39975 {
7449af73 39976 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
093d3ff1
RD
39977 }
39978 {
7449af73 39979 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
093d3ff1
RD
39980 }
39981 {
7449af73 39982 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
093d3ff1
RD
39983 }
39984 {
7449af73 39985 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
093d3ff1
RD
39986 }
39987 {
7449af73 39988 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
093d3ff1
RD
39989 }
39990 {
7449af73 39991 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
093d3ff1 39992 }
ae8162c8
RD
39993 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
39994 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
7e08d4ef
RD
39995 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
39996 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
39997 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
39998 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
39999 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
40000 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
093d3ff1 40001 {
7449af73 40002 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
093d3ff1
RD
40003 }
40004 {
7449af73 40005 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
093d3ff1
RD
40006 }
40007 {
7449af73 40008 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
093d3ff1
RD
40009 }
40010 {
7449af73 40011 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
093d3ff1
RD
40012 }
40013 {
7449af73 40014 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
093d3ff1
RD
40015 }
40016 {
7449af73 40017 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
093d3ff1
RD
40018 }
40019 {
7449af73 40020 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
093d3ff1
RD
40021 }
40022 {
7449af73 40023 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
093d3ff1
RD
40024 }
40025 {
7449af73 40026 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
093d3ff1
RD
40027 }
40028 {
7449af73 40029 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
093d3ff1
RD
40030 }
40031 {
7449af73 40032 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
093d3ff1
RD
40033 }
40034 {
7449af73 40035 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
093d3ff1
RD
40036 }
40037 {
7449af73 40038 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
093d3ff1
RD
40039 }
40040 {
7449af73 40041 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
093d3ff1 40042 }
d55e5bfc 40043 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1 40044 {
7449af73 40045 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
093d3ff1
RD
40046 }
40047 {
7449af73 40048 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
093d3ff1
RD
40049 }
40050 {
7449af73 40051 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
093d3ff1
RD
40052 }
40053 {
7449af73 40054 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
093d3ff1
RD
40055 }
40056 {
7449af73 40057 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
093d3ff1
RD
40058 }
40059 {
7449af73 40060 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
093d3ff1
RD
40061 }
40062 {
7449af73 40063 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
093d3ff1
RD
40064 }
40065 {
7449af73 40066 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
093d3ff1
RD
40067 }
40068 {
7449af73 40069 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
093d3ff1
RD
40070 }
40071 {
7449af73 40072 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
093d3ff1
RD
40073 }
40074 {
7449af73 40075 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
093d3ff1
RD
40076 }
40077 {
7449af73 40078 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
093d3ff1
RD
40079 }
40080 {
7449af73 40081 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
093d3ff1
RD
40082 }
40083 {
7449af73 40084 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
093d3ff1
RD
40085 }
40086 {
7449af73 40087 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
093d3ff1
RD
40088 }
40089 {
7449af73 40090 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
093d3ff1
RD
40091 }
40092 {
7449af73 40093 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
093d3ff1
RD
40094 }
40095 {
7449af73 40096 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
093d3ff1
RD
40097 }
40098 {
7449af73 40099 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
093d3ff1
RD
40100 }
40101 {
7449af73 40102 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
093d3ff1
RD
40103 }
40104 {
7449af73 40105 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
093d3ff1
RD
40106 }
40107 {
7449af73 40108 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
093d3ff1
RD
40109 }
40110 {
7449af73 40111 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
093d3ff1
RD
40112 }
40113 {
7449af73 40114 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
093d3ff1
RD
40115 }
40116 {
7449af73 40117 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
093d3ff1
RD
40118 }
40119 {
7449af73 40120 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
093d3ff1
RD
40121 }
40122 {
7449af73 40123 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
093d3ff1
RD
40124 }
40125 {
7449af73 40126 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
093d3ff1
RD
40127 }
40128 {
7449af73 40129 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
093d3ff1
RD
40130 }
40131 {
7449af73 40132 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
093d3ff1
RD
40133 }
40134 {
7449af73 40135 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
093d3ff1
RD
40136 }
40137 {
7449af73 40138 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
093d3ff1
RD
40139 }
40140 {
7449af73 40141 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
093d3ff1
RD
40142 }
40143 {
7449af73 40144 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
093d3ff1
RD
40145 }
40146 {
7449af73 40147 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
093d3ff1
RD
40148 }
40149 {
7449af73 40150 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
093d3ff1
RD
40151 }
40152 {
7449af73 40153 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
093d3ff1
RD
40154 }
40155 {
7449af73 40156 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
093d3ff1
RD
40157 }
40158 {
7449af73 40159 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
093d3ff1
RD
40160 }
40161 {
7449af73 40162 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
093d3ff1
RD
40163 }
40164 {
7449af73 40165 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
093d3ff1
RD
40166 }
40167 {
7449af73 40168 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
093d3ff1
RD
40169 }
40170 {
7449af73 40171 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
093d3ff1
RD
40172 }
40173 {
7449af73 40174 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
093d3ff1
RD
40175 }
40176 {
7449af73 40177 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
093d3ff1
RD
40178 }
40179 {
7449af73 40180 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
093d3ff1
RD
40181 }
40182 {
7449af73 40183 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
093d3ff1
RD
40184 }
40185 {
7449af73 40186 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
093d3ff1
RD
40187 }
40188 {
7449af73 40189 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
093d3ff1
RD
40190 }
40191 {
7449af73 40192 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
093d3ff1
RD
40193 }
40194 {
7449af73 40195 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
093d3ff1
RD
40196 }
40197 {
7449af73 40198 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
093d3ff1
RD
40199 }
40200 {
7449af73 40201 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
093d3ff1
RD
40202 }
40203 {
7449af73 40204 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
093d3ff1
RD
40205 }
40206 {
7449af73 40207 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
093d3ff1
RD
40208 }
40209 {
7449af73 40210 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
093d3ff1
RD
40211 }
40212 {
7449af73 40213 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
093d3ff1
RD
40214 }
40215 {
7449af73 40216 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
093d3ff1
RD
40217 }
40218 {
7449af73 40219 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
093d3ff1
RD
40220 }
40221 {
7449af73 40222 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
093d3ff1
RD
40223 }
40224 {
7449af73 40225 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
093d3ff1
RD
40226 }
40227 {
7449af73 40228 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
093d3ff1
RD
40229 }
40230 {
7449af73 40231 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
093d3ff1
RD
40232 }
40233 {
7449af73 40234 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
093d3ff1
RD
40235 }
40236 {
7449af73 40237 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
093d3ff1
RD
40238 }
40239 {
7449af73 40240 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
093d3ff1
RD
40241 }
40242 {
7449af73 40243 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
093d3ff1
RD
40244 }
40245 {
7449af73 40246 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
093d3ff1 40247 }
d55e5bfc
RD
40248 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
40249 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
40250 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
40251 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
40252 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
40253 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
40254 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
40255 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
40256 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
40257 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
40258 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
40259 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
40260 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
40261 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
40262 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
40263 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
40264 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
40265 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
40266 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
40267 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
40268
40269 // Map renamed classes back to their common name for OOR
40270 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40271
40272 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1 40273 {
7449af73 40274 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
093d3ff1
RD
40275 }
40276 {
7449af73 40277 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
093d3ff1
RD
40278 }
40279 {
7449af73 40280 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
093d3ff1
RD
40281 }
40282 {
7449af73 40283 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
093d3ff1
RD
40284 }
40285 {
7449af73 40286 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
093d3ff1
RD
40287 }
40288 {
7449af73 40289 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
093d3ff1
RD
40290 }
40291 {
7449af73 40292 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
093d3ff1
RD
40293 }
40294 {
7449af73 40295 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
093d3ff1
RD
40296 }
40297 {
7449af73 40298 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
093d3ff1
RD
40299 }
40300 {
7449af73 40301 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
093d3ff1
RD
40302 }
40303 {
7449af73 40304 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
093d3ff1
RD
40305 }
40306 {
7449af73 40307 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
093d3ff1
RD
40308 }
40309 {
7449af73 40310 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
093d3ff1
RD
40311 }
40312 {
7449af73 40313 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
093d3ff1
RD
40314 }
40315 {
7449af73 40316 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
093d3ff1
RD
40317 }
40318 {
7449af73 40319 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
093d3ff1
RD
40320 }
40321 {
7449af73 40322 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
093d3ff1
RD
40323 }
40324 {
7449af73 40325 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
093d3ff1
RD
40326 }
40327 {
7449af73 40328 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
093d3ff1
RD
40329 }
40330 {
7449af73 40331 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
093d3ff1
RD
40332 }
40333 {
7449af73 40334 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
093d3ff1
RD
40335 }
40336 {
7449af73 40337 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
093d3ff1
RD
40338 }
40339 {
7449af73 40340 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
093d3ff1
RD
40341 }
40342 {
7449af73 40343 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
093d3ff1
RD
40344 }
40345 {
7449af73 40346 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
093d3ff1
RD
40347 }
40348 {
7449af73 40349 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
093d3ff1
RD
40350 }
40351 {
7449af73 40352 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
093d3ff1
RD
40353 }
40354 {
7449af73 40355 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
093d3ff1
RD
40356 }
40357 {
7449af73 40358 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
093d3ff1
RD
40359 }
40360 {
7449af73 40361 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
093d3ff1
RD
40362 }
40363 {
7449af73 40364 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
093d3ff1
RD
40365 }
40366 {
7449af73 40367 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
093d3ff1
RD
40368 }
40369 {
7449af73 40370 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
093d3ff1
RD
40371 }
40372 {
7449af73 40373 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
093d3ff1
RD
40374 }
40375 {
7449af73 40376 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
093d3ff1 40377 }
d55e5bfc
RD
40378 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
40379 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
40380 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
40381 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
40382 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
40383 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
40384 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
40385 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
40386 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
40387 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
40388 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
40389 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
40390 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
40391 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
40392 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
40393 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
40394 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
40395 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
40396 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
40397 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 40398 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
40399
40400 // Map renamed classes back to their common name for OOR
40401 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40402 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40403
40404 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1 40405 {
7449af73 40406 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
093d3ff1
RD
40407 }
40408 {
7449af73 40409 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
093d3ff1
RD
40410 }
40411 {
7449af73 40412 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
093d3ff1
RD
40413 }
40414 {
7449af73 40415 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
093d3ff1
RD
40416 }
40417 {
7449af73 40418 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
093d3ff1
RD
40419 }
40420 {
7449af73 40421 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
093d3ff1
RD
40422 }
40423 {
7449af73 40424 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
093d3ff1 40425 }
d55e5bfc
RD
40426 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
40427 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
40428
40429 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40430
53aa7709
RD
40431 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
40432 {
7449af73 40433 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
53aa7709
RD
40434 }
40435 {
7449af73 40436 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
53aa7709
RD
40437 }
40438 {
7449af73 40439 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
53aa7709
RD
40440 }
40441 {
7449af73 40442 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
53aa7709
RD
40443 }
40444 {
7449af73 40445 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
53aa7709 40446 }
d55e5bfc
RD
40447}
40448