]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 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);
36ed4f51 26};
d55e5bfc
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d55e5bfc 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
42# endif
43#endif
d55e5bfc 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
d55e5bfc 96
36ed4f51 97#include <Python.h>
d55e5bfc
RD
98
99/***********************************************************************
36ed4f51 100 * swigrun.swg
d55e5bfc 101 *
36ed4f51
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d55e5bfc
RD
104 *
105 ************************************************************************/
106
36ed4f51
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 110
36ed4f51
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
36ed4f51 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
36ed4f51 131#endif
32fe5131 132
36ed4f51 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
135#endif
136
32fe5131
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
32fe5131 146/* Structure to store inforomation on one type */
d55e5bfc 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d55e5bfc
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
36ed4f51
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
36ed4f51
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
36ed4f51 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
36ed4f51 228 }
32fe5131 229 return equiv;
36ed4f51
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
36ed4f51
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
36ed4f51 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
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
36ed4f51
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
36ed4f51
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
36ed4f51 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
36ed4f51 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
36ed4f51 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
36ed4f51
RD
417}
418
32fe5131 419
36ed4f51
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
36ed4f51 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
36ed4f51
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
36ed4f51 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
36ed4f51
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
36ed4f51
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
36ed4f51
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
36ed4f51
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d55e5bfc 526
36ed4f51
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c370783e 530
36ed4f51
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d55e5bfc 534
36ed4f51 535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
36ed4f51 537#endif
d55e5bfc 538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51 541#endif
d55e5bfc 542
36ed4f51
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
36ed4f51
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
c370783e 580
36ed4f51
RD
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
c370783e
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
36ed4f51
RD
589}
590#endif
d55e5bfc 591
d55e5bfc 592
36ed4f51
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
36ed4f51
RD
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
d55e5bfc 608
36ed4f51
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
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 616
36ed4f51
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
36ed4f51
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 632
d55e5bfc 633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
36ed4f51
RD
639#ifdef __cplusplus
640extern "C" {
641#endif
d55e5bfc 642
36ed4f51
RD
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
36ed4f51
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
d55e5bfc 649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
36ed4f51
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
36ed4f51
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{
36ed4f51 685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
36ed4f51
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 }
36ed4f51
RD
693}
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
697{
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
701}
702
36ed4f51
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
36ed4f51
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
d55e5bfc 713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
36ed4f51
RD
731}
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
735{
32fe5131 736 return PySwigObject_format("%o",v);
d55e5bfc
RD
737}
738
36ed4f51
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
32fe5131 742 return PySwigObject_format("%x",v);
36ed4f51 743}
d55e5bfc 744
36ed4f51
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
c370783e 751 } else {
36ed4f51
RD
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c370783e 755 }
d55e5bfc 756}
36ed4f51
RD
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
c370783e 760{
32fe5131 761 PyObject_Del(self);
c370783e 762}
36ed4f51
RD
763
764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
36ed4f51
RD
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
36ed4f51 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
36ed4f51 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
36ed4f51
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
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
36ed4f51
RD
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
36ed4f51
RD
849 type_init = 1;
850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
36ed4f51
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
36ed4f51
RD
863 return (PyObject *)self;
864}
865
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
871
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
877
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
883
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
36ed4f51
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919}
920
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
36ed4f51
RD
929 }
930}
931
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
36ed4f51
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944}
945
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
32fe5131 950 PyObject_Del(self);
36ed4f51
RD
951}
952
953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
36ed4f51 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
36ed4f51 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
36ed4f51
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
36ed4f51
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
36ed4f51
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
36ed4f51
RD
1028 }
1029}
1030
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
1045
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
1051
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
32fe5131 1096 Py_XDECREF(str);
36ed4f51
RD
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104}
1105
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
1115
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
1140
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
1153
1154
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
36ed4f51
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
36ed4f51
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:
36ed4f51
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 }
36ed4f51
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
1249
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262}
1263
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
36ed4f51
RD
1268 const char *c = 0;
1269
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
36ed4f51
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
36ed4f51
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
36ed4f51
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 }
36ed4f51 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
36ed4f51
RD
1381}
1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
36ed4f51 1412}
32fe5131 1413#endif
36ed4f51 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
36ed4f51
RD
1426
1427#ifdef __cplusplus
1428}
1429#endif
1430
1431
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
32fe5131
RD
1434#define SWIGTYPE_p_bool swig_types[0]
1435#define SWIGTYPE_p_char swig_types[1]
1436#define SWIGTYPE_p_form_ops_t swig_types[2]
1437#define SWIGTYPE_p_int swig_types[3]
1438#define SWIGTYPE_p_long swig_types[4]
1439#define SWIGTYPE_p_unsigned_char swig_types[5]
1440#define SWIGTYPE_p_unsigned_int swig_types[6]
1441#define SWIGTYPE_p_unsigned_long swig_types[7]
1442#define SWIGTYPE_p_void swig_types[8]
1443#define SWIGTYPE_p_wxANIHandler swig_types[9]
1444#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445#define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446#define SWIGTYPE_p_wxArrayInt swig_types[12]
1447#define SWIGTYPE_p_wxArrayString swig_types[13]
1448#define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449#define SWIGTYPE_p_wxBitmap swig_types[15]
1450#define SWIGTYPE_p_wxBitmapButton swig_types[16]
1451#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1452#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1453#define SWIGTYPE_p_wxBoxSizer swig_types[19]
1454#define SWIGTYPE_p_wxButton swig_types[20]
1455#define SWIGTYPE_p_wxCURHandler swig_types[21]
1456#define SWIGTYPE_p_wxCheckBox swig_types[22]
1457#define SWIGTYPE_p_wxCheckListBox swig_types[23]
1458#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1459#define SWIGTYPE_p_wxChoice swig_types[25]
1460#define SWIGTYPE_p_wxChoicebook swig_types[26]
1461#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1462#define SWIGTYPE_p_wxCloseEvent swig_types[28]
1463#define SWIGTYPE_p_wxColour swig_types[29]
1464#define SWIGTYPE_p_wxComboBox swig_types[30]
1465#define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466#define SWIGTYPE_p_wxContextHelp swig_types[32]
1467#define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468#define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469#define SWIGTYPE_p_wxControl swig_types[35]
1470#define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471#define SWIGTYPE_p_wxCursor swig_types[37]
1472#define SWIGTYPE_p_wxDC swig_types[38]
1473#define SWIGTYPE_p_wxDateEvent swig_types[39]
1474#define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1475#define SWIGTYPE_p_wxDateTime swig_types[41]
1476#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1477#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1478#define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1479#define SWIGTYPE_p_wxDuplexMode swig_types[45]
1480#define SWIGTYPE_p_wxEraseEvent swig_types[46]
1481#define SWIGTYPE_p_wxEvent swig_types[47]
1482#define SWIGTYPE_p_wxEvtHandler swig_types[48]
1483#define SWIGTYPE_p_wxFSFile swig_types[49]
1484#define SWIGTYPE_p_wxFileSystem swig_types[50]
1485#define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1486#define SWIGTYPE_p_wxFocusEvent swig_types[52]
1487#define SWIGTYPE_p_wxFont swig_types[53]
1488#define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1489#define SWIGTYPE_p_wxGIFHandler swig_types[55]
1490#define SWIGTYPE_p_wxGauge swig_types[56]
1491#define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1492#define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1493#define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1494#define SWIGTYPE_p_wxGridSizer swig_types[60]
1495#define SWIGTYPE_p_wxHelpEvent swig_types[61]
1496#define SWIGTYPE_p_wxHelpProvider swig_types[62]
1497#define SWIGTYPE_p_wxICOHandler swig_types[63]
1498#define SWIGTYPE_p_wxIcon swig_types[64]
1499#define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1500#define SWIGTYPE_p_wxIdleEvent swig_types[66]
1501#define SWIGTYPE_p_wxImage swig_types[67]
1502#define SWIGTYPE_p_wxImageHandler swig_types[68]
1503#define SWIGTYPE_p_wxImageList swig_types[69]
1504#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1505#define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1506#define SWIGTYPE_p_wxItemContainer swig_types[72]
1507#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508#define SWIGTYPE_p_wxKeyEvent swig_types[74]
1509#define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1510#define SWIGTYPE_p_wxListBox swig_types[76]
1511#define SWIGTYPE_p_wxListEvent swig_types[77]
1512#define SWIGTYPE_p_wxListItem swig_types[78]
1513#define SWIGTYPE_p_wxListItemAttr swig_types[79]
1514#define SWIGTYPE_p_wxListView swig_types[80]
1515#define SWIGTYPE_p_wxListbook swig_types[81]
1516#define SWIGTYPE_p_wxListbookEvent swig_types[82]
1517#define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1518#define SWIGTYPE_p_wxMemoryDC swig_types[84]
1519#define SWIGTYPE_p_wxMenu swig_types[85]
1520#define SWIGTYPE_p_wxMenuBar swig_types[86]
1521#define SWIGTYPE_p_wxMenuEvent swig_types[87]
1522#define SWIGTYPE_p_wxMenuItem swig_types[88]
1523#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1524#define SWIGTYPE_p_wxMouseEvent swig_types[90]
1525#define SWIGTYPE_p_wxMoveEvent swig_types[91]
1526#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1527#define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1528#define SWIGTYPE_p_wxNotebook swig_types[94]
1529#define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1530#define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1531#define SWIGTYPE_p_wxObject swig_types[97]
1532#define SWIGTYPE_p_wxPCXHandler swig_types[98]
1533#define SWIGTYPE_p_wxPNGHandler swig_types[99]
1534#define SWIGTYPE_p_wxPNMHandler swig_types[100]
1535#define SWIGTYPE_p_wxPaintEvent swig_types[101]
1536#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1537#define SWIGTYPE_p_wxPaperSize swig_types[103]
1538#define SWIGTYPE_p_wxPoint swig_types[104]
1539#define SWIGTYPE_p_wxPyApp swig_types[105]
1540#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1541#define SWIGTYPE_p_wxPyControl swig_types[107]
1542#define SWIGTYPE_p_wxPyEvent swig_types[108]
1543#define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1544#define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1545#define SWIGTYPE_p_wxPySizer swig_types[111]
1546#define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1547#define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1548#define SWIGTYPE_p_wxPyValidator swig_types[114]
1549#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1550#define SWIGTYPE_p_wxRadioBox swig_types[116]
1551#define SWIGTYPE_p_wxRadioButton swig_types[117]
1552#define SWIGTYPE_p_wxRect swig_types[118]
1553#define SWIGTYPE_p_wxScrollBar swig_types[119]
1554#define SWIGTYPE_p_wxScrollEvent swig_types[120]
1555#define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1556#define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1557#define SWIGTYPE_p_wxShowEvent swig_types[123]
1558#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1559#define SWIGTYPE_p_wxSize swig_types[125]
1560#define SWIGTYPE_p_wxSizeEvent swig_types[126]
1561#define SWIGTYPE_p_wxSizer swig_types[127]
1562#define SWIGTYPE_p_wxSizerItem swig_types[128]
1563#define SWIGTYPE_p_wxSlider swig_types[129]
1564#define SWIGTYPE_p_wxSpinButton swig_types[130]
1565#define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1566#define SWIGTYPE_p_wxSpinEvent swig_types[132]
1567#define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1568#define SWIGTYPE_p_wxStaticBox swig_types[134]
1569#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1570#define SWIGTYPE_p_wxStaticLine swig_types[136]
1571#define SWIGTYPE_p_wxStaticText swig_types[137]
1572#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1573#define SWIGTYPE_p_wxString swig_types[139]
1574#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1575#define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1576#define SWIGTYPE_p_wxTextAttr swig_types[142]
1577#define SWIGTYPE_p_wxTextCtrl swig_types[143]
1578#define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1579#define SWIGTYPE_p_wxToggleButton swig_types[145]
1580#define SWIGTYPE_p_wxToolBar swig_types[146]
1581#define SWIGTYPE_p_wxToolBarBase swig_types[147]
1582#define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
7e08d4ef
RD
1583#define SWIGTYPE_p_wxToolbook swig_types[149]
1584#define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1585#define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1586#define SWIGTYPE_p_wxTreeEvent swig_types[152]
1587#define SWIGTYPE_p_wxTreeItemId swig_types[153]
1588#define SWIGTYPE_p_wxTreebook swig_types[154]
1589#define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1590#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1591#define SWIGTYPE_p_wxValidator swig_types[157]
1592#define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1593#define SWIGTYPE_p_wxWindow swig_types[159]
1594#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1595#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1596#define SWIGTYPE_p_wxXPMHandler swig_types[162]
1597#define SWIGTYPE_ptrdiff_t swig_types[163]
1598#define SWIGTYPE_std__ptrdiff_t swig_types[164]
1599#define SWIGTYPE_unsigned_int swig_types[165]
1600static swig_type_info *swig_types[167];
1601static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
32fe5131
RD
1602#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1603#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
1604
1605/* -------- TYPES TABLE (END) -------- */
1606
1607
1608/*-----------------------------------------------
1609 @(target):= _controls_.so
1610 ------------------------------------------------*/
1611#define SWIG_init init_controls_
1612
1613#define SWIG_name "_controls_"
1614
1615#include "wx/wxPython/wxPython.h"
1616#include "wx/wxPython/pyclasses.h"
1617
1618 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1619 static const wxString wxPyEmptyString(wxEmptyString);
1620 static const wxString wxPyControlNameStr(wxControlNameStr);
1621
1622 const wxArrayString wxPyEmptyStringArray;
1623
1624 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1625
32fe5131 1626 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
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);
36ed4f51
RD
1666 }
1667 return 0;
1668}
1669
1670
1671#if INT_MAX != LONG_MAX
1672SWIGINTERN int
1673 SWIG_AsVal_int(PyObject *obj, int *val)
1674{
1675 const char* errmsg = val ? "int" : (char*)0;
1676 long v;
1677 if (SWIG_AsVal_long(obj, &v)) {
1678 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1679 if (val) *val = static_cast<int >(v);
36ed4f51
RD
1680 return 1;
1681 } else {
1682 return 0;
1683 }
1684 } else {
1685 PyErr_Clear();
1686 }
1687 if (val) {
1688 SWIG_type_error(errmsg, obj);
1689 }
1690 return 0;
1691}
1692#else
32fe5131 1693SWIGINTERNINLINE int
36ed4f51
RD
1694 SWIG_AsVal_int(PyObject *obj, int *val)
1695{
1696 return SWIG_AsVal_long(obj,(long*)val);
1697}
1698#endif
1699
1700
32fe5131 1701SWIGINTERNINLINE int
c370783e 1702SWIG_As_int(PyObject* obj)
d55e5bfc 1703{
c370783e
RD
1704 int v;
1705 if (!SWIG_AsVal_int(obj, &v)) {
1706 /*
36ed4f51 1707 this is needed to make valgrind/purify happier.
c370783e
RD
1708 */
1709 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1710 }
c370783e 1711 return v;
d55e5bfc
RD
1712}
1713
1714
32fe5131 1715SWIGINTERNINLINE long
c370783e 1716SWIG_As_long(PyObject* obj)
d55e5bfc 1717{
c370783e
RD
1718 long v;
1719 if (!SWIG_AsVal_long(obj, &v)) {
1720 /*
36ed4f51 1721 this is needed to make valgrind/purify happier.
c370783e
RD
1722 */
1723 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1724 }
c370783e 1725 return v;
d55e5bfc
RD
1726}
1727
c370783e 1728
32fe5131 1729SWIGINTERNINLINE int
c370783e
RD
1730SWIG_Check_int(PyObject* obj)
1731{
1732 return SWIG_AsVal_int(obj, (int*)0);
1733}
d55e5bfc 1734
c370783e 1735
32fe5131 1736SWIGINTERNINLINE int
c370783e 1737SWIG_Check_long(PyObject* obj)
d55e5bfc 1738{
c370783e 1739 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1740}
1741
c370783e 1742 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1743
36ed4f51 1744SWIGINTERN int
c370783e 1745 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1746{
c370783e
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 }
c370783e
RD
1755 int res = 0;
1756 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1757 if (val) *val = res ? true : false;
c370783e 1758 return 1;
36ed4f51
RD
1759 } else {
1760 PyErr_Clear();
1761 }
c370783e 1762 if (val) {
36ed4f51 1763 SWIG_type_error("bool", obj);
c370783e
RD
1764 }
1765 return 0;
1766}
1767
1768
32fe5131 1769SWIGINTERNINLINE bool
c370783e
RD
1770SWIG_As_bool(PyObject* obj)
1771{
1772 bool v;
1773 if (!SWIG_AsVal_bool(obj, &v)) {
1774 /*
36ed4f51 1775 this is needed to make valgrind/purify happier.
c370783e
RD
1776 */
1777 memset((void*)&v, 0, sizeof(bool));
1778 }
1779 return v;
1780}
1781
1782
32fe5131 1783SWIGINTERNINLINE int
c370783e
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);
36ed4f51 1791
32fe5131 1792 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1793#define SWIG_From_long PyInt_FromLong
1794/*@@*/
1795
d55e5bfc
RD
1796 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1797 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1798 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1799 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1800
1801#include <wx/checklst.h>
1802
1803
1804 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
36ed4f51 1805static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1806 if (clientData) {
1807 wxPyClientData* data = new wxPyClientData(clientData);
1808 self->Insert(item, pos, data);
1809 } else
1810 self->Insert(item, pos);
1811 }
36ed4f51 1812static PyObject *wxListBox_GetSelections(wxListBox *self){
7e08d4ef
RD
1813 wxArrayInt lst;
1814 self->GetSelections(lst);
1815 PyObject *tup = PyTuple_New(lst.GetCount());
1816 for(size_t i=0; i<lst.GetCount(); i++) {
1817 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1818 }
1819 return tup;
1820 }
36ed4f51 1821static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1822 #ifdef __WXMSW__
1823 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1824 self->GetItem(item)->SetTextColour(c);
1825 #endif
1826 }
36ed4f51 1827static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1828 #ifdef __WXMSW__
1829 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1830 self->GetItem(item)->SetBackgroundColour(c);
1831 #endif
1832 }
36ed4f51 1833static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1834 #ifdef __WXMSW__
1835 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1836 self->GetItem(item)->SetFont(f);
1837 #endif
1838 }
1839 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1840
7e08d4ef
RD
1841 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1842 {
1843 PyObject* o2;
1844 PyObject* o3;
1845 if (!result) {
1846 result = obj;
1847 } else if (result == Py_None) {
1848 Py_DECREF(result);
1849 result = obj;
1850 } else {
1851 if (!PyTuple_Check(result)) {
1852 o2 = result;
1853 result = PyTuple_New(1);
1854 PyTuple_SET_ITEM(result, 0, o2);
1855 }
1856 o3 = PyTuple_New(1);
1857 PyTuple_SetItem(o3, 0, obj);
1858 o2 = result;
1859 result = PySequence_Concat(o2, o3);
1860 Py_DECREF(o2);
1861 Py_DECREF(o3);
1862 }
1863 return result;
1864 }
d55e5bfc
RD
1865
1866
c370783e 1867
36ed4f51 1868SWIGINTERN int
c370783e 1869SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1870{
c370783e
RD
1871 long v = 0;
1872 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1873 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1874 }
c370783e
RD
1875 else if (val)
1876 *val = (unsigned long)v;
1877 return 1;
d55e5bfc
RD
1878}
1879
1880
32fe5131 1881SWIGINTERNINLINE unsigned long
c370783e 1882SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1883{
c370783e
RD
1884 unsigned long v;
1885 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1886 /*
36ed4f51 1887 this is needed to make valgrind/purify happier.
c370783e
RD
1888 */
1889 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1890 }
c370783e
RD
1891 return v;
1892}
1893
1894
32fe5131 1895SWIGINTERNINLINE int
c370783e
RD
1896SWIG_Check_unsigned_SS_long(PyObject* obj)
1897{
1898 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1899}
1900
36ed4f51 1901static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1902 self->AppendText(text);
1903 }
36ed4f51 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
32fe5131 1939SWIGINTERNINLINE PyObject*
c370783e 1940 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1941{
1942 return (value > LONG_MAX) ?
1943 PyLong_FromUnsignedLong(value)
32fe5131 1944 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
1945}
1946
7e08d4ef
RD
1947
1948#if UINT_MAX < LONG_MAX
1949/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1950#define SWIG_From_unsigned_SS_int SWIG_From_long
1951/*@@*/
1952#else
1953/*@/opt/swig/share/swig/1.3.27/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);
36ed4f51 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 }
36ed4f51 2035static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2036 self->SetClientData(new wxPyUserData(clientData));
2037 }
36ed4f51 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 }
36ed4f51 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 }
36ed4f51 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 }
36ed4f51 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);
36ed4f51 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 {
32fe5131 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
36ed4f51 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 }
36ed4f51 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 }
36ed4f51 2151static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
2152 wxPoint pos;
2153 self->GetItemPosition(item, pos);
2154 return pos;
2155 }
36ed4f51 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 }
c370783e 2161
36ed4f51 2162static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 2163 if (!PyCallable_Check(func))
b411df4a 2164 return false;
d55e5bfc
RD
2165 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2166 }
36ed4f51 2167static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
2168
2169
2170
2171 return (wxWindow*)self->m_mainWin;
2172
2173 }
2174
2175#include <wx/treectrl.h>
2176#include "wx/wxPython/pytree.h"
2177
2178 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
36ed4f51
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 {
32fe5131 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"))) {
b411df4a
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
36ed4f51 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 }
36ed4f51 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 }
36ed4f51 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 }
36ed4f51 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 }
36ed4f51 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));
b411df4a 2267 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2268 PyList_Append(rval, item);
68e533f8 2269 Py_DECREF(item);
d55e5bfc
RD
2270 }
2271 wxPyEndBlockThreads(blocked);
2272 return rval;
2273 }
36ed4f51 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);
b411df4a 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 }
36ed4f51 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);
b411df4a 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 }
36ed4f51 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);
b411df4a 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);
c370783e 2306
32fe5131 2307SWIGINTERNINLINE PyObject*
c370783e
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
a5ee0656 2330 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 2331
976dbff5
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
a5ee0656 2366 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 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
a5ee0656 2402IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
a5ee0656 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
36ed4f51 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
c370783e 2429static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2430 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2431 return 1;
2432}
2433
2434
36ed4f51 2435static PyObject *_wrap_ButtonNameStr_get(void) {
32fe5131 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
c370783e 2449static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2450 PyObject *resultobj = NULL;
d55e5bfc 2451 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
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;
b411df4a 2465 bool temp3 = false ;
d55e5bfc
RD
2466 wxPoint temp4 ;
2467 wxSize temp5 ;
b411df4a 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
bfddbb17 2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2483 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2484 if (obj1) {
36ed4f51 2485 {
32fe5131 2486 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2487 if (SWIG_arg_fail(2)) SWIG_fail;
2488 }
bfddbb17
RD
2489 }
2490 if (obj2) {
2491 {
2492 arg3 = wxString_in_helper(obj2);
2493 if (arg3 == NULL) SWIG_fail;
b411df4a 2494 temp3 = true;
bfddbb17 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) {
36ed4f51 2510 {
32fe5131 2511 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
2512 if (SWIG_arg_fail(6)) SWIG_fail;
2513 }
d55e5bfc
RD
2514 }
2515 if (obj6) {
36ed4f51
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;
b411df4a 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
c370783e 2563static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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
c370783e 2586static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2587 PyObject *resultobj = NULL;
d55e5bfc
RD
2588 wxButton *arg1 = (wxButton *) 0 ;
2589 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
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;
b411df4a 2603 bool temp4 = false ;
d55e5bfc
RD
2604 wxPoint temp5 ;
2605 wxSize temp6 ;
b411df4a 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
bfddbb17 2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
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;
bfddbb17 2625 if (obj2) {
36ed4f51 2626 {
32fe5131 2627 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2628 if (SWIG_arg_fail(3)) SWIG_fail;
2629 }
bfddbb17
RD
2630 }
2631 if (obj3) {
2632 {
2633 arg4 = wxString_in_helper(obj3);
2634 if (arg4 == NULL) SWIG_fail;
b411df4a 2635 temp4 = true;
bfddbb17 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) {
36ed4f51 2651 {
32fe5131 2652 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
2653 if (SWIG_arg_fail(7)) SWIG_fail;
2654 }
d55e5bfc
RD
2655 }
2656 if (obj7) {
36ed4f51
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;
b411df4a 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
c370783e 2705static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 2730static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
32fe5131 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
c370783e 2756static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2757 PyObject *resultobj = NULL;
36ed4f51 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) {
36ed4f51 2767 {
32fe5131 2768 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
2769 if (SWIG_arg_fail(1)) SWIG_fail;
2770 }
f20a2e1f
RD
2771 }
2772 {
0439c23b 2773 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 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;
32fe5131 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
c370783e 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}
c370783e 2798static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2799 PyObject *resultobj = NULL;
d55e5bfc 2800 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
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 ;
b411df4a 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
bfddbb17 2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2831 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2832 if (obj1) {
36ed4f51 2833 {
32fe5131 2834 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
2835 if (SWIG_arg_fail(2)) SWIG_fail;
2836 }
bfddbb17
RD
2837 }
2838 if (obj2) {
36ed4f51
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;
bfddbb17 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) {
36ed4f51 2861 {
32fe5131 2862 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
2863 if (SWIG_arg_fail(6)) SWIG_fail;
2864 }
d55e5bfc
RD
2865 }
2866 if (obj6) {
36ed4f51
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;
b411df4a 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
c370783e 2906static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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
c370783e 2929static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2930 PyObject *resultobj = NULL;
d55e5bfc
RD
2931 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2932 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
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 ;
b411df4a 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
bfddbb17 2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
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;
bfddbb17 2967 if (obj2) {
36ed4f51 2968 {
32fe5131 2969 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2970 if (SWIG_arg_fail(3)) SWIG_fail;
2971 }
bfddbb17
RD
2972 }
2973 if (obj3) {
36ed4f51
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;
bfddbb17 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) {
36ed4f51 2996 {
32fe5131 2997 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
2998 if (SWIG_arg_fail(7)) SWIG_fail;
2999 }
d55e5bfc
RD
3000 }
3001 if (obj7) {
36ed4f51
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;
b411df4a 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
c370783e 3042static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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;
32fe5131 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
c370783e 3072static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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;
32fe5131 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
c370783e 3102static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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;
32fe5131 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
c370783e 3132static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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;
32fe5131 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
c370783e 3192static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3227static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3262static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3297static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3367static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
RD
3380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail;
3382 {
32fe5131 3383 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3384 if (SWIG_arg_fail(2)) SWIG_fail;
3385 }
3386 {
32fe5131 3387 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
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
c370783e 3404static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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 }
36ed4f51 3423 {
32fe5131 3424 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3425 }
d55e5bfc
RD
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
c370783e 3432static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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 }
36ed4f51 3451 {
32fe5131 3452 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3453 }
d55e5bfc
RD
3454 return resultobj;
3455 fail:
3456 return NULL;
3457}
3458
3459
c370783e 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}
c370783e 3467static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3468 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3469 return 1;
3470}
3471
3472
36ed4f51 3473static PyObject *_wrap_CheckBoxNameStr_get(void) {
32fe5131 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
c370783e 3487static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3488 PyObject *resultobj = NULL;
d55e5bfc 3489 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
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;
b411df4a 3503 bool temp3 = false ;
d55e5bfc
RD
3504 wxPoint temp4 ;
3505 wxSize temp5 ;
b411df4a 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
bfddbb17 3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 3522 if (obj1) {
36ed4f51 3523 {
32fe5131 3524 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3525 if (SWIG_arg_fail(2)) SWIG_fail;
3526 }
bfddbb17
RD
3527 }
3528 if (obj2) {
3529 {
3530 arg3 = wxString_in_helper(obj2);
3531 if (arg3 == NULL) SWIG_fail;
b411df4a 3532 temp3 = true;
bfddbb17 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) {
36ed4f51 3548 {
32fe5131 3549 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
3550 if (SWIG_arg_fail(6)) SWIG_fail;
3551 }
d55e5bfc
RD
3552 }
3553 if (obj6) {
36ed4f51
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;
b411df4a 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
c370783e 3601static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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
c370783e 3624static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3625 PyObject *resultobj = NULL;
d55e5bfc
RD
3626 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3627 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
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;
b411df4a 3641 bool temp4 = false ;
d55e5bfc
RD
3642 wxPoint temp5 ;
3643 wxSize temp6 ;
b411df4a 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
bfddbb17 3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
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;
bfddbb17 3663 if (obj2) {
36ed4f51 3664 {
32fe5131 3665 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3666 if (SWIG_arg_fail(3)) SWIG_fail;
3667 }
bfddbb17
RD
3668 }
3669 if (obj3) {
3670 {
3671 arg4 = wxString_in_helper(obj3);
3672 if (arg4 == NULL) SWIG_fail;
b411df4a 3673 temp4 = true;
bfddbb17 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) {
36ed4f51 3689 {
32fe5131 3690 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
3691 if (SWIG_arg_fail(7)) SWIG_fail;
3692 }
d55e5bfc
RD
3693 }
3694 if (obj7) {
36ed4f51
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;
b411df4a 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
c370783e 3743static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3771static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3799static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
RD
3810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3811 if (SWIG_arg_fail(1)) SWIG_fail;
3812 {
32fe5131 3813 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
36ed4f51
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
c370783e 3830static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3831 PyObject *resultobj = NULL;
d55e5bfc 3832 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 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;
36ed4f51
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();
36ed4f51 3844 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
36ed4f51 3849 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3850 return resultobj;
3851 fail:
3852 return NULL;
3853}
3854
3855
c370783e 3856static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3857 PyObject *resultobj = NULL;
d55e5bfc 3858 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 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;
36ed4f51
RD
3867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail;
3869 {
32fe5131 3870 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
36ed4f51
RD
3871 if (SWIG_arg_fail(2)) SWIG_fail;
3872 }
d55e5bfc
RD
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 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
c370783e 3887static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3915static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 3943static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3944 PyObject *resultobj = NULL;
36ed4f51 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) {
36ed4f51 3954 {
32fe5131 3955 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
3956 if (SWIG_arg_fail(1)) SWIG_fail;
3957 }
f20a2e1f
RD
3958 }
3959 {
0439c23b 3960 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 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;
32fe5131 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
c370783e 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}
c370783e 3985static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3986 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3987 return 1;
3988}
3989
3990
36ed4f51 3991static PyObject *_wrap_ChoiceNameStr_get(void) {
32fe5131 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
c370783e 4005static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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 ;
b411df4a
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;
36ed4f51
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) {
36ed4f51 4041 {
32fe5131 4042 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
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;
b411df4a 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) {
36ed4f51 4078 {
32fe5131 4079 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
4080 if (SWIG_arg_fail(6)) SWIG_fail;
4081 }
d55e5bfc
RD
4082 }
4083 if (obj6) {
36ed4f51
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;
b411df4a 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
c370783e 4129static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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
c370783e 4152static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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 ;
b411df4a
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;
36ed4f51
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) {
36ed4f51 4192 {
32fe5131 4193 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
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;
b411df4a 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) {
36ed4f51 4229 {
32fe5131 4230 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
4231 if (SWIG_arg_fail(7)) SWIG_fail;
4232 }
d55e5bfc
RD
4233 }
4234 if (obj7) {
36ed4f51
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;
b411df4a 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
943e8dfd 4281static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4282 PyObject *resultobj = NULL;
943e8dfd
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 {
32fe5131 4301 resultobj = SWIG_From_int(static_cast<int >(result));
943e8dfd
RD
4302 }
4303 return resultobj;
4304 fail:
4305 return NULL;
4306}
4307
4308
c370783e 4309static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4310 PyObject *resultobj = NULL;
36ed4f51 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) {
36ed4f51 4320 {
32fe5131 4321 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 }
f20a2e1f
RD
4324 }
4325 {
0439c23b 4326 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 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;
32fe5131 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
c370783e 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}
c370783e 4351static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4352 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4353 return 1;
4354}
4355
4356
36ed4f51 4357static PyObject *_wrap_ComboBoxNameStr_get(void) {
32fe5131 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
c370783e 4371static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
b411df4a 4389 bool temp3 = false ;
d55e5bfc
RD
4390 wxPoint temp4 ;
4391 wxSize temp5 ;
b411df4a
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;
36ed4f51
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) {
36ed4f51 4411 {
32fe5131 4412 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
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;
b411df4a 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;
b411df4a 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) {
36ed4f51 4455 {
32fe5131 4456 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
4457 if (SWIG_arg_fail(7)) SWIG_fail;
4458 }
d55e5bfc
RD
4459 }
4460 if (obj7) {
36ed4f51
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;
b411df4a 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
c370783e 4514static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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
c370783e 4537static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
b411df4a 4556 bool temp4 = false ;
d55e5bfc
RD
4557 wxPoint temp5 ;
4558 wxSize temp6 ;
b411df4a
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;
36ed4f51
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) {
36ed4f51 4581 {
32fe5131 4582 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
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;
b411df4a 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;
b411df4a 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) {
36ed4f51 4625 {
32fe5131 4626 arg8 = static_cast<long >(SWIG_As_long(obj7));
36ed4f51
RD
4627 if (SWIG_arg_fail(8)) SWIG_fail;
4628 }
d55e5bfc
RD
4629 }
4630 if (obj8) {
36ed4f51
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;
b411df4a 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
c370783e 4685static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 4717static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4718 PyObject *resultobj = NULL;
d55e5bfc
RD
4719 wxComboBox *arg1 = (wxComboBox *) 0 ;
4720 wxString *arg2 = 0 ;
b411df4a 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;
36ed4f51
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;
b411df4a 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
c370783e 4758static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 4783static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 4808static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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
c370783e 4833static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
RD
4844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4845 if (SWIG_arg_fail(1)) SWIG_fail;
4846 {
32fe5131 4847 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
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
c370783e 4864static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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 }
36ed4f51 4883 {
32fe5131 4884 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 4885 }
d55e5bfc
RD
4886 return resultobj;
4887 fail:
4888 return NULL;
4889}
4890
4891
c370783e 4892static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
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 }
36ed4f51 4911 {
32fe5131 4912 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 4913 }
d55e5bfc
RD
4914 return resultobj;
4915 fail:
4916 return NULL;
4917}
4918
4919
c370783e 4920static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4921 PyObject *resultobj = NULL;
d55e5bfc
RD
4922 wxComboBox *arg1 = (wxComboBox *) 0 ;
4923 long arg2 ;
4924 long arg3 ;
4925 wxString *arg4 = 0 ;
b411df4a 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;
36ed4f51
RD
4936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4937 if (SWIG_arg_fail(1)) SWIG_fail;
4938 {
32fe5131 4939 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
4940 if (SWIG_arg_fail(2)) SWIG_fail;
4941 }
4942 {
32fe5131 4943 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
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;
b411df4a 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
c370783e 4973static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
RD
4984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail;
4986 {
32fe5131 4987 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
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
c370783e 5004static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 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;
36ed4f51
RD
5017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail;
5019 {
32fe5131 5020 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
5021 if (SWIG_arg_fail(2)) SWIG_fail;
5022 }
5023 {
32fe5131 5024 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
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
943e8dfd 5041static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5042 PyObject *resultobj = NULL;
943e8dfd
RD
5043 wxComboBox *arg1 = (wxComboBox *) 0 ;
5044 int result;
5045 PyObject * obj0 = 0 ;
5046 char *kwnames[] = {
5047 (char *) "self", NULL
5048 };
5049
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
5051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5052 if (SWIG_arg_fail(1)) SWIG_fail;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 {
32fe5131 5061 resultobj = SWIG_From_int(static_cast<int >(result));
943e8dfd
RD
5062 }
5063 return resultobj;
5064 fail:
5065 return NULL;
5066}
5067
5068
c370783e 5069static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5070 PyObject *resultobj = NULL;
121b9a67
RD
5071 wxComboBox *arg1 = (wxComboBox *) 0 ;
5072 wxString *arg2 = 0 ;
5073 bool result;
b411df4a 5074 bool temp2 = false ;
121b9a67
RD
5075 PyObject * obj0 = 0 ;
5076 PyObject * obj1 = 0 ;
5077 char *kwnames[] = {
5078 (char *) "self",(char *) "string", NULL
5079 };
5080
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5083 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
5084 {
5085 arg2 = wxString_in_helper(obj1);
5086 if (arg2 == NULL) SWIG_fail;
b411df4a 5087 temp2 = true;
121b9a67
RD
5088 }
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 {
5097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5098 }
5099 {
5100 if (temp2)
5101 delete arg2;
5102 }
5103 return resultobj;
5104 fail:
5105 {
5106 if (temp2)
5107 delete arg2;
5108 }
5109 return NULL;
5110}
5111
5112
c370783e 5113static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5114 PyObject *resultobj = NULL;
121b9a67
RD
5115 wxComboBox *arg1 = (wxComboBox *) 0 ;
5116 int arg2 ;
5117 wxString *arg3 = 0 ;
b411df4a 5118 bool temp3 = false ;
121b9a67
RD
5119 PyObject * obj0 = 0 ;
5120 PyObject * obj1 = 0 ;
5121 PyObject * obj2 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self",(char *) "n",(char *) "string", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5128 if (SWIG_arg_fail(1)) SWIG_fail;
5129 {
32fe5131 5130 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5131 if (SWIG_arg_fail(2)) SWIG_fail;
5132 }
121b9a67
RD
5133 {
5134 arg3 = wxString_in_helper(obj2);
5135 if (arg3 == NULL) SWIG_fail;
b411df4a 5136 temp3 = true;
121b9a67
RD
5137 }
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 (arg1)->SetString(arg2,(wxString const &)*arg3);
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 Py_INCREF(Py_None); resultobj = Py_None;
5146 {
5147 if (temp3)
5148 delete arg3;
5149 }
5150 return resultobj;
5151 fail:
5152 {
5153 if (temp3)
5154 delete arg3;
5155 }
5156 return NULL;
5157}
5158
5159
c370783e 5160static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5161 PyObject *resultobj = NULL;
d55e5bfc
RD
5162 wxComboBox *arg1 = (wxComboBox *) 0 ;
5163 bool arg2 ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "editable", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail;
5173 {
32fe5131 5174 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
5175 if (SWIG_arg_fail(2)) SWIG_fail;
5176 }
d55e5bfc
RD
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 (arg1)->SetEditable(arg2);
5180
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 Py_INCREF(Py_None); resultobj = Py_None;
5185 return resultobj;
5186 fail:
5187 return NULL;
5188}
5189
5190
c370783e 5191static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5192 PyObject *resultobj = NULL;
d55e5bfc
RD
5193 wxComboBox *arg1 = (wxComboBox *) 0 ;
5194 PyObject * obj0 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self", NULL
5197 };
5198
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
5200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 (arg1)->SetInsertionPointEnd();
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 Py_INCREF(Py_None); resultobj = Py_None;
5210 return resultobj;
5211 fail:
5212 return NULL;
5213}
5214
5215
c370783e 5216static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5217 PyObject *resultobj = NULL;
d55e5bfc
RD
5218 wxComboBox *arg1 = (wxComboBox *) 0 ;
5219 long arg2 ;
5220 long arg3 ;
5221 PyObject * obj0 = 0 ;
5222 PyObject * obj1 = 0 ;
5223 PyObject * obj2 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "from",(char *) "to", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail;
5231 {
32fe5131 5232 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
5233 if (SWIG_arg_fail(2)) SWIG_fail;
5234 }
5235 {
32fe5131 5236 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
5237 if (SWIG_arg_fail(3)) SWIG_fail;
5238 }
d55e5bfc
RD
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 (arg1)->Remove(arg2,arg3);
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
5cbf236d 5253static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5254 PyObject *resultobj = NULL;
5cbf236d
RD
5255 wxComboBox *arg1 = (wxComboBox *) 0 ;
5256 bool result;
5257 PyObject * obj0 = 0 ;
5258 char *kwnames[] = {
5259 (char *) "self", NULL
5260 };
5261
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
5263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 {
5273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5274 }
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
5281static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5282 PyObject *resultobj = NULL;
5cbf236d
RD
5283 wxComboBox *arg1 = (wxComboBox *) 0 ;
5284 PyObject * obj0 = 0 ;
5285 char *kwnames[] = {
5286 (char *) "self", NULL
5287 };
5288
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5291 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 (arg1)->Undo();
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 Py_INCREF(Py_None); resultobj = Py_None;
5300 return resultobj;
5301 fail:
5302 return NULL;
5303}
5304
5305
5306static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5307 PyObject *resultobj = NULL;
5cbf236d
RD
5308 wxComboBox *arg1 = (wxComboBox *) 0 ;
5309 PyObject * obj0 = 0 ;
5310 char *kwnames[] = {
5311 (char *) "self", NULL
5312 };
5313
5314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5316 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 (arg1)->Redo();
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 Py_INCREF(Py_None); resultobj = Py_None;
5325 return resultobj;
5326 fail:
5327 return NULL;
5328}
5329
5330
5331static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5332 PyObject *resultobj = NULL;
5cbf236d
RD
5333 wxComboBox *arg1 = (wxComboBox *) 0 ;
5334 PyObject * obj0 = 0 ;
5335 char *kwnames[] = {
5336 (char *) "self", NULL
5337 };
5338
5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
5340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 (arg1)->SelectAll();
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 Py_INCREF(Py_None); resultobj = Py_None;
5350 return resultobj;
5351 fail:
5352 return NULL;
5353}
5354
5355
5356static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5357 PyObject *resultobj = NULL;
5cbf236d
RD
5358 wxComboBox *arg1 = (wxComboBox *) 0 ;
5359 bool result;
5360 PyObject * obj0 = 0 ;
5361 char *kwnames[] = {
5362 (char *) "self", NULL
5363 };
5364
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
5366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5367 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 {
5376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5377 }
5378 return resultobj;
5379 fail:
5380 return NULL;
5381}
5382
5383
5384static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5385 PyObject *resultobj = NULL;
5cbf236d
RD
5386 wxComboBox *arg1 = (wxComboBox *) 0 ;
5387 bool result;
5388 PyObject * obj0 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
5394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (bool)((wxComboBox const *)arg1)->CanCut();
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 {
5404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5405 }
5406 return resultobj;
5407 fail:
5408 return NULL;
5409}
5410
5411
5412static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5413 PyObject *resultobj = NULL;
5cbf236d
RD
5414 wxComboBox *arg1 = (wxComboBox *) 0 ;
5415 bool result;
5416 PyObject * obj0 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "self", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
5422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5423 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 {
5432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5433 }
5434 return resultobj;
5435 fail:
5436 return NULL;
5437}
5438
5439
5440static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5441 PyObject *resultobj = NULL;
5cbf236d
RD
5442 wxComboBox *arg1 = (wxComboBox *) 0 ;
5443 bool result;
5444 PyObject * obj0 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5451 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 {
5460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5461 }
5462 return resultobj;
5463 fail:
5464 return NULL;
5465}
5466
5467
5468static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5469 PyObject *resultobj = NULL;
5cbf236d
RD
5470 wxComboBox *arg1 = (wxComboBox *) 0 ;
5471 bool result;
5472 PyObject * obj0 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5483
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5489 }
5490 return resultobj;
5491 fail:
5492 return NULL;
5493}
5494
5495
c370783e 5496static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5497 PyObject *resultobj = NULL;
36ed4f51 5498 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5499 wxVisualAttributes result;
5500 PyObject * obj0 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "variant", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5506 if (obj0) {
36ed4f51 5507 {
32fe5131 5508 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
5509 if (SWIG_arg_fail(1)) SWIG_fail;
5510 }
f20a2e1f
RD
5511 }
5512 {
0439c23b 5513 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5515 result = wxComboBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
5516
5517 wxPyEndAllowThreads(__tstate);
110da5b0 5518 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5519 }
5520 {
5521 wxVisualAttributes * resultptr;
32fe5131 5522 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
5523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5524 }
5525 return resultobj;
5526 fail:
5527 return NULL;
5528}
5529
5530
c370783e 5531static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5532 PyObject *obj;
5533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5534 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5535 Py_INCREF(obj);
5536 return Py_BuildValue((char *)"");
5537}
c370783e 5538static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5539 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5540 return 1;
5541}
5542
5543
36ed4f51 5544static PyObject *_wrap_GaugeNameStr_get(void) {
32fe5131 5545 PyObject *pyobj = NULL;
d55e5bfc
RD
5546
5547 {
5548#if wxUSE_UNICODE
5549 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5550#else
5551 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5552#endif
5553 }
5554 return pyobj;
5555}
5556
5557
c370783e 5558static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5559 PyObject *resultobj = NULL;
d55e5bfc 5560 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5561 int arg2 = (int) -1 ;
5562 int arg3 = (int) 100 ;
d55e5bfc
RD
5563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5565 wxSize const &arg5_defvalue = wxDefaultSize ;
5566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5567 long arg6 = (long) wxGA_HORIZONTAL ;
5568 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5569 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5570 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5571 wxString *arg8 = (wxString *) &arg8_defvalue ;
5572 wxGauge *result;
5573 wxPoint temp4 ;
5574 wxSize temp5 ;
b411df4a 5575 bool temp8 = false ;
d55e5bfc
RD
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 PyObject * obj2 = 0 ;
5579 PyObject * obj3 = 0 ;
5580 PyObject * obj4 = 0 ;
5581 PyObject * obj5 = 0 ;
5582 PyObject * obj6 = 0 ;
5583 PyObject * obj7 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5586 };
5587
bfddbb17 5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5591 if (obj1) {
36ed4f51 5592 {
32fe5131 5593 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5594 if (SWIG_arg_fail(2)) SWIG_fail;
5595 }
bfddbb17
RD
5596 }
5597 if (obj2) {
36ed4f51 5598 {
32fe5131 5599 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5600 if (SWIG_arg_fail(3)) SWIG_fail;
5601 }
bfddbb17 5602 }
d55e5bfc
RD
5603 if (obj3) {
5604 {
5605 arg4 = &temp4;
5606 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5607 }
5608 }
5609 if (obj4) {
5610 {
5611 arg5 = &temp5;
5612 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5613 }
5614 }
5615 if (obj5) {
36ed4f51 5616 {
32fe5131 5617 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
5618 if (SWIG_arg_fail(6)) SWIG_fail;
5619 }
d55e5bfc
RD
5620 }
5621 if (obj6) {
36ed4f51
RD
5622 {
5623 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5624 if (SWIG_arg_fail(7)) SWIG_fail;
5625 if (arg7 == NULL) {
5626 SWIG_null_ref("wxValidator");
5627 }
5628 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5629 }
5630 }
5631 if (obj7) {
5632 {
5633 arg8 = wxString_in_helper(obj7);
5634 if (arg8 == NULL) SWIG_fail;
b411df4a 5635 temp8 = true;
d55e5bfc
RD
5636 }
5637 }
5638 {
0439c23b 5639 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5642
5643 wxPyEndAllowThreads(__tstate);
110da5b0 5644 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5645 }
5646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5647 {
5648 if (temp8)
5649 delete arg8;
5650 }
5651 return resultobj;
5652 fail:
5653 {
5654 if (temp8)
5655 delete arg8;
5656 }
5657 return NULL;
5658}
5659
5660
c370783e 5661static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5662 PyObject *resultobj = NULL;
d55e5bfc
RD
5663 wxGauge *result;
5664 char *kwnames[] = {
5665 NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5669 {
0439c23b 5670 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (wxGauge *)new wxGauge();
5673
5674 wxPyEndAllowThreads(__tstate);
110da5b0 5675 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5676 }
5677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5678 return resultobj;
5679 fail:
5680 return NULL;
5681}
5682
5683
c370783e 5684static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5685 PyObject *resultobj = NULL;
d55e5bfc
RD
5686 wxGauge *arg1 = (wxGauge *) 0 ;
5687 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5688 int arg3 = (int) -1 ;
5689 int arg4 = (int) 100 ;
d55e5bfc
RD
5690 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5691 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5692 wxSize const &arg6_defvalue = wxDefaultSize ;
5693 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5694 long arg7 = (long) wxGA_HORIZONTAL ;
5695 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5696 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5697 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5698 wxString *arg9 = (wxString *) &arg9_defvalue ;
5699 bool result;
5700 wxPoint temp5 ;
5701 wxSize temp6 ;
b411df4a 5702 bool temp9 = false ;
d55e5bfc
RD
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj1 = 0 ;
5705 PyObject * obj2 = 0 ;
5706 PyObject * obj3 = 0 ;
5707 PyObject * obj4 = 0 ;
5708 PyObject * obj5 = 0 ;
5709 PyObject * obj6 = 0 ;
5710 PyObject * obj7 = 0 ;
5711 PyObject * obj8 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5714 };
5715
bfddbb17 5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
5717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5718 if (SWIG_arg_fail(1)) SWIG_fail;
5719 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5720 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5721 if (obj2) {
36ed4f51 5722 {
32fe5131 5723 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5724 if (SWIG_arg_fail(3)) SWIG_fail;
5725 }
bfddbb17
RD
5726 }
5727 if (obj3) {
36ed4f51 5728 {
32fe5131 5729 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
5730 if (SWIG_arg_fail(4)) SWIG_fail;
5731 }
bfddbb17 5732 }
d55e5bfc
RD
5733 if (obj4) {
5734 {
5735 arg5 = &temp5;
5736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5737 }
5738 }
5739 if (obj5) {
5740 {
5741 arg6 = &temp6;
5742 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5743 }
5744 }
5745 if (obj6) {
36ed4f51 5746 {
32fe5131 5747 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
5748 if (SWIG_arg_fail(7)) SWIG_fail;
5749 }
d55e5bfc
RD
5750 }
5751 if (obj7) {
36ed4f51
RD
5752 {
5753 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(8)) SWIG_fail;
5755 if (arg8 == NULL) {
5756 SWIG_null_ref("wxValidator");
5757 }
5758 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5759 }
5760 }
5761 if (obj8) {
5762 {
5763 arg9 = wxString_in_helper(obj8);
5764 if (arg9 == NULL) SWIG_fail;
b411df4a 5765 temp9 = true;
d55e5bfc
RD
5766 }
5767 }
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 {
5776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5777 }
5778 {
5779 if (temp9)
5780 delete arg9;
5781 }
5782 return resultobj;
5783 fail:
5784 {
5785 if (temp9)
5786 delete arg9;
5787 }
5788 return NULL;
5789}
5790
5791
c370783e 5792static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5793 PyObject *resultobj = NULL;
d55e5bfc
RD
5794 wxGauge *arg1 = (wxGauge *) 0 ;
5795 int arg2 ;
5796 PyObject * obj0 = 0 ;
5797 PyObject * obj1 = 0 ;
5798 char *kwnames[] = {
5799 (char *) "self",(char *) "range", NULL
5800 };
5801
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail;
5805 {
32fe5131 5806 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5807 if (SWIG_arg_fail(2)) SWIG_fail;
5808 }
d55e5bfc
RD
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 (arg1)->SetRange(arg2);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 Py_INCREF(Py_None); resultobj = Py_None;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
c370783e 5823static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5824 PyObject *resultobj = NULL;
d55e5bfc
RD
5825 wxGauge *arg1 = (wxGauge *) 0 ;
5826 int result;
5827 PyObject * obj0 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
5833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 result = (int)((wxGauge const *)arg1)->GetRange();
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
36ed4f51 5842 {
32fe5131 5843 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5844 }
d55e5bfc
RD
5845 return resultobj;
5846 fail:
5847 return NULL;
5848}
5849
5850
c370783e 5851static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5852 PyObject *resultobj = NULL;
d55e5bfc
RD
5853 wxGauge *arg1 = (wxGauge *) 0 ;
5854 int arg2 ;
5855 PyObject * obj0 = 0 ;
5856 PyObject * obj1 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self",(char *) "pos", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5863 if (SWIG_arg_fail(1)) SWIG_fail;
5864 {
32fe5131 5865 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5866 if (SWIG_arg_fail(2)) SWIG_fail;
5867 }
d55e5bfc
RD
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 (arg1)->SetValue(arg2);
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 Py_INCREF(Py_None); resultobj = Py_None;
5876 return resultobj;
5877 fail:
5878 return NULL;
5879}
5880
5881
c370783e 5882static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5883 PyObject *resultobj = NULL;
d55e5bfc
RD
5884 wxGauge *arg1 = (wxGauge *) 0 ;
5885 int result;
5886 PyObject * obj0 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "self", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (int)((wxGauge const *)arg1)->GetValue();
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
36ed4f51 5901 {
32fe5131 5902 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5903 }
d55e5bfc
RD
5904 return resultobj;
5905 fail:
5906 return NULL;
5907}
5908
5909
c370783e 5910static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5911 PyObject *resultobj = NULL;
d55e5bfc
RD
5912 wxGauge *arg1 = (wxGauge *) 0 ;
5913 bool result;
5914 PyObject * obj0 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
5920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (bool)((wxGauge const *)arg1)->IsVertical();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 {
5930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5931 }
5932 return resultobj;
5933 fail:
5934 return NULL;
5935}
5936
5937
c370783e 5938static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5939 PyObject *resultobj = NULL;
d55e5bfc
RD
5940 wxGauge *arg1 = (wxGauge *) 0 ;
5941 int arg2 ;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self",(char *) "w", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5950 if (SWIG_arg_fail(1)) SWIG_fail;
5951 {
32fe5131 5952 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5953 if (SWIG_arg_fail(2)) SWIG_fail;
5954 }
d55e5bfc
RD
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 (arg1)->SetShadowWidth(arg2);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 Py_INCREF(Py_None); resultobj = Py_None;
5963 return resultobj;
5964 fail:
5965 return NULL;
5966}
5967
5968
c370783e 5969static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5970 PyObject *resultobj = NULL;
d55e5bfc
RD
5971 wxGauge *arg1 = (wxGauge *) 0 ;
5972 int result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
36ed4f51 5988 {
32fe5131 5989 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5990 }
d55e5bfc
RD
5991 return resultobj;
5992 fail:
5993 return NULL;
5994}
5995
5996
c370783e 5997static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5998 PyObject *resultobj = NULL;
d55e5bfc
RD
5999 wxGauge *arg1 = (wxGauge *) 0 ;
6000 int arg2 ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 char *kwnames[] = {
6004 (char *) "self",(char *) "w", NULL
6005 };
6006
6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail;
6010 {
32fe5131 6011 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6012 if (SWIG_arg_fail(2)) SWIG_fail;
6013 }
d55e5bfc
RD
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 (arg1)->SetBezelFace(arg2);
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 Py_INCREF(Py_None); resultobj = Py_None;
6022 return resultobj;
6023 fail:
6024 return NULL;
6025}
6026
6027
c370783e 6028static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6029 PyObject *resultobj = NULL;
d55e5bfc
RD
6030 wxGauge *arg1 = (wxGauge *) 0 ;
6031 int result;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "self", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
36ed4f51
RD
6038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 result = (int)((wxGauge const *)arg1)->GetBezelFace();
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
36ed4f51 6047 {
32fe5131 6048 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6049 }
d55e5bfc
RD
6050 return resultobj;
6051 fail:
6052 return NULL;
6053}
6054
6055
c370783e 6056static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6057 PyObject *resultobj = NULL;
36ed4f51 6058 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6059 wxVisualAttributes result;
6060 PyObject * obj0 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "variant", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6066 if (obj0) {
36ed4f51 6067 {
32fe5131 6068 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
6069 if (SWIG_arg_fail(1)) SWIG_fail;
6070 }
f20a2e1f
RD
6071 }
6072 {
0439c23b 6073 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6075 result = wxGauge::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6076
6077 wxPyEndAllowThreads(__tstate);
110da5b0 6078 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6079 }
6080 {
6081 wxVisualAttributes * resultptr;
32fe5131 6082 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6084 }
6085 return resultobj;
6086 fail:
6087 return NULL;
6088}
6089
6090
c370783e 6091static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6092 PyObject *obj;
6093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6094 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6095 Py_INCREF(obj);
6096 return Py_BuildValue((char *)"");
6097}
c370783e 6098static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
6099 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6100 return 1;
6101}
6102
6103
36ed4f51 6104static PyObject *_wrap_StaticBitmapNameStr_get(void) {
32fe5131 6105 PyObject *pyobj = NULL;
d55e5bfc
RD
6106
6107 {
6108#if wxUSE_UNICODE
6109 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6110#else
6111 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6112#endif
6113 }
6114 return pyobj;
6115}
6116
6117
c370783e 6118static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
6119 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6120 return 1;
6121}
6122
6123
36ed4f51 6124static PyObject *_wrap_StaticBoxNameStr_get(void) {
32fe5131 6125 PyObject *pyobj = NULL;
d55e5bfc
RD
6126
6127 {
6128#if wxUSE_UNICODE
6129 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6130#else
6131 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6132#endif
6133 }
6134 return pyobj;
6135}
6136
6137
c370783e 6138static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
6139 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6140 return 1;
6141}
6142
6143
36ed4f51 6144static PyObject *_wrap_StaticTextNameStr_get(void) {
32fe5131 6145 PyObject *pyobj = NULL;
d55e5bfc
RD
6146
6147 {
6148#if wxUSE_UNICODE
6149 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6150#else
6151 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6152#endif
6153 }
6154 return pyobj;
6155}
6156
6157
c370783e 6158static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6159 PyObject *resultobj = NULL;
d55e5bfc 6160 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6161 int arg2 = (int) -1 ;
6162 wxString const &arg3_defvalue = wxPyEmptyString ;
6163 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6166 wxSize const &arg5_defvalue = wxDefaultSize ;
6167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6168 long arg6 = (long) 0 ;
6169 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6170 wxString *arg7 = (wxString *) &arg7_defvalue ;
6171 wxStaticBox *result;
b411df4a 6172 bool temp3 = false ;
d55e5bfc
RD
6173 wxPoint temp4 ;
6174 wxSize temp5 ;
b411df4a 6175 bool temp7 = false ;
d55e5bfc
RD
6176 PyObject * obj0 = 0 ;
6177 PyObject * obj1 = 0 ;
6178 PyObject * obj2 = 0 ;
6179 PyObject * obj3 = 0 ;
6180 PyObject * obj4 = 0 ;
6181 PyObject * obj5 = 0 ;
6182 PyObject * obj6 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6185 };
6186
bfddbb17 6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6189 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6190 if (obj1) {
36ed4f51 6191 {
32fe5131 6192 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6193 if (SWIG_arg_fail(2)) SWIG_fail;
6194 }
bfddbb17
RD
6195 }
6196 if (obj2) {
6197 {
6198 arg3 = wxString_in_helper(obj2);
6199 if (arg3 == NULL) SWIG_fail;
b411df4a 6200 temp3 = true;
bfddbb17 6201 }
d55e5bfc
RD
6202 }
6203 if (obj3) {
6204 {
6205 arg4 = &temp4;
6206 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6207 }
6208 }
6209 if (obj4) {
6210 {
6211 arg5 = &temp5;
6212 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6213 }
6214 }
6215 if (obj5) {
36ed4f51 6216 {
32fe5131 6217 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6218 if (SWIG_arg_fail(6)) SWIG_fail;
6219 }
d55e5bfc
RD
6220 }
6221 if (obj6) {
6222 {
6223 arg7 = wxString_in_helper(obj6);
6224 if (arg7 == NULL) SWIG_fail;
b411df4a 6225 temp7 = true;
d55e5bfc
RD
6226 }
6227 }
6228 {
0439c23b 6229 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6231 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6232
6233 wxPyEndAllowThreads(__tstate);
110da5b0 6234 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6235 }
b0f7404b 6236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6237 {
6238 if (temp3)
6239 delete arg3;
6240 }
6241 {
6242 if (temp7)
6243 delete arg7;
6244 }
6245 return resultobj;
6246 fail:
6247 {
6248 if (temp3)
6249 delete arg3;
6250 }
6251 {
6252 if (temp7)
6253 delete arg7;
6254 }
6255 return NULL;
6256}
6257
6258
c370783e 6259static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6260 PyObject *resultobj = NULL;
d55e5bfc
RD
6261 wxStaticBox *result;
6262 char *kwnames[] = {
6263 NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6267 {
0439c23b 6268 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 result = (wxStaticBox *)new wxStaticBox();
6271
6272 wxPyEndAllowThreads(__tstate);
110da5b0 6273 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6274 }
b0f7404b 6275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6276 return resultobj;
6277 fail:
6278 return NULL;
6279}
6280
6281
c370783e 6282static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6283 PyObject *resultobj = NULL;
d55e5bfc
RD
6284 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6285 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6286 int arg3 = (int) -1 ;
6287 wxString const &arg4_defvalue = wxPyEmptyString ;
6288 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6291 wxSize const &arg6_defvalue = wxDefaultSize ;
6292 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6293 long arg7 = (long) 0 ;
6294 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6295 wxString *arg8 = (wxString *) &arg8_defvalue ;
6296 bool result;
b411df4a 6297 bool temp4 = false ;
d55e5bfc
RD
6298 wxPoint temp5 ;
6299 wxSize temp6 ;
b411df4a 6300 bool temp8 = false ;
d55e5bfc
RD
6301 PyObject * obj0 = 0 ;
6302 PyObject * obj1 = 0 ;
6303 PyObject * obj2 = 0 ;
6304 PyObject * obj3 = 0 ;
6305 PyObject * obj4 = 0 ;
6306 PyObject * obj5 = 0 ;
6307 PyObject * obj6 = 0 ;
6308 PyObject * obj7 = 0 ;
6309 char *kwnames[] = {
6310 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6311 };
6312
bfddbb17 6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail;
6316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6317 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6318 if (obj2) {
36ed4f51 6319 {
32fe5131 6320 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6321 if (SWIG_arg_fail(3)) SWIG_fail;
6322 }
bfddbb17
RD
6323 }
6324 if (obj3) {
6325 {
6326 arg4 = wxString_in_helper(obj3);
6327 if (arg4 == NULL) SWIG_fail;
b411df4a 6328 temp4 = true;
bfddbb17 6329 }
d55e5bfc
RD
6330 }
6331 if (obj4) {
6332 {
6333 arg5 = &temp5;
6334 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6335 }
6336 }
6337 if (obj5) {
6338 {
6339 arg6 = &temp6;
6340 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6341 }
6342 }
6343 if (obj6) {
36ed4f51 6344 {
32fe5131 6345 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6346 if (SWIG_arg_fail(7)) SWIG_fail;
6347 }
d55e5bfc
RD
6348 }
6349 if (obj7) {
6350 {
6351 arg8 = wxString_in_helper(obj7);
6352 if (arg8 == NULL) SWIG_fail;
b411df4a 6353 temp8 = true;
d55e5bfc
RD
6354 }
6355 }
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 {
6364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6365 }
6366 {
6367 if (temp4)
6368 delete arg4;
6369 }
6370 {
6371 if (temp8)
6372 delete arg8;
6373 }
6374 return resultobj;
6375 fail:
6376 {
6377 if (temp4)
6378 delete arg4;
6379 }
6380 {
6381 if (temp8)
6382 delete arg8;
6383 }
6384 return NULL;
6385}
6386
6387
c370783e 6388static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6389 PyObject *resultobj = NULL;
36ed4f51 6390 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6391 wxVisualAttributes result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "variant", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6398 if (obj0) {
36ed4f51 6399 {
32fe5131 6400 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
6401 if (SWIG_arg_fail(1)) SWIG_fail;
6402 }
f20a2e1f
RD
6403 }
6404 {
0439c23b 6405 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6407 result = wxStaticBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6408
6409 wxPyEndAllowThreads(__tstate);
110da5b0 6410 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6411 }
6412 {
6413 wxVisualAttributes * resultptr;
32fe5131 6414 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6416 }
6417 return resultobj;
6418 fail:
6419 return NULL;
6420}
6421
6422
c370783e 6423static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6424 PyObject *obj;
6425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6426 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6427 Py_INCREF(obj);
6428 return Py_BuildValue((char *)"");
6429}
c370783e 6430static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6431 PyObject *resultobj = NULL;
d55e5bfc 6432 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 6433 int arg2 = (int) -1 ;
d55e5bfc
RD
6434 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6435 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6436 wxSize const &arg4_defvalue = wxDefaultSize ;
6437 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6438 long arg5 = (long) wxLI_HORIZONTAL ;
6439 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6440 wxString *arg6 = (wxString *) &arg6_defvalue ;
6441 wxStaticLine *result;
6442 wxPoint temp3 ;
6443 wxSize temp4 ;
b411df4a 6444 bool temp6 = false ;
d55e5bfc
RD
6445 PyObject * obj0 = 0 ;
6446 PyObject * obj1 = 0 ;
6447 PyObject * obj2 = 0 ;
6448 PyObject * obj3 = 0 ;
6449 PyObject * obj4 = 0 ;
6450 PyObject * obj5 = 0 ;
6451 char *kwnames[] = {
6452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6453 };
6454
bfddbb17 6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6457 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6458 if (obj1) {
36ed4f51 6459 {
32fe5131 6460 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6461 if (SWIG_arg_fail(2)) SWIG_fail;
6462 }
bfddbb17 6463 }
d55e5bfc
RD
6464 if (obj2) {
6465 {
6466 arg3 = &temp3;
6467 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6468 }
6469 }
6470 if (obj3) {
6471 {
6472 arg4 = &temp4;
6473 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6474 }
6475 }
6476 if (obj4) {
36ed4f51 6477 {
32fe5131 6478 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
6479 if (SWIG_arg_fail(5)) SWIG_fail;
6480 }
d55e5bfc
RD
6481 }
6482 if (obj5) {
6483 {
6484 arg6 = wxString_in_helper(obj5);
6485 if (arg6 == NULL) SWIG_fail;
b411df4a 6486 temp6 = true;
d55e5bfc
RD
6487 }
6488 }
6489 {
0439c23b 6490 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6493
6494 wxPyEndAllowThreads(__tstate);
110da5b0 6495 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6496 }
6497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6498 {
6499 if (temp6)
6500 delete arg6;
6501 }
6502 return resultobj;
6503 fail:
6504 {
6505 if (temp6)
6506 delete arg6;
6507 }
6508 return NULL;
6509}
6510
6511
c370783e 6512static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6513 PyObject *resultobj = NULL;
d55e5bfc
RD
6514 wxStaticLine *result;
6515 char *kwnames[] = {
6516 NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6520 {
0439c23b 6521 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 result = (wxStaticLine *)new wxStaticLine();
6524
6525 wxPyEndAllowThreads(__tstate);
110da5b0 6526 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6527 }
6528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6529 return resultobj;
6530 fail:
6531 return NULL;
6532}
6533
6534
c370783e 6535static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6536 PyObject *resultobj = NULL;
d55e5bfc
RD
6537 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6538 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6539 int arg3 = (int) -1 ;
d55e5bfc
RD
6540 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6541 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6542 wxSize const &arg5_defvalue = wxDefaultSize ;
6543 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6544 long arg6 = (long) wxLI_HORIZONTAL ;
6545 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6546 wxString *arg7 = (wxString *) &arg7_defvalue ;
6547 bool result;
6548 wxPoint temp4 ;
6549 wxSize temp5 ;
b411df4a 6550 bool temp7 = false ;
d55e5bfc
RD
6551 PyObject * obj0 = 0 ;
6552 PyObject * obj1 = 0 ;
6553 PyObject * obj2 = 0 ;
6554 PyObject * obj3 = 0 ;
6555 PyObject * obj4 = 0 ;
6556 PyObject * obj5 = 0 ;
6557 PyObject * obj6 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6560 };
6561
bfddbb17 6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail;
6565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6566 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6567 if (obj2) {
36ed4f51 6568 {
32fe5131 6569 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6570 if (SWIG_arg_fail(3)) SWIG_fail;
6571 }
bfddbb17 6572 }
d55e5bfc
RD
6573 if (obj3) {
6574 {
6575 arg4 = &temp4;
6576 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6577 }
6578 }
6579 if (obj4) {
6580 {
6581 arg5 = &temp5;
6582 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6583 }
6584 }
6585 if (obj5) {
36ed4f51 6586 {
32fe5131 6587 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6588 if (SWIG_arg_fail(6)) SWIG_fail;
6589 }
d55e5bfc
RD
6590 }
6591 if (obj6) {
6592 {
6593 arg7 = wxString_in_helper(obj6);
6594 if (arg7 == NULL) SWIG_fail;
b411df4a 6595 temp7 = true;
d55e5bfc
RD
6596 }
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6607 }
6608 {
6609 if (temp7)
6610 delete arg7;
6611 }
6612 return resultobj;
6613 fail:
6614 {
6615 if (temp7)
6616 delete arg7;
6617 }
6618 return NULL;
6619}
6620
6621
c370783e 6622static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6623 PyObject *resultobj = NULL;
d55e5bfc
RD
6624 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6625 bool result;
6626 PyObject * obj0 = 0 ;
6627 char *kwnames[] = {
6628 (char *) "self", NULL
6629 };
6630
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
6632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 {
6642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6643 }
6644 return resultobj;
6645 fail:
6646 return NULL;
6647}
6648
6649
c370783e 6650static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6651 PyObject *resultobj = NULL;
d55e5bfc
RD
6652 int result;
6653 char *kwnames[] = {
6654 NULL
6655 };
6656
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (int)wxStaticLine::GetDefaultSize();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
36ed4f51 6665 {
32fe5131 6666 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6667 }
d55e5bfc
RD
6668 return resultobj;
6669 fail:
6670 return NULL;
6671}
6672
6673
c370783e 6674static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6675 PyObject *resultobj = NULL;
36ed4f51 6676 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6677 wxVisualAttributes result;
6678 PyObject * obj0 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "variant", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6684 if (obj0) {
36ed4f51 6685 {
32fe5131 6686 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
6687 if (SWIG_arg_fail(1)) SWIG_fail;
6688 }
f20a2e1f
RD
6689 }
6690 {
0439c23b 6691 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6693 result = wxStaticLine::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6694
6695 wxPyEndAllowThreads(__tstate);
110da5b0 6696 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6697 }
6698 {
6699 wxVisualAttributes * resultptr;
32fe5131 6700 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6702 }
6703 return resultobj;
6704 fail:
6705 return NULL;
6706}
6707
6708
c370783e 6709static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6710 PyObject *obj;
6711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6712 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6713 Py_INCREF(obj);
6714 return Py_BuildValue((char *)"");
6715}
c370783e 6716static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6717 PyObject *resultobj = NULL;
d55e5bfc 6718 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6719 int arg2 = (int) -1 ;
6720 wxString const &arg3_defvalue = wxPyEmptyString ;
6721 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6722 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6723 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6724 wxSize const &arg5_defvalue = wxDefaultSize ;
6725 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6726 long arg6 = (long) 0 ;
6727 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6728 wxString *arg7 = (wxString *) &arg7_defvalue ;
6729 wxStaticText *result;
b411df4a 6730 bool temp3 = false ;
d55e5bfc
RD
6731 wxPoint temp4 ;
6732 wxSize temp5 ;
b411df4a 6733 bool temp7 = false ;
d55e5bfc
RD
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 PyObject * obj2 = 0 ;
6737 PyObject * obj3 = 0 ;
6738 PyObject * obj4 = 0 ;
6739 PyObject * obj5 = 0 ;
6740 PyObject * obj6 = 0 ;
6741 char *kwnames[] = {
6742 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6743 };
6744
bfddbb17 6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6747 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6748 if (obj1) {
36ed4f51 6749 {
32fe5131 6750 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6751 if (SWIG_arg_fail(2)) SWIG_fail;
6752 }
bfddbb17
RD
6753 }
6754 if (obj2) {
6755 {
6756 arg3 = wxString_in_helper(obj2);
6757 if (arg3 == NULL) SWIG_fail;
b411df4a 6758 temp3 = true;
bfddbb17 6759 }
d55e5bfc
RD
6760 }
6761 if (obj3) {
6762 {
6763 arg4 = &temp4;
6764 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6765 }
6766 }
6767 if (obj4) {
6768 {
6769 arg5 = &temp5;
6770 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6771 }
6772 }
6773 if (obj5) {
36ed4f51 6774 {
32fe5131 6775 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
6776 if (SWIG_arg_fail(6)) SWIG_fail;
6777 }
d55e5bfc
RD
6778 }
6779 if (obj6) {
6780 {
6781 arg7 = wxString_in_helper(obj6);
6782 if (arg7 == NULL) SWIG_fail;
b411df4a 6783 temp7 = true;
d55e5bfc
RD
6784 }
6785 }
6786 {
0439c23b 6787 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6790
6791 wxPyEndAllowThreads(__tstate);
110da5b0 6792 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6793 }
6794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6795 {
6796 if (temp3)
6797 delete arg3;
6798 }
6799 {
6800 if (temp7)
6801 delete arg7;
6802 }
6803 return resultobj;
6804 fail:
6805 {
6806 if (temp3)
6807 delete arg3;
6808 }
6809 {
6810 if (temp7)
6811 delete arg7;
6812 }
6813 return NULL;
6814}
6815
6816
c370783e 6817static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6818 PyObject *resultobj = NULL;
d55e5bfc
RD
6819 wxStaticText *result;
6820 char *kwnames[] = {
6821 NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6825 {
0439c23b 6826 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (wxStaticText *)new wxStaticText();
6829
6830 wxPyEndAllowThreads(__tstate);
110da5b0 6831 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6832 }
6833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6834 return resultobj;
6835 fail:
6836 return NULL;
6837}
6838
6839
c370783e 6840static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6841 PyObject *resultobj = NULL;
d55e5bfc
RD
6842 wxStaticText *arg1 = (wxStaticText *) 0 ;
6843 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6844 int arg3 = (int) -1 ;
6845 wxString const &arg4_defvalue = wxPyEmptyString ;
6846 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6847 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6848 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6849 wxSize const &arg6_defvalue = wxDefaultSize ;
6850 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6851 long arg7 = (long) 0 ;
6852 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6853 wxString *arg8 = (wxString *) &arg8_defvalue ;
6854 bool result;
b411df4a 6855 bool temp4 = false ;
d55e5bfc
RD
6856 wxPoint temp5 ;
6857 wxSize temp6 ;
b411df4a 6858 bool temp8 = false ;
d55e5bfc
RD
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
6861 PyObject * obj2 = 0 ;
6862 PyObject * obj3 = 0 ;
6863 PyObject * obj4 = 0 ;
6864 PyObject * obj5 = 0 ;
6865 PyObject * obj6 = 0 ;
6866 PyObject * obj7 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6869 };
6870
bfddbb17 6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6873 if (SWIG_arg_fail(1)) SWIG_fail;
6874 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6875 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6876 if (obj2) {
36ed4f51 6877 {
32fe5131 6878 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6879 if (SWIG_arg_fail(3)) SWIG_fail;
6880 }
bfddbb17
RD
6881 }
6882 if (obj3) {
6883 {
6884 arg4 = wxString_in_helper(obj3);
6885 if (arg4 == NULL) SWIG_fail;
b411df4a 6886 temp4 = true;
bfddbb17 6887 }
d55e5bfc
RD
6888 }
6889 if (obj4) {
6890 {
6891 arg5 = &temp5;
6892 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6893 }
6894 }
6895 if (obj5) {
6896 {
6897 arg6 = &temp6;
6898 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6899 }
6900 }
6901 if (obj6) {
36ed4f51 6902 {
32fe5131 6903 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
6904 if (SWIG_arg_fail(7)) SWIG_fail;
6905 }
d55e5bfc
RD
6906 }
6907 if (obj7) {
6908 {
6909 arg8 = wxString_in_helper(obj7);
6910 if (arg8 == NULL) SWIG_fail;
b411df4a 6911 temp8 = true;
d55e5bfc
RD
6912 }
6913 }
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 {
6922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6923 }
6924 {
6925 if (temp4)
6926 delete arg4;
6927 }
6928 {
6929 if (temp8)
6930 delete arg8;
6931 }
6932 return resultobj;
6933 fail:
6934 {
6935 if (temp4)
6936 delete arg4;
6937 }
6938 {
6939 if (temp8)
6940 delete arg8;
6941 }
6942 return NULL;
6943}
6944
6945
943e8dfd 6946static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6947 PyObject *resultobj = NULL;
943e8dfd
RD
6948 wxStaticText *arg1 = (wxStaticText *) 0 ;
6949 int arg2 ;
6950 PyObject * obj0 = 0 ;
6951 PyObject * obj1 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self",(char *) "width", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6958 if (SWIG_arg_fail(1)) SWIG_fail;
6959 {
32fe5131 6960 arg2 = static_cast<int >(SWIG_As_int(obj1));
943e8dfd
RD
6961 if (SWIG_arg_fail(2)) SWIG_fail;
6962 }
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 (arg1)->Wrap(arg2);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 Py_INCREF(Py_None); resultobj = Py_None;
6971 return resultobj;
6972 fail:
6973 return NULL;
6974}
6975
6976
c370783e 6977static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6978 PyObject *resultobj = NULL;
36ed4f51 6979 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6980 wxVisualAttributes result;
6981 PyObject * obj0 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "variant", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6987 if (obj0) {
36ed4f51 6988 {
32fe5131 6989 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
6990 if (SWIG_arg_fail(1)) SWIG_fail;
6991 }
f20a2e1f
RD
6992 }
6993 {
0439c23b 6994 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6996 result = wxStaticText::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6997
6998 wxPyEndAllowThreads(__tstate);
110da5b0 6999 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7000 }
7001 {
7002 wxVisualAttributes * resultptr;
32fe5131 7003 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7005 }
7006 return resultobj;
7007 fail:
7008 return NULL;
7009}
7010
7011
c370783e 7012static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7013 PyObject *obj;
7014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7015 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
7016 Py_INCREF(obj);
7017 return Py_BuildValue((char *)"");
7018}
c370783e 7019static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7020 PyObject *resultobj = NULL;
d55e5bfc 7021 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
7022 int arg2 = (int) -1 ;
7023 wxBitmap const &arg3_defvalue = wxNullBitmap ;
7024 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
7025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7027 wxSize const &arg5_defvalue = wxDefaultSize ;
7028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7029 long arg6 = (long) 0 ;
7030 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
7031 wxString *arg7 = (wxString *) &arg7_defvalue ;
7032 wxStaticBitmap *result;
7033 wxPoint temp4 ;
7034 wxSize temp5 ;
b411df4a 7035 bool temp7 = false ;
d55e5bfc
RD
7036 PyObject * obj0 = 0 ;
7037 PyObject * obj1 = 0 ;
7038 PyObject * obj2 = 0 ;
7039 PyObject * obj3 = 0 ;
7040 PyObject * obj4 = 0 ;
7041 PyObject * obj5 = 0 ;
7042 PyObject * obj6 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7045 };
7046
bfddbb17 7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7049 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 7050 if (obj1) {
36ed4f51 7051 {
32fe5131 7052 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7053 if (SWIG_arg_fail(2)) SWIG_fail;
7054 }
bfddbb17
RD
7055 }
7056 if (obj2) {
36ed4f51
RD
7057 {
7058 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7059 if (SWIG_arg_fail(3)) SWIG_fail;
7060 if (arg3 == NULL) {
7061 SWIG_null_ref("wxBitmap");
7062 }
7063 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 7064 }
d55e5bfc
RD
7065 }
7066 if (obj3) {
7067 {
7068 arg4 = &temp4;
7069 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7070 }
7071 }
7072 if (obj4) {
7073 {
7074 arg5 = &temp5;
7075 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7076 }
7077 }
7078 if (obj5) {
36ed4f51 7079 {
32fe5131 7080 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
7081 if (SWIG_arg_fail(6)) SWIG_fail;
7082 }
d55e5bfc
RD
7083 }
7084 if (obj6) {
7085 {
7086 arg7 = wxString_in_helper(obj6);
7087 if (arg7 == NULL) SWIG_fail;
b411df4a 7088 temp7 = true;
d55e5bfc
RD
7089 }
7090 }
7091 {
0439c23b 7092 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7095
7096 wxPyEndAllowThreads(__tstate);
110da5b0 7097 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7098 }
7099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7100 {
7101 if (temp7)
7102 delete arg7;
7103 }
7104 return resultobj;
7105 fail:
7106 {
7107 if (temp7)
7108 delete arg7;
7109 }
7110 return NULL;
7111}
7112
7113
c370783e 7114static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7115 PyObject *resultobj = NULL;
d55e5bfc
RD
7116 wxStaticBitmap *result;
7117 char *kwnames[] = {
7118 NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7122 {
0439c23b 7123 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (wxStaticBitmap *)new wxStaticBitmap();
7126
7127 wxPyEndAllowThreads(__tstate);
110da5b0 7128 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7129 }
7130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7131 return resultobj;
7132 fail:
7133 return NULL;
7134}
7135
7136
c370783e 7137static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7138 PyObject *resultobj = NULL;
d55e5bfc
RD
7139 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7140 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
7141 int arg3 = (int) -1 ;
7142 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7143 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
7144 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7145 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7146 wxSize const &arg6_defvalue = wxDefaultSize ;
7147 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7148 long arg7 = (long) 0 ;
7149 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7150 wxString *arg8 = (wxString *) &arg8_defvalue ;
7151 bool result;
7152 wxPoint temp5 ;
7153 wxSize temp6 ;
b411df4a 7154 bool temp8 = false ;
d55e5bfc
RD
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 PyObject * obj2 = 0 ;
7158 PyObject * obj3 = 0 ;
7159 PyObject * obj4 = 0 ;
7160 PyObject * obj5 = 0 ;
7161 PyObject * obj6 = 0 ;
7162 PyObject * obj7 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7165 };
7166
bfddbb17 7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
7168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7169 if (SWIG_arg_fail(1)) SWIG_fail;
7170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7171 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7172 if (obj2) {
36ed4f51 7173 {
32fe5131 7174 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7175 if (SWIG_arg_fail(3)) SWIG_fail;
7176 }
bfddbb17
RD
7177 }
7178 if (obj3) {
36ed4f51
RD
7179 {
7180 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7181 if (SWIG_arg_fail(4)) SWIG_fail;
7182 if (arg4 == NULL) {
7183 SWIG_null_ref("wxBitmap");
7184 }
7185 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 7186 }
d55e5bfc
RD
7187 }
7188 if (obj4) {
7189 {
7190 arg5 = &temp5;
7191 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7192 }
7193 }
7194 if (obj5) {
7195 {
7196 arg6 = &temp6;
7197 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7198 }
7199 }
7200 if (obj6) {
36ed4f51 7201 {
32fe5131 7202 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
7203 if (SWIG_arg_fail(7)) SWIG_fail;
7204 }
d55e5bfc
RD
7205 }
7206 if (obj7) {
7207 {
7208 arg8 = wxString_in_helper(obj7);
7209 if (arg8 == NULL) SWIG_fail;
b411df4a 7210 temp8 = true;
d55e5bfc
RD
7211 }
7212 }
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7216
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 {
7221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7222 }
7223 {
7224 if (temp8)
7225 delete arg8;
7226 }
7227 return resultobj;
7228 fail:
7229 {
7230 if (temp8)
7231 delete arg8;
7232 }
7233 return NULL;
7234}
7235
7236
c370783e 7237static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7238 PyObject *resultobj = NULL;
d55e5bfc
RD
7239 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7240 wxBitmap result;
7241 PyObject * obj0 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
7247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = (arg1)->GetBitmap();
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 {
7257 wxBitmap * resultptr;
32fe5131 7258 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
7259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7260 }
7261 return resultobj;
7262 fail:
7263 return NULL;
7264}
7265
7266
c370783e 7267static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7268 PyObject *resultobj = NULL;
d55e5bfc
RD
7269 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7270 wxBitmap *arg2 = 0 ;
7271 PyObject * obj0 = 0 ;
7272 PyObject * obj1 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self",(char *) "bitmap", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7279 if (SWIG_arg_fail(1)) SWIG_fail;
7280 {
7281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7282 if (SWIG_arg_fail(2)) SWIG_fail;
7283 if (arg2 == NULL) {
7284 SWIG_null_ref("wxBitmap");
7285 }
7286 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7287 }
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 return resultobj;
7297 fail:
7298 return NULL;
7299}
7300
7301
c370783e 7302static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7303 PyObject *resultobj = NULL;
d55e5bfc
RD
7304 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7305 wxIcon *arg2 = 0 ;
7306 PyObject * obj0 = 0 ;
7307 PyObject * obj1 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "self",(char *) "icon", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail;
7315 {
7316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7317 if (SWIG_arg_fail(2)) SWIG_fail;
7318 if (arg2 == NULL) {
7319 SWIG_null_ref("wxIcon");
7320 }
7321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7322 }
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 (arg1)->SetIcon((wxIcon const &)*arg2);
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 Py_INCREF(Py_None); resultobj = Py_None;
7331 return resultobj;
7332 fail:
7333 return NULL;
7334}
7335
7336
c370783e 7337static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7338 PyObject *resultobj = NULL;
36ed4f51 7339 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7340 wxVisualAttributes result;
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "variant", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7347 if (obj0) {
36ed4f51 7348 {
32fe5131 7349 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
7350 if (SWIG_arg_fail(1)) SWIG_fail;
7351 }
f20a2e1f
RD
7352 }
7353 {
0439c23b 7354 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 7356 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7357
7358 wxPyEndAllowThreads(__tstate);
110da5b0 7359 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7360 }
7361 {
7362 wxVisualAttributes * resultptr;
32fe5131 7363 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7365 }
7366 return resultobj;
7367 fail:
7368 return NULL;
7369}
7370
7371
c370783e 7372static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7373 PyObject *obj;
7374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7376 Py_INCREF(obj);
7377 return Py_BuildValue((char *)"");
7378}
c370783e 7379static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7380 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7381 return 1;
7382}
7383
7384
36ed4f51 7385static PyObject *_wrap_ListBoxNameStr_get(void) {
32fe5131 7386 PyObject *pyobj = NULL;
d55e5bfc
RD
7387
7388 {
7389#if wxUSE_UNICODE
7390 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7391#else
7392 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7393#endif
7394 }
7395 return pyobj;
7396}
7397
7398
c370783e 7399static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7400 PyObject *resultobj = NULL;
d55e5bfc 7401 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 7402 int arg2 = (int) -1 ;
d55e5bfc
RD
7403 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7404 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7405 wxSize const &arg4_defvalue = wxDefaultSize ;
7406 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7407 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7408 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7409 long arg6 = (long) 0 ;
7410 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7411 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7412 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7413 wxString *arg8 = (wxString *) &arg8_defvalue ;
7414 wxListBox *result;
7415 wxPoint temp3 ;
7416 wxSize temp4 ;
b411df4a
RD
7417 bool temp5 = false ;
7418 bool temp8 = false ;
d55e5bfc
RD
7419 PyObject * obj0 = 0 ;
7420 PyObject * obj1 = 0 ;
7421 PyObject * obj2 = 0 ;
7422 PyObject * obj3 = 0 ;
7423 PyObject * obj4 = 0 ;
7424 PyObject * obj5 = 0 ;
7425 PyObject * obj6 = 0 ;
7426 PyObject * obj7 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7429 };
7430
bfddbb17 7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
7432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7433 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 7434 if (obj1) {
36ed4f51 7435 {
32fe5131 7436 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7437 if (SWIG_arg_fail(2)) SWIG_fail;
7438 }
bfddbb17 7439 }
d55e5bfc
RD
7440 if (obj2) {
7441 {
7442 arg3 = &temp3;
7443 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7444 }
7445 }
7446 if (obj3) {
7447 {
7448 arg4 = &temp4;
7449 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7450 }
7451 }
7452 if (obj4) {
7453 {
7454 if (! PySequence_Check(obj4)) {
7455 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7456 SWIG_fail;
7457 }
7458 arg5 = new wxArrayString;
b411df4a 7459 temp5 = true;
d55e5bfc
RD
7460 int i, len=PySequence_Length(obj4);
7461 for (i=0; i<len; i++) {
7462 PyObject* item = PySequence_GetItem(obj4, i);
71237536 7463 wxString* s = wxString_in_helper(item);
d55e5bfc 7464 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7465 arg5->Add(*s);
7466 delete s;
d55e5bfc 7467 Py_DECREF(item);
d55e5bfc
RD
7468 }
7469 }
7470 }
7471 if (obj5) {
36ed4f51 7472 {
32fe5131 7473 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
7474 if (SWIG_arg_fail(6)) SWIG_fail;
7475 }
d55e5bfc
RD
7476 }
7477 if (obj6) {
36ed4f51
RD
7478 {
7479 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7480 if (SWIG_arg_fail(7)) SWIG_fail;
7481 if (arg7 == NULL) {
7482 SWIG_null_ref("wxValidator");
7483 }
7484 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7485 }
7486 }
7487 if (obj7) {
7488 {
7489 arg8 = wxString_in_helper(obj7);
7490 if (arg8 == NULL) SWIG_fail;
b411df4a 7491 temp8 = true;
d55e5bfc
RD
7492 }
7493 }
7494 {
0439c23b 7495 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7498
7499 wxPyEndAllowThreads(__tstate);
110da5b0 7500 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7501 }
7502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7503 {
7504 if (temp5) delete arg5;
7505 }
7506 {
7507 if (temp8)
7508 delete arg8;
7509 }
7510 return resultobj;
7511 fail:
7512 {
7513 if (temp5) delete arg5;
7514 }
7515 {
7516 if (temp8)
7517 delete arg8;
7518 }
7519 return NULL;
7520}
7521
7522
c370783e 7523static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7524 PyObject *resultobj = NULL;
d55e5bfc
RD
7525 wxListBox *result;
7526 char *kwnames[] = {
7527 NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7531 {
0439c23b 7532 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (wxListBox *)new wxListBox();
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 return resultobj;
7541 fail:
7542 return NULL;
7543}
7544
7545
c370783e 7546static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7547 PyObject *resultobj = NULL;
d55e5bfc
RD
7548 wxListBox *arg1 = (wxListBox *) 0 ;
7549 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7550 int arg3 = (int) -1 ;
d55e5bfc
RD
7551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7553 wxSize const &arg5_defvalue = wxDefaultSize ;
7554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7555 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7556 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7557 long arg7 = (long) 0 ;
7558 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7559 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7560 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7561 wxString *arg9 = (wxString *) &arg9_defvalue ;
7562 bool result;
7563 wxPoint temp4 ;
7564 wxSize temp5 ;
b411df4a
RD
7565 bool temp6 = false ;
7566 bool temp9 = false ;
d55e5bfc
RD
7567 PyObject * obj0 = 0 ;
7568 PyObject * obj1 = 0 ;
7569 PyObject * obj2 = 0 ;
7570 PyObject * obj3 = 0 ;
7571 PyObject * obj4 = 0 ;
7572 PyObject * obj5 = 0 ;
7573 PyObject * obj6 = 0 ;
7574 PyObject * obj7 = 0 ;
7575 PyObject * obj8 = 0 ;
7576 char *kwnames[] = {
7577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7578 };
7579
bfddbb17 7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
7581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail;
7583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7584 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7585 if (obj2) {
36ed4f51 7586 {
32fe5131 7587 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7588 if (SWIG_arg_fail(3)) SWIG_fail;
7589 }
bfddbb17 7590 }
d55e5bfc
RD
7591 if (obj3) {
7592 {
7593 arg4 = &temp4;
7594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7595 }
7596 }
7597 if (obj4) {
7598 {
7599 arg5 = &temp5;
7600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7601 }
7602 }
7603 if (obj5) {
7604 {
7605 if (! PySequence_Check(obj5)) {
7606 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7607 SWIG_fail;
7608 }
7609 arg6 = new wxArrayString;
b411df4a 7610 temp6 = true;
d55e5bfc
RD
7611 int i, len=PySequence_Length(obj5);
7612 for (i=0; i<len; i++) {
7613 PyObject* item = PySequence_GetItem(obj5, i);
71237536 7614 wxString* s = wxString_in_helper(item);
d55e5bfc 7615 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7616 arg6->Add(*s);
7617 delete s;
d55e5bfc 7618 Py_DECREF(item);
d55e5bfc
RD
7619 }
7620 }
7621 }
7622 if (obj6) {
36ed4f51 7623 {
32fe5131 7624 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
7625 if (SWIG_arg_fail(7)) SWIG_fail;
7626 }
d55e5bfc
RD
7627 }
7628 if (obj7) {
36ed4f51
RD
7629 {
7630 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7631 if (SWIG_arg_fail(8)) SWIG_fail;
7632 if (arg8 == NULL) {
7633 SWIG_null_ref("wxValidator");
7634 }
7635 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7636 }
7637 }
7638 if (obj8) {
7639 {
7640 arg9 = wxString_in_helper(obj8);
7641 if (arg9 == NULL) SWIG_fail;
b411df4a 7642 temp9 = true;
d55e5bfc
RD
7643 }
7644 }
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 {
7653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7654 }
7655 {
7656 if (temp6) delete arg6;
7657 }
7658 {
7659 if (temp9)
7660 delete arg9;
7661 }
7662 return resultobj;
7663 fail:
7664 {
7665 if (temp6) delete arg6;
7666 }
7667 {
7668 if (temp9)
7669 delete arg9;
7670 }
7671 return NULL;
7672}
7673
7674
c370783e 7675static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7676 PyObject *resultobj = NULL;
d55e5bfc
RD
7677 wxListBox *arg1 = (wxListBox *) 0 ;
7678 wxString *arg2 = 0 ;
7679 int arg3 ;
7680 PyObject *arg4 = (PyObject *) NULL ;
b411df4a 7681 bool temp2 = false ;
d55e5bfc
RD
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 PyObject * obj2 = 0 ;
7685 PyObject * obj3 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7693 {
7694 arg2 = wxString_in_helper(obj1);
7695 if (arg2 == NULL) SWIG_fail;
b411df4a 7696 temp2 = true;
d55e5bfc 7697 }
36ed4f51 7698 {
32fe5131 7699 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7700 if (SWIG_arg_fail(3)) SWIG_fail;
7701 }
d55e5bfc
RD
7702 if (obj3) {
7703 arg4 = obj3;
7704 }
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 Py_INCREF(Py_None); resultobj = Py_None;
7713 {
7714 if (temp2)
7715 delete arg2;
7716 }
7717 return resultobj;
7718 fail:
7719 {
7720 if (temp2)
7721 delete arg2;
7722 }
7723 return NULL;
7724}
7725
7726
c370783e 7727static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7728 PyObject *resultobj = NULL;
d55e5bfc
RD
7729 wxListBox *arg1 = (wxListBox *) 0 ;
7730 wxArrayString *arg2 = 0 ;
7731 int arg3 ;
b411df4a 7732 bool temp2 = false ;
d55e5bfc
RD
7733 PyObject * obj0 = 0 ;
7734 PyObject * obj1 = 0 ;
7735 PyObject * obj2 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "items",(char *) "pos", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7743 {
7744 if (! PySequence_Check(obj1)) {
7745 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7746 SWIG_fail;
7747 }
7748 arg2 = new wxArrayString;
b411df4a 7749 temp2 = true;
d55e5bfc
RD
7750 int i, len=PySequence_Length(obj1);
7751 for (i=0; i<len; i++) {
7752 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7753 wxString* s = wxString_in_helper(item);
d55e5bfc 7754 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7755 arg2->Add(*s);
7756 delete s;
d55e5bfc 7757 Py_DECREF(item);
d55e5bfc
RD
7758 }
7759 }
36ed4f51 7760 {
32fe5131 7761 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7762 if (SWIG_arg_fail(3)) SWIG_fail;
7763 }
d55e5bfc
RD
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 Py_INCREF(Py_None); resultobj = Py_None;
7772 {
7773 if (temp2) delete arg2;
7774 }
7775 return resultobj;
7776 fail:
7777 {
7778 if (temp2) delete arg2;
7779 }
7780 return NULL;
7781}
7782
7783
c370783e 7784static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7785 PyObject *resultobj = NULL;
d55e5bfc
RD
7786 wxListBox *arg1 = (wxListBox *) 0 ;
7787 wxArrayString *arg2 = 0 ;
b411df4a 7788 bool temp2 = false ;
d55e5bfc
RD
7789 PyObject * obj0 = 0 ;
7790 PyObject * obj1 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "self",(char *) "items", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7798 {
7799 if (! PySequence_Check(obj1)) {
7800 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7801 SWIG_fail;
7802 }
7803 arg2 = new wxArrayString;
b411df4a 7804 temp2 = true;
d55e5bfc
RD
7805 int i, len=PySequence_Length(obj1);
7806 for (i=0; i<len; i++) {
7807 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7808 wxString* s = wxString_in_helper(item);
d55e5bfc 7809 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7810 arg2->Add(*s);
7811 delete s;
d55e5bfc 7812 Py_DECREF(item);
d55e5bfc
RD
7813 }
7814 }
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 (arg1)->Set((wxArrayString const &)*arg2);
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 Py_INCREF(Py_None); resultobj = Py_None;
7823 {
7824 if (temp2) delete arg2;
7825 }
7826 return resultobj;
7827 fail:
7828 {
7829 if (temp2) delete arg2;
7830 }
7831 return NULL;
7832}
7833
7834
c370783e 7835static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7836 PyObject *resultobj = NULL;
d55e5bfc
RD
7837 wxListBox *arg1 = (wxListBox *) 0 ;
7838 int arg2 ;
7839 bool result;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self",(char *) "n", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail;
7849 {
32fe5131 7850 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7851 if (SWIG_arg_fail(2)) SWIG_fail;
7852 }
d55e5bfc
RD
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 {
7861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7862 }
7863 return resultobj;
7864 fail:
7865 return NULL;
7866}
7867
7868
c370783e 7869static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7870 PyObject *resultobj = NULL;
d55e5bfc
RD
7871 wxListBox *arg1 = (wxListBox *) 0 ;
7872 int arg2 ;
b411df4a 7873 bool arg3 = (bool) true ;
d55e5bfc
RD
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 PyObject * obj2 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "n",(char *) "select", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail;
7884 {
32fe5131 7885 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7886 if (SWIG_arg_fail(2)) SWIG_fail;
7887 }
d55e5bfc 7888 if (obj2) {
36ed4f51 7889 {
32fe5131 7890 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
7891 if (SWIG_arg_fail(3)) SWIG_fail;
7892 }
d55e5bfc
RD
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetSelection(arg2,arg3);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
c370783e 7908static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7909 PyObject *resultobj = NULL;
d55e5bfc
RD
7910 wxListBox *arg1 = (wxListBox *) 0 ;
7911 int arg2 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "n", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail;
7921 {
32fe5131 7922 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7923 if (SWIG_arg_fail(2)) SWIG_fail;
7924 }
d55e5bfc
RD
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 (arg1)->Select(arg2);
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 Py_INCREF(Py_None); resultobj = Py_None;
7933 return resultobj;
7934 fail:
7935 return NULL;
7936}
7937
7938
c370783e 7939static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7940 PyObject *resultobj = NULL;
d55e5bfc
RD
7941 wxListBox *arg1 = (wxListBox *) 0 ;
7942 int arg2 ;
7943 PyObject * obj0 = 0 ;
7944 PyObject * obj1 = 0 ;
7945 char *kwnames[] = {
7946 (char *) "self",(char *) "n", NULL
7947 };
7948
7949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7951 if (SWIG_arg_fail(1)) SWIG_fail;
7952 {
32fe5131 7953 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7954 if (SWIG_arg_fail(2)) SWIG_fail;
7955 }
d55e5bfc
RD
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 (arg1)->Deselect(arg2);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
c370783e 7970static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7971 PyObject *resultobj = NULL;
d55e5bfc
RD
7972 wxListBox *arg1 = (wxListBox *) 0 ;
7973 int arg2 = (int) -1 ;
7974 PyObject * obj0 = 0 ;
7975 PyObject * obj1 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "self",(char *) "itemToLeaveSelected", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7983 if (obj1) {
36ed4f51 7984 {
32fe5131 7985 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7986 if (SWIG_arg_fail(2)) SWIG_fail;
7987 }
d55e5bfc
RD
7988 }
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 (arg1)->DeselectAll(arg2);
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 Py_INCREF(Py_None); resultobj = Py_None;
7997 return resultobj;
7998 fail:
7999 return NULL;
8000}
8001
8002
c370783e 8003static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8004 PyObject *resultobj = NULL;
d55e5bfc
RD
8005 wxListBox *arg1 = (wxListBox *) 0 ;
8006 wxString *arg2 = 0 ;
b411df4a 8007 bool arg3 = (bool) true ;
d55e5bfc 8008 bool result;
b411df4a 8009 bool temp2 = false ;
d55e5bfc
RD
8010 PyObject * obj0 = 0 ;
8011 PyObject * obj1 = 0 ;
8012 PyObject * obj2 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self",(char *) "s",(char *) "select", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8020 {
8021 arg2 = wxString_in_helper(obj1);
8022 if (arg2 == NULL) SWIG_fail;
b411df4a 8023 temp2 = true;
d55e5bfc
RD
8024 }
8025 if (obj2) {
36ed4f51 8026 {
32fe5131 8027 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
8028 if (SWIG_arg_fail(3)) SWIG_fail;
8029 }
d55e5bfc
RD
8030 }
8031 {
8032 PyThreadState* __tstate = wxPyBeginAllowThreads();
8033 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
8034
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 {
8039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8040 }
8041 {
8042 if (temp2)
8043 delete arg2;
8044 }
8045 return resultobj;
8046 fail:
8047 {
8048 if (temp2)
8049 delete arg2;
8050 }
8051 return NULL;
8052}
8053
8054
c370783e 8055static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8056 PyObject *resultobj = NULL;
d55e5bfc
RD
8057 wxListBox *arg1 = (wxListBox *) 0 ;
8058 PyObject *result;
8059 PyObject * obj0 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
8065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 result = (PyObject *)wxListBox_GetSelections(arg1);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 resultobj = result;
8075 return resultobj;
8076 fail:
8077 return NULL;
8078}
8079
8080
c370783e 8081static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8082 PyObject *resultobj = NULL;
d55e5bfc
RD
8083 wxListBox *arg1 = (wxListBox *) 0 ;
8084 int arg2 ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self",(char *) "n", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail;
8094 {
32fe5131 8095 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8096 if (SWIG_arg_fail(2)) SWIG_fail;
8097 }
d55e5bfc
RD
8098 {
8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
8100 (arg1)->SetFirstItem(arg2);
8101
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 Py_INCREF(Py_None); resultobj = Py_None;
8106 return resultobj;
8107 fail:
8108 return NULL;
8109}
8110
8111
c370783e 8112static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8113 PyObject *resultobj = NULL;
d55e5bfc
RD
8114 wxListBox *arg1 = (wxListBox *) 0 ;
8115 wxString *arg2 = 0 ;
b411df4a 8116 bool temp2 = false ;
d55e5bfc
RD
8117 PyObject * obj0 = 0 ;
8118 PyObject * obj1 = 0 ;
8119 char *kwnames[] = {
8120 (char *) "self",(char *) "s", NULL
8121 };
8122
8123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8126 {
8127 arg2 = wxString_in_helper(obj1);
8128 if (arg2 == NULL) SWIG_fail;
b411df4a 8129 temp2 = true;
d55e5bfc
RD
8130 }
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 (arg1)->SetFirstItem((wxString const &)*arg2);
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 Py_INCREF(Py_None); resultobj = Py_None;
8139 {
8140 if (temp2)
8141 delete arg2;
8142 }
8143 return resultobj;
8144 fail:
8145 {
8146 if (temp2)
8147 delete arg2;
8148 }
8149 return NULL;
8150}
8151
8152
c370783e 8153static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8154 PyObject *resultobj = NULL;
d55e5bfc
RD
8155 wxListBox *arg1 = (wxListBox *) 0 ;
8156 int arg2 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self",(char *) "n", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail;
8166 {
32fe5131 8167 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8168 if (SWIG_arg_fail(2)) SWIG_fail;
8169 }
d55e5bfc
RD
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 (arg1)->EnsureVisible(arg2);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 Py_INCREF(Py_None); resultobj = Py_None;
8178 return resultobj;
8179 fail:
8180 return NULL;
8181}
8182
8183
c370783e 8184static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8185 PyObject *resultobj = NULL;
d55e5bfc
RD
8186 wxListBox *arg1 = (wxListBox *) 0 ;
8187 wxString *arg2 = 0 ;
b411df4a 8188 bool temp2 = false ;
d55e5bfc
RD
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 char *kwnames[] = {
8192 (char *) "self",(char *) "s", NULL
8193 };
8194
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8197 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8198 {
8199 arg2 = wxString_in_helper(obj1);
8200 if (arg2 == NULL) SWIG_fail;
b411df4a 8201 temp2 = true;
d55e5bfc
RD
8202 }
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 Py_INCREF(Py_None); resultobj = Py_None;
8211 {
8212 if (temp2)
8213 delete arg2;
8214 }
8215 return resultobj;
8216 fail:
8217 {
8218 if (temp2)
8219 delete arg2;
8220 }
8221 return NULL;
8222}
8223
8224
c370783e 8225static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8226 PyObject *resultobj = NULL;
d55e5bfc
RD
8227 wxListBox *arg1 = (wxListBox *) 0 ;
8228 bool result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
36ed4f51
RD
8235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (bool)((wxListBox const *)arg1)->IsSorted();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8246 }
8247 return resultobj;
8248 fail:
8249 return NULL;
8250}
8251
8252
c370783e 8253static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8254 PyObject *resultobj = NULL;
d55e5bfc
RD
8255 wxListBox *arg1 = (wxListBox *) 0 ;
8256 int arg2 ;
8257 wxColour *arg3 = 0 ;
8258 wxColour temp3 ;
8259 PyObject * obj0 = 0 ;
8260 PyObject * obj1 = 0 ;
8261 PyObject * obj2 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self",(char *) "item",(char *) "c", NULL
8264 };
8265
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail;
8269 {
32fe5131 8270 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8271 if (SWIG_arg_fail(2)) SWIG_fail;
8272 }
d55e5bfc
RD
8273 {
8274 arg3 = &temp3;
8275 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8276 }
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 Py_INCREF(Py_None); resultobj = Py_None;
8285 return resultobj;
8286 fail:
8287 return NULL;
8288}
8289
8290
c370783e 8291static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8292 PyObject *resultobj = NULL;
d55e5bfc
RD
8293 wxListBox *arg1 = (wxListBox *) 0 ;
8294 int arg2 ;
8295 wxColour *arg3 = 0 ;
8296 wxColour temp3 ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 PyObject * obj2 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "item",(char *) "c", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8306 if (SWIG_arg_fail(1)) SWIG_fail;
8307 {
32fe5131 8308 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8309 if (SWIG_arg_fail(2)) SWIG_fail;
8310 }
d55e5bfc
RD
8311 {
8312 arg3 = &temp3;
8313 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8314 }
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 return resultobj;
8324 fail:
8325 return NULL;
8326}
8327
8328
c370783e 8329static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8330 PyObject *resultobj = NULL;
d55e5bfc
RD
8331 wxListBox *arg1 = (wxListBox *) 0 ;
8332 int arg2 ;
8333 wxFont *arg3 = 0 ;
8334 PyObject * obj0 = 0 ;
8335 PyObject * obj1 = 0 ;
8336 PyObject * obj2 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self",(char *) "item",(char *) "f", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
8344 {
32fe5131 8345 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8346 if (SWIG_arg_fail(2)) SWIG_fail;
8347 }
8348 {
8349 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8350 if (SWIG_arg_fail(3)) SWIG_fail;
8351 if (arg3 == NULL) {
8352 SWIG_null_ref("wxFont");
8353 }
8354 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8355 }
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 Py_INCREF(Py_None); resultobj = Py_None;
8364 return resultobj;
8365 fail:
8366 return NULL;
8367}
8368
8369
c370783e 8370static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8371 PyObject *resultobj = NULL;
36ed4f51 8372 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8373 wxVisualAttributes result;
8374 PyObject * obj0 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "variant", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8380 if (obj0) {
36ed4f51 8381 {
32fe5131 8382 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
8383 if (SWIG_arg_fail(1)) SWIG_fail;
8384 }
d55e5bfc
RD
8385 }
8386 {
0439c23b 8387 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8389 result = wxListBox::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
8390
8391 wxPyEndAllowThreads(__tstate);
110da5b0 8392 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8393 }
8394 {
8395 wxVisualAttributes * resultptr;
32fe5131 8396 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
8397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8398 }
8399 return resultobj;
8400 fail:
8401 return NULL;
8402}
8403
8404
c370783e 8405static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8406 PyObject *obj;
8407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8408 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8409 Py_INCREF(obj);
8410 return Py_BuildValue((char *)"");
8411}
c370783e 8412static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8413 PyObject *resultobj = NULL;
d55e5bfc 8414 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8415 int arg2 = (int) -1 ;
d55e5bfc
RD
8416 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8417 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8418 wxSize const &arg4_defvalue = wxDefaultSize ;
8419 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8420 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8421 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8422 long arg6 = (long) 0 ;
8423 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8424 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8425 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8426 wxString *arg8 = (wxString *) &arg8_defvalue ;
8427 wxCheckListBox *result;
8428 wxPoint temp3 ;
8429 wxSize temp4 ;
b411df4a
RD
8430 bool temp5 = false ;
8431 bool temp8 = false ;
d55e5bfc
RD
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 PyObject * obj2 = 0 ;
8435 PyObject * obj3 = 0 ;
8436 PyObject * obj4 = 0 ;
8437 PyObject * obj5 = 0 ;
8438 PyObject * obj6 = 0 ;
8439 PyObject * obj7 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8442 };
8443
bfddbb17 8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
8445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8446 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8447 if (obj1) {
36ed4f51 8448 {
32fe5131 8449 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8450 if (SWIG_arg_fail(2)) SWIG_fail;
8451 }
bfddbb17 8452 }
d55e5bfc
RD
8453 if (obj2) {
8454 {
8455 arg3 = &temp3;
8456 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8457 }
8458 }
8459 if (obj3) {
8460 {
8461 arg4 = &temp4;
8462 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8463 }
8464 }
8465 if (obj4) {
8466 {
8467 if (! PySequence_Check(obj4)) {
8468 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8469 SWIG_fail;
8470 }
8471 arg5 = new wxArrayString;
b411df4a 8472 temp5 = true;
d55e5bfc
RD
8473 int i, len=PySequence_Length(obj4);
8474 for (i=0; i<len; i++) {
8475 PyObject* item = PySequence_GetItem(obj4, i);
71237536 8476 wxString* s = wxString_in_helper(item);
d55e5bfc 8477 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8478 arg5->Add(*s);
8479 delete s;
d55e5bfc 8480 Py_DECREF(item);
d55e5bfc
RD
8481 }
8482 }
8483 }
8484 if (obj5) {
36ed4f51 8485 {
32fe5131 8486 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
8487 if (SWIG_arg_fail(6)) SWIG_fail;
8488 }
d55e5bfc
RD
8489 }
8490 if (obj6) {
36ed4f51
RD
8491 {
8492 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8493 if (SWIG_arg_fail(7)) SWIG_fail;
8494 if (arg7 == NULL) {
8495 SWIG_null_ref("wxValidator");
8496 }
8497 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8498 }
8499 }
8500 if (obj7) {
8501 {
8502 arg8 = wxString_in_helper(obj7);
8503 if (arg8 == NULL) SWIG_fail;
b411df4a 8504 temp8 = true;
d55e5bfc
RD
8505 }
8506 }
8507 {
0439c23b 8508 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8511
8512 wxPyEndAllowThreads(__tstate);
110da5b0 8513 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8514 }
8515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8516 {
8517 if (temp5) delete arg5;
8518 }
8519 {
8520 if (temp8)
8521 delete arg8;
8522 }
8523 return resultobj;
8524 fail:
8525 {
8526 if (temp5) delete arg5;
8527 }
8528 {
8529 if (temp8)
8530 delete arg8;
8531 }
8532 return NULL;
8533}
8534
8535
c370783e 8536static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8537 PyObject *resultobj = NULL;
d55e5bfc
RD
8538 wxCheckListBox *result;
8539 char *kwnames[] = {
8540 NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8544 {
0439c23b 8545 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (wxCheckListBox *)new wxCheckListBox();
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 return resultobj;
8554 fail:
8555 return NULL;
8556}
8557
8558
c370783e 8559static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8560 PyObject *resultobj = NULL;
d55e5bfc
RD
8561 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8562 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8563 int arg3 = (int) -1 ;
d55e5bfc
RD
8564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8566 wxSize const &arg5_defvalue = wxDefaultSize ;
8567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8568 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8569 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8570 long arg7 = (long) 0 ;
8571 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8572 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8573 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8574 wxString *arg9 = (wxString *) &arg9_defvalue ;
8575 bool result;
8576 wxPoint temp4 ;
8577 wxSize temp5 ;
b411df4a
RD
8578 bool temp6 = false ;
8579 bool temp9 = false ;
d55e5bfc
RD
8580 PyObject * obj0 = 0 ;
8581 PyObject * obj1 = 0 ;
8582 PyObject * obj2 = 0 ;
8583 PyObject * obj3 = 0 ;
8584 PyObject * obj4 = 0 ;
8585 PyObject * obj5 = 0 ;
8586 PyObject * obj6 = 0 ;
8587 PyObject * obj7 = 0 ;
8588 PyObject * obj8 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8591 };
8592
bfddbb17 8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
8594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail;
8596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8597 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8598 if (obj2) {
36ed4f51 8599 {
32fe5131 8600 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8601 if (SWIG_arg_fail(3)) SWIG_fail;
8602 }
bfddbb17 8603 }
d55e5bfc
RD
8604 if (obj3) {
8605 {
8606 arg4 = &temp4;
8607 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8608 }
8609 }
8610 if (obj4) {
8611 {
8612 arg5 = &temp5;
8613 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8614 }
8615 }
8616 if (obj5) {
8617 {
8618 if (! PySequence_Check(obj5)) {
8619 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8620 SWIG_fail;
8621 }
8622 arg6 = new wxArrayString;
b411df4a 8623 temp6 = true;
d55e5bfc
RD
8624 int i, len=PySequence_Length(obj5);
8625 for (i=0; i<len; i++) {
8626 PyObject* item = PySequence_GetItem(obj5, i);
71237536 8627 wxString* s = wxString_in_helper(item);
d55e5bfc 8628 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8629 arg6->Add(*s);
8630 delete s;
d55e5bfc 8631 Py_DECREF(item);
d55e5bfc
RD
8632 }
8633 }
8634 }
8635 if (obj6) {
36ed4f51 8636 {
32fe5131 8637 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
8638 if (SWIG_arg_fail(7)) SWIG_fail;
8639 }
d55e5bfc
RD
8640 }
8641 if (obj7) {
36ed4f51
RD
8642 {
8643 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8644 if (SWIG_arg_fail(8)) SWIG_fail;
8645 if (arg8 == NULL) {
8646 SWIG_null_ref("wxValidator");
8647 }
8648 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8649 }
8650 }
8651 if (obj8) {
8652 {
8653 arg9 = wxString_in_helper(obj8);
8654 if (arg9 == NULL) SWIG_fail;
b411df4a 8655 temp9 = true;
d55e5bfc
RD
8656 }
8657 }
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8661
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 {
8666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8667 }
8668 {
8669 if (temp6) delete arg6;
8670 }
8671 {
8672 if (temp9)
8673 delete arg9;
8674 }
8675 return resultobj;
8676 fail:
8677 {
8678 if (temp6) delete arg6;
8679 }
8680 {
8681 if (temp9)
8682 delete arg9;
8683 }
8684 return NULL;
8685}
8686
8687
c370783e 8688static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8689 PyObject *resultobj = NULL;
d55e5bfc
RD
8690 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8691 int arg2 ;
8692 bool result;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self",(char *) "index", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8701 if (SWIG_arg_fail(1)) SWIG_fail;
8702 {
32fe5131 8703 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8704 if (SWIG_arg_fail(2)) SWIG_fail;
8705 }
d55e5bfc
RD
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 result = (bool)(arg1)->IsChecked(arg2);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 {
8714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8715 }
8716 return resultobj;
8717 fail:
8718 return NULL;
8719}
8720
8721
c370783e 8722static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8723 PyObject *resultobj = NULL;
d55e5bfc
RD
8724 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8725 int arg2 ;
b411df4a 8726 int arg3 = (int) true ;
d55e5bfc
RD
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 PyObject * obj2 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self",(char *) "index",(char *) "check", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail;
8737 {
32fe5131 8738 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8739 if (SWIG_arg_fail(2)) SWIG_fail;
8740 }
d55e5bfc 8741 if (obj2) {
36ed4f51 8742 {
32fe5131 8743 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8744 if (SWIG_arg_fail(3)) SWIG_fail;
8745 }
d55e5bfc
RD
8746 }
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 (arg1)->Check(arg2,arg3);
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 Py_INCREF(Py_None); resultobj = Py_None;
8755 return resultobj;
8756 fail:
8757 return NULL;
8758}
8759
8760
c370783e 8761static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8762 PyObject *resultobj = NULL;
d55e5bfc
RD
8763 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8764 wxPoint *arg2 = 0 ;
8765 int result;
8766 wxPoint temp2 ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self",(char *) "pt", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8776 {
8777 arg2 = &temp2;
8778 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8779 }
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
36ed4f51 8787 {
32fe5131 8788 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8789 }
d55e5bfc
RD
8790 return resultobj;
8791 fail:
8792 return NULL;
8793}
8794
8795
c370783e 8796static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8797 PyObject *resultobj = NULL;
d55e5bfc
RD
8798 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8799 int arg2 ;
8800 int arg3 ;
8801 int result;
8802 PyObject * obj0 = 0 ;
8803 PyObject * obj1 = 0 ;
8804 PyObject * obj2 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self",(char *) "x",(char *) "y", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail;
8812 {
32fe5131 8813 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8814 if (SWIG_arg_fail(2)) SWIG_fail;
8815 }
8816 {
32fe5131 8817 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8818 if (SWIG_arg_fail(3)) SWIG_fail;
8819 }
d55e5bfc
RD
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
36ed4f51 8827 {
32fe5131 8828 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8829 }
d55e5bfc
RD
8830 return resultobj;
8831 fail:
8832 return NULL;
8833}
8834
8835
c370783e 8836static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8837 PyObject *obj;
8838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8839 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8840 Py_INCREF(obj);
8841 return Py_BuildValue((char *)"");
8842}
c370783e 8843static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8844 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8845 return 1;
8846}
8847
8848
36ed4f51 8849static PyObject *_wrap_TextCtrlNameStr_get(void) {
32fe5131 8850 PyObject *pyobj = NULL;
d55e5bfc
RD
8851
8852 {
8853#if wxUSE_UNICODE
8854 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8855#else
8856 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8857#endif
8858 }
8859 return pyobj;
8860}
8861
8862
c370783e 8863static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8864 PyObject *resultobj = NULL;
908b74cd
RD
8865 wxColour const &arg1_defvalue = wxNullColour ;
8866 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8867 wxColour const &arg2_defvalue = wxNullColour ;
8868 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8869 wxFont const &arg3_defvalue = wxNullFont ;
8870 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
36ed4f51 8871 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8872 wxTextAttr *result;
8873 wxColour temp1 ;
8874 wxColour temp2 ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 PyObject * obj2 = 0 ;
8878 PyObject * obj3 = 0 ;
908b74cd
RD
8879 char *kwnames[] = {
8880 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8881 };
d55e5bfc 8882
908b74cd
RD
8883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8884 if (obj0) {
8885 {
8886 arg1 = &temp1;
8887 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8888 }
d55e5bfc
RD
8889 }
8890 if (obj1) {
8891 {
8892 arg2 = &temp2;
8893 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8894 }
8895 }
8896 if (obj2) {
36ed4f51
RD
8897 {
8898 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8899 if (SWIG_arg_fail(3)) SWIG_fail;
8900 if (arg3 == NULL) {
8901 SWIG_null_ref("wxFont");
8902 }
8903 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8904 }
8905 }
8906 if (obj3) {
36ed4f51 8907 {
32fe5131 8908 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
36ed4f51
RD
8909 if (SWIG_arg_fail(4)) SWIG_fail;
8910 }
d55e5bfc
RD
8911 }
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8914 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
d55e5bfc
RD
8915
8916 wxPyEndAllowThreads(__tstate);
8917 if (PyErr_Occurred()) SWIG_fail;
8918 }
8919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8920 return resultobj;
8921 fail:
8922 return NULL;
8923}
8924
8925
c370783e 8926static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8927 PyObject *resultobj = NULL;
d55e5bfc
RD
8928 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8929 PyObject * obj0 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "self", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
36ed4f51
RD
8935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 delete arg1;
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 Py_INCREF(Py_None); resultobj = Py_None;
8945 return resultobj;
8946 fail:
8947 return NULL;
8948}
8949
8950
c370783e 8951static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8952 PyObject *resultobj = NULL;
d55e5bfc
RD
8953 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8954 PyObject * obj0 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
36ed4f51
RD
8960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->Init();
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973}
8974
8975
c370783e 8976static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8977 PyObject *resultobj = NULL;
d55e5bfc
RD
8978 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8979 wxColour *arg2 = 0 ;
8980 wxColour temp2 ;
8981 PyObject * obj0 = 0 ;
8982 PyObject * obj1 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self",(char *) "colText", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8990 {
8991 arg2 = &temp2;
8992 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8993 }
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 (arg1)->SetTextColour((wxColour const &)*arg2);
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 Py_INCREF(Py_None); resultobj = Py_None;
9002 return resultobj;
9003 fail:
9004 return NULL;
9005}
9006
9007
c370783e 9008static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9009 PyObject *resultobj = NULL;
d55e5bfc
RD
9010 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9011 wxColour *arg2 = 0 ;
9012 wxColour temp2 ;
9013 PyObject * obj0 = 0 ;
9014 PyObject * obj1 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self",(char *) "colBack", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9022 {
9023 arg2 = &temp2;
9024 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 Py_INCREF(Py_None); resultobj = Py_None;
9034 return resultobj;
9035 fail:
9036 return NULL;
9037}
9038
9039
c370783e 9040static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9041 PyObject *resultobj = NULL;
d55e5bfc
RD
9042 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9043 wxFont *arg2 = 0 ;
9044 long arg3 = (long) wxTEXT_ATTR_FONT ;
9045 PyObject * obj0 = 0 ;
9046 PyObject * obj1 = 0 ;
9047 PyObject * obj2 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self",(char *) "font",(char *) "flags", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9054 if (SWIG_arg_fail(1)) SWIG_fail;
9055 {
9056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9057 if (SWIG_arg_fail(2)) SWIG_fail;
9058 if (arg2 == NULL) {
9059 SWIG_null_ref("wxFont");
9060 }
9061 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9062 }
9063 if (obj2) {
36ed4f51 9064 {
32fe5131 9065 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
9066 if (SWIG_arg_fail(3)) SWIG_fail;
9067 }
d55e5bfc
RD
9068 }
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 Py_INCREF(Py_None); resultobj = Py_None;
9077 return resultobj;
9078 fail:
9079 return NULL;
9080}
9081
9082
c370783e 9083static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9084 PyObject *resultobj = NULL;
d55e5bfc 9085 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 9086 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
9087 PyObject * obj0 = 0 ;
9088 PyObject * obj1 = 0 ;
9089 char *kwnames[] = {
9090 (char *) "self",(char *) "alignment", NULL
9091 };
9092
9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9095 if (SWIG_arg_fail(1)) SWIG_fail;
9096 {
32fe5131 9097 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
36ed4f51
RD
9098 if (SWIG_arg_fail(2)) SWIG_fail;
9099 }
d55e5bfc
RD
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9102 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 Py_INCREF(Py_None); resultobj = Py_None;
9108 return resultobj;
9109 fail:
9110 return NULL;
9111}
9112
9113
c370783e 9114static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9115 PyObject *resultobj = NULL;
d55e5bfc
RD
9116 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9117 wxArrayInt *arg2 = 0 ;
b411df4a 9118 bool temp2 = false ;
d55e5bfc
RD
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self",(char *) "tabs", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9128 {
9129 if (! PySequence_Check(obj1)) {
9130 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9131 SWIG_fail;
9132 }
9133 arg2 = new wxArrayInt;
b411df4a 9134 temp2 = true;
d55e5bfc
RD
9135 int i, len=PySequence_Length(obj1);
9136 for (i=0; i<len; i++) {
9137 PyObject* item = PySequence_GetItem(obj1, i);
9138 PyObject* number = PyNumber_Int(item);
9139 arg2->Add(PyInt_AS_LONG(number));
9140 Py_DECREF(item);
9141 Py_DECREF(number);
9142 }
9143 }
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 Py_INCREF(Py_None); resultobj = Py_None;
9152 {
9153 if (temp2) delete arg2;
9154 }
9155 return resultobj;
9156 fail:
9157 {
9158 if (temp2) delete arg2;
9159 }
9160 return NULL;
9161}
9162
9163
c370783e 9164static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9165 PyObject *resultobj = NULL;
d55e5bfc
RD
9166 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9167 int arg2 ;
68e533f8 9168 int arg3 = (int) 0 ;
d55e5bfc
RD
9169 PyObject * obj0 = 0 ;
9170 PyObject * obj1 = 0 ;
68e533f8 9171 PyObject * obj2 = 0 ;
d55e5bfc 9172 char *kwnames[] = {
68e533f8 9173 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
9174 };
9175
68e533f8 9176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9178 if (SWIG_arg_fail(1)) SWIG_fail;
9179 {
32fe5131 9180 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9181 if (SWIG_arg_fail(2)) SWIG_fail;
9182 }
68e533f8 9183 if (obj2) {
36ed4f51 9184 {
32fe5131 9185 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9186 if (SWIG_arg_fail(3)) SWIG_fail;
9187 }
68e533f8 9188 }
d55e5bfc
RD
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 9191 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 Py_INCREF(Py_None); resultobj = Py_None;
9197 return resultobj;
9198 fail:
9199 return NULL;
9200}
9201
9202
c370783e 9203static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9204 PyObject *resultobj = NULL;
d55e5bfc
RD
9205 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9206 int arg2 ;
9207 PyObject * obj0 = 0 ;
9208 PyObject * obj1 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "self",(char *) "indent", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail;
9216 {
32fe5131 9217 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9218 if (SWIG_arg_fail(2)) SWIG_fail;
9219 }
d55e5bfc
RD
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 (arg1)->SetRightIndent(arg2);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 Py_INCREF(Py_None); resultobj = Py_None;
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
c370783e 9234static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9235 PyObject *resultobj = NULL;
d55e5bfc
RD
9236 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9237 long arg2 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "flags", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail;
9247 {
32fe5131 9248 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
9249 if (SWIG_arg_fail(2)) SWIG_fail;
9250 }
d55e5bfc
RD
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->SetFlags(arg2);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
c370783e 9265static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9266 PyObject *resultobj = NULL;
d55e5bfc
RD
9267 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9268 bool result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 {
9285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9286 }
9287 return resultobj;
9288 fail:
9289 return NULL;
9290}
9291
9292
c370783e 9293static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9294 PyObject *resultobj = NULL;
d55e5bfc
RD
9295 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9296 bool result;
9297 PyObject * obj0 = 0 ;
9298 char *kwnames[] = {
9299 (char *) "self", NULL
9300 };
9301
9302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9308
9309 wxPyEndAllowThreads(__tstate);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 {
9313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9314 }
9315 return resultobj;
9316 fail:
9317 return NULL;
9318}
9319
9320
c370783e 9321static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9322 PyObject *resultobj = NULL;
d55e5bfc
RD
9323 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9324 bool result;
9325 PyObject * obj0 = 0 ;
9326 char *kwnames[] = {
9327 (char *) "self", NULL
9328 };
9329
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9336
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 {
9341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9342 }
9343 return resultobj;
9344 fail:
9345 return NULL;
9346}
9347
9348
c370783e 9349static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9350 PyObject *resultobj = NULL;
d55e5bfc
RD
9351 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9352 bool result;
9353 PyObject * obj0 = 0 ;
9354 char *kwnames[] = {
9355 (char *) "self", NULL
9356 };
9357
9358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 {
9369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9370 }
9371 return resultobj;
9372 fail:
9373 return NULL;
9374}
9375
9376
c370783e 9377static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9378 PyObject *resultobj = NULL;
d55e5bfc
RD
9379 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9380 bool result;
9381 PyObject * obj0 = 0 ;
9382 char *kwnames[] = {
9383 (char *) "self", NULL
9384 };
9385
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9392
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 {
9397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9398 }
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
c370783e 9405static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9406 PyObject *resultobj = NULL;
d55e5bfc
RD
9407 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9408 bool result;
9409 PyObject * obj0 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 {
9425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9426 }
9427 return resultobj;
9428 fail:
9429 return NULL;
9430}
9431
9432
c370783e 9433static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9434 PyObject *resultobj = NULL;
d55e5bfc
RD
9435 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9436 bool result;
9437 PyObject * obj0 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "self", NULL
9440 };
9441
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 {
9453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9454 }
9455 return resultobj;
9456 fail:
9457 return NULL;
9458}
9459
9460
c370783e 9461static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9462 PyObject *resultobj = NULL;
d55e5bfc
RD
9463 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9464 long arg2 ;
9465 bool result;
9466 PyObject * obj0 = 0 ;
9467 PyObject * obj1 = 0 ;
9468 char *kwnames[] = {
9469 (char *) "self",(char *) "flag", NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9474 if (SWIG_arg_fail(1)) SWIG_fail;
9475 {
32fe5131 9476 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
9477 if (SWIG_arg_fail(2)) SWIG_fail;
9478 }
d55e5bfc
RD
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 {
9487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9488 }
9489 return resultobj;
9490 fail:
9491 return NULL;
9492}
9493
9494
c370783e 9495static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9496 PyObject *resultobj = NULL;
d55e5bfc
RD
9497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9498 wxColour *result;
9499 PyObject * obj0 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "self", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9506 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 {
9510 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9511 result = (wxColour *) &_result_ref;
9512 }
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9518 return resultobj;
9519 fail:
9520 return NULL;
9521}
9522
9523
c370783e 9524static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9525 PyObject *resultobj = NULL;
d55e5bfc
RD
9526 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9527 wxColour *result;
9528 PyObject * obj0 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 {
9539 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9540 result = (wxColour *) &_result_ref;
9541 }
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9547 return resultobj;
9548 fail:
9549 return NULL;
9550}
9551
9552
c370783e 9553static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9554 PyObject *resultobj = NULL;
d55e5bfc
RD
9555 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9556 wxFont *result;
9557 PyObject * obj0 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 {
9568 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9569 result = (wxFont *) &_result_ref;
9570 }
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 {
9576 wxFont* resultptr = new wxFont(*result);
9577 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9578 }
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
c370783e 9585static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9586 PyObject *resultobj = NULL;
d55e5bfc 9587 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 9588 wxTextAttrAlignment result;
d55e5bfc
RD
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9599 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
36ed4f51 9604 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9605 return resultobj;
9606 fail:
9607 return NULL;
9608}
9609
9610
c370783e 9611static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9612 PyObject *resultobj = NULL;
d55e5bfc
RD
9613 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9614 wxArrayInt *result;
9615 PyObject * obj0 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 {
9626 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9627 result = (wxArrayInt *) &_result_ref;
9628 }
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 {
9634 resultobj = PyList_New(0);
9635 size_t idx;
9636 for (idx = 0; idx < result->GetCount(); idx += 1) {
9637 PyObject* val = PyInt_FromLong( result->Item(idx) );
9638 PyList_Append(resultobj, val);
9639 Py_DECREF(val);
9640 }
9641 }
9642 return resultobj;
9643 fail:
9644 return NULL;
9645}
9646
9647
c370783e 9648static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9649 PyObject *resultobj = NULL;
d55e5bfc
RD
9650 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9651 long result;
9652 PyObject * obj0 = 0 ;
9653 char *kwnames[] = {
9654 (char *) "self", NULL
9655 };
9656
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
36ed4f51 9667 {
32fe5131 9668 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 9669 }
d55e5bfc
RD
9670 return resultobj;
9671 fail:
9672 return NULL;
9673}
9674
9675
c370783e 9676static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9677 PyObject *resultobj = NULL;
68e533f8
RD
9678 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9679 long result;
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
36ed4f51 9695 {
32fe5131 9696 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 9697 }
68e533f8
RD
9698 return resultobj;
9699 fail:
9700 return NULL;
9701}
9702
9703
c370783e 9704static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9705 PyObject *resultobj = NULL;
d55e5bfc
RD
9706 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9707 long result;
9708 PyObject * obj0 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
36ed4f51 9723 {
32fe5131 9724 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 9725 }
d55e5bfc
RD
9726 return resultobj;
9727 fail:
9728 return NULL;
9729}
9730
9731
c370783e 9732static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9733 PyObject *resultobj = NULL;
d55e5bfc
RD
9734 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9735 long result;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
36ed4f51 9751 {
32fe5131 9752 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 9753 }
d55e5bfc
RD
9754 return resultobj;
9755 fail:
9756 return NULL;
9757}
9758
9759
c370783e 9760static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9761 PyObject *resultobj = NULL;
d55e5bfc
RD
9762 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9763 bool result;
9764 PyObject * obj0 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
9770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9771 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 {
9780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9781 }
9782 return resultobj;
9783 fail:
9784 return NULL;
9785}
9786
9787
c370783e 9788static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9789 PyObject *resultobj = NULL;
d55e5bfc
RD
9790 wxTextAttr *arg1 = 0 ;
9791 wxTextAttr *arg2 = 0 ;
9792 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9793 wxTextAttr result;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 PyObject * obj2 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9802 {
9803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail;
9805 if (arg1 == NULL) {
9806 SWIG_null_ref("wxTextAttr");
9807 }
9808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9809 }
36ed4f51
RD
9810 {
9811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9812 if (SWIG_arg_fail(2)) SWIG_fail;
9813 if (arg2 == NULL) {
9814 SWIG_null_ref("wxTextAttr");
9815 }
9816 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9817 }
36ed4f51
RD
9818 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9819 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 {
9828 wxTextAttr * resultptr;
32fe5131 9829 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
d55e5bfc
RD
9830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9831 }
9832 return resultobj;
9833 fail:
9834 return NULL;
9835}
9836
9837
c370783e 9838static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9839 PyObject *obj;
9840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9841 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9842 Py_INCREF(obj);
9843 return Py_BuildValue((char *)"");
9844}
c370783e 9845static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9846 PyObject *resultobj = NULL;
d55e5bfc 9847 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 9848 int arg2 = (int) -1 ;
d55e5bfc
RD
9849 wxString const &arg3_defvalue = wxPyEmptyString ;
9850 wxString *arg3 = (wxString *) &arg3_defvalue ;
9851 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9852 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9853 wxSize const &arg5_defvalue = wxDefaultSize ;
9854 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9855 long arg6 = (long) 0 ;
9856 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9857 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9858 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9859 wxString *arg8 = (wxString *) &arg8_defvalue ;
9860 wxTextCtrl *result;
b411df4a 9861 bool temp3 = false ;
d55e5bfc
RD
9862 wxPoint temp4 ;
9863 wxSize temp5 ;
b411df4a 9864 bool temp8 = false ;
d55e5bfc
RD
9865 PyObject * obj0 = 0 ;
9866 PyObject * obj1 = 0 ;
9867 PyObject * obj2 = 0 ;
9868 PyObject * obj3 = 0 ;
9869 PyObject * obj4 = 0 ;
9870 PyObject * obj5 = 0 ;
9871 PyObject * obj6 = 0 ;
9872 PyObject * obj7 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9875 };
9876
bfddbb17 9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9879 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 9880 if (obj1) {
36ed4f51 9881 {
32fe5131 9882 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9883 if (SWIG_arg_fail(2)) SWIG_fail;
9884 }
bfddbb17 9885 }
d55e5bfc
RD
9886 if (obj2) {
9887 {
9888 arg3 = wxString_in_helper(obj2);
9889 if (arg3 == NULL) SWIG_fail;
b411df4a 9890 temp3 = true;
d55e5bfc
RD
9891 }
9892 }
9893 if (obj3) {
9894 {
9895 arg4 = &temp4;
9896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9897 }
9898 }
9899 if (obj4) {
9900 {
9901 arg5 = &temp5;
9902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9903 }
9904 }
9905 if (obj5) {
36ed4f51 9906 {
32fe5131 9907 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
9908 if (SWIG_arg_fail(6)) SWIG_fail;
9909 }
d55e5bfc
RD
9910 }
9911 if (obj6) {
36ed4f51
RD
9912 {
9913 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9914 if (SWIG_arg_fail(7)) SWIG_fail;
9915 if (arg7 == NULL) {
9916 SWIG_null_ref("wxValidator");
9917 }
9918 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9919 }
9920 }
9921 if (obj7) {
9922 {
9923 arg8 = wxString_in_helper(obj7);
9924 if (arg8 == NULL) SWIG_fail;
b411df4a 9925 temp8 = true;
d55e5bfc
RD
9926 }
9927 }
9928 {
0439c23b 9929 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9932
9933 wxPyEndAllowThreads(__tstate);
110da5b0 9934 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9935 }
b0f7404b 9936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9937 {
9938 if (temp3)
9939 delete arg3;
9940 }
9941 {
9942 if (temp8)
9943 delete arg8;
9944 }
9945 return resultobj;
9946 fail:
9947 {
9948 if (temp3)
9949 delete arg3;
9950 }
9951 {
9952 if (temp8)
9953 delete arg8;
9954 }
9955 return NULL;
9956}
9957
9958
c370783e 9959static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9960 PyObject *resultobj = NULL;
d55e5bfc
RD
9961 wxTextCtrl *result;
9962 char *kwnames[] = {
9963 NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9967 {
0439c23b 9968 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 result = (wxTextCtrl *)new wxTextCtrl();
9971
9972 wxPyEndAllowThreads(__tstate);
110da5b0 9973 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9974 }
b0f7404b 9975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9976 return resultobj;
9977 fail:
9978 return NULL;
9979}
9980
9981
c370783e 9982static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9983 PyObject *resultobj = NULL;
d55e5bfc
RD
9984 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9985 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 9986 int arg3 = (int) -1 ;
d55e5bfc
RD
9987 wxString const &arg4_defvalue = wxPyEmptyString ;
9988 wxString *arg4 = (wxString *) &arg4_defvalue ;
9989 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9990 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9991 wxSize const &arg6_defvalue = wxDefaultSize ;
9992 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9993 long arg7 = (long) 0 ;
9994 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9995 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9996 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9997 wxString *arg9 = (wxString *) &arg9_defvalue ;
9998 bool result;
b411df4a 9999 bool temp4 = false ;
d55e5bfc
RD
10000 wxPoint temp5 ;
10001 wxSize temp6 ;
b411df4a 10002 bool temp9 = false ;
d55e5bfc
RD
10003 PyObject * obj0 = 0 ;
10004 PyObject * obj1 = 0 ;
10005 PyObject * obj2 = 0 ;
10006 PyObject * obj3 = 0 ;
10007 PyObject * obj4 = 0 ;
10008 PyObject * obj5 = 0 ;
10009 PyObject * obj6 = 0 ;
10010 PyObject * obj7 = 0 ;
10011 PyObject * obj8 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10014 };
10015
bfddbb17 10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
10017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail;
10019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10020 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 10021 if (obj2) {
36ed4f51 10022 {
32fe5131 10023 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10024 if (SWIG_arg_fail(3)) SWIG_fail;
10025 }
bfddbb17 10026 }
d55e5bfc
RD
10027 if (obj3) {
10028 {
10029 arg4 = wxString_in_helper(obj3);
10030 if (arg4 == NULL) SWIG_fail;
b411df4a 10031 temp4 = true;
d55e5bfc
RD
10032 }
10033 }
10034 if (obj4) {
10035 {
10036 arg5 = &temp5;
10037 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10038 }
10039 }
10040 if (obj5) {
10041 {
10042 arg6 = &temp6;
10043 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10044 }
10045 }
10046 if (obj6) {
36ed4f51 10047 {
32fe5131 10048 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
10049 if (SWIG_arg_fail(7)) SWIG_fail;
10050 }
d55e5bfc
RD
10051 }
10052 if (obj7) {
36ed4f51
RD
10053 {
10054 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
10055 if (SWIG_arg_fail(8)) SWIG_fail;
10056 if (arg8 == NULL) {
10057 SWIG_null_ref("wxValidator");
10058 }
10059 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
10060 }
10061 }
10062 if (obj8) {
10063 {
10064 arg9 = wxString_in_helper(obj8);
10065 if (arg9 == NULL) SWIG_fail;
b411df4a 10066 temp9 = true;
d55e5bfc
RD
10067 }
10068 }
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 {
10077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10078 }
10079 {
10080 if (temp4)
10081 delete arg4;
10082 }
10083 {
10084 if (temp9)
10085 delete arg9;
10086 }
10087 return resultobj;
10088 fail:
10089 {
10090 if (temp4)
10091 delete arg4;
10092 }
10093 {
10094 if (temp9)
10095 delete arg9;
10096 }
10097 return NULL;
10098}
10099
10100
c370783e 10101static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10102 PyObject *resultobj = NULL;
d55e5bfc
RD
10103 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10104 wxString result;
10105 PyObject * obj0 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
10111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10112 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = ((wxTextCtrl const *)arg1)->GetValue();
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 {
10121#if wxUSE_UNICODE
10122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10123#else
10124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10125#endif
10126 }
10127 return resultobj;
10128 fail:
10129 return NULL;
10130}
10131
10132
c370783e 10133static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10134 PyObject *resultobj = NULL;
d55e5bfc
RD
10135 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10136 wxString *arg2 = 0 ;
b411df4a 10137 bool temp2 = false ;
d55e5bfc
RD
10138 PyObject * obj0 = 0 ;
10139 PyObject * obj1 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self",(char *) "value", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10147 {
10148 arg2 = wxString_in_helper(obj1);
10149 if (arg2 == NULL) SWIG_fail;
b411df4a 10150 temp2 = true;
d55e5bfc
RD
10151 }
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 (arg1)->SetValue((wxString const &)*arg2);
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 Py_INCREF(Py_None); resultobj = Py_None;
10160 {
10161 if (temp2)
10162 delete arg2;
10163 }
10164 return resultobj;
10165 fail:
10166 {
10167 if (temp2)
10168 delete arg2;
10169 }
10170 return NULL;
10171}
10172
10173
c370783e 10174static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10175 PyObject *resultobj = NULL;
d55e5bfc
RD
10176 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10177 long arg2 ;
10178 long arg3 ;
10179 wxString result;
10180 PyObject * obj0 = 0 ;
10181 PyObject * obj1 = 0 ;
10182 PyObject * obj2 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self",(char *) "from",(char *) "to", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail;
10190 {
32fe5131 10191 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
10192 if (SWIG_arg_fail(2)) SWIG_fail;
10193 }
10194 {
32fe5131 10195 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
10196 if (SWIG_arg_fail(3)) SWIG_fail;
10197 }
d55e5bfc
RD
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 {
10206#if wxUSE_UNICODE
10207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10208#else
10209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10210#endif
10211 }
10212 return resultobj;
10213 fail:
10214 return NULL;
10215}
10216
10217
c370783e 10218static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10219 PyObject *resultobj = NULL;
d55e5bfc
RD
10220 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10221 long arg2 ;
10222 int result;
10223 PyObject * obj0 = 0 ;
10224 PyObject * obj1 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self",(char *) "lineNo", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail;
10232 {
32fe5131 10233 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
10234 if (SWIG_arg_fail(2)) SWIG_fail;
10235 }
d55e5bfc
RD
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10239
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
36ed4f51 10243 {
32fe5131 10244 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10245 }
d55e5bfc
RD
10246 return resultobj;
10247 fail:
10248 return NULL;
10249}
10250
10251
c370783e 10252static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10253 PyObject *resultobj = NULL;
d55e5bfc
RD
10254 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10255 long arg2 ;
10256 wxString result;
10257 PyObject * obj0 = 0 ;
10258 PyObject * obj1 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self",(char *) "lineNo", NULL
10261 };
10262
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10265 if (SWIG_arg_fail(1)) SWIG_fail;
10266 {
32fe5131 10267 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
10268 if (SWIG_arg_fail(2)) SWIG_fail;
10269 }
d55e5bfc
RD
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 {
10278#if wxUSE_UNICODE
10279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10280#else
10281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10282#endif
10283 }
10284 return resultobj;
10285 fail:
10286 return NULL;
10287}
10288
10289
c370783e 10290static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10291 PyObject *resultobj = NULL;
d55e5bfc
RD
10292 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10293 int result;
10294 PyObject * obj0 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
36ed4f51
RD
10300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
36ed4f51 10309 {
32fe5131 10310 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10311 }
d55e5bfc
RD
10312 return resultobj;
10313 fail:
10314 return NULL;
10315}
10316
10317
c370783e 10318static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10319 PyObject *resultobj = NULL;
d55e5bfc
RD
10320 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10321 bool result;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
36ed4f51
RD
10328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 {
10338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10339 }
10340 return resultobj;
10341 fail:
10342 return NULL;
10343}
10344
10345
c370783e 10346static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10347 PyObject *resultobj = NULL;
d55e5bfc
RD
10348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10349 bool result;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
10356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 {
10366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10367 }
10368 return resultobj;
10369 fail:
10370 return NULL;
10371}
10372
10373
c370783e 10374static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10375 PyObject *resultobj = NULL;
d55e5bfc
RD
10376 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10377 bool result;
10378 PyObject * obj0 = 0 ;
10379 char *kwnames[] = {
10380 (char *) "self", NULL
10381 };
10382
10383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 {
10394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10395 }
10396 return resultobj;
10397 fail:
10398 return NULL;
10399}
10400
10401
c370783e 10402static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10403 PyObject *resultobj = NULL;
d55e5bfc
RD
10404 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10405 bool result;
10406 PyObject * obj0 = 0 ;
10407 char *kwnames[] = {
10408 (char *) "self", NULL
10409 };
10410
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
10416 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10417
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 {
10422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10423 }
10424 return resultobj;
10425 fail:
10426 return NULL;
10427}
10428
10429
c370783e 10430static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10431 PyObject *resultobj = NULL;
d55e5bfc
RD
10432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10433 long *arg2 = (long *) 0 ;
10434 long *arg3 = (long *) 0 ;
10435 long temp2 ;
c370783e 10436 int res2 = 0 ;
d55e5bfc 10437 long temp3 ;
c370783e 10438 int res3 = 0 ;
d55e5bfc
RD
10439 PyObject * obj0 = 0 ;
10440 char *kwnames[] = {
10441 (char *) "self", NULL
10442 };
10443
c370783e
RD
10444 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10445 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10457 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10458 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10459 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10460 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10461 return resultobj;
10462 fail:
10463 return NULL;
10464}
10465
10466
c370783e 10467static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10468 PyObject *resultobj = NULL;
d55e5bfc
RD
10469 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10470 wxString result;
10471 PyObject * obj0 = 0 ;
10472 char *kwnames[] = {
10473 (char *) "self", NULL
10474 };
10475
10476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
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 = ((wxTextCtrl const *)arg1)->GetStringSelection();
10482
10483 wxPyEndAllowThreads(__tstate);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 {
10487#if wxUSE_UNICODE
10488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10489#else
10490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10491#endif
10492 }
10493 return resultobj;
10494 fail:
10495 return NULL;
10496}
10497
10498
c370783e 10499static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10500 PyObject *resultobj = NULL;
d55e5bfc
RD
10501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10502 PyObject * obj0 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
10508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 (arg1)->Clear();
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 Py_INCREF(Py_None); resultobj = Py_None;
10518 return resultobj;
10519 fail:
10520 return NULL;
10521}
10522
10523
c370783e 10524static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10525 PyObject *resultobj = NULL;
d55e5bfc
RD
10526 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10527 long arg2 ;
10528 long arg3 ;
10529 wxString *arg4 = 0 ;
b411df4a 10530 bool temp4 = false ;
d55e5bfc
RD
10531 PyObject * obj0 = 0 ;
10532 PyObject * obj1 = 0 ;
10533 PyObject * obj2 = 0 ;
10534 PyObject * obj3 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail;
10542 {
32fe5131 10543 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
10544 if (SWIG_arg_fail(2)) SWIG_fail;
10545 }
10546 {
32fe5131 10547 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
10548 if (SWIG_arg_fail(3)) SWIG_fail;
10549 }
d55e5bfc
RD
10550 {
10551 arg4 = wxString_in_helper(obj3);
10552 if (arg4 == NULL) SWIG_fail;
b411df4a 10553 temp4 = true;
d55e5bfc
RD
10554 }
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 Py_INCREF(Py_None); resultobj = Py_None;
10563 {
10564 if (temp4)
10565 delete arg4;
10566 }
10567 return resultobj;
10568 fail:
10569 {
10570 if (temp4)
10571 delete arg4;
10572 }
10573 return NULL;
10574}
10575
10576
c370783e 10577static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10578 PyObject *resultobj = NULL;
d55e5bfc
RD
10579 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10580 long arg2 ;
10581 long arg3 ;
10582 PyObject * obj0 = 0 ;
10583 PyObject * obj1 = 0 ;
10584 PyObject * obj2 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self",(char *) "from",(char *) "to", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10591 if (SWIG_arg_fail(1)) SWIG_fail;
10592 {
32fe5131 10593 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
10594 if (SWIG_arg_fail(2)) SWIG_fail;
10595 }
10596 {
32fe5131 10597 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
10598 if (SWIG_arg_fail(3)) SWIG_fail;
10599 }
d55e5bfc
RD
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->Remove(arg2,arg3);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 return resultobj;
10609 fail:
10610 return NULL;
10611}
10612
10613
c370783e 10614static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10615 PyObject *resultobj = NULL;
d55e5bfc
RD
10616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10617 wxString *arg2 = 0 ;
10618 bool result;
b411df4a 10619 bool temp2 = false ;
d55e5bfc
RD
10620 PyObject * obj0 = 0 ;
10621 PyObject * obj1 = 0 ;
10622 char *kwnames[] = {
10623 (char *) "self",(char *) "file", NULL
10624 };
10625
10626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10629 {
10630 arg2 = wxString_in_helper(obj1);
10631 if (arg2 == NULL) SWIG_fail;
b411df4a 10632 temp2 = true;
d55e5bfc
RD
10633 }
10634 {
10635 PyThreadState* __tstate = wxPyBeginAllowThreads();
10636 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10637
10638 wxPyEndAllowThreads(__tstate);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 }
10641 {
10642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10643 }
10644 {
10645 if (temp2)
10646 delete arg2;
10647 }
10648 return resultobj;
10649 fail:
10650 {
10651 if (temp2)
10652 delete arg2;
10653 }
10654 return NULL;
10655}
10656
10657
c370783e 10658static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10659 PyObject *resultobj = NULL;
d55e5bfc
RD
10660 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10661 wxString const &arg2_defvalue = wxPyEmptyString ;
10662 wxString *arg2 = (wxString *) &arg2_defvalue ;
10663 bool result;
b411df4a 10664 bool temp2 = false ;
d55e5bfc
RD
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "file", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10674 if (obj1) {
10675 {
10676 arg2 = wxString_in_helper(obj1);
10677 if (arg2 == NULL) SWIG_fail;
b411df4a 10678 temp2 = true;
d55e5bfc
RD
10679 }
10680 }
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 {
10689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10690 }
10691 {
10692 if (temp2)
10693 delete arg2;
10694 }
10695 return resultobj;
10696 fail:
10697 {
10698 if (temp2)
10699 delete arg2;
10700 }
10701 return NULL;
10702}
10703
10704
c370783e 10705static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10706 PyObject *resultobj = NULL;
d55e5bfc
RD
10707 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10708 PyObject * obj0 = 0 ;
10709 char *kwnames[] = {
10710 (char *) "self", NULL
10711 };
10712
10713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
36ed4f51
RD
10714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 (arg1)->MarkDirty();
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 Py_INCREF(Py_None); resultobj = Py_None;
10724 return resultobj;
10725 fail:
10726 return NULL;
10727}
10728
10729
c370783e 10730static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10731 PyObject *resultobj = NULL;
d55e5bfc
RD
10732 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10733 PyObject * obj0 = 0 ;
10734 char *kwnames[] = {
10735 (char *) "self", NULL
10736 };
10737
10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
36ed4f51
RD
10739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 (arg1)->DiscardEdits();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 Py_INCREF(Py_None); resultobj = Py_None;
10749 return resultobj;
10750 fail:
10751 return NULL;
10752}
10753
10754
c370783e 10755static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10756 PyObject *resultobj = NULL;
d55e5bfc
RD
10757 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10758 unsigned long arg2 ;
10759 PyObject * obj0 = 0 ;
10760 PyObject * obj1 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self",(char *) "len", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10767 if (SWIG_arg_fail(1)) SWIG_fail;
10768 {
32fe5131 10769 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
10770 if (SWIG_arg_fail(2)) SWIG_fail;
10771 }
d55e5bfc
RD
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 (arg1)->SetMaxLength(arg2);
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 Py_INCREF(Py_None); resultobj = Py_None;
10780 return resultobj;
10781 fail:
10782 return NULL;
10783}
10784
10785
c370783e 10786static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10787 PyObject *resultobj = NULL;
d55e5bfc
RD
10788 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10789 wxString *arg2 = 0 ;
b411df4a 10790 bool temp2 = false ;
d55e5bfc
RD
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self",(char *) "text", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10799 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10800 {
10801 arg2 = wxString_in_helper(obj1);
10802 if (arg2 == NULL) SWIG_fail;
b411df4a 10803 temp2 = true;
d55e5bfc
RD
10804 }
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->WriteText((wxString const &)*arg2);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 {
10814 if (temp2)
10815 delete arg2;
10816 }
10817 return resultobj;
10818 fail:
10819 {
10820 if (temp2)
10821 delete arg2;
10822 }
10823 return NULL;
10824}
10825
10826
c370783e 10827static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10828 PyObject *resultobj = NULL;
d55e5bfc
RD
10829 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10830 wxString *arg2 = 0 ;
b411df4a 10831 bool temp2 = false ;
d55e5bfc
RD
10832 PyObject * obj0 = 0 ;
10833 PyObject * obj1 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self",(char *) "text", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10841 {
10842 arg2 = wxString_in_helper(obj1);
10843 if (arg2 == NULL) SWIG_fail;
b411df4a 10844 temp2 = true;
d55e5bfc
RD
10845 }
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 (arg1)->AppendText((wxString const &)*arg2);
10849
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 Py_INCREF(Py_None); resultobj = Py_None;
10854 {
10855 if (temp2)
10856 delete arg2;
10857 }
10858 return resultobj;
10859 fail:
10860 {
10861 if (temp2)
10862 delete arg2;
10863 }
10864 return NULL;
10865}
10866
10867
c370783e 10868static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10869 PyObject *resultobj = NULL;
d55e5bfc
RD
10870 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10871 wxKeyEvent *arg2 = 0 ;
10872 bool result;
10873 PyObject * obj0 = 0 ;
10874 PyObject * obj1 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self",(char *) "event", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail;
10882 {
10883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10884 if (SWIG_arg_fail(2)) SWIG_fail;
10885 if (arg2 == NULL) {
10886 SWIG_null_ref("wxKeyEvent");
10887 }
10888 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10889 }
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 {
10898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10899 }
10900 return resultobj;
10901 fail:
10902 return NULL;
10903}
10904
10905
c370783e 10906static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10907 PyObject *resultobj = NULL;
d55e5bfc
RD
10908 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10909 long arg2 ;
10910 long arg3 ;
10911 wxTextAttr *arg4 = 0 ;
10912 bool result;
10913 PyObject * obj0 = 0 ;
10914 PyObject * obj1 = 0 ;
10915 PyObject * obj2 = 0 ;
10916 PyObject * obj3 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail;
10924 {
32fe5131 10925 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
10926 if (SWIG_arg_fail(2)) SWIG_fail;
10927 }
10928 {
32fe5131 10929 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
10930 if (SWIG_arg_fail(3)) SWIG_fail;
10931 }
10932 {
10933 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(4)) SWIG_fail;
10935 if (arg4 == NULL) {
10936 SWIG_null_ref("wxTextAttr");
10937 }
10938 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10939 }
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 {
10948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10949 }
10950 return resultobj;
10951 fail:
10952 return NULL;
10953}
10954
10955
c370783e 10956static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10957 PyObject *resultobj = NULL;
d55e5bfc
RD
10958 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10959 long arg2 ;
10960 wxTextAttr *arg3 = 0 ;
10961 bool result;
10962 PyObject * obj0 = 0 ;
10963 PyObject * obj1 = 0 ;
10964 PyObject * obj2 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self",(char *) "position",(char *) "style", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10971 if (SWIG_arg_fail(1)) SWIG_fail;
10972 {
32fe5131 10973 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
10974 if (SWIG_arg_fail(2)) SWIG_fail;
10975 }
10976 {
10977 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10978 if (SWIG_arg_fail(3)) SWIG_fail;
10979 if (arg3 == NULL) {
10980 SWIG_null_ref("wxTextAttr");
10981 }
10982 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10983 }
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 {
10992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10993 }
10994 return resultobj;
10995 fail:
10996 return NULL;
10997}
10998
10999
c370783e 11000static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11001 PyObject *resultobj = NULL;
d55e5bfc
RD
11002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11003 wxTextAttr *arg2 = 0 ;
11004 bool result;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 char *kwnames[] = {
11008 (char *) "self",(char *) "style", NULL
11009 };
11010
11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail;
11014 {
11015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11016 if (SWIG_arg_fail(2)) SWIG_fail;
11017 if (arg2 == NULL) {
11018 SWIG_null_ref("wxTextAttr");
11019 }
11020 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
11021 }
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 {
11030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11031 }
11032 return resultobj;
11033 fail:
11034 return NULL;
11035}
11036
11037
c370783e 11038static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11039 PyObject *resultobj = NULL;
d55e5bfc
RD
11040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11041 wxTextAttr *result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
11048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 {
11053 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
11054 result = (wxTextAttr *) &_result_ref;
11055 }
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
11061 return resultobj;
11062 fail:
11063 return NULL;
11064}
11065
11066
c370783e 11067static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11068 PyObject *resultobj = NULL;
d55e5bfc
RD
11069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11070 long arg2 ;
11071 long arg3 ;
11072 long result;
11073 PyObject * obj0 = 0 ;
11074 PyObject * obj1 = 0 ;
11075 PyObject * obj2 = 0 ;
11076 char *kwnames[] = {
11077 (char *) "self",(char *) "x",(char *) "y", NULL
11078 };
11079
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11082 if (SWIG_arg_fail(1)) SWIG_fail;
11083 {
32fe5131 11084 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
11085 if (SWIG_arg_fail(2)) SWIG_fail;
11086 }
11087 {
32fe5131 11088 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
11089 if (SWIG_arg_fail(3)) SWIG_fail;
11090 }
d55e5bfc
RD
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
36ed4f51 11098 {
32fe5131 11099 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 11100 }
d55e5bfc
RD
11101 return resultobj;
11102 fail:
11103 return NULL;
11104}
11105
11106
c370783e 11107static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11108 PyObject *resultobj = NULL;
d55e5bfc
RD
11109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11110 long arg2 ;
11111 long *arg3 = (long *) 0 ;
11112 long *arg4 = (long *) 0 ;
11113 long temp3 ;
c370783e 11114 int res3 = 0 ;
d55e5bfc 11115 long temp4 ;
c370783e 11116 int res4 = 0 ;
d55e5bfc
RD
11117 PyObject * obj0 = 0 ;
11118 PyObject * obj1 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self",(char *) "pos", NULL
11121 };
11122
c370783e
RD
11123 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11124 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail;
11128 {
32fe5131 11129 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
11130 if (SWIG_arg_fail(2)) SWIG_fail;
11131 }
d55e5bfc
RD
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
11140 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11141 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11142 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11143 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11144 return resultobj;
11145 fail:
11146 return NULL;
11147}
11148
11149
c370783e 11150static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11151 PyObject *resultobj = NULL;
d55e5bfc
RD
11152 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11153 long arg2 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char *kwnames[] = {
11157 (char *) "self",(char *) "pos", NULL
11158 };
11159
11160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11162 if (SWIG_arg_fail(1)) SWIG_fail;
11163 {
32fe5131 11164 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
11165 if (SWIG_arg_fail(2)) SWIG_fail;
11166 }
d55e5bfc
RD
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 (arg1)->ShowPosition(arg2);
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 Py_INCREF(Py_None); resultobj = Py_None;
11175 return resultobj;
11176 fail:
11177 return NULL;
11178}
11179
11180
c370783e 11181static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11182 PyObject *resultobj = NULL;
d55e5bfc
RD
11183 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11184 wxPoint *arg2 = 0 ;
11185 long *arg3 = (long *) 0 ;
11186 long *arg4 = (long *) 0 ;
36ed4f51 11187 wxTextCtrlHitTestResult result;
d55e5bfc
RD
11188 wxPoint temp2 ;
11189 long temp3 ;
c370783e 11190 int res3 = 0 ;
d55e5bfc 11191 long temp4 ;
c370783e 11192 int res4 = 0 ;
d55e5bfc
RD
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char *kwnames[] = {
11196 (char *) "self",(char *) "pt", NULL
11197 };
11198
c370783e
RD
11199 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11200 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11204 {
11205 arg2 = &temp2;
11206 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11207 }
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11210 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
11211
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
36ed4f51 11215 resultobj = SWIG_From_int((result));
c370783e
RD
11216 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11217 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11218 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11219 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11220 return resultobj;
11221 fail:
11222 return NULL;
11223}
11224
11225
c370783e 11226static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11227 PyObject *resultobj = NULL;
4896ac9e
RD
11228 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11229 wxPoint *arg2 = 0 ;
11230 long *arg3 = (long *) 0 ;
36ed4f51 11231 wxTextCtrlHitTestResult result;
4896ac9e
RD
11232 wxPoint temp2 ;
11233 long temp3 ;
c370783e 11234 int res3 = 0 ;
4896ac9e
RD
11235 PyObject * obj0 = 0 ;
11236 PyObject * obj1 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "self",(char *) "pt", NULL
11239 };
11240
c370783e 11241 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11244 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11245 {
11246 arg2 = &temp2;
11247 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11248 }
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11251 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
36ed4f51 11256 resultobj = SWIG_From_int((result));
c370783e
RD
11257 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11258 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11259 return resultobj;
11260 fail:
11261 return NULL;
11262}
11263
11264
c370783e 11265static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11266 PyObject *resultobj = NULL;
d55e5bfc
RD
11267 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
11274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->Copy();
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 Py_INCREF(Py_None); resultobj = Py_None;
11284 return resultobj;
11285 fail:
11286 return NULL;
11287}
11288
11289
c370783e 11290static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11291 PyObject *resultobj = NULL;
d55e5bfc
RD
11292 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11293 PyObject * obj0 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "self", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 (arg1)->Cut();
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 Py_INCREF(Py_None); resultobj = Py_None;
11309 return resultobj;
11310 fail:
11311 return NULL;
11312}
11313
11314
c370783e 11315static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11316 PyObject *resultobj = NULL;
d55e5bfc
RD
11317 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11318 PyObject * obj0 = 0 ;
11319 char *kwnames[] = {
11320 (char *) "self", NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 (arg1)->Paste();
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337}
11338
11339
c370783e 11340static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11341 PyObject *resultobj = NULL;
d55e5bfc
RD
11342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11343 bool result;
11344 PyObject * obj0 = 0 ;
11345 char *kwnames[] = {
11346 (char *) "self", NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
11350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 {
11360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11361 }
11362 return resultobj;
11363 fail:
11364 return NULL;
11365}
11366
11367
c370783e 11368static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11369 PyObject *resultobj = NULL;
d55e5bfc
RD
11370 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11371 bool result;
11372 PyObject * obj0 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11379 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11383
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 {
11388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11389 }
11390 return resultobj;
11391 fail:
11392 return NULL;
11393}
11394
11395
c370783e 11396static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11397 PyObject *resultobj = NULL;
d55e5bfc
RD
11398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11399 bool result;
11400 PyObject * obj0 = 0 ;
11401 char *kwnames[] = {
11402 (char *) "self", NULL
11403 };
11404
11405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11411
11412 wxPyEndAllowThreads(__tstate);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 }
11415 {
11416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11417 }
11418 return resultobj;
11419 fail:
11420 return NULL;
11421}
11422
11423
c370783e 11424static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11425 PyObject *resultobj = NULL;
d55e5bfc
RD
11426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11427 PyObject * obj0 = 0 ;
11428 char *kwnames[] = {
11429 (char *) "self", NULL
11430 };
11431
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
11437 (arg1)->Undo();
11438
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
11442 Py_INCREF(Py_None); resultobj = Py_None;
11443 return resultobj;
11444 fail:
11445 return NULL;
11446}
11447
11448
c370783e 11449static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11450 PyObject *resultobj = NULL;
d55e5bfc
RD
11451 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11452 PyObject * obj0 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 (arg1)->Redo();
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 Py_INCREF(Py_None); resultobj = Py_None;
11468 return resultobj;
11469 fail:
11470 return NULL;
11471}
11472
11473
c370783e 11474static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11475 PyObject *resultobj = NULL;
d55e5bfc
RD
11476 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11477 bool result;
11478 PyObject * obj0 = 0 ;
11479 char *kwnames[] = {
11480 (char *) "self", NULL
11481 };
11482
11483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11485 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 {
11494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11495 }
11496 return resultobj;
11497 fail:
11498 return NULL;
11499}
11500
11501
c370783e 11502static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11503 PyObject *resultobj = NULL;
d55e5bfc
RD
11504 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11505 bool result;
11506 PyObject * obj0 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "self", NULL
11509 };
11510
11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 {
11522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11523 }
11524 return resultobj;
11525 fail:
11526 return NULL;
11527}
11528
11529
c370783e 11530static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11531 PyObject *resultobj = NULL;
d55e5bfc
RD
11532 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11533 long arg2 ;
11534 PyObject * obj0 = 0 ;
11535 PyObject * obj1 = 0 ;
11536 char *kwnames[] = {
11537 (char *) "self",(char *) "pos", NULL
11538 };
11539
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11542 if (SWIG_arg_fail(1)) SWIG_fail;
11543 {
32fe5131 11544 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
11545 if (SWIG_arg_fail(2)) SWIG_fail;
11546 }
d55e5bfc
RD
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 (arg1)->SetInsertionPoint(arg2);
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 Py_INCREF(Py_None); resultobj = Py_None;
11555 return resultobj;
11556 fail:
11557 return NULL;
11558}
11559
11560
c370783e 11561static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11562 PyObject *resultobj = NULL;
d55e5bfc
RD
11563 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11564 PyObject * obj0 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11572 {
11573 PyThreadState* __tstate = wxPyBeginAllowThreads();
11574 (arg1)->SetInsertionPointEnd();
11575
11576 wxPyEndAllowThreads(__tstate);
11577 if (PyErr_Occurred()) SWIG_fail;
11578 }
11579 Py_INCREF(Py_None); resultobj = Py_None;
11580 return resultobj;
11581 fail:
11582 return NULL;
11583}
11584
11585
c370783e 11586static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11587 PyObject *resultobj = NULL;
d55e5bfc
RD
11588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11589 long result;
11590 PyObject * obj0 = 0 ;
11591 char *kwnames[] = {
11592 (char *) "self", NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
11596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
36ed4f51 11605 {
32fe5131 11606 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 11607 }
d55e5bfc
RD
11608 return resultobj;
11609 fail:
11610 return NULL;
11611}
11612
11613
c370783e 11614static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11615 PyObject *resultobj = NULL;
d55e5bfc
RD
11616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11617 long result;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
36ed4f51 11633 {
32fe5131 11634 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 11635 }
d55e5bfc
RD
11636 return resultobj;
11637 fail:
11638 return NULL;
11639}
11640
11641
c370783e 11642static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11643 PyObject *resultobj = NULL;
d55e5bfc
RD
11644 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11645 long arg2 ;
11646 long arg3 ;
11647 PyObject * obj0 = 0 ;
11648 PyObject * obj1 = 0 ;
11649 PyObject * obj2 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self",(char *) "from",(char *) "to", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail;
11657 {
32fe5131 11658 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
11659 if (SWIG_arg_fail(2)) SWIG_fail;
11660 }
11661 {
32fe5131 11662 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
11663 if (SWIG_arg_fail(3)) SWIG_fail;
11664 }
d55e5bfc
RD
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 (arg1)->SetSelection(arg2,arg3);
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 Py_INCREF(Py_None); resultobj = Py_None;
11673 return resultobj;
11674 fail:
11675 return NULL;
11676}
11677
11678
c370783e 11679static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11680 PyObject *resultobj = NULL;
d55e5bfc
RD
11681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11682 PyObject * obj0 = 0 ;
11683 char *kwnames[] = {
11684 (char *) "self", NULL
11685 };
11686
11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 (arg1)->SelectAll();
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
11697 Py_INCREF(Py_None); resultobj = Py_None;
11698 return resultobj;
11699 fail:
11700 return NULL;
11701}
11702
11703
c370783e 11704static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11705 PyObject *resultobj = NULL;
d55e5bfc
RD
11706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11707 bool arg2 ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self",(char *) "editable", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11716 if (SWIG_arg_fail(1)) SWIG_fail;
11717 {
32fe5131 11718 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
11719 if (SWIG_arg_fail(2)) SWIG_fail;
11720 }
d55e5bfc
RD
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 (arg1)->SetEditable(arg2);
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 Py_INCREF(Py_None); resultobj = Py_None;
11729 return resultobj;
11730 fail:
11731 return NULL;
11732}
11733
11734
c370783e 11735static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11736 PyObject *resultobj = NULL;
d55e5bfc
RD
11737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11738 wxString *arg2 = 0 ;
b411df4a 11739 bool temp2 = false ;
d55e5bfc
RD
11740 PyObject * obj0 = 0 ;
11741 PyObject * obj1 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "self",(char *) "text", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11749 {
11750 arg2 = wxString_in_helper(obj1);
11751 if (arg2 == NULL) SWIG_fail;
b411df4a 11752 temp2 = true;
d55e5bfc
RD
11753 }
11754 {
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) SWIG_fail;
11760 }
11761 Py_INCREF(Py_None); resultobj = Py_None;
11762 {
11763 if (temp2)
11764 delete arg2;
11765 }
11766 return resultobj;
11767 fail:
11768 {
11769 if (temp2)
11770 delete arg2;
11771 }
11772 return NULL;
11773}
11774
11775
c370783e 11776static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11777 PyObject *resultobj = NULL;
d55e5bfc
RD
11778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11779 long arg2 ;
11780 long arg3 ;
11781 wxString result;
11782 PyObject * obj0 = 0 ;
11783 PyObject * obj1 = 0 ;
11784 PyObject * obj2 = 0 ;
11785 char *kwnames[] = {
11786 (char *) "self",(char *) "from",(char *) "to", NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11791 if (SWIG_arg_fail(1)) SWIG_fail;
11792 {
32fe5131 11793 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
11794 if (SWIG_arg_fail(2)) SWIG_fail;
11795 }
11796 {
32fe5131 11797 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
11798 if (SWIG_arg_fail(3)) SWIG_fail;
11799 }
d55e5bfc
RD
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 {
11808#if wxUSE_UNICODE
11809 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11810#else
11811 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11812#endif
11813 }
11814 return resultobj;
11815 fail:
11816 return NULL;
11817}
11818
11819
c370783e 11820static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11821 PyObject *resultobj = NULL;
36ed4f51 11822 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11823 wxVisualAttributes result;
11824 PyObject * obj0 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "variant", NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11830 if (obj0) {
36ed4f51 11831 {
32fe5131 11832 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
11833 if (SWIG_arg_fail(1)) SWIG_fail;
11834 }
f20a2e1f
RD
11835 }
11836 {
0439c23b 11837 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11839 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
11840
11841 wxPyEndAllowThreads(__tstate);
110da5b0 11842 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11843 }
11844 {
11845 wxVisualAttributes * resultptr;
32fe5131 11846 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
11847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11848 }
11849 return resultobj;
11850 fail:
11851 return NULL;
11852}
11853
11854
c370783e 11855static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11856 PyObject *obj;
11857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11858 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11859 Py_INCREF(obj);
11860 return Py_BuildValue((char *)"");
11861}
c370783e 11862static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11863 PyObject *resultobj = NULL;
d55e5bfc
RD
11864 int arg1 ;
11865 wxMouseEvent *arg2 = 0 ;
11866 long arg3 ;
11867 long arg4 ;
11868 wxTextUrlEvent *result;
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj1 = 0 ;
11871 PyObject * obj2 = 0 ;
11872 PyObject * obj3 = 0 ;
11873 char *kwnames[] = {
11874 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11875 };
11876
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51 11878 {
32fe5131 11879 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
11880 if (SWIG_arg_fail(1)) SWIG_fail;
11881 }
11882 {
11883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11884 if (SWIG_arg_fail(2)) SWIG_fail;
11885 if (arg2 == NULL) {
11886 SWIG_null_ref("wxMouseEvent");
11887 }
11888 if (SWIG_arg_fail(2)) SWIG_fail;
11889 }
11890 {
32fe5131 11891 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
11892 if (SWIG_arg_fail(3)) SWIG_fail;
11893 }
11894 {
32fe5131 11895 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51 11896 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11897 }
d55e5bfc
RD
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11906 return resultobj;
11907 fail:
11908 return NULL;
11909}
11910
11911
c370783e 11912static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11913 PyObject *resultobj = NULL;
d55e5bfc
RD
11914 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11915 wxMouseEvent *result;
11916 PyObject * obj0 = 0 ;
11917 char *kwnames[] = {
11918 (char *) "self", NULL
11919 };
11920
11921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
11922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 {
11927 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11928 result = (wxMouseEvent *) &_result_ref;
11929 }
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11935 return resultobj;
11936 fail:
11937 return NULL;
11938}
11939
11940
c370783e 11941static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11942 PyObject *resultobj = NULL;
d55e5bfc
RD
11943 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11944 long result;
11945 PyObject * obj0 = 0 ;
11946 char *kwnames[] = {
11947 (char *) "self", NULL
11948 };
11949
11950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
11951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
36ed4f51 11960 {
32fe5131 11961 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 11962 }
d55e5bfc
RD
11963 return resultobj;
11964 fail:
11965 return NULL;
11966}
11967
11968
c370783e 11969static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11970 PyObject *resultobj = NULL;
d55e5bfc
RD
11971 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11972 long result;
11973 PyObject * obj0 = 0 ;
11974 char *kwnames[] = {
11975 (char *) "self", NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11984
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
36ed4f51 11988 {
32fe5131 11989 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 11990 }
d55e5bfc
RD
11991 return resultobj;
11992 fail:
11993 return NULL;
11994}
11995
11996
c370783e 11997static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11998 PyObject *obj;
11999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12000 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
12001 Py_INCREF(obj);
12002 return Py_BuildValue((char *)"");
12003}
c370783e 12004static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
12005 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
12006 return 1;
12007}
12008
12009
36ed4f51 12010static PyObject *_wrap_ScrollBarNameStr_get(void) {
32fe5131 12011 PyObject *pyobj = NULL;
d55e5bfc
RD
12012
12013 {
12014#if wxUSE_UNICODE
12015 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12016#else
12017 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12018#endif
12019 }
12020 return pyobj;
12021}
12022
12023
c370783e 12024static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12025 PyObject *resultobj = NULL;
d55e5bfc
RD
12026 wxWindow *arg1 = (wxWindow *) 0 ;
12027 int arg2 = (int) -1 ;
12028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12030 wxSize const &arg4_defvalue = wxDefaultSize ;
12031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12032 long arg5 = (long) wxSB_HORIZONTAL ;
12033 wxValidator const &arg6_defvalue = wxDefaultValidator ;
12034 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
12035 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
12036 wxString *arg7 = (wxString *) &arg7_defvalue ;
12037 wxScrollBar *result;
12038 wxPoint temp3 ;
12039 wxSize temp4 ;
b411df4a 12040 bool temp7 = false ;
d55e5bfc
RD
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043 PyObject * obj2 = 0 ;
12044 PyObject * obj3 = 0 ;
12045 PyObject * obj4 = 0 ;
12046 PyObject * obj5 = 0 ;
12047 PyObject * obj6 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12050 };
12051
12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12055 if (obj1) {
36ed4f51 12056 {
32fe5131 12057 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12058 if (SWIG_arg_fail(2)) SWIG_fail;
12059 }
d55e5bfc
RD
12060 }
12061 if (obj2) {
12062 {
12063 arg3 = &temp3;
12064 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12065 }
12066 }
12067 if (obj3) {
12068 {
12069 arg4 = &temp4;
12070 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12071 }
12072 }
12073 if (obj4) {
36ed4f51 12074 {
32fe5131 12075 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
12076 if (SWIG_arg_fail(5)) SWIG_fail;
12077 }
d55e5bfc
RD
12078 }
12079 if (obj5) {
36ed4f51
RD
12080 {
12081 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12082 if (SWIG_arg_fail(6)) SWIG_fail;
12083 if (arg6 == NULL) {
12084 SWIG_null_ref("wxValidator");
12085 }
12086 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
12087 }
12088 }
12089 if (obj6) {
12090 {
12091 arg7 = wxString_in_helper(obj6);
12092 if (arg7 == NULL) SWIG_fail;
b411df4a 12093 temp7 = true;
d55e5bfc
RD
12094 }
12095 }
12096 {
0439c23b 12097 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12100
12101 wxPyEndAllowThreads(__tstate);
110da5b0 12102 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12103 }
12104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12105 {
12106 if (temp7)
12107 delete arg7;
12108 }
12109 return resultobj;
12110 fail:
12111 {
12112 if (temp7)
12113 delete arg7;
12114 }
12115 return NULL;
12116}
12117
12118
c370783e 12119static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12120 PyObject *resultobj = NULL;
d55e5bfc
RD
12121 wxScrollBar *result;
12122 char *kwnames[] = {
12123 NULL
12124 };
12125
12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12127 {
0439c23b 12128 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 result = (wxScrollBar *)new wxScrollBar();
12131
12132 wxPyEndAllowThreads(__tstate);
110da5b0 12133 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12134 }
12135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12136 return resultobj;
12137 fail:
12138 return NULL;
12139}
12140
12141
c370783e 12142static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12143 PyObject *resultobj = NULL;
d55e5bfc
RD
12144 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12145 wxWindow *arg2 = (wxWindow *) 0 ;
12146 int arg3 = (int) -1 ;
12147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12149 wxSize const &arg5_defvalue = wxDefaultSize ;
12150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12151 long arg6 = (long) wxSB_HORIZONTAL ;
12152 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12153 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12154 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12155 wxString *arg8 = (wxString *) &arg8_defvalue ;
12156 bool result;
12157 wxPoint temp4 ;
12158 wxSize temp5 ;
b411df4a 12159 bool temp8 = false ;
d55e5bfc
RD
12160 PyObject * obj0 = 0 ;
12161 PyObject * obj1 = 0 ;
12162 PyObject * obj2 = 0 ;
12163 PyObject * obj3 = 0 ;
12164 PyObject * obj4 = 0 ;
12165 PyObject * obj5 = 0 ;
12166 PyObject * obj6 = 0 ;
12167 PyObject * obj7 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
12173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail;
12175 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12176 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12177 if (obj2) {
36ed4f51 12178 {
32fe5131 12179 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12180 if (SWIG_arg_fail(3)) SWIG_fail;
12181 }
d55e5bfc
RD
12182 }
12183 if (obj3) {
12184 {
12185 arg4 = &temp4;
12186 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12187 }
12188 }
12189 if (obj4) {
12190 {
12191 arg5 = &temp5;
12192 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12193 }
12194 }
12195 if (obj5) {
36ed4f51 12196 {
32fe5131 12197 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
12198 if (SWIG_arg_fail(6)) SWIG_fail;
12199 }
d55e5bfc
RD
12200 }
12201 if (obj6) {
36ed4f51
RD
12202 {
12203 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(7)) SWIG_fail;
12205 if (arg7 == NULL) {
12206 SWIG_null_ref("wxValidator");
12207 }
12208 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
12209 }
12210 }
12211 if (obj7) {
12212 {
12213 arg8 = wxString_in_helper(obj7);
12214 if (arg8 == NULL) SWIG_fail;
b411df4a 12215 temp8 = true;
d55e5bfc
RD
12216 }
12217 }
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 {
12226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12227 }
12228 {
12229 if (temp8)
12230 delete arg8;
12231 }
12232 return resultobj;
12233 fail:
12234 {
12235 if (temp8)
12236 delete arg8;
12237 }
12238 return NULL;
12239}
12240
12241
c370783e 12242static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12243 PyObject *resultobj = NULL;
d55e5bfc
RD
12244 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12245 int result;
12246 PyObject * obj0 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
36ed4f51 12261 {
32fe5131 12262 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12263 }
d55e5bfc
RD
12264 return resultobj;
12265 fail:
12266 return NULL;
12267}
12268
12269
c370783e 12270static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12271 PyObject *resultobj = NULL;
d55e5bfc
RD
12272 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12273 int result;
12274 PyObject * obj0 = 0 ;
12275 char *kwnames[] = {
12276 (char *) "self", NULL
12277 };
12278
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
36ed4f51 12289 {
32fe5131 12290 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12291 }
d55e5bfc
RD
12292 return resultobj;
12293 fail:
12294 return NULL;
12295}
12296
12297
c370783e 12298static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12299 PyObject *resultobj = NULL;
d55e5bfc
RD
12300 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12301 int result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
36ed4f51 12317 {
32fe5131 12318 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12319 }
d55e5bfc
RD
12320 return resultobj;
12321 fail:
12322 return NULL;
12323}
12324
12325
c370783e 12326static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12327 PyObject *resultobj = NULL;
d55e5bfc
RD
12328 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12329 int result;
12330 PyObject * obj0 = 0 ;
12331 char *kwnames[] = {
12332 (char *) "self", NULL
12333 };
12334
12335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
12336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 result = (int)((wxScrollBar const *)arg1)->GetRange();
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
36ed4f51 12345 {
32fe5131 12346 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12347 }
d55e5bfc
RD
12348 return resultobj;
12349 fail:
12350 return NULL;
12351}
12352
12353
c370783e 12354static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12355 PyObject *resultobj = NULL;
d55e5bfc
RD
12356 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12357 bool result;
12358 PyObject * obj0 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 {
12374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12375 }
12376 return resultobj;
12377 fail:
12378 return NULL;
12379}
12380
12381
c370783e 12382static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12383 PyObject *resultobj = NULL;
d55e5bfc
RD
12384 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12385 int arg2 ;
12386 PyObject * obj0 = 0 ;
12387 PyObject * obj1 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "self",(char *) "viewStart", NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12394 if (SWIG_arg_fail(1)) SWIG_fail;
12395 {
32fe5131 12396 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12397 if (SWIG_arg_fail(2)) SWIG_fail;
12398 }
d55e5bfc
RD
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 (arg1)->SetThumbPosition(arg2);
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 Py_INCREF(Py_None); resultobj = Py_None;
12407 return resultobj;
12408 fail:
12409 return NULL;
12410}
12411
12412
c370783e 12413static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12414 PyObject *resultobj = NULL;
d55e5bfc
RD
12415 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12416 int arg2 ;
12417 int arg3 ;
12418 int arg4 ;
12419 int arg5 ;
b411df4a 12420 bool arg6 = (bool) true ;
d55e5bfc
RD
12421 PyObject * obj0 = 0 ;
12422 PyObject * obj1 = 0 ;
12423 PyObject * obj2 = 0 ;
12424 PyObject * obj3 = 0 ;
12425 PyObject * obj4 = 0 ;
12426 PyObject * obj5 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail;
12434 {
32fe5131 12435 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12436 if (SWIG_arg_fail(2)) SWIG_fail;
12437 }
12438 {
32fe5131 12439 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12440 if (SWIG_arg_fail(3)) SWIG_fail;
12441 }
12442 {
32fe5131 12443 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
12444 if (SWIG_arg_fail(4)) SWIG_fail;
12445 }
12446 {
32fe5131 12447 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
12448 if (SWIG_arg_fail(5)) SWIG_fail;
12449 }
d55e5bfc 12450 if (obj5) {
36ed4f51 12451 {
32fe5131 12452 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
36ed4f51
RD
12453 if (SWIG_arg_fail(6)) SWIG_fail;
12454 }
d55e5bfc
RD
12455 }
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) SWIG_fail;
12462 }
12463 Py_INCREF(Py_None); resultobj = Py_None;
12464 return resultobj;
12465 fail:
12466 return NULL;
12467}
12468
12469
c370783e 12470static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12471 PyObject *resultobj = NULL;
36ed4f51 12472 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12473 wxVisualAttributes result;
12474 PyObject * obj0 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "variant", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12480 if (obj0) {
36ed4f51 12481 {
32fe5131 12482 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
12483 if (SWIG_arg_fail(1)) SWIG_fail;
12484 }
f20a2e1f
RD
12485 }
12486 {
0439c23b 12487 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12489 result = wxScrollBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
12490
12491 wxPyEndAllowThreads(__tstate);
110da5b0 12492 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12493 }
12494 {
12495 wxVisualAttributes * resultptr;
32fe5131 12496 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
12497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12498 }
12499 return resultobj;
12500 fail:
12501 return NULL;
12502}
12503
12504
c370783e 12505static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12506 PyObject *obj;
12507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12508 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12509 Py_INCREF(obj);
12510 return Py_BuildValue((char *)"");
12511}
c370783e 12512static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12513 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12514 return 1;
12515}
12516
12517
36ed4f51 12518static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
32fe5131 12519 PyObject *pyobj = NULL;
d55e5bfc
RD
12520
12521 {
12522#if wxUSE_UNICODE
12523 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12524#else
12525 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12526#endif
12527 }
12528 return pyobj;
12529}
12530
12531
c370783e 12532static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12533 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12534 return 1;
12535}
12536
12537
36ed4f51 12538static PyObject *_wrap_SpinCtrlNameStr_get(void) {
32fe5131 12539 PyObject *pyobj = NULL;
d55e5bfc
RD
12540
12541 {
12542#if wxUSE_UNICODE
12543 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12544#else
12545 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12546#endif
12547 }
12548 return pyobj;
12549}
12550
12551
c370783e 12552static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12553 PyObject *resultobj = NULL;
d55e5bfc
RD
12554 wxWindow *arg1 = (wxWindow *) 0 ;
12555 int arg2 = (int) -1 ;
12556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12558 wxSize const &arg4_defvalue = wxDefaultSize ;
12559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12560 long arg5 = (long) wxSP_HORIZONTAL ;
12561 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12562 wxString *arg6 = (wxString *) &arg6_defvalue ;
12563 wxSpinButton *result;
12564 wxPoint temp3 ;
12565 wxSize temp4 ;
b411df4a 12566 bool temp6 = false ;
d55e5bfc
RD
12567 PyObject * obj0 = 0 ;
12568 PyObject * obj1 = 0 ;
12569 PyObject * obj2 = 0 ;
12570 PyObject * obj3 = 0 ;
12571 PyObject * obj4 = 0 ;
12572 PyObject * obj5 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12579 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12580 if (obj1) {
36ed4f51 12581 {
32fe5131 12582 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12583 if (SWIG_arg_fail(2)) SWIG_fail;
12584 }
d55e5bfc
RD
12585 }
12586 if (obj2) {
12587 {
12588 arg3 = &temp3;
12589 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12590 }
12591 }
12592 if (obj3) {
12593 {
12594 arg4 = &temp4;
12595 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12596 }
12597 }
12598 if (obj4) {
36ed4f51 12599 {
32fe5131 12600 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
12601 if (SWIG_arg_fail(5)) SWIG_fail;
12602 }
d55e5bfc
RD
12603 }
12604 if (obj5) {
12605 {
12606 arg6 = wxString_in_helper(obj5);
12607 if (arg6 == NULL) SWIG_fail;
b411df4a 12608 temp6 = true;
d55e5bfc
RD
12609 }
12610 }
12611 {
0439c23b 12612 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12615
12616 wxPyEndAllowThreads(__tstate);
110da5b0 12617 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12618 }
12619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12620 {
12621 if (temp6)
12622 delete arg6;
12623 }
12624 return resultobj;
12625 fail:
12626 {
12627 if (temp6)
12628 delete arg6;
12629 }
12630 return NULL;
12631}
12632
12633
c370783e 12634static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12635 PyObject *resultobj = NULL;
d55e5bfc
RD
12636 wxSpinButton *result;
12637 char *kwnames[] = {
12638 NULL
12639 };
12640
12641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12642 {
0439c23b 12643 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12644 PyThreadState* __tstate = wxPyBeginAllowThreads();
12645 result = (wxSpinButton *)new wxSpinButton();
12646
12647 wxPyEndAllowThreads(__tstate);
110da5b0 12648 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12649 }
12650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12651 return resultobj;
12652 fail:
12653 return NULL;
12654}
12655
12656
c370783e 12657static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12658 PyObject *resultobj = NULL;
d55e5bfc
RD
12659 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12660 wxWindow *arg2 = (wxWindow *) 0 ;
12661 int arg3 = (int) -1 ;
12662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12664 wxSize const &arg5_defvalue = wxDefaultSize ;
12665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12666 long arg6 = (long) wxSP_HORIZONTAL ;
12667 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12668 wxString *arg7 = (wxString *) &arg7_defvalue ;
12669 bool result;
12670 wxPoint temp4 ;
12671 wxSize temp5 ;
b411df4a 12672 bool temp7 = false ;
d55e5bfc
RD
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675 PyObject * obj2 = 0 ;
12676 PyObject * obj3 = 0 ;
12677 PyObject * obj4 = 0 ;
12678 PyObject * obj5 = 0 ;
12679 PyObject * obj6 = 0 ;
12680 char *kwnames[] = {
12681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12682 };
12683
12684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12686 if (SWIG_arg_fail(1)) SWIG_fail;
12687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12688 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12689 if (obj2) {
36ed4f51 12690 {
32fe5131 12691 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12692 if (SWIG_arg_fail(3)) SWIG_fail;
12693 }
d55e5bfc
RD
12694 }
12695 if (obj3) {
12696 {
12697 arg4 = &temp4;
12698 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12699 }
12700 }
12701 if (obj4) {
12702 {
12703 arg5 = &temp5;
12704 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12705 }
12706 }
12707 if (obj5) {
36ed4f51 12708 {
32fe5131 12709 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
12710 if (SWIG_arg_fail(6)) SWIG_fail;
12711 }
d55e5bfc
RD
12712 }
12713 if (obj6) {
12714 {
12715 arg7 = wxString_in_helper(obj6);
12716 if (arg7 == NULL) SWIG_fail;
b411df4a 12717 temp7 = true;
d55e5bfc
RD
12718 }
12719 }
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 {
12728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12729 }
12730 {
12731 if (temp7)
12732 delete arg7;
12733 }
12734 return resultobj;
12735 fail:
12736 {
12737 if (temp7)
12738 delete arg7;
12739 }
12740 return NULL;
12741}
12742
12743
c370783e 12744static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12745 PyObject *resultobj = NULL;
d55e5bfc
RD
12746 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12747 int result;
12748 PyObject * obj0 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "self", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
12754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12756 {
12757 PyThreadState* __tstate = wxPyBeginAllowThreads();
12758 result = (int)((wxSpinButton const *)arg1)->GetValue();
12759
12760 wxPyEndAllowThreads(__tstate);
12761 if (PyErr_Occurred()) SWIG_fail;
12762 }
36ed4f51 12763 {
32fe5131 12764 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12765 }
d55e5bfc
RD
12766 return resultobj;
12767 fail:
12768 return NULL;
12769}
12770
12771
c370783e 12772static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12773 PyObject *resultobj = NULL;
d55e5bfc
RD
12774 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12775 int result;
12776 PyObject * obj0 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "self", NULL
12779 };
12780
12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
12782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12783 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12784 {
12785 PyThreadState* __tstate = wxPyBeginAllowThreads();
12786 result = (int)((wxSpinButton const *)arg1)->GetMin();
12787
12788 wxPyEndAllowThreads(__tstate);
12789 if (PyErr_Occurred()) SWIG_fail;
12790 }
36ed4f51 12791 {
32fe5131 12792 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12793 }
d55e5bfc
RD
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
c370783e 12800static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12801 PyObject *resultobj = NULL;
d55e5bfc
RD
12802 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12803 int result;
12804 PyObject * obj0 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "self", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
12810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (int)((wxSpinButton const *)arg1)->GetMax();
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
36ed4f51 12819 {
32fe5131 12820 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12821 }
d55e5bfc
RD
12822 return resultobj;
12823 fail:
12824 return NULL;
12825}
12826
12827
c370783e 12828static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12829 PyObject *resultobj = NULL;
d55e5bfc
RD
12830 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12831 int arg2 ;
12832 PyObject * obj0 = 0 ;
12833 PyObject * obj1 = 0 ;
12834 char *kwnames[] = {
12835 (char *) "self",(char *) "val", NULL
12836 };
12837
12838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail;
12841 {
32fe5131 12842 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12843 if (SWIG_arg_fail(2)) SWIG_fail;
12844 }
d55e5bfc
RD
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 (arg1)->SetValue(arg2);
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 Py_INCREF(Py_None); resultobj = Py_None;
12853 return resultobj;
12854 fail:
12855 return NULL;
12856}
12857
12858
c370783e 12859static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12860 PyObject *resultobj = NULL;
d55e5bfc
RD
12861 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12862 int arg2 ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "minVal", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12871 if (SWIG_arg_fail(1)) SWIG_fail;
12872 {
32fe5131 12873 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12874 if (SWIG_arg_fail(2)) SWIG_fail;
12875 }
d55e5bfc
RD
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 (arg1)->SetMin(arg2);
12879
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 Py_INCREF(Py_None); resultobj = Py_None;
12884 return resultobj;
12885 fail:
12886 return NULL;
12887}
12888
12889
c370783e 12890static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12891 PyObject *resultobj = NULL;
d55e5bfc
RD
12892 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12893 int arg2 ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self",(char *) "maxVal", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12902 if (SWIG_arg_fail(1)) SWIG_fail;
12903 {
32fe5131 12904 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12905 if (SWIG_arg_fail(2)) SWIG_fail;
12906 }
d55e5bfc
RD
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 (arg1)->SetMax(arg2);
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 Py_INCREF(Py_None); resultobj = Py_None;
12915 return resultobj;
12916 fail:
12917 return NULL;
12918}
12919
12920
c370783e 12921static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12922 PyObject *resultobj = NULL;
d55e5bfc
RD
12923 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12924 int arg2 ;
12925 int arg3 ;
12926 PyObject * obj0 = 0 ;
12927 PyObject * obj1 = 0 ;
12928 PyObject * obj2 = 0 ;
12929 char *kwnames[] = {
12930 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12931 };
12932
12933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail;
12936 {
32fe5131 12937 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12938 if (SWIG_arg_fail(2)) SWIG_fail;
12939 }
12940 {
32fe5131 12941 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12942 if (SWIG_arg_fail(3)) SWIG_fail;
12943 }
d55e5bfc
RD
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->SetRange(arg2,arg3);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
f20a2e1f
RD
12951 Py_INCREF(Py_None); resultobj = Py_None;
12952 return resultobj;
12953 fail:
12954 return NULL;
12955}
12956
12957
c370783e 12958static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12959 PyObject *resultobj = NULL;
f20a2e1f
RD
12960 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12961 bool result;
12962 PyObject * obj0 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 {
12978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12979 }
d55e5bfc
RD
12980 return resultobj;
12981 fail:
12982 return NULL;
12983}
12984
12985
c370783e 12986static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12987 PyObject *resultobj = NULL;
36ed4f51 12988 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12989 wxVisualAttributes result;
d55e5bfc
RD
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
f20a2e1f 12992 (char *) "variant", NULL
d55e5bfc
RD
12993 };
12994
f20a2e1f
RD
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12996 if (obj0) {
36ed4f51 12997 {
32fe5131 12998 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
12999 if (SWIG_arg_fail(1)) SWIG_fail;
13000 }
f20a2e1f 13001 }
d55e5bfc 13002 {
0439c23b 13003 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 13005 result = wxSpinButton::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
13006
13007 wxPyEndAllowThreads(__tstate);
110da5b0 13008 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13009 }
13010 {
f20a2e1f 13011 wxVisualAttributes * resultptr;
32fe5131 13012 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f 13013 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
13014 }
13015 return resultobj;
13016 fail:
13017 return NULL;
13018}
13019
13020
c370783e 13021static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13022 PyObject *obj;
13023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13024 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
13025 Py_INCREF(obj);
13026 return Py_BuildValue((char *)"");
13027}
c370783e 13028static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13029 PyObject *resultobj = NULL;
d55e5bfc
RD
13030 wxWindow *arg1 = (wxWindow *) 0 ;
13031 int arg2 = (int) -1 ;
13032 wxString const &arg3_defvalue = wxPyEmptyString ;
13033 wxString *arg3 = (wxString *) &arg3_defvalue ;
13034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13036 wxSize const &arg5_defvalue = wxDefaultSize ;
13037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13038 long arg6 = (long) wxSP_ARROW_KEYS ;
13039 int arg7 = (int) 0 ;
13040 int arg8 = (int) 100 ;
13041 int arg9 = (int) 0 ;
13042 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
13043 wxString *arg10 = (wxString *) &arg10_defvalue ;
13044 wxSpinCtrl *result;
b411df4a 13045 bool temp3 = false ;
d55e5bfc
RD
13046 wxPoint temp4 ;
13047 wxSize temp5 ;
b411df4a 13048 bool temp10 = false ;
d55e5bfc
RD
13049 PyObject * obj0 = 0 ;
13050 PyObject * obj1 = 0 ;
13051 PyObject * obj2 = 0 ;
13052 PyObject * obj3 = 0 ;
13053 PyObject * obj4 = 0 ;
13054 PyObject * obj5 = 0 ;
13055 PyObject * obj6 = 0 ;
13056 PyObject * obj7 = 0 ;
13057 PyObject * obj8 = 0 ;
13058 PyObject * obj9 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
13064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13066 if (obj1) {
36ed4f51 13067 {
32fe5131 13068 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13069 if (SWIG_arg_fail(2)) SWIG_fail;
13070 }
d55e5bfc
RD
13071 }
13072 if (obj2) {
13073 {
13074 arg3 = wxString_in_helper(obj2);
13075 if (arg3 == NULL) SWIG_fail;
b411df4a 13076 temp3 = true;
d55e5bfc
RD
13077 }
13078 }
13079 if (obj3) {
13080 {
13081 arg4 = &temp4;
13082 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13083 }
13084 }
13085 if (obj4) {
13086 {
13087 arg5 = &temp5;
13088 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13089 }
13090 }
13091 if (obj5) {
36ed4f51 13092 {
32fe5131 13093 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
13094 if (SWIG_arg_fail(6)) SWIG_fail;
13095 }
d55e5bfc
RD
13096 }
13097 if (obj6) {
36ed4f51 13098 {
32fe5131 13099 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
13100 if (SWIG_arg_fail(7)) SWIG_fail;
13101 }
d55e5bfc
RD
13102 }
13103 if (obj7) {
36ed4f51 13104 {
32fe5131 13105 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
13106 if (SWIG_arg_fail(8)) SWIG_fail;
13107 }
d55e5bfc
RD
13108 }
13109 if (obj8) {
36ed4f51 13110 {
32fe5131 13111 arg9 = static_cast<int >(SWIG_As_int(obj8));
36ed4f51
RD
13112 if (SWIG_arg_fail(9)) SWIG_fail;
13113 }
d55e5bfc
RD
13114 }
13115 if (obj9) {
13116 {
13117 arg10 = wxString_in_helper(obj9);
13118 if (arg10 == NULL) SWIG_fail;
b411df4a 13119 temp10 = true;
d55e5bfc
RD
13120 }
13121 }
13122 {
0439c23b 13123 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13126
13127 wxPyEndAllowThreads(__tstate);
110da5b0 13128 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13129 }
13130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13131 {
13132 if (temp3)
13133 delete arg3;
13134 }
13135 {
13136 if (temp10)
13137 delete arg10;
13138 }
13139 return resultobj;
13140 fail:
13141 {
13142 if (temp3)
13143 delete arg3;
13144 }
13145 {
13146 if (temp10)
13147 delete arg10;
13148 }
13149 return NULL;
13150}
13151
13152
c370783e 13153static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13154 PyObject *resultobj = NULL;
d55e5bfc
RD
13155 wxSpinCtrl *result;
13156 char *kwnames[] = {
13157 NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13161 {
0439c23b 13162 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 result = (wxSpinCtrl *)new wxSpinCtrl();
13165
13166 wxPyEndAllowThreads(__tstate);
110da5b0 13167 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13168 }
13169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13170 return resultobj;
13171 fail:
13172 return NULL;
13173}
13174
13175
c370783e 13176static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13177 PyObject *resultobj = NULL;
d55e5bfc
RD
13178 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13179 wxWindow *arg2 = (wxWindow *) 0 ;
13180 int arg3 = (int) -1 ;
13181 wxString const &arg4_defvalue = wxPyEmptyString ;
13182 wxString *arg4 = (wxString *) &arg4_defvalue ;
13183 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13184 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13185 wxSize const &arg6_defvalue = wxDefaultSize ;
13186 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13187 long arg7 = (long) wxSP_ARROW_KEYS ;
13188 int arg8 = (int) 0 ;
13189 int arg9 = (int) 100 ;
13190 int arg10 = (int) 0 ;
13191 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13192 wxString *arg11 = (wxString *) &arg11_defvalue ;
13193 bool result;
b411df4a 13194 bool temp4 = false ;
d55e5bfc
RD
13195 wxPoint temp5 ;
13196 wxSize temp6 ;
b411df4a 13197 bool temp11 = false ;
d55e5bfc
RD
13198 PyObject * obj0 = 0 ;
13199 PyObject * obj1 = 0 ;
13200 PyObject * obj2 = 0 ;
13201 PyObject * obj3 = 0 ;
13202 PyObject * obj4 = 0 ;
13203 PyObject * obj5 = 0 ;
13204 PyObject * obj6 = 0 ;
13205 PyObject * obj7 = 0 ;
13206 PyObject * obj8 = 0 ;
13207 PyObject * obj9 = 0 ;
13208 PyObject * obj10 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
13214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail;
13216 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13217 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13218 if (obj2) {
36ed4f51 13219 {
32fe5131 13220 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13221 if (SWIG_arg_fail(3)) SWIG_fail;
13222 }
d55e5bfc
RD
13223 }
13224 if (obj3) {
13225 {
13226 arg4 = wxString_in_helper(obj3);
13227 if (arg4 == NULL) SWIG_fail;
b411df4a 13228 temp4 = true;
d55e5bfc
RD
13229 }
13230 }
13231 if (obj4) {
13232 {
13233 arg5 = &temp5;
13234 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13235 }
13236 }
13237 if (obj5) {
13238 {
13239 arg6 = &temp6;
13240 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13241 }
13242 }
13243 if (obj6) {
36ed4f51 13244 {
32fe5131 13245 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
13246 if (SWIG_arg_fail(7)) SWIG_fail;
13247 }
d55e5bfc
RD
13248 }
13249 if (obj7) {
36ed4f51 13250 {
32fe5131 13251 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
13252 if (SWIG_arg_fail(8)) SWIG_fail;
13253 }
d55e5bfc
RD
13254 }
13255 if (obj8) {
36ed4f51 13256 {
32fe5131 13257 arg9 = static_cast<int >(SWIG_As_int(obj8));
36ed4f51
RD
13258 if (SWIG_arg_fail(9)) SWIG_fail;
13259 }
d55e5bfc
RD
13260 }
13261 if (obj9) {
36ed4f51 13262 {
32fe5131 13263 arg10 = static_cast<int >(SWIG_As_int(obj9));
36ed4f51
RD
13264 if (SWIG_arg_fail(10)) SWIG_fail;
13265 }
d55e5bfc
RD
13266 }
13267 if (obj10) {
13268 {
13269 arg11 = wxString_in_helper(obj10);
13270 if (arg11 == NULL) SWIG_fail;
b411df4a 13271 temp11 = true;
d55e5bfc
RD
13272 }
13273 }
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 {
13282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13283 }
13284 {
13285 if (temp4)
13286 delete arg4;
13287 }
13288 {
13289 if (temp11)
13290 delete arg11;
13291 }
13292 return resultobj;
13293 fail:
13294 {
13295 if (temp4)
13296 delete arg4;
13297 }
13298 {
13299 if (temp11)
13300 delete arg11;
13301 }
13302 return NULL;
13303}
13304
13305
c370783e 13306static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13307 PyObject *resultobj = NULL;
d55e5bfc
RD
13308 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13309 int result;
13310 PyObject * obj0 = 0 ;
13311 char *kwnames[] = {
13312 (char *) "self", NULL
13313 };
13314
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
13316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
36ed4f51 13325 {
32fe5131 13326 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13327 }
d55e5bfc
RD
13328 return resultobj;
13329 fail:
13330 return NULL;
13331}
13332
13333
c370783e 13334static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13335 PyObject *resultobj = NULL;
d55e5bfc
RD
13336 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13337 int arg2 ;
13338 PyObject * obj0 = 0 ;
13339 PyObject * obj1 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "self",(char *) "value", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail;
13347 {
32fe5131 13348 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13349 if (SWIG_arg_fail(2)) SWIG_fail;
13350 }
d55e5bfc
RD
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 (arg1)->SetValue(arg2);
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
13358 Py_INCREF(Py_None); resultobj = Py_None;
13359 return resultobj;
13360 fail:
13361 return NULL;
13362}
13363
13364
c370783e 13365static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13366 PyObject *resultobj = NULL;
d55e5bfc
RD
13367 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13368 wxString *arg2 = 0 ;
b411df4a 13369 bool temp2 = false ;
d55e5bfc
RD
13370 PyObject * obj0 = 0 ;
13371 PyObject * obj1 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self",(char *) "text", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13379 {
13380 arg2 = wxString_in_helper(obj1);
13381 if (arg2 == NULL) SWIG_fail;
b411df4a 13382 temp2 = true;
d55e5bfc
RD
13383 }
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 (arg1)->SetValue((wxString const &)*arg2);
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 Py_INCREF(Py_None); resultobj = Py_None;
13392 {
13393 if (temp2)
13394 delete arg2;
13395 }
13396 return resultobj;
13397 fail:
13398 {
13399 if (temp2)
13400 delete arg2;
13401 }
13402 return NULL;
13403}
13404
13405
c370783e 13406static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13407 PyObject *resultobj = NULL;
d55e5bfc
RD
13408 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13409 int arg2 ;
13410 int arg3 ;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 PyObject * obj2 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13420 if (SWIG_arg_fail(1)) SWIG_fail;
13421 {
32fe5131 13422 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13423 if (SWIG_arg_fail(2)) SWIG_fail;
13424 }
13425 {
32fe5131 13426 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13427 if (SWIG_arg_fail(3)) SWIG_fail;
13428 }
d55e5bfc
RD
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->SetRange(arg2,arg3);
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 Py_INCREF(Py_None); resultobj = Py_None;
13437 return resultobj;
13438 fail:
13439 return NULL;
13440}
13441
13442
c370783e 13443static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13444 PyObject *resultobj = NULL;
d55e5bfc
RD
13445 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13446 int result;
13447 PyObject * obj0 = 0 ;
13448 char *kwnames[] = {
13449 (char *) "self", NULL
13450 };
13451
13452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
36ed4f51 13462 {
32fe5131 13463 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13464 }
d55e5bfc
RD
13465 return resultobj;
13466 fail:
13467 return NULL;
13468}
13469
13470
c370783e 13471static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13472 PyObject *resultobj = NULL;
d55e5bfc
RD
13473 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13474 int result;
13475 PyObject * obj0 = 0 ;
13476 char *kwnames[] = {
13477 (char *) "self", NULL
13478 };
13479
13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
36ed4f51 13490 {
32fe5131 13491 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13492 }
d55e5bfc
RD
13493 return resultobj;
13494 fail:
13495 return NULL;
13496}
13497
13498
c370783e 13499static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13500 PyObject *resultobj = NULL;
d55e5bfc
RD
13501 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13502 long arg2 ;
13503 long arg3 ;
13504 PyObject * obj0 = 0 ;
13505 PyObject * obj1 = 0 ;
13506 PyObject * obj2 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self",(char *) "from",(char *) "to", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13513 if (SWIG_arg_fail(1)) SWIG_fail;
13514 {
32fe5131 13515 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
13516 if (SWIG_arg_fail(2)) SWIG_fail;
13517 }
13518 {
32fe5131 13519 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
13520 if (SWIG_arg_fail(3)) SWIG_fail;
13521 }
d55e5bfc
RD
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 (arg1)->SetSelection(arg2,arg3);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 Py_INCREF(Py_None); resultobj = Py_None;
13530 return resultobj;
13531 fail:
13532 return NULL;
13533}
13534
13535
c370783e 13536static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13537 PyObject *resultobj = NULL;
36ed4f51 13538 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13539 wxVisualAttributes result;
13540 PyObject * obj0 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "variant", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13546 if (obj0) {
36ed4f51 13547 {
32fe5131 13548 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
13549 if (SWIG_arg_fail(1)) SWIG_fail;
13550 }
f20a2e1f
RD
13551 }
13552 {
0439c23b 13553 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 13555 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
13556
13557 wxPyEndAllowThreads(__tstate);
110da5b0 13558 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13559 }
13560 {
13561 wxVisualAttributes * resultptr;
32fe5131 13562 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
13563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13564 }
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
c370783e 13571static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13572 PyObject *obj;
13573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13574 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13575 Py_INCREF(obj);
13576 return Py_BuildValue((char *)"");
13577}
c370783e 13578static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13579 PyObject *resultobj = NULL;
d55e5bfc
RD
13580 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13581 int arg2 = (int) 0 ;
13582 wxSpinEvent *result;
13583 PyObject * obj0 = 0 ;
13584 PyObject * obj1 = 0 ;
13585 char *kwnames[] = {
13586 (char *) "commandType",(char *) "winid", NULL
13587 };
13588
13589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13590 if (obj0) {
36ed4f51 13591 {
32fe5131 13592 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
13593 if (SWIG_arg_fail(1)) SWIG_fail;
13594 }
d55e5bfc
RD
13595 }
13596 if (obj1) {
36ed4f51 13597 {
32fe5131 13598 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13599 if (SWIG_arg_fail(2)) SWIG_fail;
13600 }
d55e5bfc
RD
13601 }
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13610 return resultobj;
13611 fail:
13612 return NULL;
13613}
13614
13615
c370783e 13616static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13617 PyObject *resultobj = NULL;
d55e5bfc
RD
13618 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13619 int result;
13620 PyObject * obj0 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
13626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
36ed4f51 13635 {
32fe5131 13636 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13637 }
d55e5bfc
RD
13638 return resultobj;
13639 fail:
13640 return NULL;
13641}
13642
13643
c370783e 13644static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13645 PyObject *resultobj = NULL;
d55e5bfc
RD
13646 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13647 int arg2 ;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "self",(char *) "pos", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13656 if (SWIG_arg_fail(1)) SWIG_fail;
13657 {
32fe5131 13658 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13659 if (SWIG_arg_fail(2)) SWIG_fail;
13660 }
d55e5bfc
RD
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 (arg1)->SetPosition(arg2);
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 Py_INCREF(Py_None); resultobj = Py_None;
13669 return resultobj;
13670 fail:
13671 return NULL;
13672}
13673
13674
c370783e 13675static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13676 PyObject *obj;
13677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13678 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13679 Py_INCREF(obj);
13680 return Py_BuildValue((char *)"");
13681}
c370783e 13682static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13683 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13684 return 1;
13685}
13686
13687
36ed4f51 13688static PyObject *_wrap_RadioBoxNameStr_get(void) {
32fe5131 13689 PyObject *pyobj = NULL;
d55e5bfc
RD
13690
13691 {
13692#if wxUSE_UNICODE
13693 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13694#else
13695 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13696#endif
13697 }
13698 return pyobj;
13699}
13700
13701
c370783e 13702static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13703 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13704 return 1;
13705}
13706
13707
36ed4f51 13708static PyObject *_wrap_RadioButtonNameStr_get(void) {
32fe5131 13709 PyObject *pyobj = NULL;
d55e5bfc
RD
13710
13711 {
13712#if wxUSE_UNICODE
13713 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13714#else
13715 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13716#endif
13717 }
13718 return pyobj;
13719}
13720
13721
c370783e 13722static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13723 PyObject *resultobj = NULL;
d55e5bfc 13724 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
13725 int arg2 = (int) -1 ;
13726 wxString const &arg3_defvalue = wxPyEmptyString ;
13727 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13728 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13729 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13730 wxSize const &arg5_defvalue = wxDefaultSize ;
13731 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13732 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13733 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13734 int arg7 = (int) 0 ;
13735 long arg8 = (long) wxRA_HORIZONTAL ;
13736 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13737 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13738 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13739 wxString *arg10 = (wxString *) &arg10_defvalue ;
13740 wxRadioBox *result;
b411df4a 13741 bool temp3 = false ;
d55e5bfc
RD
13742 wxPoint temp4 ;
13743 wxSize temp5 ;
b411df4a
RD
13744 bool temp6 = false ;
13745 bool temp10 = false ;
d55e5bfc
RD
13746 PyObject * obj0 = 0 ;
13747 PyObject * obj1 = 0 ;
13748 PyObject * obj2 = 0 ;
13749 PyObject * obj3 = 0 ;
13750 PyObject * obj4 = 0 ;
13751 PyObject * obj5 = 0 ;
13752 PyObject * obj6 = 0 ;
13753 PyObject * obj7 = 0 ;
13754 PyObject * obj8 = 0 ;
13755 PyObject * obj9 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13758 };
13759
bfddbb17 13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
13761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13762 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 13763 if (obj1) {
36ed4f51 13764 {
32fe5131 13765 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13766 if (SWIG_arg_fail(2)) SWIG_fail;
13767 }
bfddbb17
RD
13768 }
13769 if (obj2) {
13770 {
13771 arg3 = wxString_in_helper(obj2);
13772 if (arg3 == NULL) SWIG_fail;
b411df4a 13773 temp3 = true;
bfddbb17 13774 }
d55e5bfc
RD
13775 }
13776 if (obj3) {
13777 {
13778 arg4 = &temp4;
13779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13780 }
13781 }
13782 if (obj4) {
13783 {
13784 arg5 = &temp5;
13785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13786 }
13787 }
13788 if (obj5) {
13789 {
13790 if (! PySequence_Check(obj5)) {
13791 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13792 SWIG_fail;
13793 }
13794 arg6 = new wxArrayString;
b411df4a 13795 temp6 = true;
d55e5bfc
RD
13796 int i, len=PySequence_Length(obj5);
13797 for (i=0; i<len; i++) {
13798 PyObject* item = PySequence_GetItem(obj5, i);
71237536 13799 wxString* s = wxString_in_helper(item);
d55e5bfc 13800 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13801 arg6->Add(*s);
13802 delete s;
d55e5bfc 13803 Py_DECREF(item);
d55e5bfc
RD
13804 }
13805 }
13806 }
13807 if (obj6) {
36ed4f51 13808 {
32fe5131 13809 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
13810 if (SWIG_arg_fail(7)) SWIG_fail;
13811 }
d55e5bfc
RD
13812 }
13813 if (obj7) {
36ed4f51 13814 {
32fe5131 13815 arg8 = static_cast<long >(SWIG_As_long(obj7));
36ed4f51
RD
13816 if (SWIG_arg_fail(8)) SWIG_fail;
13817 }
d55e5bfc
RD
13818 }
13819 if (obj8) {
36ed4f51
RD
13820 {
13821 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13822 if (SWIG_arg_fail(9)) SWIG_fail;
13823 if (arg9 == NULL) {
13824 SWIG_null_ref("wxValidator");
13825 }
13826 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13827 }
13828 }
13829 if (obj9) {
13830 {
13831 arg10 = wxString_in_helper(obj9);
13832 if (arg10 == NULL) SWIG_fail;
b411df4a 13833 temp10 = true;
d55e5bfc
RD
13834 }
13835 }
13836 {
0439c23b 13837 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13838 PyThreadState* __tstate = wxPyBeginAllowThreads();
13839 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);
13840
13841 wxPyEndAllowThreads(__tstate);
110da5b0 13842 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13843 }
13844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13845 {
13846 if (temp3)
13847 delete arg3;
13848 }
13849 {
13850 if (temp6) delete arg6;
13851 }
13852 {
13853 if (temp10)
13854 delete arg10;
13855 }
13856 return resultobj;
13857 fail:
13858 {
13859 if (temp3)
13860 delete arg3;
13861 }
13862 {
13863 if (temp6) delete arg6;
13864 }
13865 {
13866 if (temp10)
13867 delete arg10;
13868 }
13869 return NULL;
13870}
13871
13872
c370783e 13873static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13874 PyObject *resultobj = NULL;
d55e5bfc
RD
13875 wxRadioBox *result;
13876 char *kwnames[] = {
13877 NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13881 {
0439c23b 13882 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (wxRadioBox *)new wxRadioBox();
13885
13886 wxPyEndAllowThreads(__tstate);
110da5b0 13887 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13888 }
13889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13890 return resultobj;
13891 fail:
13892 return NULL;
13893}
13894
13895
c370783e 13896static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13897 PyObject *resultobj = NULL;
d55e5bfc
RD
13898 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13899 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13900 int arg3 = (int) -1 ;
13901 wxString const &arg4_defvalue = wxPyEmptyString ;
13902 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13903 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13904 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13905 wxSize const &arg6_defvalue = wxDefaultSize ;
13906 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13907 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13908 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13909 int arg8 = (int) 0 ;
13910 long arg9 = (long) wxRA_HORIZONTAL ;
13911 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13912 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13913 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13914 wxString *arg11 = (wxString *) &arg11_defvalue ;
13915 bool result;
b411df4a 13916 bool temp4 = false ;
d55e5bfc
RD
13917 wxPoint temp5 ;
13918 wxSize temp6 ;
b411df4a
RD
13919 bool temp7 = false ;
13920 bool temp11 = false ;
d55e5bfc
RD
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 PyObject * obj2 = 0 ;
13924 PyObject * obj3 = 0 ;
13925 PyObject * obj4 = 0 ;
13926 PyObject * obj5 = 0 ;
13927 PyObject * obj6 = 0 ;
13928 PyObject * obj7 = 0 ;
13929 PyObject * obj8 = 0 ;
13930 PyObject * obj9 = 0 ;
13931 PyObject * obj10 = 0 ;
13932 char *kwnames[] = {
13933 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13934 };
13935
bfddbb17 13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
13937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13938 if (SWIG_arg_fail(1)) SWIG_fail;
13939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13940 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 13941 if (obj2) {
36ed4f51 13942 {
32fe5131 13943 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13944 if (SWIG_arg_fail(3)) SWIG_fail;
13945 }
bfddbb17
RD
13946 }
13947 if (obj3) {
13948 {
13949 arg4 = wxString_in_helper(obj3);
13950 if (arg4 == NULL) SWIG_fail;
b411df4a 13951 temp4 = true;
bfddbb17 13952 }
d55e5bfc
RD
13953 }
13954 if (obj4) {
13955 {
13956 arg5 = &temp5;
13957 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13958 }
13959 }
13960 if (obj5) {
13961 {
13962 arg6 = &temp6;
13963 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13964 }
13965 }
13966 if (obj6) {
13967 {
13968 if (! PySequence_Check(obj6)) {
13969 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13970 SWIG_fail;
13971 }
13972 arg7 = new wxArrayString;
b411df4a 13973 temp7 = true;
d55e5bfc
RD
13974 int i, len=PySequence_Length(obj6);
13975 for (i=0; i<len; i++) {
13976 PyObject* item = PySequence_GetItem(obj6, i);
71237536 13977 wxString* s = wxString_in_helper(item);
d55e5bfc 13978 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13979 arg7->Add(*s);
13980 delete s;
d55e5bfc 13981 Py_DECREF(item);
d55e5bfc
RD
13982 }
13983 }
13984 }
13985 if (obj7) {
36ed4f51 13986 {
32fe5131 13987 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
13988 if (SWIG_arg_fail(8)) SWIG_fail;
13989 }
d55e5bfc
RD
13990 }
13991 if (obj8) {
36ed4f51 13992 {
32fe5131 13993 arg9 = static_cast<long >(SWIG_As_long(obj8));
36ed4f51
RD
13994 if (SWIG_arg_fail(9)) SWIG_fail;
13995 }
d55e5bfc
RD
13996 }
13997 if (obj9) {
36ed4f51
RD
13998 {
13999 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14000 if (SWIG_arg_fail(10)) SWIG_fail;
14001 if (arg10 == NULL) {
14002 SWIG_null_ref("wxValidator");
14003 }
14004 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
14005 }
14006 }
14007 if (obj10) {
14008 {
14009 arg11 = wxString_in_helper(obj10);
14010 if (arg11 == NULL) SWIG_fail;
b411df4a 14011 temp11 = true;
d55e5bfc
RD
14012 }
14013 }
14014 {
14015 PyThreadState* __tstate = wxPyBeginAllowThreads();
14016 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);
14017
14018 wxPyEndAllowThreads(__tstate);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 }
14021 {
14022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14023 }
14024 {
14025 if (temp4)
14026 delete arg4;
14027 }
14028 {
14029 if (temp7) delete arg7;
14030 }
14031 {
14032 if (temp11)
14033 delete arg11;
14034 }
14035 return resultobj;
14036 fail:
14037 {
14038 if (temp4)
14039 delete arg4;
14040 }
14041 {
14042 if (temp7) delete arg7;
14043 }
14044 {
14045 if (temp11)
14046 delete arg11;
14047 }
14048 return NULL;
14049}
14050
14051
c370783e 14052static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14053 PyObject *resultobj = NULL;
d55e5bfc
RD
14054 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14055 int arg2 ;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj1 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self",(char *) "n", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14064 if (SWIG_arg_fail(1)) SWIG_fail;
14065 {
32fe5131 14066 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14067 if (SWIG_arg_fail(2)) SWIG_fail;
14068 }
d55e5bfc
RD
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 (arg1)->SetSelection(arg2);
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080}
14081
14082
c370783e 14083static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14084 PyObject *resultobj = NULL;
d55e5bfc
RD
14085 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14086 int result;
14087 PyObject * obj0 = 0 ;
14088 char *kwnames[] = {
14089 (char *) "self", NULL
14090 };
14091
14092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
14093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14094 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14095 {
14096 PyThreadState* __tstate = wxPyBeginAllowThreads();
14097 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14098
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
36ed4f51 14102 {
32fe5131 14103 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14104 }
d55e5bfc
RD
14105 return resultobj;
14106 fail:
14107 return NULL;
14108}
14109
14110
c370783e 14111static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14112 PyObject *resultobj = NULL;
d55e5bfc
RD
14113 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14114 wxString result;
14115 PyObject * obj0 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "self", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
14121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14122 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 {
14131#if wxUSE_UNICODE
14132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14133#else
14134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14135#endif
14136 }
14137 return resultobj;
14138 fail:
14139 return NULL;
14140}
14141
14142
c370783e 14143static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14144 PyObject *resultobj = NULL;
d55e5bfc
RD
14145 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14146 wxString *arg2 = 0 ;
14147 bool result;
b411df4a 14148 bool temp2 = false ;
d55e5bfc
RD
14149 PyObject * obj0 = 0 ;
14150 PyObject * obj1 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self",(char *) "s", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14158 {
14159 arg2 = wxString_in_helper(obj1);
14160 if (arg2 == NULL) SWIG_fail;
b411df4a 14161 temp2 = true;
d55e5bfc
RD
14162 }
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 {
14171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14172 }
14173 {
14174 if (temp2)
14175 delete arg2;
14176 }
14177 return resultobj;
14178 fail:
14179 {
14180 if (temp2)
14181 delete arg2;
14182 }
14183 return NULL;
14184}
14185
14186
c370783e 14187static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14188 PyObject *resultobj = NULL;
d55e5bfc
RD
14189 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14190 int result;
14191 PyObject * obj0 = 0 ;
14192 char *kwnames[] = {
14193 (char *) "self", NULL
14194 };
14195
14196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 result = (int)((wxRadioBox const *)arg1)->GetCount();
14202
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
36ed4f51 14206 {
32fe5131 14207 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14208 }
d55e5bfc
RD
14209 return resultobj;
14210 fail:
14211 return NULL;
14212}
14213
14214
c370783e 14215static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14216 PyObject *resultobj = NULL;
d55e5bfc
RD
14217 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14218 wxString *arg2 = 0 ;
14219 int result;
b411df4a 14220 bool temp2 = false ;
d55e5bfc
RD
14221 PyObject * obj0 = 0 ;
14222 PyObject * obj1 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "self",(char *) "s", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14230 {
14231 arg2 = wxString_in_helper(obj1);
14232 if (arg2 == NULL) SWIG_fail;
b411df4a 14233 temp2 = true;
d55e5bfc
RD
14234 }
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
36ed4f51 14242 {
32fe5131 14243 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14244 }
d55e5bfc
RD
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 return resultobj;
14250 fail:
14251 {
14252 if (temp2)
14253 delete arg2;
14254 }
14255 return NULL;
14256}
14257
14258
c370783e 14259static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14260 PyObject *resultobj = NULL;
d55e5bfc
RD
14261 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14262 int arg2 ;
14263 wxString result;
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "n", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail;
14273 {
32fe5131 14274 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14275 if (SWIG_arg_fail(2)) SWIG_fail;
14276 }
d55e5bfc
RD
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 {
14285#if wxUSE_UNICODE
14286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14287#else
14288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14289#endif
14290 }
14291 return resultobj;
14292 fail:
14293 return NULL;
14294}
14295
14296
c370783e 14297static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14298 PyObject *resultobj = NULL;
d55e5bfc
RD
14299 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14300 int arg2 ;
14301 wxString *arg3 = 0 ;
b411df4a 14302 bool temp3 = false ;
d55e5bfc
RD
14303 PyObject * obj0 = 0 ;
14304 PyObject * obj1 = 0 ;
14305 PyObject * obj2 = 0 ;
14306 char *kwnames[] = {
14307 (char *) "self",(char *) "n",(char *) "label", NULL
14308 };
14309
14310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14312 if (SWIG_arg_fail(1)) SWIG_fail;
14313 {
32fe5131 14314 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14315 if (SWIG_arg_fail(2)) SWIG_fail;
14316 }
d55e5bfc
RD
14317 {
14318 arg3 = wxString_in_helper(obj2);
14319 if (arg3 == NULL) SWIG_fail;
b411df4a 14320 temp3 = true;
d55e5bfc
RD
14321 }
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 (arg1)->SetString(arg2,(wxString const &)*arg3);
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 Py_INCREF(Py_None); resultobj = Py_None;
14330 {
14331 if (temp3)
14332 delete arg3;
14333 }
14334 return resultobj;
14335 fail:
14336 {
14337 if (temp3)
14338 delete arg3;
14339 }
14340 return NULL;
14341}
14342
14343
c370783e 14344static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14345 PyObject *resultobj = NULL;
d55e5bfc
RD
14346 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14347 int arg2 ;
b411df4a 14348 bool arg3 = (bool) true ;
d55e5bfc
RD
14349 PyObject * obj0 = 0 ;
14350 PyObject * obj1 = 0 ;
14351 PyObject * obj2 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self",(char *) "n",(char *) "enable", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14358 if (SWIG_arg_fail(1)) SWIG_fail;
14359 {
32fe5131 14360 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14361 if (SWIG_arg_fail(2)) SWIG_fail;
14362 }
d55e5bfc 14363 if (obj2) {
36ed4f51 14364 {
32fe5131 14365 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
14366 if (SWIG_arg_fail(3)) SWIG_fail;
14367 }
d55e5bfc
RD
14368 }
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 (arg1)->Enable(arg2,arg3);
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 Py_INCREF(Py_None); resultobj = Py_None;
14377 return resultobj;
14378 fail:
14379 return NULL;
14380}
14381
14382
c370783e 14383static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14384 PyObject *resultobj = NULL;
d55e5bfc
RD
14385 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14386 int arg2 ;
b411df4a 14387 bool arg3 = (bool) true ;
d55e5bfc
RD
14388 PyObject * obj0 = 0 ;
14389 PyObject * obj1 = 0 ;
14390 PyObject * obj2 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self",(char *) "n",(char *) "show", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14397 if (SWIG_arg_fail(1)) SWIG_fail;
14398 {
32fe5131 14399 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14400 if (SWIG_arg_fail(2)) SWIG_fail;
14401 }
d55e5bfc 14402 if (obj2) {
36ed4f51 14403 {
32fe5131 14404 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
14405 if (SWIG_arg_fail(3)) SWIG_fail;
14406 }
d55e5bfc
RD
14407 }
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 (arg1)->Show(arg2,arg3);
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 Py_INCREF(Py_None); resultobj = Py_None;
14416 return resultobj;
14417 fail:
14418 return NULL;
14419}
14420
14421
c370783e 14422static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14423 PyObject *resultobj = NULL;
d55e5bfc
RD
14424 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14425 int result;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14433 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
36ed4f51 14441 {
32fe5131 14442 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14443 }
d55e5bfc
RD
14444 return resultobj;
14445 fail:
14446 return NULL;
14447}
14448
14449
c370783e 14450static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14451 PyObject *resultobj = NULL;
d55e5bfc
RD
14452 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14453 int result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
36ed4f51 14469 {
32fe5131 14470 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14471 }
d55e5bfc
RD
14472 return resultobj;
14473 fail:
14474 return NULL;
14475}
14476
14477
c370783e 14478static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14479 PyObject *resultobj = NULL;
d55e5bfc
RD
14480 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14481 int arg2 ;
36ed4f51 14482 wxDirection arg3 ;
d55e5bfc
RD
14483 long arg4 ;
14484 int result;
14485 PyObject * obj0 = 0 ;
14486 PyObject * obj1 = 0 ;
14487 PyObject * obj2 = 0 ;
14488 PyObject * obj3 = 0 ;
14489 char *kwnames[] = {
14490 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14491 };
14492
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14495 if (SWIG_arg_fail(1)) SWIG_fail;
14496 {
32fe5131 14497 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14498 if (SWIG_arg_fail(2)) SWIG_fail;
14499 }
14500 {
32fe5131 14501 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
36ed4f51
RD
14502 if (SWIG_arg_fail(3)) SWIG_fail;
14503 }
14504 {
32fe5131 14505 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
14506 if (SWIG_arg_fail(4)) SWIG_fail;
14507 }
d55e5bfc
RD
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14510 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
d55e5bfc
RD
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
36ed4f51 14515 {
32fe5131 14516 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 14517 }
d55e5bfc
RD
14518 return resultobj;
14519 fail:
14520 return NULL;
14521}
14522
14523
c370783e 14524static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14525 PyObject *resultobj = NULL;
36ed4f51 14526 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14527 wxVisualAttributes result;
14528 PyObject * obj0 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "variant", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14534 if (obj0) {
36ed4f51 14535 {
32fe5131 14536 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
14537 if (SWIG_arg_fail(1)) SWIG_fail;
14538 }
f20a2e1f
RD
14539 }
14540 {
0439c23b 14541 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14543 result = wxRadioBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
14544
14545 wxPyEndAllowThreads(__tstate);
110da5b0 14546 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14547 }
14548 {
14549 wxVisualAttributes * resultptr;
32fe5131 14550 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
14551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14552 }
14553 return resultobj;
14554 fail:
14555 return NULL;
14556}
14557
14558
c370783e 14559static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14560 PyObject *obj;
14561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14562 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14563 Py_INCREF(obj);
14564 return Py_BuildValue((char *)"");
14565}
c370783e 14566static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14567 PyObject *resultobj = NULL;
d55e5bfc 14568 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14569 int arg2 = (int) -1 ;
14570 wxString const &arg3_defvalue = wxPyEmptyString ;
14571 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14572 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14573 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14574 wxSize const &arg5_defvalue = wxDefaultSize ;
14575 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14576 long arg6 = (long) 0 ;
14577 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14578 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14579 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14580 wxString *arg8 = (wxString *) &arg8_defvalue ;
14581 wxRadioButton *result;
b411df4a 14582 bool temp3 = false ;
d55e5bfc
RD
14583 wxPoint temp4 ;
14584 wxSize temp5 ;
b411df4a 14585 bool temp8 = false ;
d55e5bfc
RD
14586 PyObject * obj0 = 0 ;
14587 PyObject * obj1 = 0 ;
14588 PyObject * obj2 = 0 ;
14589 PyObject * obj3 = 0 ;
14590 PyObject * obj4 = 0 ;
14591 PyObject * obj5 = 0 ;
14592 PyObject * obj6 = 0 ;
14593 PyObject * obj7 = 0 ;
14594 char *kwnames[] = {
14595 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14596 };
14597
bfddbb17 14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
14599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14600 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14601 if (obj1) {
36ed4f51 14602 {
32fe5131 14603 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14604 if (SWIG_arg_fail(2)) SWIG_fail;
14605 }
bfddbb17
RD
14606 }
14607 if (obj2) {
14608 {
14609 arg3 = wxString_in_helper(obj2);
14610 if (arg3 == NULL) SWIG_fail;
b411df4a 14611 temp3 = true;
bfddbb17 14612 }
d55e5bfc
RD
14613 }
14614 if (obj3) {
14615 {
14616 arg4 = &temp4;
14617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14618 }
14619 }
14620 if (obj4) {
14621 {
14622 arg5 = &temp5;
14623 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14624 }
14625 }
14626 if (obj5) {
36ed4f51 14627 {
32fe5131 14628 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
14629 if (SWIG_arg_fail(6)) SWIG_fail;
14630 }
d55e5bfc
RD
14631 }
14632 if (obj6) {
36ed4f51
RD
14633 {
14634 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14635 if (SWIG_arg_fail(7)) SWIG_fail;
14636 if (arg7 == NULL) {
14637 SWIG_null_ref("wxValidator");
14638 }
14639 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14640 }
14641 }
14642 if (obj7) {
14643 {
14644 arg8 = wxString_in_helper(obj7);
14645 if (arg8 == NULL) SWIG_fail;
b411df4a 14646 temp8 = true;
d55e5bfc
RD
14647 }
14648 }
14649 {
0439c23b 14650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14653
14654 wxPyEndAllowThreads(__tstate);
110da5b0 14655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14656 }
14657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14658 {
14659 if (temp3)
14660 delete arg3;
14661 }
14662 {
14663 if (temp8)
14664 delete arg8;
14665 }
14666 return resultobj;
14667 fail:
14668 {
14669 if (temp3)
14670 delete arg3;
14671 }
14672 {
14673 if (temp8)
14674 delete arg8;
14675 }
14676 return NULL;
14677}
14678
14679
c370783e 14680static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14681 PyObject *resultobj = NULL;
d55e5bfc
RD
14682 wxRadioButton *result;
14683 char *kwnames[] = {
14684 NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14688 {
0439c23b 14689 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 result = (wxRadioButton *)new wxRadioButton();
14692
14693 wxPyEndAllowThreads(__tstate);
110da5b0 14694 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14695 }
14696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14697 return resultobj;
14698 fail:
14699 return NULL;
14700}
14701
14702
c370783e 14703static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14704 PyObject *resultobj = NULL;
d55e5bfc
RD
14705 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14706 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14707 int arg3 = (int) -1 ;
14708 wxString const &arg4_defvalue = wxPyEmptyString ;
14709 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14710 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14711 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14712 wxSize const &arg6_defvalue = wxDefaultSize ;
14713 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14714 long arg7 = (long) 0 ;
14715 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14716 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14717 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14718 wxString *arg9 = (wxString *) &arg9_defvalue ;
14719 bool result;
b411df4a 14720 bool temp4 = false ;
d55e5bfc
RD
14721 wxPoint temp5 ;
14722 wxSize temp6 ;
b411df4a 14723 bool temp9 = false ;
d55e5bfc
RD
14724 PyObject * obj0 = 0 ;
14725 PyObject * obj1 = 0 ;
14726 PyObject * obj2 = 0 ;
14727 PyObject * obj3 = 0 ;
14728 PyObject * obj4 = 0 ;
14729 PyObject * obj5 = 0 ;
14730 PyObject * obj6 = 0 ;
14731 PyObject * obj7 = 0 ;
14732 PyObject * obj8 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14735 };
14736
bfddbb17 14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
14738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14739 if (SWIG_arg_fail(1)) SWIG_fail;
14740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14741 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14742 if (obj2) {
36ed4f51 14743 {
32fe5131 14744 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14745 if (SWIG_arg_fail(3)) SWIG_fail;
14746 }
bfddbb17
RD
14747 }
14748 if (obj3) {
14749 {
14750 arg4 = wxString_in_helper(obj3);
14751 if (arg4 == NULL) SWIG_fail;
b411df4a 14752 temp4 = true;
bfddbb17 14753 }
d55e5bfc
RD
14754 }
14755 if (obj4) {
14756 {
14757 arg5 = &temp5;
14758 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14759 }
14760 }
14761 if (obj5) {
14762 {
14763 arg6 = &temp6;
14764 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14765 }
14766 }
14767 if (obj6) {
36ed4f51 14768 {
32fe5131 14769 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
14770 if (SWIG_arg_fail(7)) SWIG_fail;
14771 }
d55e5bfc
RD
14772 }
14773 if (obj7) {
36ed4f51
RD
14774 {
14775 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14776 if (SWIG_arg_fail(8)) SWIG_fail;
14777 if (arg8 == NULL) {
14778 SWIG_null_ref("wxValidator");
14779 }
14780 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14781 }
14782 }
14783 if (obj8) {
14784 {
14785 arg9 = wxString_in_helper(obj8);
14786 if (arg9 == NULL) SWIG_fail;
b411df4a 14787 temp9 = true;
d55e5bfc
RD
14788 }
14789 }
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 {
14798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14799 }
14800 {
14801 if (temp4)
14802 delete arg4;
14803 }
14804 {
14805 if (temp9)
14806 delete arg9;
14807 }
14808 return resultobj;
14809 fail:
14810 {
14811 if (temp4)
14812 delete arg4;
14813 }
14814 {
14815 if (temp9)
14816 delete arg9;
14817 }
14818 return NULL;
14819}
14820
14821
c370783e 14822static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14823 PyObject *resultobj = NULL;
d55e5bfc
RD
14824 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14825 bool result;
14826 PyObject * obj0 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self", NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (bool)(arg1)->GetValue();
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 {
14842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14843 }
14844 return resultobj;
14845 fail:
14846 return NULL;
14847}
14848
14849
c370783e 14850static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14851 PyObject *resultobj = NULL;
d55e5bfc
RD
14852 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14853 bool arg2 ;
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self",(char *) "value", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14862 if (SWIG_arg_fail(1)) SWIG_fail;
14863 {
32fe5131 14864 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
14865 if (SWIG_arg_fail(2)) SWIG_fail;
14866 }
d55e5bfc
RD
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 (arg1)->SetValue(arg2);
14870
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 Py_INCREF(Py_None); resultobj = Py_None;
14875 return resultobj;
14876 fail:
14877 return NULL;
14878}
14879
14880
c370783e 14881static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14882 PyObject *resultobj = NULL;
36ed4f51 14883 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14884 wxVisualAttributes result;
14885 PyObject * obj0 = 0 ;
14886 char *kwnames[] = {
14887 (char *) "variant", NULL
14888 };
14889
14890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14891 if (obj0) {
36ed4f51 14892 {
32fe5131 14893 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
14894 if (SWIG_arg_fail(1)) SWIG_fail;
14895 }
f20a2e1f
RD
14896 }
14897 {
0439c23b 14898 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 14900 result = wxRadioButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
14901
14902 wxPyEndAllowThreads(__tstate);
110da5b0 14903 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14904 }
14905 {
14906 wxVisualAttributes * resultptr;
32fe5131 14907 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
14908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14909 }
14910 return resultobj;
14911 fail:
14912 return NULL;
14913}
14914
14915
c370783e 14916static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14917 PyObject *obj;
14918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14919 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14920 Py_INCREF(obj);
14921 return Py_BuildValue((char *)"");
14922}
c370783e 14923static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14924 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14925 return 1;
14926}
14927
14928
36ed4f51 14929static PyObject *_wrap_SliderNameStr_get(void) {
32fe5131 14930 PyObject *pyobj = NULL;
d55e5bfc
RD
14931
14932 {
14933#if wxUSE_UNICODE
14934 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14935#else
14936 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14937#endif
14938 }
14939 return pyobj;
14940}
14941
14942
c370783e 14943static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14944 PyObject *resultobj = NULL;
d55e5bfc 14945 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14946 int arg2 = (int) -1 ;
14947 int arg3 = (int) 0 ;
14948 int arg4 = (int) 0 ;
14949 int arg5 = (int) 100 ;
d55e5bfc
RD
14950 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14951 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14952 wxSize const &arg7_defvalue = wxDefaultSize ;
14953 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14954 long arg8 = (long) wxSL_HORIZONTAL ;
14955 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14956 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14957 wxString const &arg10_defvalue = wxPySliderNameStr ;
14958 wxString *arg10 = (wxString *) &arg10_defvalue ;
14959 wxSlider *result;
14960 wxPoint temp6 ;
14961 wxSize temp7 ;
b411df4a 14962 bool temp10 = false ;
d55e5bfc
RD
14963 PyObject * obj0 = 0 ;
14964 PyObject * obj1 = 0 ;
14965 PyObject * obj2 = 0 ;
14966 PyObject * obj3 = 0 ;
14967 PyObject * obj4 = 0 ;
14968 PyObject * obj5 = 0 ;
14969 PyObject * obj6 = 0 ;
14970 PyObject * obj7 = 0 ;
14971 PyObject * obj8 = 0 ;
14972 PyObject * obj9 = 0 ;
14973 char *kwnames[] = {
14974 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14975 };
14976
bfddbb17 14977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
14978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14979 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14980 if (obj1) {
36ed4f51 14981 {
32fe5131 14982 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14983 if (SWIG_arg_fail(2)) SWIG_fail;
14984 }
bfddbb17
RD
14985 }
14986 if (obj2) {
36ed4f51 14987 {
32fe5131 14988 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14989 if (SWIG_arg_fail(3)) SWIG_fail;
14990 }
bfddbb17
RD
14991 }
14992 if (obj3) {
36ed4f51 14993 {
32fe5131 14994 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
14995 if (SWIG_arg_fail(4)) SWIG_fail;
14996 }
bfddbb17
RD
14997 }
14998 if (obj4) {
36ed4f51 14999 {
32fe5131 15000 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
15001 if (SWIG_arg_fail(5)) SWIG_fail;
15002 }
bfddbb17 15003 }
d55e5bfc
RD
15004 if (obj5) {
15005 {
15006 arg6 = &temp6;
15007 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15008 }
15009 }
15010 if (obj6) {
15011 {
15012 arg7 = &temp7;
15013 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
15014 }
15015 }
15016 if (obj7) {
36ed4f51 15017 {
32fe5131 15018 arg8 = static_cast<long >(SWIG_As_long(obj7));
36ed4f51
RD
15019 if (SWIG_arg_fail(8)) SWIG_fail;
15020 }
d55e5bfc
RD
15021 }
15022 if (obj8) {
36ed4f51
RD
15023 {
15024 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15025 if (SWIG_arg_fail(9)) SWIG_fail;
15026 if (arg9 == NULL) {
15027 SWIG_null_ref("wxValidator");
15028 }
15029 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
15030 }
15031 }
15032 if (obj9) {
15033 {
15034 arg10 = wxString_in_helper(obj9);
15035 if (arg10 == NULL) SWIG_fail;
b411df4a 15036 temp10 = true;
d55e5bfc
RD
15037 }
15038 }
15039 {
0439c23b 15040 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15043
15044 wxPyEndAllowThreads(__tstate);
110da5b0 15045 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15046 }
15047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15048 {
15049 if (temp10)
15050 delete arg10;
15051 }
15052 return resultobj;
15053 fail:
15054 {
15055 if (temp10)
15056 delete arg10;
15057 }
15058 return NULL;
15059}
15060
15061
c370783e 15062static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15063 PyObject *resultobj = NULL;
d55e5bfc
RD
15064 wxSlider *result;
15065 char *kwnames[] = {
15066 NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15070 {
0439c23b 15071 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 result = (wxSlider *)new wxSlider();
15074
15075 wxPyEndAllowThreads(__tstate);
110da5b0 15076 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15077 }
15078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
c370783e 15085static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15086 PyObject *resultobj = NULL;
d55e5bfc
RD
15087 wxSlider *arg1 = (wxSlider *) 0 ;
15088 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
15089 int arg3 = (int) -1 ;
15090 int arg4 = (int) 0 ;
15091 int arg5 = (int) 0 ;
15092 int arg6 = (int) 100 ;
d55e5bfc
RD
15093 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15094 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15095 wxSize const &arg8_defvalue = wxDefaultSize ;
15096 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15097 long arg9 = (long) wxSL_HORIZONTAL ;
15098 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15099 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15100 wxString const &arg11_defvalue = wxPySliderNameStr ;
15101 wxString *arg11 = (wxString *) &arg11_defvalue ;
15102 bool result;
15103 wxPoint temp7 ;
15104 wxSize temp8 ;
b411df4a 15105 bool temp11 = false ;
d55e5bfc
RD
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 PyObject * obj2 = 0 ;
15109 PyObject * obj3 = 0 ;
15110 PyObject * obj4 = 0 ;
15111 PyObject * obj5 = 0 ;
15112 PyObject * obj6 = 0 ;
15113 PyObject * obj7 = 0 ;
15114 PyObject * obj8 = 0 ;
15115 PyObject * obj9 = 0 ;
15116 PyObject * obj10 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15119 };
15120
bfddbb17 15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
15122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail;
15124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15125 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 15126 if (obj2) {
36ed4f51 15127 {
32fe5131 15128 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15129 if (SWIG_arg_fail(3)) SWIG_fail;
15130 }
bfddbb17
RD
15131 }
15132 if (obj3) {
36ed4f51 15133 {
32fe5131 15134 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
15135 if (SWIG_arg_fail(4)) SWIG_fail;
15136 }
bfddbb17
RD
15137 }
15138 if (obj4) {
36ed4f51 15139 {
32fe5131 15140 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
15141 if (SWIG_arg_fail(5)) SWIG_fail;
15142 }
bfddbb17
RD
15143 }
15144 if (obj5) {
36ed4f51 15145 {
32fe5131 15146 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
15147 if (SWIG_arg_fail(6)) SWIG_fail;
15148 }
bfddbb17 15149 }
d55e5bfc
RD
15150 if (obj6) {
15151 {
15152 arg7 = &temp7;
15153 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15154 }
15155 }
15156 if (obj7) {
15157 {
15158 arg8 = &temp8;
15159 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15160 }
15161 }
15162 if (obj8) {
36ed4f51 15163 {
32fe5131 15164 arg9 = static_cast<long >(SWIG_As_long(obj8));
36ed4f51
RD
15165 if (SWIG_arg_fail(9)) SWIG_fail;
15166 }
d55e5bfc
RD
15167 }
15168 if (obj9) {
36ed4f51
RD
15169 {
15170 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15171 if (SWIG_arg_fail(10)) SWIG_fail;
15172 if (arg10 == NULL) {
15173 SWIG_null_ref("wxValidator");
15174 }
15175 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
15176 }
15177 }
15178 if (obj10) {
15179 {
15180 arg11 = wxString_in_helper(obj10);
15181 if (arg11 == NULL) SWIG_fail;
b411df4a 15182 temp11 = true;
d55e5bfc
RD
15183 }
15184 }
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 {
15193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15194 }
15195 {
15196 if (temp11)
15197 delete arg11;
15198 }
15199 return resultobj;
15200 fail:
15201 {
15202 if (temp11)
15203 delete arg11;
15204 }
15205 return NULL;
15206}
15207
15208
c370783e 15209static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15210 PyObject *resultobj = NULL;
d55e5bfc
RD
15211 wxSlider *arg1 = (wxSlider *) 0 ;
15212 int result;
15213 PyObject * obj0 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 result = (int)((wxSlider const *)arg1)->GetValue();
15224
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
36ed4f51 15228 {
32fe5131 15229 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15230 }
d55e5bfc
RD
15231 return resultobj;
15232 fail:
15233 return NULL;
15234}
15235
15236
c370783e 15237static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15238 PyObject *resultobj = NULL;
d55e5bfc
RD
15239 wxSlider *arg1 = (wxSlider *) 0 ;
15240 int arg2 ;
15241 PyObject * obj0 = 0 ;
15242 PyObject * obj1 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self",(char *) "value", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15249 if (SWIG_arg_fail(1)) SWIG_fail;
15250 {
32fe5131 15251 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15252 if (SWIG_arg_fail(2)) SWIG_fail;
15253 }
d55e5bfc
RD
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 (arg1)->SetValue(arg2);
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 Py_INCREF(Py_None); resultobj = Py_None;
15262 return resultobj;
15263 fail:
15264 return NULL;
15265}
15266
15267
c370783e 15268static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15269 PyObject *resultobj = NULL;
d55e5bfc
RD
15270 wxSlider *arg1 = (wxSlider *) 0 ;
15271 int arg2 ;
15272 int arg3 ;
15273 PyObject * obj0 = 0 ;
15274 PyObject * obj1 = 0 ;
15275 PyObject * obj2 = 0 ;
15276 char *kwnames[] = {
15277 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15278 };
15279
15280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail;
15283 {
32fe5131 15284 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15285 if (SWIG_arg_fail(2)) SWIG_fail;
15286 }
15287 {
32fe5131 15288 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15289 if (SWIG_arg_fail(3)) SWIG_fail;
15290 }
d55e5bfc
RD
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 (arg1)->SetRange(arg2,arg3);
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 Py_INCREF(Py_None); resultobj = Py_None;
15299 return resultobj;
15300 fail:
15301 return NULL;
15302}
15303
15304
c370783e 15305static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15306 PyObject *resultobj = NULL;
d55e5bfc
RD
15307 wxSlider *arg1 = (wxSlider *) 0 ;
15308 int result;
15309 PyObject * obj0 = 0 ;
15310 char *kwnames[] = {
15311 (char *) "self", NULL
15312 };
15313
15314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
15315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15316 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (int)((wxSlider const *)arg1)->GetMin();
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
36ed4f51 15324 {
32fe5131 15325 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15326 }
d55e5bfc
RD
15327 return resultobj;
15328 fail:
15329 return NULL;
15330}
15331
15332
c370783e 15333static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15334 PyObject *resultobj = NULL;
d55e5bfc
RD
15335 wxSlider *arg1 = (wxSlider *) 0 ;
15336 int result;
15337 PyObject * obj0 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
15343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 result = (int)((wxSlider const *)arg1)->GetMax();
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
36ed4f51 15352 {
32fe5131 15353 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15354 }
d55e5bfc
RD
15355 return resultobj;
15356 fail:
15357 return NULL;
15358}
15359
15360
c370783e 15361static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15362 PyObject *resultobj = NULL;
d55e5bfc
RD
15363 wxSlider *arg1 = (wxSlider *) 0 ;
15364 int arg2 ;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "minValue", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail;
15374 {
32fe5131 15375 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15376 if (SWIG_arg_fail(2)) SWIG_fail;
15377 }
d55e5bfc
RD
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 (arg1)->SetMin(arg2);
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 Py_INCREF(Py_None); resultobj = Py_None;
15386 return resultobj;
15387 fail:
15388 return NULL;
15389}
15390
15391
c370783e 15392static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15393 PyObject *resultobj = NULL;
d55e5bfc
RD
15394 wxSlider *arg1 = (wxSlider *) 0 ;
15395 int arg2 ;
15396 PyObject * obj0 = 0 ;
15397 PyObject * obj1 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self",(char *) "maxValue", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15404 if (SWIG_arg_fail(1)) SWIG_fail;
15405 {
32fe5131 15406 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15407 if (SWIG_arg_fail(2)) SWIG_fail;
15408 }
d55e5bfc
RD
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 (arg1)->SetMax(arg2);
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 Py_INCREF(Py_None); resultobj = Py_None;
15417 return resultobj;
15418 fail:
15419 return NULL;
15420}
15421
15422
c370783e 15423static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15424 PyObject *resultobj = NULL;
d55e5bfc
RD
15425 wxSlider *arg1 = (wxSlider *) 0 ;
15426 int arg2 ;
15427 PyObject * obj0 = 0 ;
15428 PyObject * obj1 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self",(char *) "lineSize", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail;
15436 {
32fe5131 15437 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15438 if (SWIG_arg_fail(2)) SWIG_fail;
15439 }
d55e5bfc
RD
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 (arg1)->SetLineSize(arg2);
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 Py_INCREF(Py_None); resultobj = Py_None;
15448 return resultobj;
15449 fail:
15450 return NULL;
15451}
15452
15453
c370783e 15454static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15455 PyObject *resultobj = NULL;
d55e5bfc
RD
15456 wxSlider *arg1 = (wxSlider *) 0 ;
15457 int arg2 ;
15458 PyObject * obj0 = 0 ;
15459 PyObject * obj1 = 0 ;
15460 char *kwnames[] = {
15461 (char *) "self",(char *) "pageSize", NULL
15462 };
15463
15464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15466 if (SWIG_arg_fail(1)) SWIG_fail;
15467 {
32fe5131 15468 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15469 if (SWIG_arg_fail(2)) SWIG_fail;
15470 }
d55e5bfc
RD
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetPageSize(arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 Py_INCREF(Py_None); resultobj = Py_None;
15479 return resultobj;
15480 fail:
15481 return NULL;
15482}
15483
15484
c370783e 15485static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15486 PyObject *resultobj = NULL;
d55e5bfc
RD
15487 wxSlider *arg1 = (wxSlider *) 0 ;
15488 int result;
15489 PyObject * obj0 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 result = (int)((wxSlider const *)arg1)->GetLineSize();
15500
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
36ed4f51 15504 {
32fe5131 15505 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15506 }
d55e5bfc
RD
15507 return resultobj;
15508 fail:
15509 return NULL;
15510}
15511
15512
c370783e 15513static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15514 PyObject *resultobj = NULL;
d55e5bfc
RD
15515 wxSlider *arg1 = (wxSlider *) 0 ;
15516 int result;
15517 PyObject * obj0 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 result = (int)((wxSlider const *)arg1)->GetPageSize();
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
36ed4f51 15532 {
32fe5131 15533 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15534 }
d55e5bfc
RD
15535 return resultobj;
15536 fail:
15537 return NULL;
15538}
15539
15540
c370783e 15541static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15542 PyObject *resultobj = NULL;
d55e5bfc
RD
15543 wxSlider *arg1 = (wxSlider *) 0 ;
15544 int arg2 ;
15545 PyObject * obj0 = 0 ;
15546 PyObject * obj1 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self",(char *) "lenPixels", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail;
15554 {
32fe5131 15555 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15556 if (SWIG_arg_fail(2)) SWIG_fail;
15557 }
d55e5bfc
RD
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 (arg1)->SetThumbLength(arg2);
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 Py_INCREF(Py_None); resultobj = Py_None;
15566 return resultobj;
15567 fail:
15568 return NULL;
15569}
15570
15571
c370783e 15572static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15573 PyObject *resultobj = NULL;
d55e5bfc
RD
15574 wxSlider *arg1 = (wxSlider *) 0 ;
15575 int result;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
15582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
36ed4f51 15591 {
32fe5131 15592 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15593 }
d55e5bfc
RD
15594 return resultobj;
15595 fail:
15596 return NULL;
15597}
15598
15599
c370783e 15600static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15601 PyObject *resultobj = NULL;
d55e5bfc
RD
15602 wxSlider *arg1 = (wxSlider *) 0 ;
15603 int arg2 ;
15604 int arg3 = (int) 1 ;
15605 PyObject * obj0 = 0 ;
15606 PyObject * obj1 = 0 ;
15607 PyObject * obj2 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self",(char *) "n",(char *) "pos", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail;
15615 {
32fe5131 15616 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15617 if (SWIG_arg_fail(2)) SWIG_fail;
15618 }
d55e5bfc 15619 if (obj2) {
36ed4f51 15620 {
32fe5131 15621 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15622 if (SWIG_arg_fail(3)) SWIG_fail;
15623 }
d55e5bfc
RD
15624 }
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 (arg1)->SetTickFreq(arg2,arg3);
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 Py_INCREF(Py_None); resultobj = Py_None;
15633 return resultobj;
15634 fail:
15635 return NULL;
15636}
15637
15638
c370783e 15639static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15640 PyObject *resultobj = NULL;
d55e5bfc
RD
15641 wxSlider *arg1 = (wxSlider *) 0 ;
15642 int result;
15643 PyObject * obj0 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "self", NULL
15646 };
15647
15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
36ed4f51
RD
15649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
36ed4f51 15658 {
32fe5131 15659 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15660 }
d55e5bfc
RD
15661 return resultobj;
15662 fail:
15663 return NULL;
15664}
15665
15666
c370783e 15667static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15668 PyObject *resultobj = NULL;
d55e5bfc
RD
15669 wxSlider *arg1 = (wxSlider *) 0 ;
15670 PyObject * obj0 = 0 ;
15671 char *kwnames[] = {
15672 (char *) "self", NULL
15673 };
15674
15675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
36ed4f51
RD
15676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15677 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 (arg1)->ClearTicks();
15681
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 Py_INCREF(Py_None); resultobj = Py_None;
15686 return resultobj;
15687 fail:
15688 return NULL;
15689}
15690
15691
c370783e 15692static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15693 PyObject *resultobj = NULL;
d55e5bfc
RD
15694 wxSlider *arg1 = (wxSlider *) 0 ;
15695 int arg2 ;
15696 PyObject * obj0 = 0 ;
15697 PyObject * obj1 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self",(char *) "tickPos", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15704 if (SWIG_arg_fail(1)) SWIG_fail;
15705 {
32fe5131 15706 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15707 if (SWIG_arg_fail(2)) SWIG_fail;
15708 }
d55e5bfc
RD
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 (arg1)->SetTick(arg2);
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 Py_INCREF(Py_None); resultobj = Py_None;
15717 return resultobj;
15718 fail:
15719 return NULL;
15720}
15721
15722
c370783e 15723static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15724 PyObject *resultobj = NULL;
d55e5bfc
RD
15725 wxSlider *arg1 = (wxSlider *) 0 ;
15726 PyObject * obj0 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
36ed4f51
RD
15732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15734 {
15735 PyThreadState* __tstate = wxPyBeginAllowThreads();
15736 (arg1)->ClearSel();
15737
15738 wxPyEndAllowThreads(__tstate);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 Py_INCREF(Py_None); resultobj = Py_None;
15742 return resultobj;
15743 fail:
15744 return NULL;
15745}
15746
15747
c370783e 15748static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15749 PyObject *resultobj = NULL;
d55e5bfc
RD
15750 wxSlider *arg1 = (wxSlider *) 0 ;
15751 int result;
15752 PyObject * obj0 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
15758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15759 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15763
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
36ed4f51 15767 {
32fe5131 15768 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15769 }
d55e5bfc
RD
15770 return resultobj;
15771 fail:
15772 return NULL;
15773}
15774
15775
c370783e 15776static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15777 PyObject *resultobj = NULL;
d55e5bfc
RD
15778 wxSlider *arg1 = (wxSlider *) 0 ;
15779 int result;
15780 PyObject * obj0 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
15786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15787 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 result = (int)((wxSlider const *)arg1)->GetSelStart();
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
36ed4f51 15795 {
32fe5131 15796 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15797 }
d55e5bfc
RD
15798 return resultobj;
15799 fail:
15800 return NULL;
15801}
15802
15803
c370783e 15804static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15805 PyObject *resultobj = NULL;
d55e5bfc
RD
15806 wxSlider *arg1 = (wxSlider *) 0 ;
15807 int arg2 ;
15808 int arg3 ;
15809 PyObject * obj0 = 0 ;
15810 PyObject * obj1 = 0 ;
15811 PyObject * obj2 = 0 ;
15812 char *kwnames[] = {
15813 (char *) "self",(char *) "min",(char *) "max", NULL
15814 };
15815
15816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15818 if (SWIG_arg_fail(1)) SWIG_fail;
15819 {
32fe5131 15820 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15821 if (SWIG_arg_fail(2)) SWIG_fail;
15822 }
15823 {
32fe5131 15824 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15825 if (SWIG_arg_fail(3)) SWIG_fail;
15826 }
d55e5bfc
RD
15827 {
15828 PyThreadState* __tstate = wxPyBeginAllowThreads();
15829 (arg1)->SetSelection(arg2,arg3);
15830
15831 wxPyEndAllowThreads(__tstate);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
15834 Py_INCREF(Py_None); resultobj = Py_None;
15835 return resultobj;
15836 fail:
15837 return NULL;
15838}
15839
15840
c370783e 15841static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15842 PyObject *resultobj = NULL;
36ed4f51 15843 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15844 wxVisualAttributes result;
15845 PyObject * obj0 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "variant", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15851 if (obj0) {
36ed4f51 15852 {
32fe5131 15853 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
15854 if (SWIG_arg_fail(1)) SWIG_fail;
15855 }
f20a2e1f
RD
15856 }
15857 {
0439c23b 15858 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 15860 result = wxSlider::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
15861
15862 wxPyEndAllowThreads(__tstate);
110da5b0 15863 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15864 }
15865 {
15866 wxVisualAttributes * resultptr;
32fe5131 15867 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
15868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15869 }
15870 return resultobj;
15871 fail:
15872 return NULL;
15873}
15874
15875
c370783e 15876static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15877 PyObject *obj;
15878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15879 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15880 Py_INCREF(obj);
15881 return Py_BuildValue((char *)"");
15882}
c370783e 15883static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15884 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15885 return 1;
15886}
15887
15888
36ed4f51 15889static PyObject *_wrap_ToggleButtonNameStr_get(void) {
32fe5131 15890 PyObject *pyobj = NULL;
d55e5bfc
RD
15891
15892 {
15893#if wxUSE_UNICODE
15894 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15895#else
15896 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15897#endif
15898 }
15899 return pyobj;
15900}
15901
15902
c370783e 15903static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15904 PyObject *resultobj = NULL;
d55e5bfc 15905 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
15906 int arg2 = (int) -1 ;
15907 wxString const &arg3_defvalue = wxPyEmptyString ;
15908 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15911 wxSize const &arg5_defvalue = wxDefaultSize ;
15912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15913 long arg6 = (long) 0 ;
15914 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15915 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15916 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15917 wxString *arg8 = (wxString *) &arg8_defvalue ;
15918 wxToggleButton *result;
b411df4a 15919 bool temp3 = false ;
d55e5bfc
RD
15920 wxPoint temp4 ;
15921 wxSize temp5 ;
b411df4a 15922 bool temp8 = false ;
d55e5bfc
RD
15923 PyObject * obj0 = 0 ;
15924 PyObject * obj1 = 0 ;
15925 PyObject * obj2 = 0 ;
15926 PyObject * obj3 = 0 ;
15927 PyObject * obj4 = 0 ;
15928 PyObject * obj5 = 0 ;
15929 PyObject * obj6 = 0 ;
15930 PyObject * obj7 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15933 };
15934
bfddbb17 15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
15936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 15938 if (obj1) {
36ed4f51 15939 {
32fe5131 15940 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15941 if (SWIG_arg_fail(2)) SWIG_fail;
15942 }
bfddbb17
RD
15943 }
15944 if (obj2) {
15945 {
15946 arg3 = wxString_in_helper(obj2);
15947 if (arg3 == NULL) SWIG_fail;
b411df4a 15948 temp3 = true;
bfddbb17 15949 }
d55e5bfc
RD
15950 }
15951 if (obj3) {
15952 {
15953 arg4 = &temp4;
15954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15955 }
15956 }
15957 if (obj4) {
15958 {
15959 arg5 = &temp5;
15960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15961 }
15962 }
15963 if (obj5) {
36ed4f51 15964 {
32fe5131 15965 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
15966 if (SWIG_arg_fail(6)) SWIG_fail;
15967 }
d55e5bfc
RD
15968 }
15969 if (obj6) {
36ed4f51
RD
15970 {
15971 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15972 if (SWIG_arg_fail(7)) SWIG_fail;
15973 if (arg7 == NULL) {
15974 SWIG_null_ref("wxValidator");
15975 }
15976 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15977 }
15978 }
15979 if (obj7) {
15980 {
15981 arg8 = wxString_in_helper(obj7);
15982 if (arg8 == NULL) SWIG_fail;
b411df4a 15983 temp8 = true;
d55e5bfc
RD
15984 }
15985 }
15986 {
0439c23b 15987 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
15989 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15990
15991 wxPyEndAllowThreads(__tstate);
110da5b0 15992 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15993 }
15994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15995 {
15996 if (temp3)
15997 delete arg3;
15998 }
15999 {
16000 if (temp8)
16001 delete arg8;
16002 }
16003 return resultobj;
16004 fail:
16005 {
16006 if (temp3)
16007 delete arg3;
16008 }
16009 {
16010 if (temp8)
16011 delete arg8;
16012 }
16013 return NULL;
16014}
16015
16016
c370783e 16017static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16018 PyObject *resultobj = NULL;
d55e5bfc
RD
16019 wxToggleButton *result;
16020 char *kwnames[] = {
16021 NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
16025 {
0439c23b 16026 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = (wxToggleButton *)new wxToggleButton();
16029
16030 wxPyEndAllowThreads(__tstate);
110da5b0 16031 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16032 }
16033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16034 return resultobj;
16035 fail:
16036 return NULL;
16037}
16038
16039
c370783e 16040static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16041 PyObject *resultobj = NULL;
121b9a67
RD
16042 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16043 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
16044 int arg3 = (int) -1 ;
16045 wxString const &arg4_defvalue = wxPyEmptyString ;
16046 wxString *arg4 = (wxString *) &arg4_defvalue ;
121b9a67
RD
16047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16049 wxSize const &arg6_defvalue = wxDefaultSize ;
16050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16051 long arg7 = (long) 0 ;
16052 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16053 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16054 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16055 wxString *arg9 = (wxString *) &arg9_defvalue ;
16056 bool result;
b411df4a 16057 bool temp4 = false ;
121b9a67
RD
16058 wxPoint temp5 ;
16059 wxSize temp6 ;
b411df4a 16060 bool temp9 = false ;
121b9a67
RD
16061 PyObject * obj0 = 0 ;
16062 PyObject * obj1 = 0 ;
16063 PyObject * obj2 = 0 ;
16064 PyObject * obj3 = 0 ;
16065 PyObject * obj4 = 0 ;
16066 PyObject * obj5 = 0 ;
16067 PyObject * obj6 = 0 ;
16068 PyObject * obj7 = 0 ;
16069 PyObject * obj8 = 0 ;
16070 char *kwnames[] = {
16071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16072 };
16073
bfddbb17 16074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
16075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16076 if (SWIG_arg_fail(1)) SWIG_fail;
16077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16078 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 16079 if (obj2) {
36ed4f51 16080 {
32fe5131 16081 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16082 if (SWIG_arg_fail(3)) SWIG_fail;
16083 }
bfddbb17
RD
16084 }
16085 if (obj3) {
16086 {
16087 arg4 = wxString_in_helper(obj3);
16088 if (arg4 == NULL) SWIG_fail;
b411df4a 16089 temp4 = true;
bfddbb17 16090 }
121b9a67
RD
16091 }
16092 if (obj4) {
16093 {
16094 arg5 = &temp5;
16095 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16096 }
16097 }
16098 if (obj5) {
16099 {
16100 arg6 = &temp6;
16101 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16102 }
16103 }
16104 if (obj6) {
36ed4f51 16105 {
32fe5131 16106 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
16107 if (SWIG_arg_fail(7)) SWIG_fail;
16108 }
121b9a67
RD
16109 }
16110 if (obj7) {
36ed4f51
RD
16111 {
16112 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16113 if (SWIG_arg_fail(8)) SWIG_fail;
16114 if (arg8 == NULL) {
16115 SWIG_null_ref("wxValidator");
16116 }
16117 if (SWIG_arg_fail(8)) SWIG_fail;
121b9a67
RD
16118 }
16119 }
16120 if (obj8) {
16121 {
16122 arg9 = wxString_in_helper(obj8);
16123 if (arg9 == NULL) SWIG_fail;
b411df4a 16124 temp9 = true;
121b9a67
RD
16125 }
16126 }
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16130
16131 wxPyEndAllowThreads(__tstate);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
16134 {
16135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16136 }
16137 {
16138 if (temp4)
16139 delete arg4;
16140 }
16141 {
16142 if (temp9)
16143 delete arg9;
16144 }
16145 return resultobj;
16146 fail:
16147 {
16148 if (temp4)
16149 delete arg4;
16150 }
16151 {
16152 if (temp9)
16153 delete arg9;
16154 }
16155 return NULL;
16156}
16157
16158
c370783e 16159static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16160 PyObject *resultobj = NULL;
121b9a67
RD
16161 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16162 bool arg2 ;
16163 PyObject * obj0 = 0 ;
16164 PyObject * obj1 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self",(char *) "value", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail;
16172 {
32fe5131 16173 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
16174 if (SWIG_arg_fail(2)) SWIG_fail;
16175 }
121b9a67
RD
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 (arg1)->SetValue(arg2);
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 Py_INCREF(Py_None); resultobj = Py_None;
16184 return resultobj;
16185 fail:
16186 return NULL;
16187}
16188
16189
c370783e 16190static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16191 PyObject *resultobj = NULL;
121b9a67
RD
16192 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16193 bool result;
16194 PyObject * obj0 = 0 ;
16195 char *kwnames[] = {
16196 (char *) "self", NULL
16197 };
16198
16199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
16200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16201 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 {
16210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16211 }
16212 return resultobj;
16213 fail:
16214 return NULL;
16215}
16216
16217
c370783e 16218static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16219 PyObject *resultobj = NULL;
121b9a67
RD
16220 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16221 wxString *arg2 = 0 ;
b411df4a 16222 bool temp2 = false ;
121b9a67
RD
16223 PyObject * obj0 = 0 ;
16224 PyObject * obj1 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self",(char *) "label", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16231 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
16232 {
16233 arg2 = wxString_in_helper(obj1);
16234 if (arg2 == NULL) SWIG_fail;
b411df4a 16235 temp2 = true;
121b9a67
RD
16236 }
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 (arg1)->SetLabel((wxString const &)*arg2);
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 Py_INCREF(Py_None); resultobj = Py_None;
16245 {
16246 if (temp2)
16247 delete arg2;
16248 }
16249 return resultobj;
16250 fail:
16251 {
16252 if (temp2)
16253 delete arg2;
16254 }
16255 return NULL;
16256}
16257
16258
c370783e 16259static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16260 PyObject *resultobj = NULL;
36ed4f51 16261 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16262 wxVisualAttributes result;
16263 PyObject * obj0 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "variant", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16269 if (obj0) {
36ed4f51 16270 {
32fe5131 16271 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
16272 if (SWIG_arg_fail(1)) SWIG_fail;
16273 }
f20a2e1f
RD
16274 }
16275 {
0439c23b 16276 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 16278 result = wxToggleButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
16279
16280 wxPyEndAllowThreads(__tstate);
110da5b0 16281 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16282 }
16283 {
16284 wxVisualAttributes * resultptr;
32fe5131 16285 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
16286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16287 }
16288 return resultobj;
16289 fail:
16290 return NULL;
16291}
16292
16293
c370783e 16294static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16295 PyObject *obj;
16296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16297 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16298 Py_INCREF(obj);
16299 return Py_BuildValue((char *)"");
16300}
51b83b37
RD
16301static int _wrap_NotebookNameStr_set(PyObject *) {
16302 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16303 return 1;
16304}
16305
16306
51b83b37 16307static PyObject *_wrap_NotebookNameStr_get(void) {
32fe5131 16308 PyObject *pyobj = NULL;
d55e5bfc
RD
16309
16310 {
16311#if wxUSE_UNICODE
51b83b37 16312 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16313#else
51b83b37 16314 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16315#endif
16316 }
16317 return pyobj;
16318}
16319
16320
6e0de3df 16321static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16322 PyObject *resultobj = NULL;
6e0de3df 16323 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16324 size_t result;
16325 PyObject * obj0 = 0 ;
16326 char *kwnames[] = {
16327 (char *) "self", NULL
16328 };
16329
6e0de3df 16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
16331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16335 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
36ed4f51 16340 {
32fe5131 16341 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 16342 }
d55e5bfc
RD
16343 return resultobj;
16344 fail:
16345 return NULL;
16346}
16347
16348
6e0de3df 16349static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16350 PyObject *resultobj = NULL;
6e0de3df 16351 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16352 size_t arg2 ;
16353 wxWindow *result;
16354 PyObject * obj0 = 0 ;
16355 PyObject * obj1 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self",(char *) "n", NULL
16358 };
16359
6e0de3df 16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail;
16363 {
32fe5131 16364 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
16365 if (SWIG_arg_fail(2)) SWIG_fail;
16366 }
d55e5bfc
RD
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 result = (wxWindow *)(arg1)->GetPage(arg2);
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 {
412d302d 16375 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16376 }
16377 return resultobj;
16378 fail:
16379 return NULL;
16380}
16381
16382
6e0de3df 16383static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16384 PyObject *resultobj = NULL;
6e0de3df 16385 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16386 wxWindow *result;
16387 PyObject * obj0 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self", NULL
16390 };
16391
6e0de3df 16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
16393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16394 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16395 {
16396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16397 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16398
16399 wxPyEndAllowThreads(__tstate);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 {
16403 resultobj = wxPyMake_wxObject(result, 0);
16404 }
16405 return resultobj;
16406 fail:
16407 return NULL;
16408}
16409
16410
6e0de3df 16411static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16412 PyObject *resultobj = NULL;
6e0de3df 16413 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16414 int result;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self", NULL
16418 };
16419
6e0de3df 16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16425 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
36ed4f51 16430 {
32fe5131 16431 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16432 }
d55e5bfc
RD
16433 return resultobj;
16434 fail:
16435 return NULL;
16436}
16437
16438
6e0de3df 16439static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16440 PyObject *resultobj = NULL;
6e0de3df 16441 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16442 size_t arg2 ;
16443 wxString *arg3 = 0 ;
16444 bool result;
b411df4a 16445 bool temp3 = false ;
d55e5bfc
RD
16446 PyObject * obj0 = 0 ;
16447 PyObject * obj1 = 0 ;
16448 PyObject * obj2 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self",(char *) "n",(char *) "strText", NULL
16451 };
16452
6e0de3df 16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail;
16456 {
32fe5131 16457 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
16458 if (SWIG_arg_fail(2)) SWIG_fail;
16459 }
d55e5bfc
RD
16460 {
16461 arg3 = wxString_in_helper(obj2);
16462 if (arg3 == NULL) SWIG_fail;
b411df4a 16463 temp3 = true;
d55e5bfc
RD
16464 }
16465 {
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16468
16469 wxPyEndAllowThreads(__tstate);
16470 if (PyErr_Occurred()) SWIG_fail;
16471 }
16472 {
16473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16474 }
16475 {
16476 if (temp3)
16477 delete arg3;
16478 }
16479 return resultobj;
16480 fail:
16481 {
16482 if (temp3)
16483 delete arg3;
16484 }
16485 return NULL;
16486}
16487
16488
6e0de3df 16489static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16490 PyObject *resultobj = NULL;
6e0de3df 16491 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16492 size_t arg2 ;
16493 wxString result;
16494 PyObject * obj0 = 0 ;
16495 PyObject * obj1 = 0 ;
16496 char *kwnames[] = {
16497 (char *) "self",(char *) "n", NULL
16498 };
16499
6e0de3df 16500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16502 if (SWIG_arg_fail(1)) SWIG_fail;
16503 {
32fe5131 16504 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
16505 if (SWIG_arg_fail(2)) SWIG_fail;
16506 }
d55e5bfc
RD
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16509 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 {
16515#if wxUSE_UNICODE
16516 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16517#else
16518 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16519#endif
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524}
16525
16526
6e0de3df 16527static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16528 PyObject *resultobj = NULL;
6e0de3df 16529 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16530 wxImageList *arg2 = (wxImageList *) 0 ;
16531 PyObject * obj0 = 0 ;
16532 PyObject * obj1 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self",(char *) "imageList", NULL
16535 };
16536
6e0de3df 16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16539 if (SWIG_arg_fail(1)) SWIG_fail;
16540 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16541 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 (arg1)->SetImageList(arg2);
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 Py_INCREF(Py_None); resultobj = Py_None;
16550 return resultobj;
16551 fail:
16552 return NULL;
16553}
16554
16555
6e0de3df 16556static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16557 PyObject *resultobj = NULL;
6e0de3df 16558 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16559 wxImageList *arg2 = (wxImageList *) 0 ;
16560 PyObject * obj0 = 0 ;
16561 PyObject * obj1 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self",(char *) "imageList", NULL
16564 };
16565
6e0de3df 16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail;
16569 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16570 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16571 {
16572 PyThreadState* __tstate = wxPyBeginAllowThreads();
16573 (arg1)->AssignImageList(arg2);
16574
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 Py_INCREF(Py_None); resultobj = Py_None;
16579 return resultobj;
16580 fail:
16581 return NULL;
16582}
16583
16584
6e0de3df 16585static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16586 PyObject *resultobj = NULL;
6e0de3df 16587 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16588 wxImageList *result;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self", NULL
16592 };
16593
6e0de3df 16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
16595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16599 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 {
7e08d4ef 16605 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
16606 }
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
6e0de3df 16613static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16614 PyObject *resultobj = NULL;
6e0de3df 16615 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16616 size_t arg2 ;
16617 int result;
16618 PyObject * obj0 = 0 ;
16619 PyObject * obj1 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "n", NULL
16622 };
16623
6e0de3df 16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail;
16627 {
32fe5131 16628 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
16629 if (SWIG_arg_fail(2)) SWIG_fail;
16630 }
d55e5bfc
RD
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16633 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
36ed4f51 16638 {
32fe5131 16639 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 16640 }
d55e5bfc
RD
16641 return resultobj;
16642 fail:
16643 return NULL;
16644}
16645
16646
6e0de3df 16647static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16648 PyObject *resultobj = NULL;
6e0de3df 16649 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16650 size_t arg2 ;
16651 int arg3 ;
16652 bool result;
16653 PyObject * obj0 = 0 ;
16654 PyObject * obj1 = 0 ;
16655 PyObject * obj2 = 0 ;
16656 char *kwnames[] = {
16657 (char *) "self",(char *) "n",(char *) "imageId", NULL
16658 };
16659
6e0de3df 16660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail;
16663 {
32fe5131 16664 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
16665 if (SWIG_arg_fail(2)) SWIG_fail;
16666 }
16667 {
32fe5131 16668 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
16669 if (SWIG_arg_fail(3)) SWIG_fail;
16670 }
d55e5bfc
RD
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 {
16679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16680 }
16681 return resultobj;
16682 fail:
16683 return NULL;
16684}
16685
16686
6e0de3df 16687static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16688 PyObject *resultobj = NULL;
6e0de3df 16689 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16690 wxSize *arg2 = 0 ;
16691 wxSize temp2 ;
16692 PyObject * obj0 = 0 ;
16693 PyObject * obj1 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "size", NULL
16696 };
16697
6e0de3df 16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16701 {
16702 arg2 = &temp2;
16703 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16704 }
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 (arg1)->SetPageSize((wxSize const &)*arg2);
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 Py_INCREF(Py_None); resultobj = Py_None;
16713 return resultobj;
16714 fail:
16715 return NULL;
16716}
16717
16718
6e0de3df 16719static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16720 PyObject *resultobj = NULL;
6e0de3df 16721 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16722 wxSize *arg2 = 0 ;
16723 wxSize result;
16724 wxSize temp2 ;
16725 PyObject * obj0 = 0 ;
16726 PyObject * obj1 = 0 ;
16727 char *kwnames[] = {
16728 (char *) "self",(char *) "sizePage", NULL
16729 };
16730
6e0de3df 16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16734 {
16735 arg2 = &temp2;
16736 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16737 }
16738 {
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16740 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16741
16742 wxPyEndAllowThreads(__tstate);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 {
16746 wxSize * resultptr;
32fe5131 16747 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
16748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
16753}
16754
16755
7e08d4ef
RD
16756static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj = NULL;
16758 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16759 unsigned int result;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail;
16766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail;
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 {
16776 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
16777 }
16778 return resultobj;
16779 fail:
16780 return NULL;
16781}
16782
16783
16784static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj = NULL;
16786 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16787 unsigned int arg2 ;
16788 PyObject * obj0 = 0 ;
16789 PyObject * obj1 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "self",(char *) "internalBorder", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) goto fail;
16795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16796 if (SWIG_arg_fail(1)) SWIG_fail;
16797 {
16798 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
16799 if (SWIG_arg_fail(2)) SWIG_fail;
16800 }
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 (arg1)->SetInternalBorder(arg2);
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 Py_INCREF(Py_None); resultobj = Py_None;
16809 return resultobj;
16810 fail:
16811 return NULL;
16812}
16813
16814
16815static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16816 PyObject *resultobj = NULL;
16817 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16818 bool result;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail;
16825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail;
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
16830
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 {
16835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16836 }
16837 return resultobj;
16838 fail:
16839 return NULL;
16840}
16841
16842
7f7aa166 16843static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
16844 PyObject *resultobj = NULL;
16845 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16846 bool arg2 ;
16847 PyObject * obj0 = 0 ;
16848 PyObject * obj1 = 0 ;
16849 char *kwnames[] = {
7f7aa166 16850 (char *) "self",(char *) "fit", NULL
7e08d4ef
RD
16851 };
16852
7f7aa166 16853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail;
7e08d4ef
RD
16854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16855 if (SWIG_arg_fail(1)) SWIG_fail;
16856 {
16857 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16858 if (SWIG_arg_fail(2)) SWIG_fail;
16859 }
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 16862 (arg1)->SetFitToCurrentPage(arg2);
7e08d4ef
RD
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 Py_INCREF(Py_None); resultobj = Py_None;
16868 return resultobj;
16869 fail:
16870 return NULL;
16871}
16872
16873
7f7aa166 16874static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
16875 PyObject *resultobj = NULL;
16876 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16877 bool result;
16878 PyObject * obj0 = 0 ;
16879 char *kwnames[] = {
16880 (char *) "self", NULL
16881 };
16882
7f7aa166 16883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail;
7e08d4ef
RD
16884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail;
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 16888 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
7e08d4ef
RD
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 {
16894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16895 }
16896 return resultobj;
16897 fail:
16898 return NULL;
16899}
16900
16901
6e0de3df 16902static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16903 PyObject *resultobj = NULL;
6e0de3df 16904 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16905 size_t arg2 ;
16906 bool result;
16907 PyObject * obj0 = 0 ;
16908 PyObject * obj1 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self",(char *) "n", NULL
16911 };
16912
6e0de3df 16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16915 if (SWIG_arg_fail(1)) SWIG_fail;
16916 {
32fe5131 16917 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
16918 if (SWIG_arg_fail(2)) SWIG_fail;
16919 }
d55e5bfc
RD
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = (bool)(arg1)->DeletePage(arg2);
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16929 }
16930 return resultobj;
16931 fail:
16932 return NULL;
16933}
16934
16935
6e0de3df 16936static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16937 PyObject *resultobj = NULL;
6e0de3df 16938 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16939 size_t arg2 ;
16940 bool result;
16941 PyObject * obj0 = 0 ;
16942 PyObject * obj1 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "n", NULL
16945 };
16946
6e0de3df 16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail;
16950 {
32fe5131 16951 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
16952 if (SWIG_arg_fail(2)) SWIG_fail;
16953 }
d55e5bfc
RD
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (bool)(arg1)->RemovePage(arg2);
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 {
16962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967}
16968
16969
6e0de3df 16970static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16971 PyObject *resultobj = NULL;
6e0de3df 16972 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16973 bool result;
16974 PyObject * obj0 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self", NULL
16977 };
16978
6e0de3df 16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
16980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16982 {
16983 PyThreadState* __tstate = wxPyBeginAllowThreads();
16984 result = (bool)(arg1)->DeleteAllPages();
16985
16986 wxPyEndAllowThreads(__tstate);
16987 if (PyErr_Occurred()) SWIG_fail;
16988 }
16989 {
16990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16991 }
16992 return resultobj;
16993 fail:
16994 return NULL;
16995}
16996
16997
6e0de3df 16998static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16999 PyObject *resultobj = NULL;
6e0de3df 17000 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17001 wxWindow *arg2 = (wxWindow *) 0 ;
17002 wxString *arg3 = 0 ;
b411df4a 17003 bool arg4 = (bool) false ;
d55e5bfc
RD
17004 int arg5 = (int) -1 ;
17005 bool result;
b411df4a 17006 bool temp3 = false ;
d55e5bfc
RD
17007 PyObject * obj0 = 0 ;
17008 PyObject * obj1 = 0 ;
17009 PyObject * obj2 = 0 ;
17010 PyObject * obj3 = 0 ;
17011 PyObject * obj4 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17014 };
17015
6e0de3df 17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
17017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail;
17019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17020 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17021 {
17022 arg3 = wxString_in_helper(obj2);
17023 if (arg3 == NULL) SWIG_fail;
b411df4a 17024 temp3 = true;
d55e5bfc
RD
17025 }
17026 if (obj3) {
36ed4f51 17027 {
32fe5131 17028 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
17029 if (SWIG_arg_fail(4)) SWIG_fail;
17030 }
d55e5bfc
RD
17031 }
17032 if (obj4) {
36ed4f51 17033 {
32fe5131 17034 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
17035 if (SWIG_arg_fail(5)) SWIG_fail;
17036 }
d55e5bfc
RD
17037 }
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 {
17046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17047 }
17048 {
17049 if (temp3)
17050 delete arg3;
17051 }
17052 return resultobj;
17053 fail:
17054 {
17055 if (temp3)
17056 delete arg3;
17057 }
17058 return NULL;
17059}
17060
17061
6e0de3df 17062static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17063 PyObject *resultobj = NULL;
6e0de3df 17064 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17065 size_t arg2 ;
17066 wxWindow *arg3 = (wxWindow *) 0 ;
17067 wxString *arg4 = 0 ;
b411df4a 17068 bool arg5 = (bool) false ;
d55e5bfc
RD
17069 int arg6 = (int) -1 ;
17070 bool result;
b411df4a 17071 bool temp4 = false ;
d55e5bfc
RD
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 PyObject * obj2 = 0 ;
17075 PyObject * obj3 = 0 ;
17076 PyObject * obj4 = 0 ;
17077 PyObject * obj5 = 0 ;
17078 char *kwnames[] = {
17079 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17080 };
17081
6e0de3df 17082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17084 if (SWIG_arg_fail(1)) SWIG_fail;
17085 {
32fe5131 17086 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
17087 if (SWIG_arg_fail(2)) SWIG_fail;
17088 }
17089 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17090 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
17091 {
17092 arg4 = wxString_in_helper(obj3);
17093 if (arg4 == NULL) SWIG_fail;
b411df4a 17094 temp4 = true;
d55e5bfc
RD
17095 }
17096 if (obj4) {
36ed4f51 17097 {
32fe5131 17098 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
36ed4f51
RD
17099 if (SWIG_arg_fail(5)) SWIG_fail;
17100 }
d55e5bfc
RD
17101 }
17102 if (obj5) {
36ed4f51 17103 {
32fe5131 17104 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
17105 if (SWIG_arg_fail(6)) SWIG_fail;
17106 }
d55e5bfc
RD
17107 }
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17111
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 {
17116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17117 }
17118 {
17119 if (temp4)
17120 delete arg4;
17121 }
17122 return resultobj;
17123 fail:
17124 {
17125 if (temp4)
17126 delete arg4;
17127 }
17128 return NULL;
17129}
17130
17131
6e0de3df 17132static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17133 PyObject *resultobj = NULL;
6e0de3df 17134 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17135 size_t arg2 ;
17136 int result;
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "self",(char *) "n", NULL
17141 };
17142
6e0de3df 17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail;
17146 {
32fe5131 17147 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
17148 if (SWIG_arg_fail(2)) SWIG_fail;
17149 }
d55e5bfc
RD
17150 {
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = (int)(arg1)->SetSelection(arg2);
17153
17154 wxPyEndAllowThreads(__tstate);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
36ed4f51 17157 {
32fe5131 17158 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17159 }
d55e5bfc
RD
17160 return resultobj;
17161 fail:
17162 return NULL;
17163}
17164
17165
6e0de3df 17166static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17167 PyObject *resultobj = NULL;
6e0de3df 17168 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
b411df4a 17169 bool arg2 = (bool) true ;
d55e5bfc
RD
17170 PyObject * obj0 = 0 ;
17171 PyObject * obj1 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self",(char *) "forward", NULL
17174 };
17175
6e0de3df 17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17179 if (obj1) {
36ed4f51 17180 {
32fe5131 17181 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
17182 if (SWIG_arg_fail(2)) SWIG_fail;
17183 }
d55e5bfc
RD
17184 }
17185 {
17186 PyThreadState* __tstate = wxPyBeginAllowThreads();
17187 (arg1)->AdvanceSelection(arg2);
17188
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 Py_INCREF(Py_None); resultobj = Py_None;
17193 return resultobj;
17194 fail:
17195 return NULL;
17196}
17197
17198
6e0de3df 17199static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17200 PyObject *resultobj = NULL;
36ed4f51 17201 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17202 wxVisualAttributes result;
17203 PyObject * obj0 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "variant", NULL
17206 };
17207
6e0de3df 17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 17209 if (obj0) {
36ed4f51 17210 {
32fe5131 17211 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
17212 if (SWIG_arg_fail(1)) SWIG_fail;
17213 }
f20a2e1f
RD
17214 }
17215 {
0439c23b 17216 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17218 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
17219
17220 wxPyEndAllowThreads(__tstate);
110da5b0 17221 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17222 }
17223 {
17224 wxVisualAttributes * resultptr;
32fe5131 17225 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
17226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17227 }
17228 return resultobj;
17229 fail:
17230 return NULL;
17231}
17232
17233
6e0de3df 17234static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17235 PyObject *obj;
17236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 17237 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
17238 Py_INCREF(obj);
17239 return Py_BuildValue((char *)"");
17240}
6e0de3df 17241static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17242 PyObject *resultobj = NULL;
d55e5bfc
RD
17243 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17244 int arg2 = (int) 0 ;
17245 int arg3 = (int) -1 ;
17246 int arg4 = (int) -1 ;
6e0de3df 17247 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 PyObject * obj2 = 0 ;
17251 PyObject * obj3 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17254 };
17255
6e0de3df 17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 17257 if (obj0) {
36ed4f51 17258 {
32fe5131 17259 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
17260 if (SWIG_arg_fail(1)) SWIG_fail;
17261 }
d55e5bfc
RD
17262 }
17263 if (obj1) {
36ed4f51 17264 {
32fe5131 17265 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
17266 if (SWIG_arg_fail(2)) SWIG_fail;
17267 }
d55e5bfc
RD
17268 }
17269 if (obj2) {
36ed4f51 17270 {
32fe5131 17271 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
17272 if (SWIG_arg_fail(3)) SWIG_fail;
17273 }
d55e5bfc
RD
17274 }
17275 if (obj3) {
36ed4f51 17276 {
32fe5131 17277 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
17278 if (SWIG_arg_fail(4)) SWIG_fail;
17279 }
d55e5bfc
RD
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 17283 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
6e0de3df 17288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
17289 return resultobj;
17290 fail:
17291 return NULL;
17292}
17293
17294
6e0de3df 17295static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17296 PyObject *resultobj = NULL;
6e0de3df 17297 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17298 int result;
17299 PyObject * obj0 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self", NULL
17302 };
17303
6e0de3df 17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
17305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 17309 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
36ed4f51 17314 {
32fe5131 17315 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17316 }
d55e5bfc
RD
17317 return resultobj;
17318 fail:
17319 return NULL;
17320}
17321
17322
6e0de3df 17323static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17324 PyObject *resultobj = NULL;
6e0de3df 17325 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17326 int arg2 ;
17327 PyObject * obj0 = 0 ;
17328 PyObject * obj1 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self",(char *) "nSel", NULL
17331 };
17332
6e0de3df 17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17335 if (SWIG_arg_fail(1)) SWIG_fail;
17336 {
32fe5131 17337 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
17338 if (SWIG_arg_fail(2)) SWIG_fail;
17339 }
d55e5bfc
RD
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 (arg1)->SetSelection(arg2);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 Py_INCREF(Py_None); resultobj = Py_None;
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
6e0de3df 17354static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17355 PyObject *resultobj = NULL;
6e0de3df 17356 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17357 int result;
17358 PyObject * obj0 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self", NULL
17361 };
17362
6e0de3df 17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
17364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 17368 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
36ed4f51 17373 {
32fe5131 17374 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17375 }
d55e5bfc
RD
17376 return resultobj;
17377 fail:
17378 return NULL;
17379}
17380
17381
6e0de3df 17382static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17383 PyObject *resultobj = NULL;
6e0de3df 17384 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17385 int arg2 ;
17386 PyObject * obj0 = 0 ;
17387 PyObject * obj1 = 0 ;
17388 char *kwnames[] = {
17389 (char *) "self",(char *) "nOldSel", NULL
17390 };
17391
6e0de3df 17392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17394 if (SWIG_arg_fail(1)) SWIG_fail;
17395 {
32fe5131 17396 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
17397 if (SWIG_arg_fail(2)) SWIG_fail;
17398 }
d55e5bfc
RD
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 (arg1)->SetOldSelection(arg2);
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 Py_INCREF(Py_None); resultobj = Py_None;
17407 return resultobj;
17408 fail:
17409 return NULL;
17410}
17411
17412
6e0de3df 17413static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17414 PyObject *obj;
17415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 17416 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
17417 Py_INCREF(obj);
17418 return Py_BuildValue((char *)"");
17419}
c370783e 17420static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17421 PyObject *resultobj = NULL;
d55e5bfc
RD
17422 wxWindow *arg1 = (wxWindow *) 0 ;
17423 int arg2 = (int) -1 ;
17424 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17425 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17426 wxSize const &arg4_defvalue = wxDefaultSize ;
17427 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17428 long arg5 = (long) 0 ;
51b83b37 17429 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17430 wxString *arg6 = (wxString *) &arg6_defvalue ;
17431 wxNotebook *result;
17432 wxPoint temp3 ;
17433 wxSize temp4 ;
b411df4a 17434 bool temp6 = false ;
d55e5bfc
RD
17435 PyObject * obj0 = 0 ;
17436 PyObject * obj1 = 0 ;
17437 PyObject * obj2 = 0 ;
17438 PyObject * obj3 = 0 ;
17439 PyObject * obj4 = 0 ;
17440 PyObject * obj5 = 0 ;
17441 char *kwnames[] = {
17442 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17443 };
17444
17445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17448 if (obj1) {
36ed4f51 17449 {
32fe5131 17450 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
17451 if (SWIG_arg_fail(2)) SWIG_fail;
17452 }
d55e5bfc
RD
17453 }
17454 if (obj2) {
17455 {
17456 arg3 = &temp3;
17457 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17458 }
17459 }
17460 if (obj3) {
17461 {
17462 arg4 = &temp4;
17463 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17464 }
17465 }
17466 if (obj4) {
36ed4f51 17467 {
32fe5131 17468 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
17469 if (SWIG_arg_fail(5)) SWIG_fail;
17470 }
d55e5bfc
RD
17471 }
17472 if (obj5) {
17473 {
17474 arg6 = wxString_in_helper(obj5);
17475 if (arg6 == NULL) SWIG_fail;
b411df4a 17476 temp6 = true;
d55e5bfc
RD
17477 }
17478 }
17479 {
0439c23b 17480 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17483
17484 wxPyEndAllowThreads(__tstate);
110da5b0 17485 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17486 }
b0f7404b 17487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17488 {
17489 if (temp6)
17490 delete arg6;
17491 }
17492 return resultobj;
17493 fail:
17494 {
17495 if (temp6)
17496 delete arg6;
17497 }
17498 return NULL;
17499}
17500
17501
c370783e 17502static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17503 PyObject *resultobj = NULL;
d55e5bfc
RD
17504 wxNotebook *result;
17505 char *kwnames[] = {
17506 NULL
17507 };
17508
17509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17510 {
0439c23b 17511 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (wxNotebook *)new wxNotebook();
17514
17515 wxPyEndAllowThreads(__tstate);
110da5b0 17516 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17517 }
b0f7404b 17518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17519 return resultobj;
17520 fail:
17521 return NULL;
17522}
17523
17524
c370783e 17525static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17526 PyObject *resultobj = NULL;
d55e5bfc
RD
17527 wxNotebook *arg1 = (wxNotebook *) 0 ;
17528 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17529 int arg3 = (int) -1 ;
d55e5bfc
RD
17530 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17531 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17532 wxSize const &arg5_defvalue = wxDefaultSize ;
17533 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17534 long arg6 = (long) 0 ;
51b83b37 17535 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17536 wxString *arg7 = (wxString *) &arg7_defvalue ;
17537 bool result;
17538 wxPoint temp4 ;
17539 wxSize temp5 ;
b411df4a 17540 bool temp7 = false ;
d55e5bfc
RD
17541 PyObject * obj0 = 0 ;
17542 PyObject * obj1 = 0 ;
17543 PyObject * obj2 = 0 ;
17544 PyObject * obj3 = 0 ;
17545 PyObject * obj4 = 0 ;
17546 PyObject * obj5 = 0 ;
17547 PyObject * obj6 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17550 };
17551
bfddbb17 17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17554 if (SWIG_arg_fail(1)) SWIG_fail;
17555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17556 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17557 if (obj2) {
36ed4f51 17558 {
32fe5131 17559 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
17560 if (SWIG_arg_fail(3)) SWIG_fail;
17561 }
bfddbb17 17562 }
d55e5bfc
RD
17563 if (obj3) {
17564 {
17565 arg4 = &temp4;
17566 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17567 }
17568 }
17569 if (obj4) {
17570 {
17571 arg5 = &temp5;
17572 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17573 }
17574 }
17575 if (obj5) {
36ed4f51 17576 {
32fe5131 17577 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
17578 if (SWIG_arg_fail(6)) SWIG_fail;
17579 }
d55e5bfc
RD
17580 }
17581 if (obj6) {
17582 {
17583 arg7 = wxString_in_helper(obj6);
17584 if (arg7 == NULL) SWIG_fail;
b411df4a 17585 temp7 = true;
d55e5bfc
RD
17586 }
17587 }
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 {
17596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17597 }
17598 {
17599 if (temp7)
17600 delete arg7;
17601 }
17602 return resultobj;
17603 fail:
17604 {
17605 if (temp7)
17606 delete arg7;
17607 }
17608 return NULL;
17609}
17610
17611
c370783e 17612static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17613 PyObject *resultobj = NULL;
d55e5bfc
RD
17614 wxNotebook *arg1 = (wxNotebook *) 0 ;
17615 int result;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
17622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
36ed4f51 17631 {
32fe5131 17632 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17633 }
d55e5bfc
RD
17634 return resultobj;
17635 fail:
17636 return NULL;
17637}
17638
17639
c370783e 17640static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17641 PyObject *resultobj = NULL;
d55e5bfc
RD
17642 wxNotebook *arg1 = (wxNotebook *) 0 ;
17643 wxSize *arg2 = 0 ;
17644 wxSize temp2 ;
17645 PyObject * obj0 = 0 ;
17646 PyObject * obj1 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self",(char *) "padding", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17654 {
17655 arg2 = &temp2;
17656 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17657 }
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 (arg1)->SetPadding((wxSize const &)*arg2);
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 Py_INCREF(Py_None); resultobj = Py_None;
17666 return resultobj;
17667 fail:
17668 return NULL;
17669}
17670
17671
c370783e 17672static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17673 PyObject *resultobj = NULL;
d55e5bfc
RD
17674 wxNotebook *arg1 = (wxNotebook *) 0 ;
17675 wxSize *arg2 = 0 ;
17676 wxSize temp2 ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self",(char *) "sz", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17686 {
17687 arg2 = &temp2;
17688 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17689 }
17690 {
17691 PyThreadState* __tstate = wxPyBeginAllowThreads();
17692 (arg1)->SetTabSize((wxSize const &)*arg2);
17693
17694 wxPyEndAllowThreads(__tstate);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 Py_INCREF(Py_None); resultobj = Py_None;
17698 return resultobj;
17699 fail:
17700 return NULL;
17701}
17702
17703
c370783e 17704static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17705 PyObject *resultobj = NULL;
d55e5bfc
RD
17706 wxNotebook *arg1 = (wxNotebook *) 0 ;
17707 wxPoint *arg2 = 0 ;
17708 long *arg3 = (long *) 0 ;
17709 int result;
17710 wxPoint temp2 ;
17711 long temp3 ;
c370783e 17712 int res3 = 0 ;
d55e5bfc
RD
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self",(char *) "pt", NULL
17717 };
17718
c370783e 17719 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17723 {
17724 arg2 = &temp2;
17725 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17726 }
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
36ed4f51 17734 {
32fe5131 17735 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 17736 }
c370783e
RD
17737 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17738 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17739 return resultobj;
17740 fail:
17741 return NULL;
17742}
17743
17744
c370783e 17745static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17746 PyObject *resultobj = NULL;
d55e5bfc
RD
17747 wxNotebook *arg1 = (wxNotebook *) 0 ;
17748 wxSize *arg2 = 0 ;
17749 wxSize result;
17750 wxSize temp2 ;
17751 PyObject * obj0 = 0 ;
17752 PyObject * obj1 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self",(char *) "sizePage", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17760 {
17761 arg2 = &temp2;
17762 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17763 }
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17767
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 {
17772 wxSize * resultptr;
32fe5131 17773 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
17774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17775 }
17776 return resultobj;
17777 fail:
17778 return NULL;
17779}
17780
17781
091fdbfa 17782static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17783 PyObject *resultobj = NULL;
091fdbfa
RD
17784 wxNotebook *arg1 = (wxNotebook *) 0 ;
17785 wxColour result;
17786 PyObject * obj0 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17793 if (SWIG_arg_fail(1)) SWIG_fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 {
17802 wxColour * resultptr;
32fe5131 17803 resultptr = new wxColour(static_cast<wxColour & >(result));
091fdbfa
RD
17804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17805 }
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
c370783e 17812static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17813 PyObject *resultobj = NULL;
36ed4f51 17814 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17815 wxVisualAttributes result;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "variant", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17822 if (obj0) {
36ed4f51 17823 {
32fe5131 17824 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
17825 if (SWIG_arg_fail(1)) SWIG_fail;
17826 }
f20a2e1f
RD
17827 }
17828 {
0439c23b 17829 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17831 result = wxNotebook::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
17832
17833 wxPyEndAllowThreads(__tstate);
110da5b0 17834 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17835 }
17836 {
17837 wxVisualAttributes * resultptr;
32fe5131 17838 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
17839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17840 }
17841 return resultobj;
17842 fail:
17843 return NULL;
17844}
17845
17846
c370783e 17847static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17848 PyObject *obj;
17849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17850 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17851 Py_INCREF(obj);
17852 return Py_BuildValue((char *)"");
17853}
c370783e 17854static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17855 PyObject *resultobj = NULL;
d55e5bfc
RD
17856 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17857 int arg2 = (int) 0 ;
17858 int arg3 = (int) -1 ;
17859 int arg4 = (int) -1 ;
17860 wxNotebookEvent *result;
17861 PyObject * obj0 = 0 ;
17862 PyObject * obj1 = 0 ;
17863 PyObject * obj2 = 0 ;
17864 PyObject * obj3 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17870 if (obj0) {
36ed4f51 17871 {
32fe5131 17872 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
17873 if (SWIG_arg_fail(1)) SWIG_fail;
17874 }
d55e5bfc
RD
17875 }
17876 if (obj1) {
36ed4f51 17877 {
32fe5131 17878 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
17879 if (SWIG_arg_fail(2)) SWIG_fail;
17880 }
d55e5bfc
RD
17881 }
17882 if (obj2) {
36ed4f51 17883 {
32fe5131 17884 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
17885 if (SWIG_arg_fail(3)) SWIG_fail;
17886 }
d55e5bfc
RD
17887 }
17888 if (obj3) {
36ed4f51 17889 {
32fe5131 17890 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
17891 if (SWIG_arg_fail(4)) SWIG_fail;
17892 }
d55e5bfc
RD
17893 }
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17902 return resultobj;
17903 fail:
17904 return NULL;
17905}
17906
17907
c370783e 17908static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17909 PyObject *obj;
17910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17911 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17912 Py_INCREF(obj);
17913 return Py_BuildValue((char *)"");
17914}
c370783e 17915static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17916 PyObject *resultobj = NULL;
d55e5bfc
RD
17917 wxWindow *arg1 = (wxWindow *) 0 ;
17918 int arg2 = (int) -1 ;
17919 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17920 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17921 wxSize const &arg4_defvalue = wxDefaultSize ;
17922 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17923 long arg5 = (long) 0 ;
17924 wxString const &arg6_defvalue = wxPyEmptyString ;
17925 wxString *arg6 = (wxString *) &arg6_defvalue ;
17926 wxListbook *result;
17927 wxPoint temp3 ;
17928 wxSize temp4 ;
b411df4a 17929 bool temp6 = false ;
d55e5bfc
RD
17930 PyObject * obj0 = 0 ;
17931 PyObject * obj1 = 0 ;
17932 PyObject * obj2 = 0 ;
17933 PyObject * obj3 = 0 ;
17934 PyObject * obj4 = 0 ;
17935 PyObject * obj5 = 0 ;
17936 char *kwnames[] = {
17937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17942 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17943 if (obj1) {
36ed4f51 17944 {
32fe5131 17945 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
17946 if (SWIG_arg_fail(2)) SWIG_fail;
17947 }
d55e5bfc
RD
17948 }
17949 if (obj2) {
17950 {
17951 arg3 = &temp3;
17952 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17953 }
17954 }
17955 if (obj3) {
17956 {
17957 arg4 = &temp4;
17958 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17959 }
17960 }
17961 if (obj4) {
36ed4f51 17962 {
32fe5131 17963 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
17964 if (SWIG_arg_fail(5)) SWIG_fail;
17965 }
d55e5bfc
RD
17966 }
17967 if (obj5) {
17968 {
17969 arg6 = wxString_in_helper(obj5);
17970 if (arg6 == NULL) SWIG_fail;
b411df4a 17971 temp6 = true;
d55e5bfc
RD
17972 }
17973 }
17974 {
0439c23b 17975 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17978
17979 wxPyEndAllowThreads(__tstate);
110da5b0 17980 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17981 }
17982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17983 {
17984 if (temp6)
17985 delete arg6;
17986 }
17987 return resultobj;
17988 fail:
17989 {
17990 if (temp6)
17991 delete arg6;
17992 }
17993 return NULL;
17994}
17995
17996
c370783e 17997static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17998 PyObject *resultobj = NULL;
d55e5bfc
RD
17999 wxListbook *result;
18000 char *kwnames[] = {
18001 NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
18005 {
0439c23b 18006 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 result = (wxListbook *)new wxListbook();
18009
18010 wxPyEndAllowThreads(__tstate);
110da5b0 18011 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18012 }
18013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18014 return resultobj;
18015 fail:
18016 return NULL;
18017}
18018
18019
c370783e 18020static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18021 PyObject *resultobj = NULL;
d55e5bfc
RD
18022 wxListbook *arg1 = (wxListbook *) 0 ;
18023 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 18024 int arg3 = (int) -1 ;
d55e5bfc
RD
18025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18027 wxSize const &arg5_defvalue = wxDefaultSize ;
18028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18029 long arg6 = (long) 0 ;
18030 wxString const &arg7_defvalue = wxPyEmptyString ;
18031 wxString *arg7 = (wxString *) &arg7_defvalue ;
18032 bool result;
18033 wxPoint temp4 ;
18034 wxSize temp5 ;
b411df4a 18035 bool temp7 = false ;
d55e5bfc
RD
18036 PyObject * obj0 = 0 ;
18037 PyObject * obj1 = 0 ;
18038 PyObject * obj2 = 0 ;
18039 PyObject * obj3 = 0 ;
18040 PyObject * obj4 = 0 ;
18041 PyObject * obj5 = 0 ;
18042 PyObject * obj6 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18045 };
18046
bfddbb17 18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
18048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18049 if (SWIG_arg_fail(1)) SWIG_fail;
18050 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18051 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 18052 if (obj2) {
36ed4f51 18053 {
32fe5131 18054 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
18055 if (SWIG_arg_fail(3)) SWIG_fail;
18056 }
bfddbb17 18057 }
d55e5bfc
RD
18058 if (obj3) {
18059 {
18060 arg4 = &temp4;
18061 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18062 }
18063 }
18064 if (obj4) {
18065 {
18066 arg5 = &temp5;
18067 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18068 }
18069 }
18070 if (obj5) {
36ed4f51 18071 {
32fe5131 18072 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
18073 if (SWIG_arg_fail(6)) SWIG_fail;
18074 }
d55e5bfc
RD
18075 }
18076 if (obj6) {
18077 {
18078 arg7 = wxString_in_helper(obj6);
18079 if (arg7 == NULL) SWIG_fail;
b411df4a 18080 temp7 = true;
d55e5bfc
RD
18081 }
18082 }
18083 {
18084 PyThreadState* __tstate = wxPyBeginAllowThreads();
18085 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18086
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 {
18091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18092 }
18093 {
18094 if (temp7)
18095 delete arg7;
18096 }
18097 return resultobj;
18098 fail:
18099 {
18100 if (temp7)
18101 delete arg7;
18102 }
18103 return NULL;
18104}
18105
18106
7e08d4ef
RD
18107static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18108 PyObject *resultobj = NULL;
18109 wxListbook *arg1 = (wxListbook *) 0 ;
18110 wxListView *result;
18111 PyObject * obj0 = 0 ;
18112 char *kwnames[] = {
18113 (char *) "self", NULL
18114 };
18115
18116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail;
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 result = (wxListView *)(arg1)->GetListView();
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18127 return resultobj;
18128 fail:
18129 return NULL;
18130}
18131
18132
18133static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18134 PyObject *obj;
18135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18136 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18137 Py_INCREF(obj);
18138 return Py_BuildValue((char *)"");
18139}
18140static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18141 PyObject *resultobj = NULL;
18142 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18143 int arg2 = (int) 0 ;
18144 int arg3 = (int) -1 ;
18145 int arg4 = (int) -1 ;
18146 wxListbookEvent *result;
18147 PyObject * obj0 = 0 ;
18148 PyObject * obj1 = 0 ;
18149 PyObject * obj2 = 0 ;
18150 PyObject * obj3 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18156 if (obj0) {
18157 {
18158 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18159 if (SWIG_arg_fail(1)) SWIG_fail;
18160 }
18161 }
18162 if (obj1) {
18163 {
18164 arg2 = static_cast<int >(SWIG_As_int(obj1));
18165 if (SWIG_arg_fail(2)) SWIG_fail;
18166 }
18167 }
18168 if (obj2) {
18169 {
18170 arg3 = static_cast<int >(SWIG_As_int(obj2));
18171 if (SWIG_arg_fail(3)) SWIG_fail;
18172 }
18173 }
18174 if (obj3) {
18175 {
18176 arg4 = static_cast<int >(SWIG_As_int(obj3));
18177 if (SWIG_arg_fail(4)) SWIG_fail;
18178 }
18179 }
18180 {
18181 PyThreadState* __tstate = wxPyBeginAllowThreads();
18182 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18183
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18188 return resultobj;
18189 fail:
18190 return NULL;
18191}
18192
18193
18194static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18195 PyObject *obj;
18196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18197 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18198 Py_INCREF(obj);
18199 return Py_BuildValue((char *)"");
18200}
18201static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj = NULL;
18203 wxWindow *arg1 = (wxWindow *) 0 ;
18204 int arg2 ;
18205 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18206 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18207 wxSize const &arg4_defvalue = wxDefaultSize ;
18208 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18209 long arg5 = (long) 0 ;
18210 wxString const &arg6_defvalue = wxPyEmptyString ;
18211 wxString *arg6 = (wxString *) &arg6_defvalue ;
18212 wxChoicebook *result;
18213 wxPoint temp3 ;
18214 wxSize temp4 ;
18215 bool temp6 = false ;
18216 PyObject * obj0 = 0 ;
18217 PyObject * obj1 = 0 ;
18218 PyObject * obj2 = 0 ;
18219 PyObject * obj3 = 0 ;
18220 PyObject * obj4 = 0 ;
18221 PyObject * obj5 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18228 if (SWIG_arg_fail(1)) SWIG_fail;
18229 {
18230 arg2 = static_cast<int >(SWIG_As_int(obj1));
18231 if (SWIG_arg_fail(2)) SWIG_fail;
18232 }
18233 if (obj2) {
18234 {
18235 arg3 = &temp3;
18236 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18237 }
18238 }
18239 if (obj3) {
18240 {
18241 arg4 = &temp4;
18242 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18243 }
18244 }
18245 if (obj4) {
18246 {
18247 arg5 = static_cast<long >(SWIG_As_long(obj4));
18248 if (SWIG_arg_fail(5)) SWIG_fail;
18249 }
18250 }
18251 if (obj5) {
18252 {
18253 arg6 = wxString_in_helper(obj5);
18254 if (arg6 == NULL) SWIG_fail;
18255 temp6 = true;
18256 }
18257 }
18258 {
18259 if (!wxPyCheckForApp()) SWIG_fail;
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18267 {
18268 if (temp6)
18269 delete arg6;
18270 }
18271 return resultobj;
18272 fail:
18273 {
18274 if (temp6)
18275 delete arg6;
18276 }
18277 return NULL;
18278}
18279
18280
18281static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj = NULL;
18283 wxChoicebook *result;
18284 char *kwnames[] = {
18285 NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18289 {
18290 if (!wxPyCheckForApp()) SWIG_fail;
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 result = (wxChoicebook *)new wxChoicebook();
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18298 return resultobj;
18299 fail:
18300 return NULL;
18301}
18302
18303
18304static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18305 PyObject *resultobj = NULL;
18306 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18307 wxWindow *arg2 = (wxWindow *) 0 ;
18308 int arg3 ;
18309 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18310 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18311 wxSize const &arg5_defvalue = wxDefaultSize ;
18312 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18313 long arg6 = (long) 0 ;
18314 wxString const &arg7_defvalue = wxPyEmptyString ;
18315 wxString *arg7 = (wxString *) &arg7_defvalue ;
18316 bool result;
18317 wxPoint temp4 ;
18318 wxSize temp5 ;
18319 bool temp7 = false ;
18320 PyObject * obj0 = 0 ;
18321 PyObject * obj1 = 0 ;
18322 PyObject * obj2 = 0 ;
18323 PyObject * obj3 = 0 ;
18324 PyObject * obj4 = 0 ;
18325 PyObject * obj5 = 0 ;
18326 PyObject * obj6 = 0 ;
18327 char *kwnames[] = {
18328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail;
18334 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18335 if (SWIG_arg_fail(2)) SWIG_fail;
18336 {
18337 arg3 = static_cast<int >(SWIG_As_int(obj2));
18338 if (SWIG_arg_fail(3)) SWIG_fail;
18339 }
18340 if (obj3) {
18341 {
18342 arg4 = &temp4;
18343 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18344 }
18345 }
18346 if (obj4) {
18347 {
18348 arg5 = &temp5;
18349 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18350 }
18351 }
18352 if (obj5) {
18353 {
18354 arg6 = static_cast<long >(SWIG_As_long(obj5));
18355 if (SWIG_arg_fail(6)) SWIG_fail;
18356 }
18357 }
18358 if (obj6) {
18359 {
18360 arg7 = wxString_in_helper(obj6);
18361 if (arg7 == NULL) SWIG_fail;
18362 temp7 = true;
18363 }
18364 }
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 {
18373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18374 }
18375 {
18376 if (temp7)
18377 delete arg7;
18378 }
18379 return resultobj;
18380 fail:
18381 {
18382 if (temp7)
18383 delete arg7;
18384 }
18385 return NULL;
18386}
18387
18388
18389static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj = NULL;
18391 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18392 wxChoice *result;
18393 PyObject * obj0 = 0 ;
18394 char *kwnames[] = {
18395 (char *) "self", NULL
18396 };
18397
18398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail;
18401 {
18402 PyThreadState* __tstate = wxPyBeginAllowThreads();
18403 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18404
18405 wxPyEndAllowThreads(__tstate);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 }
18408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18409 return resultobj;
18410 fail:
18411 return NULL;
18412}
18413
18414
18415static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18416 PyObject *resultobj = NULL;
18417 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18418 bool result;
18419 PyObject * obj0 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18426 if (SWIG_arg_fail(1)) SWIG_fail;
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (bool)(arg1)->DeleteAllPages();
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 {
18435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18436 }
18437 return resultobj;
18438 fail:
18439 return NULL;
18440}
18441
18442
18443static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18444 PyObject *obj;
18445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18446 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18447 Py_INCREF(obj);
18448 return Py_BuildValue((char *)"");
18449}
18450static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj = NULL;
18452 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18453 int arg2 = (int) 0 ;
18454 int arg3 = (int) -1 ;
18455 int arg4 = (int) -1 ;
18456 wxChoicebookEvent *result;
18457 PyObject * obj0 = 0 ;
18458 PyObject * obj1 = 0 ;
18459 PyObject * obj2 = 0 ;
18460 PyObject * obj3 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18466 if (obj0) {
18467 {
18468 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18469 if (SWIG_arg_fail(1)) SWIG_fail;
18470 }
18471 }
18472 if (obj1) {
18473 {
18474 arg2 = static_cast<int >(SWIG_As_int(obj1));
18475 if (SWIG_arg_fail(2)) SWIG_fail;
18476 }
18477 }
18478 if (obj2) {
18479 {
18480 arg3 = static_cast<int >(SWIG_As_int(obj2));
18481 if (SWIG_arg_fail(3)) SWIG_fail;
18482 }
18483 }
18484 if (obj3) {
18485 {
18486 arg4 = static_cast<int >(SWIG_As_int(obj3));
18487 if (SWIG_arg_fail(4)) SWIG_fail;
18488 }
18489 }
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18498 return resultobj;
18499 fail:
18500 return NULL;
18501}
18502
18503
18504static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18505 PyObject *obj;
18506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18507 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18508 Py_INCREF(obj);
18509 return Py_BuildValue((char *)"");
18510}
18511static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj = NULL;
18513 wxWindow *arg1 = (wxWindow *) 0 ;
18514 int arg2 ;
18515 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18516 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18517 wxSize const &arg4_defvalue = wxDefaultSize ;
18518 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18519 long arg5 = (long) wxBK_DEFAULT ;
18520 wxString const &arg6_defvalue = wxPyEmptyString ;
18521 wxString *arg6 = (wxString *) &arg6_defvalue ;
18522 wxTreebook *result;
18523 wxPoint temp3 ;
18524 wxSize temp4 ;
18525 bool temp6 = false ;
18526 PyObject * obj0 = 0 ;
18527 PyObject * obj1 = 0 ;
18528 PyObject * obj2 = 0 ;
18529 PyObject * obj3 = 0 ;
18530 PyObject * obj4 = 0 ;
18531 PyObject * obj5 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail;
18539 {
18540 arg2 = static_cast<int >(SWIG_As_int(obj1));
18541 if (SWIG_arg_fail(2)) SWIG_fail;
18542 }
18543 if (obj2) {
18544 {
18545 arg3 = &temp3;
18546 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18547 }
18548 }
18549 if (obj3) {
18550 {
18551 arg4 = &temp4;
18552 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18553 }
18554 }
18555 if (obj4) {
18556 {
18557 arg5 = static_cast<long >(SWIG_As_long(obj4));
18558 if (SWIG_arg_fail(5)) SWIG_fail;
18559 }
18560 }
18561 if (obj5) {
18562 {
18563 arg6 = wxString_in_helper(obj5);
18564 if (arg6 == NULL) SWIG_fail;
18565 temp6 = true;
18566 }
18567 }
18568 {
18569 if (!wxPyCheckForApp()) SWIG_fail;
18570 PyThreadState* __tstate = wxPyBeginAllowThreads();
18571 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18572
18573 wxPyEndAllowThreads(__tstate);
18574 if (PyErr_Occurred()) SWIG_fail;
18575 }
18576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18577 {
18578 if (temp6)
18579 delete arg6;
18580 }
18581 return resultobj;
18582 fail:
18583 {
18584 if (temp6)
18585 delete arg6;
18586 }
18587 return NULL;
18588}
18589
18590
18591static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
18592 PyObject *resultobj = NULL;
18593 wxTreebook *result;
18594 char *kwnames[] = {
18595 NULL
18596 };
18597
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
18599 {
18600 if (!wxPyCheckForApp()) SWIG_fail;
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (wxTreebook *)new wxTreebook();
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18608 return resultobj;
18609 fail:
18610 return NULL;
18611}
18612
18613
18614static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj = NULL;
18616 wxTreebook *arg1 = (wxTreebook *) 0 ;
18617 wxWindow *arg2 = (wxWindow *) 0 ;
18618 int arg3 ;
18619 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18620 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18621 wxSize const &arg5_defvalue = wxDefaultSize ;
18622 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18623 long arg6 = (long) wxBK_DEFAULT ;
18624 wxString const &arg7_defvalue = wxPyEmptyString ;
18625 wxString *arg7 = (wxString *) &arg7_defvalue ;
18626 bool result;
18627 wxPoint temp4 ;
18628 wxSize temp5 ;
18629 bool temp7 = false ;
18630 PyObject * obj0 = 0 ;
18631 PyObject * obj1 = 0 ;
18632 PyObject * obj2 = 0 ;
18633 PyObject * obj3 = 0 ;
18634 PyObject * obj4 = 0 ;
18635 PyObject * obj5 = 0 ;
18636 PyObject * obj6 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail;
18644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18645 if (SWIG_arg_fail(2)) SWIG_fail;
18646 {
18647 arg3 = static_cast<int >(SWIG_As_int(obj2));
18648 if (SWIG_arg_fail(3)) SWIG_fail;
18649 }
18650 if (obj3) {
18651 {
18652 arg4 = &temp4;
18653 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18654 }
18655 }
18656 if (obj4) {
18657 {
18658 arg5 = &temp5;
18659 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18660 }
18661 }
18662 if (obj5) {
18663 {
18664 arg6 = static_cast<long >(SWIG_As_long(obj5));
18665 if (SWIG_arg_fail(6)) SWIG_fail;
18666 }
18667 }
18668 if (obj6) {
18669 {
18670 arg7 = wxString_in_helper(obj6);
18671 if (arg7 == NULL) SWIG_fail;
18672 temp7 = true;
18673 }
18674 }
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
18682 {
18683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18684 }
18685 {
18686 if (temp7)
18687 delete arg7;
18688 }
18689 return resultobj;
18690 fail:
18691 {
18692 if (temp7)
18693 delete arg7;
18694 }
18695 return NULL;
18696}
18697
18698
18699static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj = NULL;
18701 wxTreebook *arg1 = (wxTreebook *) 0 ;
18702 size_t arg2 ;
18703 wxWindow *arg3 = (wxWindow *) 0 ;
18704 wxString *arg4 = 0 ;
18705 bool arg5 = (bool) false ;
18706 int arg6 = (int) wxNOT_FOUND ;
18707 bool result;
18708 bool temp4 = false ;
18709 PyObject * obj0 = 0 ;
18710 PyObject * obj1 = 0 ;
18711 PyObject * obj2 = 0 ;
18712 PyObject * obj3 = 0 ;
18713 PyObject * obj4 = 0 ;
18714 PyObject * obj5 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18721 if (SWIG_arg_fail(1)) SWIG_fail;
18722 {
18723 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18724 if (SWIG_arg_fail(2)) SWIG_fail;
18725 }
18726 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18727 if (SWIG_arg_fail(3)) SWIG_fail;
18728 {
18729 arg4 = wxString_in_helper(obj3);
18730 if (arg4 == NULL) SWIG_fail;
18731 temp4 = true;
18732 }
18733 if (obj4) {
18734 {
18735 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18736 if (SWIG_arg_fail(5)) SWIG_fail;
18737 }
18738 }
18739 if (obj5) {
18740 {
18741 arg6 = static_cast<int >(SWIG_As_int(obj5));
18742 if (SWIG_arg_fail(6)) SWIG_fail;
18743 }
18744 }
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 {
18753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18754 }
18755 {
18756 if (temp4)
18757 delete arg4;
18758 }
18759 return resultobj;
18760 fail:
18761 {
18762 if (temp4)
18763 delete arg4;
18764 }
18765 return NULL;
18766}
18767
18768
18769static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj = NULL;
18771 wxTreebook *arg1 = (wxTreebook *) 0 ;
18772 size_t arg2 ;
18773 wxWindow *arg3 = (wxWindow *) 0 ;
18774 wxString *arg4 = 0 ;
18775 bool arg5 = (bool) false ;
18776 int arg6 = (int) wxNOT_FOUND ;
18777 bool result;
18778 bool temp4 = false ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 PyObject * obj2 = 0 ;
18782 PyObject * obj3 = 0 ;
18783 PyObject * obj4 = 0 ;
18784 PyObject * obj5 = 0 ;
18785 char *kwnames[] = {
18786 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18787 };
18788
18789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail;
18792 {
18793 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18794 if (SWIG_arg_fail(2)) SWIG_fail;
18795 }
18796 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18797 if (SWIG_arg_fail(3)) SWIG_fail;
18798 {
18799 arg4 = wxString_in_helper(obj3);
18800 if (arg4 == NULL) SWIG_fail;
18801 temp4 = true;
18802 }
18803 if (obj4) {
18804 {
18805 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18806 if (SWIG_arg_fail(5)) SWIG_fail;
18807 }
18808 }
18809 if (obj5) {
18810 {
18811 arg6 = static_cast<int >(SWIG_As_int(obj5));
18812 if (SWIG_arg_fail(6)) SWIG_fail;
18813 }
18814 }
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 18817 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
7e08d4ef
RD
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 {
18823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18824 }
18825 {
18826 if (temp4)
18827 delete arg4;
18828 }
18829 return resultobj;
18830 fail:
18831 {
18832 if (temp4)
18833 delete arg4;
18834 }
18835 return NULL;
18836}
18837
18838
18839static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18840 PyObject *resultobj = NULL;
7e08d4ef
RD
18841 wxTreebook *arg1 = (wxTreebook *) 0 ;
18842 wxWindow *arg2 = (wxWindow *) 0 ;
18843 wxString *arg3 = 0 ;
18844 bool arg4 = (bool) false ;
18845 int arg5 = (int) wxNOT_FOUND ;
d55e5bfc 18846 bool result;
7e08d4ef 18847 bool temp3 = false ;
d55e5bfc 18848 PyObject * obj0 = 0 ;
7e08d4ef
RD
18849 PyObject * obj1 = 0 ;
18850 PyObject * obj2 = 0 ;
18851 PyObject * obj3 = 0 ;
18852 PyObject * obj4 = 0 ;
d55e5bfc 18853 char *kwnames[] = {
7e08d4ef 18854 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
d55e5bfc
RD
18855 };
18856
7e08d4ef
RD
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 18859 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef
RD
18860 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18861 if (SWIG_arg_fail(2)) SWIG_fail;
18862 {
18863 arg3 = wxString_in_helper(obj2);
18864 if (arg3 == NULL) SWIG_fail;
18865 temp3 = true;
18866 }
18867 if (obj3) {
18868 {
18869 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18870 if (SWIG_arg_fail(4)) SWIG_fail;
18871 }
18872 }
18873 if (obj4) {
18874 {
18875 arg5 = static_cast<int >(SWIG_As_int(obj4));
18876 if (SWIG_arg_fail(5)) SWIG_fail;
18877 }
18878 }
d55e5bfc
RD
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 18881 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
d55e5bfc
RD
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 {
18887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18888 }
7e08d4ef
RD
18889 {
18890 if (temp3)
18891 delete arg3;
18892 }
d55e5bfc
RD
18893 return resultobj;
18894 fail:
7e08d4ef
RD
18895 {
18896 if (temp3)
18897 delete arg3;
18898 }
d55e5bfc
RD
18899 return NULL;
18900}
18901
18902
7e08d4ef 18903static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18904 PyObject *resultobj = NULL;
7e08d4ef
RD
18905 wxTreebook *arg1 = (wxTreebook *) 0 ;
18906 wxWindow *arg2 = (wxWindow *) 0 ;
18907 wxString *arg3 = 0 ;
18908 bool arg4 = (bool) false ;
18909 int arg5 = (int) wxNOT_FOUND ;
18910 bool result;
18911 bool temp3 = false ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 PyObject * obj2 = 0 ;
18915 PyObject * obj3 = 0 ;
18916 PyObject * obj4 = 0 ;
18917 char *kwnames[] = {
18918 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18919 };
18920
18921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18923 if (SWIG_arg_fail(1)) SWIG_fail;
18924 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18925 if (SWIG_arg_fail(2)) SWIG_fail;
18926 {
18927 arg3 = wxString_in_helper(obj2);
18928 if (arg3 == NULL) SWIG_fail;
18929 temp3 = true;
18930 }
18931 if (obj3) {
18932 {
18933 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18934 if (SWIG_arg_fail(4)) SWIG_fail;
18935 }
18936 }
18937 if (obj4) {
18938 {
18939 arg5 = static_cast<int >(SWIG_As_int(obj4));
18940 if (SWIG_arg_fail(5)) SWIG_fail;
18941 }
18942 }
18943 {
18944 PyThreadState* __tstate = wxPyBeginAllowThreads();
18945 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
18946
18947 wxPyEndAllowThreads(__tstate);
18948 if (PyErr_Occurred()) SWIG_fail;
18949 }
18950 {
18951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18952 }
18953 {
18954 if (temp3)
18955 delete arg3;
18956 }
18957 return resultobj;
18958 fail:
18959 {
18960 if (temp3)
18961 delete arg3;
18962 }
18963 return NULL;
18964}
18965
18966
18967static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj = NULL;
18969 wxTreebook *arg1 = (wxTreebook *) 0 ;
18970 size_t arg2 ;
18971 bool result;
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
18974 char *kwnames[] = {
18975 (char *) "self",(char *) "pos", NULL
18976 };
18977
18978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail;
18979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18980 if (SWIG_arg_fail(1)) SWIG_fail;
18981 {
18982 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18983 if (SWIG_arg_fail(2)) SWIG_fail;
18984 }
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 result = (bool)(arg1)->DeletePage(arg2);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 {
18993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18994 }
18995 return resultobj;
18996 fail:
18997 return NULL;
18998}
18999
19000
19001static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj = NULL;
19003 wxTreebook *arg1 = (wxTreebook *) 0 ;
19004 size_t arg2 ;
19005 bool result;
19006 PyObject * obj0 = 0 ;
19007 PyObject * obj1 = 0 ;
19008 char *kwnames[] = {
19009 (char *) "self",(char *) "pos", NULL
19010 };
19011
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail;
19013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail;
19015 {
19016 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19017 if (SWIG_arg_fail(2)) SWIG_fail;
19018 }
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 {
19027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19028 }
19029 return resultobj;
19030 fail:
19031 return NULL;
19032}
19033
19034
19035static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj = NULL;
19037 wxTreebook *arg1 = (wxTreebook *) 0 ;
19038 size_t arg2 ;
19039 bool arg3 = (bool) true ;
19040 bool result;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 PyObject * obj2 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self",(char *) "pos",(char *) "expand", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail;
19049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19050 if (SWIG_arg_fail(1)) SWIG_fail;
19051 {
19052 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19053 if (SWIG_arg_fail(2)) SWIG_fail;
19054 }
19055 if (obj2) {
19056 {
19057 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19058 if (SWIG_arg_fail(3)) SWIG_fail;
19059 }
19060 }
19061 {
19062 PyThreadState* __tstate = wxPyBeginAllowThreads();
19063 result = (bool)(arg1)->ExpandNode(arg2,arg3);
19064
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 {
19069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19070 }
19071 return resultobj;
19072 fail:
19073 return NULL;
19074}
19075
19076
19077static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj = NULL;
19079 wxTreebook *arg1 = (wxTreebook *) 0 ;
19080 size_t arg2 ;
19081 bool result;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "pos", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail;
19089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19090 if (SWIG_arg_fail(1)) SWIG_fail;
19091 {
19092 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19093 if (SWIG_arg_fail(2)) SWIG_fail;
19094 }
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 result = (bool)(arg1)->CollapseNode(arg2);
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 {
19103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19104 }
19105 return resultobj;
19106 fail:
19107 return NULL;
19108}
19109
19110
19111static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj = NULL;
19113 wxTreebook *arg1 = (wxTreebook *) 0 ;
19114 size_t arg2 ;
19115 int result;
19116 PyObject * obj0 = 0 ;
19117 PyObject * obj1 = 0 ;
19118 char *kwnames[] = {
19119 (char *) "self",(char *) "pos", NULL
19120 };
19121
19122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail;
19123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19124 if (SWIG_arg_fail(1)) SWIG_fail;
19125 {
19126 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19127 if (SWIG_arg_fail(2)) SWIG_fail;
19128 }
19129 {
19130 PyThreadState* __tstate = wxPyBeginAllowThreads();
19131 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
19132
19133 wxPyEndAllowThreads(__tstate);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 {
19137 resultobj = SWIG_From_int(static_cast<int >(result));
19138 }
19139 return resultobj;
19140 fail:
19141 return NULL;
19142}
19143
19144
19145static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj = NULL;
19147 wxTreebook *arg1 = (wxTreebook *) 0 ;
19148 wxTreeCtrl *result;
44bf767a
RD
19149 PyObject * obj0 = 0 ;
19150 char *kwnames[] = {
19151 (char *) "self", NULL
19152 };
19153
7e08d4ef
RD
19154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
19155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 19156 if (SWIG_arg_fail(1)) SWIG_fail;
44bf767a
RD
19157 {
19158 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19159 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
44bf767a
RD
19160
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
7e08d4ef 19164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
44bf767a
RD
19165 return resultobj;
19166 fail:
19167 return NULL;
19168}
19169
19170
7e08d4ef 19171static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19172 PyObject *obj;
19173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19174 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
d55e5bfc
RD
19175 Py_INCREF(obj);
19176 return Py_BuildValue((char *)"");
19177}
7e08d4ef 19178static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19179 PyObject *resultobj = NULL;
d55e5bfc
RD
19180 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19181 int arg2 = (int) 0 ;
7e08d4ef
RD
19182 int arg3 = (int) wxNOT_FOUND ;
19183 int arg4 = (int) wxNOT_FOUND ;
19184 wxTreebookEvent *result;
d55e5bfc
RD
19185 PyObject * obj0 = 0 ;
19186 PyObject * obj1 = 0 ;
19187 PyObject * obj2 = 0 ;
19188 PyObject * obj3 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19191 };
19192
7e08d4ef 19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 19194 if (obj0) {
36ed4f51 19195 {
32fe5131 19196 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
19197 if (SWIG_arg_fail(1)) SWIG_fail;
19198 }
d55e5bfc
RD
19199 }
19200 if (obj1) {
36ed4f51 19201 {
32fe5131 19202 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19203 if (SWIG_arg_fail(2)) SWIG_fail;
19204 }
d55e5bfc
RD
19205 }
19206 if (obj2) {
36ed4f51 19207 {
32fe5131 19208 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19209 if (SWIG_arg_fail(3)) SWIG_fail;
19210 }
d55e5bfc
RD
19211 }
19212 if (obj3) {
36ed4f51 19213 {
32fe5131 19214 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19215 if (SWIG_arg_fail(4)) SWIG_fail;
19216 }
d55e5bfc
RD
19217 }
19218 {
19219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19220 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
19221
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
7e08d4ef 19225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1);
d55e5bfc
RD
19226 return resultobj;
19227 fail:
19228 return NULL;
19229}
19230
19231
7e08d4ef 19232static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19233 PyObject *obj;
19234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19235 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj);
d55e5bfc
RD
19236 Py_INCREF(obj);
19237 return Py_BuildValue((char *)"");
19238}
7e08d4ef 19239static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19240 PyObject *resultobj = NULL;
b411df4a
RD
19241 wxWindow *arg1 = (wxWindow *) 0 ;
19242 int arg2 ;
19243 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19244 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19245 wxSize const &arg4_defvalue = wxDefaultSize ;
19246 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7e08d4ef 19247 long arg5 = (long) wxBK_DEFAULT ;
b411df4a
RD
19248 wxString const &arg6_defvalue = wxPyEmptyString ;
19249 wxString *arg6 = (wxString *) &arg6_defvalue ;
7e08d4ef 19250 wxToolbook *result;
b411df4a
RD
19251 wxPoint temp3 ;
19252 wxSize temp4 ;
19253 bool temp6 = false ;
19254 PyObject * obj0 = 0 ;
19255 PyObject * obj1 = 0 ;
19256 PyObject * obj2 = 0 ;
19257 PyObject * obj3 = 0 ;
19258 PyObject * obj4 = 0 ;
19259 PyObject * obj5 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19262 };
19263
7e08d4ef 19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19266 if (SWIG_arg_fail(1)) SWIG_fail;
19267 {
32fe5131 19268 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19269 if (SWIG_arg_fail(2)) SWIG_fail;
19270 }
b411df4a
RD
19271 if (obj2) {
19272 {
19273 arg3 = &temp3;
19274 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19275 }
19276 }
19277 if (obj3) {
19278 {
19279 arg4 = &temp4;
19280 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19281 }
19282 }
19283 if (obj4) {
36ed4f51 19284 {
32fe5131 19285 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
19286 if (SWIG_arg_fail(5)) SWIG_fail;
19287 }
b411df4a
RD
19288 }
19289 if (obj5) {
19290 {
19291 arg6 = wxString_in_helper(obj5);
19292 if (arg6 == NULL) SWIG_fail;
19293 temp6 = true;
19294 }
19295 }
19296 {
b411df4a 19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19298 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
b411df4a
RD
19299
19300 wxPyEndAllowThreads(__tstate);
19301 if (PyErr_Occurred()) SWIG_fail;
19302 }
7e08d4ef 19303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
b411df4a
RD
19304 {
19305 if (temp6)
19306 delete arg6;
19307 }
19308 return resultobj;
19309 fail:
19310 {
19311 if (temp6)
19312 delete arg6;
19313 }
19314 return NULL;
19315}
19316
19317
7e08d4ef 19318static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19319 PyObject *resultobj = NULL;
7e08d4ef 19320 wxToolbook *result;
b411df4a
RD
19321 char *kwnames[] = {
19322 NULL
19323 };
19324
7e08d4ef 19325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail;
b411df4a 19326 {
b411df4a 19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19328 result = (wxToolbook *)new wxToolbook();
b411df4a
RD
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
7e08d4ef 19333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
b411df4a
RD
19334 return resultobj;
19335 fail:
19336 return NULL;
19337}
19338
19339
7e08d4ef 19340static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19341 PyObject *resultobj = NULL;
7e08d4ef 19342 wxToolbook *arg1 = (wxToolbook *) 0 ;
b411df4a
RD
19343 wxWindow *arg2 = (wxWindow *) 0 ;
19344 int arg3 ;
19345 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19346 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19347 wxSize const &arg5_defvalue = wxDefaultSize ;
19348 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19349 long arg6 = (long) 0 ;
7e08d4ef 19350 wxString const &arg7_defvalue = wxEmptyString ;
b411df4a
RD
19351 wxString *arg7 = (wxString *) &arg7_defvalue ;
19352 bool result;
19353 wxPoint temp4 ;
19354 wxSize temp5 ;
19355 bool temp7 = false ;
19356 PyObject * obj0 = 0 ;
19357 PyObject * obj1 = 0 ;
19358 PyObject * obj2 = 0 ;
19359 PyObject * obj3 = 0 ;
19360 PyObject * obj4 = 0 ;
19361 PyObject * obj5 = 0 ;
19362 PyObject * obj6 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19365 };
19366
7e08d4ef
RD
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
19369 if (SWIG_arg_fail(1)) SWIG_fail;
19370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19371 if (SWIG_arg_fail(2)) SWIG_fail;
19372 {
32fe5131 19373 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19374 if (SWIG_arg_fail(3)) SWIG_fail;
19375 }
b411df4a
RD
19376 if (obj3) {
19377 {
19378 arg4 = &temp4;
19379 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19380 }
19381 }
19382 if (obj4) {
19383 {
19384 arg5 = &temp5;
19385 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19386 }
19387 }
19388 if (obj5) {
36ed4f51 19389 {
32fe5131 19390 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
19391 if (SWIG_arg_fail(6)) SWIG_fail;
19392 }
b411df4a
RD
19393 }
19394 if (obj6) {
19395 {
19396 arg7 = wxString_in_helper(obj6);
19397 if (arg7 == NULL) SWIG_fail;
19398 temp7 = true;
19399 }
19400 }
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 {
19409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19410 }
19411 {
19412 if (temp7)
19413 delete arg7;
19414 }
19415 return resultobj;
19416 fail:
19417 {
19418 if (temp7)
19419 delete arg7;
19420 }
19421 return NULL;
19422}
19423
19424
7e08d4ef 19425static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19426 PyObject *resultobj = NULL;
7e08d4ef
RD
19427 wxToolbook *arg1 = (wxToolbook *) 0 ;
19428 wxToolBarBase *result;
b411df4a
RD
19429 PyObject * obj0 = 0 ;
19430 char *kwnames[] = {
19431 (char *) "self", NULL
19432 };
19433
7e08d4ef
RD
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
19435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 19436 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19439 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
b411df4a
RD
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 {
7e08d4ef 19445 resultobj = wxPyMake_wxObject(result, (bool)0);
7993762b 19446 }
7993762b
RD
19447 return resultobj;
19448 fail:
19449 return NULL;
19450}
19451
19452
7e08d4ef 19453static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19454 PyObject *resultobj = NULL;
7e08d4ef 19455 wxToolbook *arg1 = (wxToolbook *) 0 ;
b411df4a
RD
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
7e08d4ef
RD
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
19462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 19463 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19466 (arg1)->Realize();
b411df4a
RD
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
7e08d4ef 19471 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
19472 return resultobj;
19473 fail:
19474 return NULL;
19475}
19476
19477
7e08d4ef 19478static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
b411df4a
RD
19479 PyObject *obj;
19480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19481 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
b411df4a
RD
19482 Py_INCREF(obj);
19483 return Py_BuildValue((char *)"");
19484}
7e08d4ef 19485static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19486 PyObject *resultobj = NULL;
b411df4a
RD
19487 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19488 int arg2 = (int) 0 ;
7e08d4ef
RD
19489 int arg3 = (int) wxNOT_FOUND ;
19490 int arg4 = (int) wxNOT_FOUND ;
19491 wxToolbookEvent *result;
b411df4a
RD
19492 PyObject * obj0 = 0 ;
19493 PyObject * obj1 = 0 ;
19494 PyObject * obj2 = 0 ;
19495 PyObject * obj3 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19498 };
19499
7e08d4ef 19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
b411df4a 19501 if (obj0) {
36ed4f51 19502 {
32fe5131 19503 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
19504 if (SWIG_arg_fail(1)) SWIG_fail;
19505 }
b411df4a
RD
19506 }
19507 if (obj1) {
36ed4f51 19508 {
32fe5131 19509 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
19510 if (SWIG_arg_fail(2)) SWIG_fail;
19511 }
b411df4a
RD
19512 }
19513 if (obj2) {
36ed4f51 19514 {
32fe5131 19515 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
19516 if (SWIG_arg_fail(3)) SWIG_fail;
19517 }
b411df4a
RD
19518 }
19519 if (obj3) {
36ed4f51 19520 {
32fe5131 19521 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
19522 if (SWIG_arg_fail(4)) SWIG_fail;
19523 }
b411df4a
RD
19524 }
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19527 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
b411df4a
RD
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
7e08d4ef 19532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
b411df4a
RD
19533 return resultobj;
19534 fail:
19535 return NULL;
19536}
19537
19538
7e08d4ef 19539static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) {
b411df4a
RD
19540 PyObject *obj;
19541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19542 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj);
b411df4a
RD
19543 Py_INCREF(obj);
19544 return Py_BuildValue((char *)"");
19545}
c370783e 19546static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19547 PyObject *resultobj = NULL;
d55e5bfc
RD
19548 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19549 int result;
19550 PyObject * obj0 = 0 ;
19551 char *kwnames[] = {
19552 (char *) "self", NULL
19553 };
19554
19555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
19556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 result = (int)(arg1)->GetId();
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
36ed4f51 19565 {
32fe5131 19566 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 19567 }
d55e5bfc
RD
19568 return resultobj;
19569 fail:
19570 return NULL;
19571}
19572
19573
c370783e 19574static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19575 PyObject *resultobj = NULL;
d55e5bfc
RD
19576 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19577 wxControl *result;
19578 PyObject * obj0 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
19584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (wxControl *)(arg1)->GetControl();
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
412d302d 19594 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19595 }
19596 return resultobj;
19597 fail:
19598 return NULL;
19599}
19600
19601
c370783e 19602static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19603 PyObject *resultobj = NULL;
d55e5bfc
RD
19604 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19605 wxToolBarBase *result;
19606 PyObject * obj0 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
19612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (wxToolBarBase *)(arg1)->GetToolBar();
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
7e08d4ef 19622 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
19623 }
19624 return resultobj;
19625 fail:
19626 return NULL;
19627}
19628
19629
c370783e 19630static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19631 PyObject *resultobj = NULL;
d55e5bfc
RD
19632 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19633 int result;
19634 PyObject * obj0 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
19640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19641 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (int)(arg1)->IsButton();
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
36ed4f51 19649 {
32fe5131 19650 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 19651 }
d55e5bfc
RD
19652 return resultobj;
19653 fail:
19654 return NULL;
19655}
19656
19657
c370783e 19658static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19659 PyObject *resultobj = NULL;
d55e5bfc
RD
19660 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19661 int result;
19662 PyObject * obj0 = 0 ;
19663 char *kwnames[] = {
19664 (char *) "self", NULL
19665 };
19666
19667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
19668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (int)(arg1)->IsControl();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
36ed4f51 19677 {
32fe5131 19678 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 19679 }
d55e5bfc
RD
19680 return resultobj;
19681 fail:
19682 return NULL;
19683}
19684
19685
c370783e 19686static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19687 PyObject *resultobj = NULL;
d55e5bfc
RD
19688 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19689 int result;
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
19696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 result = (int)(arg1)->IsSeparator();
19701
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
36ed4f51 19705 {
32fe5131 19706 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 19707 }
d55e5bfc
RD
19708 return resultobj;
19709 fail:
19710 return NULL;
19711}
19712
19713
c370783e 19714static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19715 PyObject *resultobj = NULL;
d55e5bfc
RD
19716 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19717 int result;
19718 PyObject * obj0 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
19724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (int)(arg1)->GetStyle();
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
36ed4f51 19733 {
32fe5131 19734 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 19735 }
d55e5bfc
RD
19736 return resultobj;
19737 fail:
19738 return NULL;
19739}
19740
19741
c370783e 19742static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19743 PyObject *resultobj = NULL;
d55e5bfc 19744 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
36ed4f51 19745 wxItemKind result;
d55e5bfc
RD
19746 PyObject * obj0 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
36ed4f51
RD
19752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19753 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19756 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
36ed4f51 19761 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19762 return resultobj;
19763 fail:
19764 return NULL;
19765}
19766
19767
c370783e 19768static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19769 PyObject *resultobj = NULL;
d55e5bfc
RD
19770 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19771 bool result;
19772 PyObject * obj0 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
19778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (bool)(arg1)->IsEnabled();
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793}
19794
19795
c370783e 19796static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19797 PyObject *resultobj = NULL;
d55e5bfc
RD
19798 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19799 bool result;
19800 PyObject * obj0 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
19806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (bool)(arg1)->IsToggled();
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 {
19816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19817 }
19818 return resultobj;
19819 fail:
19820 return NULL;
19821}
19822
19823
c370783e 19824static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19825 PyObject *resultobj = NULL;
d55e5bfc
RD
19826 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19827 bool result;
19828 PyObject * obj0 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
19834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19835 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 result = (bool)(arg1)->CanBeToggled();
19839
19840 wxPyEndAllowThreads(__tstate);
19841 if (PyErr_Occurred()) SWIG_fail;
19842 }
19843 {
19844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19845 }
19846 return resultobj;
19847 fail:
19848 return NULL;
19849}
19850
19851
c370783e 19852static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19853 PyObject *resultobj = NULL;
d55e5bfc
RD
19854 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19855 wxBitmap *result;
19856 PyObject * obj0 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
19862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 {
19867 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
19868 result = (wxBitmap *) &_result_ref;
19869 }
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 {
19875 wxBitmap* resultptr = new wxBitmap(*result);
19876 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19877 }
19878 return resultobj;
19879 fail:
19880 return NULL;
19881}
19882
19883
c370783e 19884static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19885 PyObject *resultobj = NULL;
d55e5bfc
RD
19886 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19887 wxBitmap *result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
19894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 {
19899 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
19900 result = (wxBitmap *) &_result_ref;
19901 }
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 {
19907 wxBitmap* resultptr = new wxBitmap(*result);
19908 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19909 }
19910 return resultobj;
19911 fail:
19912 return NULL;
19913}
19914
19915
c370783e 19916static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19917 PyObject *resultobj = NULL;
d55e5bfc
RD
19918 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19919 wxBitmap result;
19920 PyObject * obj0 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
19926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19928 {
19929 PyThreadState* __tstate = wxPyBeginAllowThreads();
19930 result = (arg1)->GetBitmap();
19931
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 {
19936 wxBitmap * resultptr;
32fe5131 19937 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
19938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19939 }
19940 return resultobj;
19941 fail:
19942 return NULL;
19943}
19944
19945
c370783e 19946static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19947 PyObject *resultobj = NULL;
d55e5bfc
RD
19948 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19949 wxString result;
19950 PyObject * obj0 = 0 ;
19951 char *kwnames[] = {
19952 (char *) "self", NULL
19953 };
19954
19955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
19956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 result = (arg1)->GetLabel();
19961
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 {
19966#if wxUSE_UNICODE
19967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19968#else
19969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19970#endif
19971 }
19972 return resultobj;
19973 fail:
19974 return NULL;
19975}
19976
19977
c370783e 19978static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19979 PyObject *resultobj = NULL;
d55e5bfc
RD
19980 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19981 wxString result;
19982 PyObject * obj0 = 0 ;
19983 char *kwnames[] = {
19984 (char *) "self", NULL
19985 };
19986
19987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
19988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 result = (arg1)->GetShortHelp();
19993
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 {
19998#if wxUSE_UNICODE
19999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20000#else
20001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20002#endif
20003 }
20004 return resultobj;
20005 fail:
20006 return NULL;
20007}
20008
20009
c370783e 20010static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20011 PyObject *resultobj = NULL;
d55e5bfc
RD
20012 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20013 wxString result;
20014 PyObject * obj0 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
20020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = (arg1)->GetLongHelp();
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 {
20030#if wxUSE_UNICODE
20031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20032#else
20033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20034#endif
20035 }
20036 return resultobj;
20037 fail:
20038 return NULL;
20039}
20040
20041
c370783e 20042static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20043 PyObject *resultobj = NULL;
d55e5bfc
RD
20044 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20045 bool arg2 ;
20046 bool result;
20047 PyObject * obj0 = 0 ;
20048 PyObject * obj1 = 0 ;
20049 char *kwnames[] = {
20050 (char *) "self",(char *) "enable", NULL
20051 };
20052
20053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail;
20056 {
32fe5131 20057 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
20058 if (SWIG_arg_fail(2)) SWIG_fail;
20059 }
d55e5bfc
RD
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (bool)(arg1)->Enable(arg2);
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 {
20068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20069 }
20070 return resultobj;
20071 fail:
20072 return NULL;
20073}
20074
20075
c370783e 20076static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20077 PyObject *resultobj = NULL;
d55e5bfc
RD
20078 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20079 PyObject * obj0 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
36ed4f51
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 (arg1)->Toggle();
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 Py_INCREF(Py_None); resultobj = Py_None;
20095 return resultobj;
20096 fail:
20097 return NULL;
20098}
20099
20100
c370783e 20101static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20102 PyObject *resultobj = NULL;
d55e5bfc
RD
20103 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20104 bool arg2 ;
20105 bool result;
20106 PyObject * obj0 = 0 ;
20107 PyObject * obj1 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self",(char *) "toggle", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20114 if (SWIG_arg_fail(1)) SWIG_fail;
20115 {
32fe5131 20116 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
20117 if (SWIG_arg_fail(2)) SWIG_fail;
20118 }
d55e5bfc
RD
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 result = (bool)(arg1)->SetToggle(arg2);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 {
20127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20128 }
20129 return resultobj;
20130 fail:
20131 return NULL;
20132}
20133
20134
c370783e 20135static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20136 PyObject *resultobj = NULL;
d55e5bfc
RD
20137 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20138 wxString *arg2 = 0 ;
20139 bool result;
b411df4a 20140 bool temp2 = false ;
d55e5bfc
RD
20141 PyObject * obj0 = 0 ;
20142 PyObject * obj1 = 0 ;
20143 char *kwnames[] = {
20144 (char *) "self",(char *) "help", NULL
20145 };
20146
20147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20150 {
20151 arg2 = wxString_in_helper(obj1);
20152 if (arg2 == NULL) SWIG_fail;
b411df4a 20153 temp2 = true;
d55e5bfc
RD
20154 }
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 {
20163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20164 }
20165 {
20166 if (temp2)
20167 delete arg2;
20168 }
20169 return resultobj;
20170 fail:
20171 {
20172 if (temp2)
20173 delete arg2;
20174 }
20175 return NULL;
20176}
20177
20178
c370783e 20179static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20180 PyObject *resultobj = NULL;
d55e5bfc
RD
20181 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20182 wxString *arg2 = 0 ;
20183 bool result;
b411df4a 20184 bool temp2 = false ;
d55e5bfc
RD
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "help", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20194 {
20195 arg2 = wxString_in_helper(obj1);
20196 if (arg2 == NULL) SWIG_fail;
b411df4a 20197 temp2 = true;
d55e5bfc
RD
20198 }
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 {
20207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20208 }
20209 {
20210 if (temp2)
20211 delete arg2;
20212 }
20213 return resultobj;
20214 fail:
20215 {
20216 if (temp2)
20217 delete arg2;
20218 }
20219 return NULL;
20220}
20221
20222
c370783e 20223static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20224 PyObject *resultobj = NULL;
d55e5bfc
RD
20225 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20226 wxBitmap *arg2 = 0 ;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229 char *kwnames[] = {
20230 (char *) "self",(char *) "bmp", NULL
20231 };
20232
20233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20235 if (SWIG_arg_fail(1)) SWIG_fail;
20236 {
20237 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20238 if (SWIG_arg_fail(2)) SWIG_fail;
20239 if (arg2 == NULL) {
20240 SWIG_null_ref("wxBitmap");
20241 }
20242 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20243 }
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 Py_INCREF(Py_None); resultobj = Py_None;
20252 return resultobj;
20253 fail:
20254 return NULL;
20255}
20256
20257
c370783e 20258static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20259 PyObject *resultobj = NULL;
d55e5bfc
RD
20260 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20261 wxBitmap *arg2 = 0 ;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self",(char *) "bmp", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail;
20271 {
20272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20273 if (SWIG_arg_fail(2)) SWIG_fail;
20274 if (arg2 == NULL) {
20275 SWIG_null_ref("wxBitmap");
20276 }
20277 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20278 }
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
20282
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 Py_INCREF(Py_None); resultobj = Py_None;
20287 return resultobj;
20288 fail:
20289 return NULL;
20290}
20291
20292
c370783e 20293static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20294 PyObject *resultobj = NULL;
d55e5bfc
RD
20295 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20296 wxString *arg2 = 0 ;
b411df4a 20297 bool temp2 = false ;
d55e5bfc
RD
20298 PyObject * obj0 = 0 ;
20299 PyObject * obj1 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self",(char *) "label", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20307 {
20308 arg2 = wxString_in_helper(obj1);
20309 if (arg2 == NULL) SWIG_fail;
b411df4a 20310 temp2 = true;
d55e5bfc
RD
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 (arg1)->SetLabel((wxString const &)*arg2);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 Py_INCREF(Py_None); resultobj = Py_None;
20320 {
20321 if (temp2)
20322 delete arg2;
20323 }
20324 return resultobj;
20325 fail:
20326 {
20327 if (temp2)
20328 delete arg2;
20329 }
20330 return NULL;
20331}
20332
20333
c370783e 20334static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20335 PyObject *resultobj = NULL;
d55e5bfc
RD
20336 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
36ed4f51
RD
20343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 (arg1)->Detach();
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 Py_INCREF(Py_None); resultobj = Py_None;
20353 return resultobj;
20354 fail:
20355 return NULL;
20356}
20357
20358
c370783e 20359static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20360 PyObject *resultobj = NULL;
d55e5bfc
RD
20361 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20362 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "tbar", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail;
20372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20373 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 (arg1)->Attach(arg2);
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 Py_INCREF(Py_None); resultobj = Py_None;
20382 return resultobj;
20383 fail:
20384 return NULL;
20385}
20386
20387
c370783e 20388static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20389 PyObject *resultobj = NULL;
d55e5bfc
RD
20390 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20391 PyObject *result;
20392 PyObject * obj0 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
36ed4f51
RD
20398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 resultobj = result;
20408 return resultobj;
20409 fail:
20410 return NULL;
20411}
20412
20413
c370783e 20414static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20415 PyObject *resultobj = NULL;
d55e5bfc
RD
20416 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20417 PyObject *arg2 = (PyObject *) 0 ;
20418 PyObject * obj0 = 0 ;
20419 PyObject * obj1 = 0 ;
20420 char *kwnames[] = {
20421 (char *) "self",(char *) "clientData", NULL
20422 };
20423
20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20427 arg2 = obj1;
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 wxToolBarToolBase_SetClientData(arg1,arg2);
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 Py_INCREF(Py_None); resultobj = Py_None;
20436 return resultobj;
20437 fail:
20438 return NULL;
20439}
20440
20441
c370783e 20442static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20443 PyObject *obj;
20444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20445 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
20446 Py_INCREF(obj);
20447 return Py_BuildValue((char *)"");
20448}
c370783e 20449static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20450 PyObject *resultobj = NULL;
d55e5bfc
RD
20451 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20452 int arg2 ;
20453 wxString *arg3 = 0 ;
20454 wxBitmap *arg4 = 0 ;
20455 wxBitmap const &arg5_defvalue = wxNullBitmap ;
20456 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
36ed4f51 20457 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
20458 wxString const &arg7_defvalue = wxPyEmptyString ;
20459 wxString *arg7 = (wxString *) &arg7_defvalue ;
20460 wxString const &arg8_defvalue = wxPyEmptyString ;
20461 wxString *arg8 = (wxString *) &arg8_defvalue ;
20462 PyObject *arg9 = (PyObject *) NULL ;
20463 wxToolBarToolBase *result;
b411df4a
RD
20464 bool temp3 = false ;
20465 bool temp7 = false ;
20466 bool temp8 = false ;
d55e5bfc
RD
20467 PyObject * obj0 = 0 ;
20468 PyObject * obj1 = 0 ;
20469 PyObject * obj2 = 0 ;
20470 PyObject * obj3 = 0 ;
20471 PyObject * obj4 = 0 ;
20472 PyObject * obj5 = 0 ;
20473 PyObject * obj6 = 0 ;
20474 PyObject * obj7 = 0 ;
20475 PyObject * obj8 = 0 ;
20476 char *kwnames[] = {
20477 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20478 };
20479
20480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
20481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20482 if (SWIG_arg_fail(1)) SWIG_fail;
20483 {
32fe5131 20484 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20485 if (SWIG_arg_fail(2)) SWIG_fail;
20486 }
d55e5bfc
RD
20487 {
20488 arg3 = wxString_in_helper(obj2);
20489 if (arg3 == NULL) SWIG_fail;
b411df4a 20490 temp3 = true;
d55e5bfc 20491 }
36ed4f51
RD
20492 {
20493 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20494 if (SWIG_arg_fail(4)) SWIG_fail;
20495 if (arg4 == NULL) {
20496 SWIG_null_ref("wxBitmap");
20497 }
20498 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
20499 }
20500 if (obj4) {
36ed4f51
RD
20501 {
20502 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20503 if (SWIG_arg_fail(5)) SWIG_fail;
20504 if (arg5 == NULL) {
20505 SWIG_null_ref("wxBitmap");
20506 }
20507 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
20508 }
20509 }
20510 if (obj5) {
36ed4f51 20511 {
32fe5131 20512 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
36ed4f51
RD
20513 if (SWIG_arg_fail(6)) SWIG_fail;
20514 }
d55e5bfc
RD
20515 }
20516 if (obj6) {
20517 {
20518 arg7 = wxString_in_helper(obj6);
20519 if (arg7 == NULL) SWIG_fail;
b411df4a 20520 temp7 = true;
d55e5bfc
RD
20521 }
20522 }
20523 if (obj7) {
20524 {
20525 arg8 = wxString_in_helper(obj7);
20526 if (arg8 == NULL) SWIG_fail;
b411df4a 20527 temp8 = true;
d55e5bfc
RD
20528 }
20529 }
20530 if (obj8) {
20531 arg9 = obj8;
20532 }
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20535 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
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 {
7e08d4ef 20541 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20542 }
20543 {
20544 if (temp3)
20545 delete arg3;
20546 }
20547 {
20548 if (temp7)
20549 delete arg7;
20550 }
20551 {
20552 if (temp8)
20553 delete arg8;
20554 }
20555 return resultobj;
20556 fail:
20557 {
20558 if (temp3)
20559 delete arg3;
20560 }
20561 {
20562 if (temp7)
20563 delete arg7;
20564 }
20565 {
20566 if (temp8)
20567 delete arg8;
20568 }
20569 return NULL;
20570}
20571
20572
c370783e 20573static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20574 PyObject *resultobj = NULL;
d55e5bfc
RD
20575 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20576 size_t arg2 ;
20577 int arg3 ;
20578 wxString *arg4 = 0 ;
20579 wxBitmap *arg5 = 0 ;
20580 wxBitmap const &arg6_defvalue = wxNullBitmap ;
20581 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
36ed4f51 20582 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
20583 wxString const &arg8_defvalue = wxPyEmptyString ;
20584 wxString *arg8 = (wxString *) &arg8_defvalue ;
20585 wxString const &arg9_defvalue = wxPyEmptyString ;
20586 wxString *arg9 = (wxString *) &arg9_defvalue ;
20587 PyObject *arg10 = (PyObject *) NULL ;
20588 wxToolBarToolBase *result;
b411df4a
RD
20589 bool temp4 = false ;
20590 bool temp8 = false ;
20591 bool temp9 = false ;
d55e5bfc
RD
20592 PyObject * obj0 = 0 ;
20593 PyObject * obj1 = 0 ;
20594 PyObject * obj2 = 0 ;
20595 PyObject * obj3 = 0 ;
20596 PyObject * obj4 = 0 ;
20597 PyObject * obj5 = 0 ;
20598 PyObject * obj6 = 0 ;
20599 PyObject * obj7 = 0 ;
20600 PyObject * obj8 = 0 ;
20601 PyObject * obj9 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
20607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20608 if (SWIG_arg_fail(1)) SWIG_fail;
20609 {
32fe5131 20610 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
20611 if (SWIG_arg_fail(2)) SWIG_fail;
20612 }
20613 {
32fe5131 20614 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20615 if (SWIG_arg_fail(3)) SWIG_fail;
20616 }
d55e5bfc
RD
20617 {
20618 arg4 = wxString_in_helper(obj3);
20619 if (arg4 == NULL) SWIG_fail;
b411df4a 20620 temp4 = true;
d55e5bfc 20621 }
36ed4f51
RD
20622 {
20623 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20624 if (SWIG_arg_fail(5)) SWIG_fail;
20625 if (arg5 == NULL) {
20626 SWIG_null_ref("wxBitmap");
20627 }
20628 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
20629 }
20630 if (obj5) {
36ed4f51
RD
20631 {
20632 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20633 if (SWIG_arg_fail(6)) SWIG_fail;
20634 if (arg6 == NULL) {
20635 SWIG_null_ref("wxBitmap");
20636 }
20637 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
20638 }
20639 }
20640 if (obj6) {
36ed4f51 20641 {
32fe5131 20642 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
36ed4f51
RD
20643 if (SWIG_arg_fail(7)) SWIG_fail;
20644 }
d55e5bfc
RD
20645 }
20646 if (obj7) {
20647 {
20648 arg8 = wxString_in_helper(obj7);
20649 if (arg8 == NULL) SWIG_fail;
b411df4a 20650 temp8 = true;
d55e5bfc
RD
20651 }
20652 }
20653 if (obj8) {
20654 {
20655 arg9 = wxString_in_helper(obj8);
20656 if (arg9 == NULL) SWIG_fail;
b411df4a 20657 temp9 = true;
d55e5bfc
RD
20658 }
20659 }
20660 if (obj9) {
20661 arg10 = obj9;
20662 }
20663 {
20664 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20665 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
20666
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 {
7e08d4ef 20671 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20672 }
20673 {
20674 if (temp4)
20675 delete arg4;
20676 }
20677 {
20678 if (temp8)
20679 delete arg8;
20680 }
20681 {
20682 if (temp9)
20683 delete arg9;
20684 }
20685 return resultobj;
20686 fail:
20687 {
20688 if (temp4)
20689 delete arg4;
20690 }
20691 {
20692 if (temp8)
20693 delete arg8;
20694 }
20695 {
20696 if (temp9)
20697 delete arg9;
20698 }
20699 return NULL;
20700}
20701
20702
c370783e 20703static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20704 PyObject *resultobj = NULL;
d55e5bfc
RD
20705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20706 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
20707 wxToolBarToolBase *result;
20708 PyObject * obj0 = 0 ;
20709 PyObject * obj1 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self",(char *) "tool", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail;
20717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20718 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20719 {
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
20722
20723 wxPyEndAllowThreads(__tstate);
20724 if (PyErr_Occurred()) SWIG_fail;
20725 }
20726 {
7e08d4ef 20727 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20728 }
20729 return resultobj;
20730 fail:
20731 return NULL;
20732}
20733
20734
c370783e 20735static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20736 PyObject *resultobj = NULL;
d55e5bfc
RD
20737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20738 size_t arg2 ;
20739 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
20740 wxToolBarToolBase *result;
20741 PyObject * obj0 = 0 ;
20742 PyObject * obj1 = 0 ;
20743 PyObject * obj2 = 0 ;
20744 char *kwnames[] = {
20745 (char *) "self",(char *) "pos",(char *) "tool", NULL
20746 };
20747
20748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20750 if (SWIG_arg_fail(1)) SWIG_fail;
20751 {
32fe5131 20752 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
20753 if (SWIG_arg_fail(2)) SWIG_fail;
20754 }
20755 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20756 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
20760
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 {
7e08d4ef 20765 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20766 }
20767 return resultobj;
20768 fail:
20769 return NULL;
20770}
20771
20772
c370783e 20773static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20774 PyObject *resultobj = NULL;
d55e5bfc
RD
20775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20776 wxControl *arg2 = (wxControl *) 0 ;
20777 wxToolBarToolBase *result;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self",(char *) "control", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail;
20787 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20788 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 {
7e08d4ef 20797 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20798 }
20799 return resultobj;
20800 fail:
20801 return NULL;
20802}
20803
20804
c370783e 20805static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20806 PyObject *resultobj = NULL;
d55e5bfc
RD
20807 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20808 size_t arg2 ;
20809 wxControl *arg3 = (wxControl *) 0 ;
20810 wxToolBarToolBase *result;
20811 PyObject * obj0 = 0 ;
20812 PyObject * obj1 = 0 ;
20813 PyObject * obj2 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self",(char *) "pos",(char *) "control", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail;
20821 {
32fe5131 20822 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
20823 if (SWIG_arg_fail(2)) SWIG_fail;
20824 }
20825 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20826 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 {
7e08d4ef 20835 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20836 }
20837 return resultobj;
20838 fail:
20839 return NULL;
20840}
20841
20842
c370783e 20843static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20844 PyObject *resultobj = NULL;
d55e5bfc
RD
20845 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20846 int arg2 ;
20847 wxControl *result;
20848 PyObject * obj0 = 0 ;
20849 PyObject * obj1 = 0 ;
20850 char *kwnames[] = {
20851 (char *) "self",(char *) "id", NULL
20852 };
20853
20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20856 if (SWIG_arg_fail(1)) SWIG_fail;
20857 {
32fe5131 20858 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20859 if (SWIG_arg_fail(2)) SWIG_fail;
20860 }
d55e5bfc
RD
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 result = (wxControl *)(arg1)->FindControl(arg2);
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 {
412d302d 20869 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20870 }
20871 return resultobj;
20872 fail:
20873 return NULL;
20874}
20875
20876
c370783e 20877static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20878 PyObject *resultobj = NULL;
d55e5bfc
RD
20879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20880 wxToolBarToolBase *result;
20881 PyObject * obj0 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
20887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 {
7e08d4ef 20897 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20898 }
20899 return resultobj;
20900 fail:
20901 return NULL;
20902}
20903
20904
c370783e 20905static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20906 PyObject *resultobj = NULL;
d55e5bfc
RD
20907 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20908 size_t arg2 ;
20909 wxToolBarToolBase *result;
20910 PyObject * obj0 = 0 ;
20911 PyObject * obj1 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self",(char *) "pos", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20918 if (SWIG_arg_fail(1)) SWIG_fail;
20919 {
32fe5131 20920 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
20921 if (SWIG_arg_fail(2)) SWIG_fail;
20922 }
d55e5bfc
RD
20923 {
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
20926
20927 wxPyEndAllowThreads(__tstate);
20928 if (PyErr_Occurred()) SWIG_fail;
20929 }
20930 {
7e08d4ef 20931 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20932 }
20933 return resultobj;
20934 fail:
20935 return NULL;
20936}
20937
20938
c370783e 20939static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20940 PyObject *resultobj = NULL;
d55e5bfc
RD
20941 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20942 int arg2 ;
20943 wxToolBarToolBase *result;
20944 PyObject * obj0 = 0 ;
20945 PyObject * obj1 = 0 ;
20946 char *kwnames[] = {
20947 (char *) "self",(char *) "id", NULL
20948 };
20949
20950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20952 if (SWIG_arg_fail(1)) SWIG_fail;
20953 {
32fe5131 20954 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20955 if (SWIG_arg_fail(2)) SWIG_fail;
20956 }
d55e5bfc
RD
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 {
7e08d4ef 20965 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20966 }
20967 return resultobj;
20968 fail:
20969 return NULL;
20970}
20971
20972
c370783e 20973static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20974 PyObject *resultobj = NULL;
d55e5bfc
RD
20975 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20976 size_t arg2 ;
20977 bool result;
20978 PyObject * obj0 = 0 ;
20979 PyObject * obj1 = 0 ;
20980 char *kwnames[] = {
20981 (char *) "self",(char *) "pos", NULL
20982 };
20983
20984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail;
20987 {
32fe5131 20988 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
20989 if (SWIG_arg_fail(2)) SWIG_fail;
20990 }
d55e5bfc
RD
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (bool)(arg1)->DeleteToolByPos(arg2);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 {
20999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004}
21005
21006
c370783e 21007static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21008 PyObject *resultobj = NULL;
d55e5bfc
RD
21009 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21010 int arg2 ;
21011 bool result;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "id", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21020 if (SWIG_arg_fail(1)) SWIG_fail;
21021 {
32fe5131 21022 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21023 if (SWIG_arg_fail(2)) SWIG_fail;
21024 }
d55e5bfc
RD
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 result = (bool)(arg1)->DeleteTool(arg2);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 {
21033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21034 }
21035 return resultobj;
21036 fail:
21037 return NULL;
21038}
21039
21040
c370783e 21041static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21042 PyObject *resultobj = NULL;
d55e5bfc
RD
21043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21044 PyObject * obj0 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
36ed4f51
RD
21050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 (arg1)->ClearTools();
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 Py_INCREF(Py_None); resultobj = Py_None;
21060 return resultobj;
21061 fail:
21062 return NULL;
21063}
21064
21065
c370783e 21066static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21067 PyObject *resultobj = NULL;
d55e5bfc
RD
21068 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21069 bool result;
21070 PyObject * obj0 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
36ed4f51
RD
21076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21077 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 result = (bool)(arg1)->Realize();
21081
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 {
21086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21087 }
21088 return resultobj;
21089 fail:
21090 return NULL;
21091}
21092
21093
c370783e 21094static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21095 PyObject *resultobj = NULL;
d55e5bfc
RD
21096 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21097 int arg2 ;
21098 bool arg3 ;
21099 PyObject * obj0 = 0 ;
21100 PyObject * obj1 = 0 ;
21101 PyObject * obj2 = 0 ;
21102 char *kwnames[] = {
21103 (char *) "self",(char *) "id",(char *) "enable", NULL
21104 };
21105
21106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21108 if (SWIG_arg_fail(1)) SWIG_fail;
21109 {
32fe5131 21110 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21111 if (SWIG_arg_fail(2)) SWIG_fail;
21112 }
21113 {
32fe5131 21114 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
21115 if (SWIG_arg_fail(3)) SWIG_fail;
21116 }
d55e5bfc
RD
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 (arg1)->EnableTool(arg2,arg3);
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 Py_INCREF(Py_None); resultobj = Py_None;
21125 return resultobj;
21126 fail:
21127 return NULL;
21128}
21129
21130
c370783e 21131static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21132 PyObject *resultobj = NULL;
d55e5bfc
RD
21133 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21134 int arg2 ;
21135 bool arg3 ;
21136 PyObject * obj0 = 0 ;
21137 PyObject * obj1 = 0 ;
21138 PyObject * obj2 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self",(char *) "id",(char *) "toggle", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail;
21146 {
32fe5131 21147 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21148 if (SWIG_arg_fail(2)) SWIG_fail;
21149 }
21150 {
32fe5131 21151 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
21152 if (SWIG_arg_fail(3)) SWIG_fail;
21153 }
d55e5bfc
RD
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 (arg1)->ToggleTool(arg2,arg3);
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 Py_INCREF(Py_None); resultobj = Py_None;
21162 return resultobj;
21163 fail:
21164 return NULL;
21165}
21166
21167
c370783e 21168static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21169 PyObject *resultobj = NULL;
d55e5bfc
RD
21170 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21171 int arg2 ;
21172 bool arg3 ;
21173 PyObject * obj0 = 0 ;
21174 PyObject * obj1 = 0 ;
21175 PyObject * obj2 = 0 ;
21176 char *kwnames[] = {
21177 (char *) "self",(char *) "id",(char *) "toggle", NULL
21178 };
21179
21180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21182 if (SWIG_arg_fail(1)) SWIG_fail;
21183 {
32fe5131 21184 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21185 if (SWIG_arg_fail(2)) SWIG_fail;
21186 }
21187 {
32fe5131 21188 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
21189 if (SWIG_arg_fail(3)) SWIG_fail;
21190 }
d55e5bfc
RD
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 (arg1)->SetToggle(arg2,arg3);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 Py_INCREF(Py_None); resultobj = Py_None;
21199 return resultobj;
21200 fail:
21201 return NULL;
21202}
21203
21204
c370783e 21205static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21206 PyObject *resultobj = NULL;
d55e5bfc
RD
21207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21208 int arg2 ;
21209 PyObject *result;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self",(char *) "id", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail;
21219 {
32fe5131 21220 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21221 if (SWIG_arg_fail(2)) SWIG_fail;
21222 }
d55e5bfc
RD
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 resultobj = result;
21231 return resultobj;
21232 fail:
21233 return NULL;
21234}
21235
21236
c370783e 21237static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21238 PyObject *resultobj = NULL;
d55e5bfc
RD
21239 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21240 int arg2 ;
21241 PyObject *arg3 = (PyObject *) 0 ;
21242 PyObject * obj0 = 0 ;
21243 PyObject * obj1 = 0 ;
21244 PyObject * obj2 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self",(char *) "id",(char *) "clientData", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21251 if (SWIG_arg_fail(1)) SWIG_fail;
21252 {
32fe5131 21253 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21254 if (SWIG_arg_fail(2)) SWIG_fail;
21255 }
d55e5bfc
RD
21256 arg3 = obj2;
21257 {
21258 PyThreadState* __tstate = wxPyBeginAllowThreads();
21259 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
21260
21261 wxPyEndAllowThreads(__tstate);
21262 if (PyErr_Occurred()) SWIG_fail;
21263 }
21264 Py_INCREF(Py_None); resultobj = Py_None;
21265 return resultobj;
21266 fail:
21267 return NULL;
21268}
21269
21270
c370783e 21271static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21272 PyObject *resultobj = NULL;
d55e5bfc
RD
21273 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21274 int arg2 ;
21275 int result;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "id", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21284 if (SWIG_arg_fail(1)) SWIG_fail;
21285 {
32fe5131 21286 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21287 if (SWIG_arg_fail(2)) SWIG_fail;
21288 }
d55e5bfc
RD
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
36ed4f51 21296 {
32fe5131 21297 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21298 }
d55e5bfc
RD
21299 return resultobj;
21300 fail:
21301 return NULL;
21302}
21303
21304
c370783e 21305static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21306 PyObject *resultobj = NULL;
d55e5bfc
RD
21307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21308 int arg2 ;
21309 bool result;
21310 PyObject * obj0 = 0 ;
21311 PyObject * obj1 = 0 ;
21312 char *kwnames[] = {
21313 (char *) "self",(char *) "id", NULL
21314 };
21315
21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21318 if (SWIG_arg_fail(1)) SWIG_fail;
21319 {
32fe5131 21320 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21321 if (SWIG_arg_fail(2)) SWIG_fail;
21322 }
d55e5bfc
RD
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (bool)(arg1)->GetToolState(arg2);
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 {
21331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21332 }
21333 return resultobj;
21334 fail:
21335 return NULL;
21336}
21337
21338
c370783e 21339static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21340 PyObject *resultobj = NULL;
d55e5bfc
RD
21341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21342 int arg2 ;
21343 bool result;
21344 PyObject * obj0 = 0 ;
21345 PyObject * obj1 = 0 ;
21346 char *kwnames[] = {
21347 (char *) "self",(char *) "id", NULL
21348 };
21349
21350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21352 if (SWIG_arg_fail(1)) SWIG_fail;
21353 {
32fe5131 21354 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21355 if (SWIG_arg_fail(2)) SWIG_fail;
21356 }
d55e5bfc
RD
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = (bool)(arg1)->GetToolEnabled(arg2);
21360
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 {
21365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21366 }
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
c370783e 21373static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21374 PyObject *resultobj = NULL;
d55e5bfc
RD
21375 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21376 int arg2 ;
21377 wxString *arg3 = 0 ;
b411df4a 21378 bool temp3 = false ;
d55e5bfc
RD
21379 PyObject * obj0 = 0 ;
21380 PyObject * obj1 = 0 ;
21381 PyObject * obj2 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self",(char *) "id",(char *) "helpString", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21388 if (SWIG_arg_fail(1)) SWIG_fail;
21389 {
32fe5131 21390 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21391 if (SWIG_arg_fail(2)) SWIG_fail;
21392 }
d55e5bfc
RD
21393 {
21394 arg3 = wxString_in_helper(obj2);
21395 if (arg3 == NULL) SWIG_fail;
b411df4a 21396 temp3 = true;
d55e5bfc
RD
21397 }
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 Py_INCREF(Py_None); resultobj = Py_None;
21406 {
21407 if (temp3)
21408 delete arg3;
21409 }
21410 return resultobj;
21411 fail:
21412 {
21413 if (temp3)
21414 delete arg3;
21415 }
21416 return NULL;
21417}
21418
21419
c370783e 21420static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21421 PyObject *resultobj = NULL;
d55e5bfc
RD
21422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21423 int arg2 ;
21424 wxString result;
21425 PyObject * obj0 = 0 ;
21426 PyObject * obj1 = 0 ;
21427 char *kwnames[] = {
21428 (char *) "self",(char *) "id", NULL
21429 };
21430
21431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21433 if (SWIG_arg_fail(1)) SWIG_fail;
21434 {
32fe5131 21435 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21436 if (SWIG_arg_fail(2)) SWIG_fail;
21437 }
d55e5bfc
RD
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (arg1)->GetToolShortHelp(arg2);
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 {
21446#if wxUSE_UNICODE
21447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21448#else
21449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21450#endif
21451 }
21452 return resultobj;
21453 fail:
21454 return NULL;
21455}
21456
21457
c370783e 21458static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21459 PyObject *resultobj = NULL;
d55e5bfc
RD
21460 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21461 int arg2 ;
21462 wxString *arg3 = 0 ;
b411df4a 21463 bool temp3 = false ;
d55e5bfc
RD
21464 PyObject * obj0 = 0 ;
21465 PyObject * obj1 = 0 ;
21466 PyObject * obj2 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self",(char *) "id",(char *) "helpString", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail;
21474 {
32fe5131 21475 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21476 if (SWIG_arg_fail(2)) SWIG_fail;
21477 }
d55e5bfc
RD
21478 {
21479 arg3 = wxString_in_helper(obj2);
21480 if (arg3 == NULL) SWIG_fail;
b411df4a 21481 temp3 = true;
d55e5bfc
RD
21482 }
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 Py_INCREF(Py_None); resultobj = Py_None;
21491 {
21492 if (temp3)
21493 delete arg3;
21494 }
21495 return resultobj;
21496 fail:
21497 {
21498 if (temp3)
21499 delete arg3;
21500 }
21501 return NULL;
21502}
21503
21504
c370783e 21505static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21506 PyObject *resultobj = NULL;
d55e5bfc
RD
21507 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21508 int arg2 ;
21509 wxString result;
21510 PyObject * obj0 = 0 ;
21511 PyObject * obj1 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self",(char *) "id", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21518 if (SWIG_arg_fail(1)) SWIG_fail;
21519 {
32fe5131 21520 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21521 if (SWIG_arg_fail(2)) SWIG_fail;
21522 }
d55e5bfc
RD
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = (arg1)->GetToolLongHelp(arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 {
21531#if wxUSE_UNICODE
21532 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21533#else
21534 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21535#endif
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540}
21541
21542
c370783e 21543static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21544 PyObject *resultobj = NULL;
d55e5bfc
RD
21545 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21546 int arg2 ;
21547 int arg3 ;
21548 PyObject * obj0 = 0 ;
21549 PyObject * obj1 = 0 ;
21550 PyObject * obj2 = 0 ;
21551 char *kwnames[] = {
21552 (char *) "self",(char *) "x",(char *) "y", NULL
21553 };
21554
21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21557 if (SWIG_arg_fail(1)) SWIG_fail;
21558 {
32fe5131 21559 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21560 if (SWIG_arg_fail(2)) SWIG_fail;
21561 }
21562 {
32fe5131 21563 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
21564 if (SWIG_arg_fail(3)) SWIG_fail;
21565 }
d55e5bfc
RD
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 (arg1)->SetMargins(arg2,arg3);
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 Py_INCREF(Py_None); resultobj = Py_None;
21574 return resultobj;
21575 fail:
21576 return NULL;
21577}
21578
21579
c370783e 21580static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21581 PyObject *resultobj = NULL;
d55e5bfc
RD
21582 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21583 wxSize *arg2 = 0 ;
21584 wxSize temp2 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self",(char *) "size", NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21594 {
21595 arg2 = &temp2;
21596 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21597 }
21598 {
21599 PyThreadState* __tstate = wxPyBeginAllowThreads();
21600 (arg1)->SetMargins((wxSize const &)*arg2);
21601
21602 wxPyEndAllowThreads(__tstate);
21603 if (PyErr_Occurred()) SWIG_fail;
21604 }
21605 Py_INCREF(Py_None); resultobj = Py_None;
21606 return resultobj;
21607 fail:
21608 return NULL;
21609}
21610
21611
c370783e 21612static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21613 PyObject *resultobj = NULL;
d55e5bfc
RD
21614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21615 int arg2 ;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self",(char *) "packing", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21624 if (SWIG_arg_fail(1)) SWIG_fail;
21625 {
32fe5131 21626 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21627 if (SWIG_arg_fail(2)) SWIG_fail;
21628 }
d55e5bfc
RD
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 (arg1)->SetToolPacking(arg2);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 Py_INCREF(Py_None); resultobj = Py_None;
21637 return resultobj;
21638 fail:
21639 return NULL;
21640}
21641
21642
c370783e 21643static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21644 PyObject *resultobj = NULL;
d55e5bfc
RD
21645 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21646 int arg2 ;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self",(char *) "separation", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail;
21656 {
32fe5131 21657 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21658 if (SWIG_arg_fail(2)) SWIG_fail;
21659 }
d55e5bfc
RD
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 (arg1)->SetToolSeparation(arg2);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 Py_INCREF(Py_None); resultobj = Py_None;
21668 return resultobj;
21669 fail:
21670 return NULL;
21671}
21672
21673
c370783e 21674static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21675 PyObject *resultobj = NULL;
d55e5bfc
RD
21676 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21677 wxSize result;
21678 PyObject * obj0 = 0 ;
21679 char *kwnames[] = {
21680 (char *) "self", NULL
21681 };
21682
21683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 result = (arg1)->GetToolMargins();
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 {
21694 wxSize * resultptr;
32fe5131 21695 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21697 }
21698 return resultobj;
21699 fail:
21700 return NULL;
21701}
21702
21703
c370783e 21704static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21705 PyObject *resultobj = NULL;
d55e5bfc
RD
21706 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21707 wxSize result;
21708 PyObject * obj0 = 0 ;
21709 char *kwnames[] = {
21710 (char *) "self", NULL
21711 };
21712
21713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21716 {
21717 PyThreadState* __tstate = wxPyBeginAllowThreads();
21718 result = (arg1)->GetMargins();
21719
21720 wxPyEndAllowThreads(__tstate);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
21723 {
21724 wxSize * resultptr;
32fe5131 21725 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21727 }
21728 return resultobj;
21729 fail:
21730 return NULL;
21731}
21732
21733
c370783e 21734static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21735 PyObject *resultobj = NULL;
d55e5bfc
RD
21736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21737 int result;
21738 PyObject * obj0 = 0 ;
21739 char *kwnames[] = {
21740 (char *) "self", NULL
21741 };
21742
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
36ed4f51
RD
21744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 result = (int)(arg1)->GetToolPacking();
21749
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
36ed4f51 21753 {
32fe5131 21754 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21755 }
d55e5bfc
RD
21756 return resultobj;
21757 fail:
21758 return NULL;
21759}
21760
21761
c370783e 21762static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21763 PyObject *resultobj = NULL;
d55e5bfc
RD
21764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21765 int result;
21766 PyObject * obj0 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
36ed4f51
RD
21772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 result = (int)(arg1)->GetToolSeparation();
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
36ed4f51 21781 {
32fe5131 21782 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21783 }
d55e5bfc
RD
21784 return resultobj;
21785 fail:
21786 return NULL;
21787}
21788
21789
c370783e 21790static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21791 PyObject *resultobj = NULL;
d55e5bfc
RD
21792 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21793 int arg2 ;
21794 PyObject * obj0 = 0 ;
21795 PyObject * obj1 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "self",(char *) "nRows", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail;
21803 {
32fe5131 21804 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21805 if (SWIG_arg_fail(2)) SWIG_fail;
21806 }
d55e5bfc
RD
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 (arg1)->SetRows(arg2);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 Py_INCREF(Py_None); resultobj = Py_None;
21815 return resultobj;
21816 fail:
21817 return NULL;
21818}
21819
21820
c370783e 21821static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21822 PyObject *resultobj = NULL;
d55e5bfc
RD
21823 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21824 int arg2 ;
21825 int arg3 ;
21826 PyObject * obj0 = 0 ;
21827 PyObject * obj1 = 0 ;
21828 PyObject * obj2 = 0 ;
21829 char *kwnames[] = {
21830 (char *) "self",(char *) "rows",(char *) "cols", NULL
21831 };
21832
21833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21835 if (SWIG_arg_fail(1)) SWIG_fail;
21836 {
32fe5131 21837 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21838 if (SWIG_arg_fail(2)) SWIG_fail;
21839 }
21840 {
32fe5131 21841 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
21842 if (SWIG_arg_fail(3)) SWIG_fail;
21843 }
d55e5bfc
RD
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->SetMaxRowsCols(arg2,arg3);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855}
21856
21857
c370783e 21858static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21859 PyObject *resultobj = NULL;
d55e5bfc
RD
21860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21861 int result;
21862 PyObject * obj0 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
21868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 result = (int)(arg1)->GetMaxRows();
21873
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
36ed4f51 21877 {
32fe5131 21878 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21879 }
d55e5bfc
RD
21880 return resultobj;
21881 fail:
21882 return NULL;
21883}
21884
21885
c370783e 21886static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21887 PyObject *resultobj = NULL;
d55e5bfc
RD
21888 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21889 int result;
21890 PyObject * obj0 = 0 ;
21891 char *kwnames[] = {
21892 (char *) "self", NULL
21893 };
21894
21895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
21896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 result = (int)(arg1)->GetMaxCols();
21901
21902 wxPyEndAllowThreads(__tstate);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
36ed4f51 21905 {
32fe5131 21906 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 21907 }
d55e5bfc
RD
21908 return resultobj;
21909 fail:
21910 return NULL;
21911}
21912
21913
c370783e 21914static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21915 PyObject *resultobj = NULL;
d55e5bfc
RD
21916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21917 wxSize *arg2 = 0 ;
21918 wxSize temp2 ;
21919 PyObject * obj0 = 0 ;
21920 PyObject * obj1 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "self",(char *) "size", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21928 {
21929 arg2 = &temp2;
21930 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21931 }
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 Py_INCREF(Py_None); resultobj = Py_None;
21940 return resultobj;
21941 fail:
21942 return NULL;
21943}
21944
21945
c370783e 21946static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21947 PyObject *resultobj = NULL;
d55e5bfc
RD
21948 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21949 wxSize result;
21950 PyObject * obj0 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
21956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 result = (arg1)->GetToolBitmapSize();
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 {
21966 wxSize * resultptr;
32fe5131 21967 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21969 }
21970 return resultobj;
21971 fail:
21972 return NULL;
21973}
21974
21975
c370783e 21976static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21977 PyObject *resultobj = NULL;
d55e5bfc
RD
21978 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21979 wxSize result;
21980 PyObject * obj0 = 0 ;
21981 char *kwnames[] = {
21982 (char *) "self", NULL
21983 };
21984
21985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
21986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21988 {
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 result = (arg1)->GetToolSize();
21991
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 {
21996 wxSize * resultptr;
32fe5131 21997 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21999 }
22000 return resultobj;
22001 fail:
22002 return NULL;
22003}
22004
22005
c370783e 22006static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22007 PyObject *resultobj = NULL;
d55e5bfc
RD
22008 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22009 int arg2 ;
22010 int arg3 ;
22011 wxToolBarToolBase *result;
22012 PyObject * obj0 = 0 ;
22013 PyObject * obj1 = 0 ;
22014 PyObject * obj2 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self",(char *) "x",(char *) "y", NULL
22017 };
22018
22019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail;
22022 {
32fe5131 22023 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
22024 if (SWIG_arg_fail(2)) SWIG_fail;
22025 }
22026 {
32fe5131 22027 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
22028 if (SWIG_arg_fail(3)) SWIG_fail;
22029 }
d55e5bfc
RD
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22033
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 {
7e08d4ef 22038 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22039 }
22040 return resultobj;
22041 fail:
22042 return NULL;
22043}
22044
22045
c370783e 22046static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22047 PyObject *resultobj = NULL;
d55e5bfc
RD
22048 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22049 int arg2 ;
22050 wxToolBarToolBase *result;
22051 PyObject * obj0 = 0 ;
22052 PyObject * obj1 = 0 ;
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "toolid", NULL
22055 };
22056
22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail;
22060 {
32fe5131 22061 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
22062 if (SWIG_arg_fail(2)) SWIG_fail;
22063 }
d55e5bfc
RD
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 {
7e08d4ef 22072 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22073 }
22074 return resultobj;
22075 fail:
22076 return NULL;
22077}
22078
22079
c370783e 22080static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22081 PyObject *resultobj = NULL;
d55e5bfc
RD
22082 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22083 bool result;
22084 PyObject * obj0 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
22090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 result = (bool)(arg1)->IsVertical();
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 {
22100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22101 }
22102 return resultobj;
22103 fail:
22104 return NULL;
22105}
22106
22107
c370783e 22108static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22109 PyObject *obj;
22110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22111 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
22112 Py_INCREF(obj);
22113 return Py_BuildValue((char *)"");
22114}
c370783e 22115static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22116 PyObject *resultobj = NULL;
d55e5bfc 22117 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 22118 int arg2 = (int) -1 ;
d55e5bfc
RD
22119 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22120 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22121 wxSize const &arg4_defvalue = wxDefaultSize ;
22122 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22123 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22124 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
22125 wxString *arg6 = (wxString *) &arg6_defvalue ;
22126 wxToolBar *result;
22127 wxPoint temp3 ;
22128 wxSize temp4 ;
b411df4a 22129 bool temp6 = false ;
d55e5bfc
RD
22130 PyObject * obj0 = 0 ;
22131 PyObject * obj1 = 0 ;
22132 PyObject * obj2 = 0 ;
22133 PyObject * obj3 = 0 ;
22134 PyObject * obj4 = 0 ;
22135 PyObject * obj5 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22138 };
22139
bfddbb17 22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
22141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22142 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 22143 if (obj1) {
36ed4f51 22144 {
32fe5131 22145 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
22146 if (SWIG_arg_fail(2)) SWIG_fail;
22147 }
bfddbb17 22148 }
d55e5bfc
RD
22149 if (obj2) {
22150 {
22151 arg3 = &temp3;
22152 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22153 }
22154 }
22155 if (obj3) {
22156 {
22157 arg4 = &temp4;
22158 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22159 }
22160 }
22161 if (obj4) {
36ed4f51 22162 {
32fe5131 22163 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
22164 if (SWIG_arg_fail(5)) SWIG_fail;
22165 }
d55e5bfc
RD
22166 }
22167 if (obj5) {
22168 {
22169 arg6 = wxString_in_helper(obj5);
22170 if (arg6 == NULL) SWIG_fail;
b411df4a 22171 temp6 = true;
d55e5bfc
RD
22172 }
22173 }
22174 {
0439c23b 22175 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22178
22179 wxPyEndAllowThreads(__tstate);
110da5b0 22180 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22181 }
b0f7404b 22182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
22183 {
22184 if (temp6)
22185 delete arg6;
22186 }
22187 return resultobj;
22188 fail:
22189 {
22190 if (temp6)
22191 delete arg6;
22192 }
22193 return NULL;
22194}
22195
22196
c370783e 22197static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22198 PyObject *resultobj = NULL;
d55e5bfc
RD
22199 wxToolBar *result;
22200 char *kwnames[] = {
22201 NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
22205 {
0439c23b 22206 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = (wxToolBar *)new wxToolBar();
22209
22210 wxPyEndAllowThreads(__tstate);
110da5b0 22211 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22212 }
b0f7404b 22213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
22214 return resultobj;
22215 fail:
22216 return NULL;
22217}
22218
22219
c370783e 22220static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22221 PyObject *resultobj = NULL;
d55e5bfc
RD
22222 wxToolBar *arg1 = (wxToolBar *) 0 ;
22223 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 22224 int arg3 = (int) -1 ;
d55e5bfc
RD
22225 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22226 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22227 wxSize const &arg5_defvalue = wxDefaultSize ;
22228 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22229 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22230 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
22231 wxString *arg7 = (wxString *) &arg7_defvalue ;
22232 bool result;
22233 wxPoint temp4 ;
22234 wxSize temp5 ;
b411df4a 22235 bool temp7 = false ;
d55e5bfc
RD
22236 PyObject * obj0 = 0 ;
22237 PyObject * obj1 = 0 ;
22238 PyObject * obj2 = 0 ;
22239 PyObject * obj3 = 0 ;
22240 PyObject * obj4 = 0 ;
22241 PyObject * obj5 = 0 ;
22242 PyObject * obj6 = 0 ;
22243 char *kwnames[] = {
22244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22245 };
22246
bfddbb17 22247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
22248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail;
22250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22251 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 22252 if (obj2) {
36ed4f51 22253 {
32fe5131 22254 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
22255 if (SWIG_arg_fail(3)) SWIG_fail;
22256 }
bfddbb17 22257 }
d55e5bfc
RD
22258 if (obj3) {
22259 {
22260 arg4 = &temp4;
22261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22262 }
22263 }
22264 if (obj4) {
22265 {
22266 arg5 = &temp5;
22267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22268 }
22269 }
22270 if (obj5) {
36ed4f51 22271 {
32fe5131 22272 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
22273 if (SWIG_arg_fail(6)) SWIG_fail;
22274 }
d55e5bfc
RD
22275 }
22276 if (obj6) {
22277 {
22278 arg7 = wxString_in_helper(obj6);
22279 if (arg7 == NULL) SWIG_fail;
b411df4a 22280 temp7 = true;
d55e5bfc
RD
22281 }
22282 }
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22286
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 {
22291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22292 }
22293 {
22294 if (temp7)
22295 delete arg7;
22296 }
22297 return resultobj;
22298 fail:
22299 {
22300 if (temp7)
22301 delete arg7;
22302 }
22303 return NULL;
22304}
22305
22306
c370783e 22307static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22308 PyObject *resultobj = NULL;
d55e5bfc
RD
22309 wxToolBar *arg1 = (wxToolBar *) 0 ;
22310 int arg2 ;
22311 int arg3 ;
22312 wxToolBarToolBase *result;
22313 PyObject * obj0 = 0 ;
22314 PyObject * obj1 = 0 ;
22315 PyObject * obj2 = 0 ;
22316 char *kwnames[] = {
22317 (char *) "self",(char *) "x",(char *) "y", NULL
22318 };
22319
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22322 if (SWIG_arg_fail(1)) SWIG_fail;
22323 {
32fe5131 22324 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
22325 if (SWIG_arg_fail(2)) SWIG_fail;
22326 }
22327 {
32fe5131 22328 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
22329 if (SWIG_arg_fail(3)) SWIG_fail;
22330 }
d55e5bfc
RD
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
7e08d4ef 22339 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22340 }
22341 return resultobj;
22342 fail:
22343 return NULL;
22344}
22345
22346
c370783e 22347static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22348 PyObject *resultobj = NULL;
36ed4f51 22349 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
22350 wxVisualAttributes result;
22351 PyObject * obj0 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "variant", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22357 if (obj0) {
36ed4f51 22358 {
32fe5131 22359 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
22360 if (SWIG_arg_fail(1)) SWIG_fail;
22361 }
f20a2e1f
RD
22362 }
22363 {
0439c23b 22364 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22366 result = wxToolBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
22367
22368 wxPyEndAllowThreads(__tstate);
110da5b0 22369 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
22370 }
22371 {
22372 wxVisualAttributes * resultptr;
32fe5131 22373 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
22374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22375 }
22376 return resultobj;
22377 fail:
22378 return NULL;
22379}
22380
22381
c370783e 22382static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22383 PyObject *obj;
22384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22385 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
22386 Py_INCREF(obj);
22387 return Py_BuildValue((char *)"");
22388}
c370783e 22389static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
22390 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
22391 return 1;
22392}
22393
22394
36ed4f51 22395static PyObject *_wrap_ListCtrlNameStr_get(void) {
32fe5131 22396 PyObject *pyobj = NULL;
d55e5bfc
RD
22397
22398 {
22399#if wxUSE_UNICODE
22400 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22401#else
22402 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22403#endif
22404 }
22405 return pyobj;
22406}
22407
22408
c370783e 22409static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22410 PyObject *resultobj = NULL;
d55e5bfc
RD
22411 wxColour const &arg1_defvalue = wxNullColour ;
22412 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
22413 wxColour const &arg2_defvalue = wxNullColour ;
22414 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
22415 wxFont const &arg3_defvalue = wxNullFont ;
22416 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
22417 wxListItemAttr *result;
22418 wxColour temp1 ;
22419 wxColour temp2 ;
22420 PyObject * obj0 = 0 ;
22421 PyObject * obj1 = 0 ;
22422 PyObject * obj2 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
22428 if (obj0) {
22429 {
22430 arg1 = &temp1;
22431 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
22432 }
22433 }
22434 if (obj1) {
22435 {
22436 arg2 = &temp2;
22437 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22438 }
22439 }
22440 if (obj2) {
36ed4f51
RD
22441 {
22442 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22443 if (SWIG_arg_fail(3)) SWIG_fail;
22444 if (arg3 == NULL) {
22445 SWIG_null_ref("wxFont");
22446 }
22447 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22448 }
22449 }
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
22458 return resultobj;
22459 fail:
22460 return NULL;
22461}
22462
22463
7e08d4ef
RD
22464static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj = NULL;
22466 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22467 PyObject * obj0 = 0 ;
22468 char *kwnames[] = {
22469 (char *) "self", NULL
22470 };
22471
22472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail;
22473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail;
22475 {
22476 PyThreadState* __tstate = wxPyBeginAllowThreads();
22477 delete arg1;
22478
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 Py_INCREF(Py_None); resultobj = Py_None;
22483 return resultobj;
22484 fail:
22485 return NULL;
22486}
22487
22488
c370783e 22489static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22490 PyObject *resultobj = NULL;
d55e5bfc
RD
22491 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22492 wxColour *arg2 = 0 ;
22493 wxColour temp2 ;
22494 PyObject * obj0 = 0 ;
22495 PyObject * obj1 = 0 ;
22496 char *kwnames[] = {
22497 (char *) "self",(char *) "colText", NULL
22498 };
22499
22500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22503 {
22504 arg2 = &temp2;
22505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22506 }
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->SetTextColour((wxColour const &)*arg2);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518}
22519
22520
c370783e 22521static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22522 PyObject *resultobj = NULL;
d55e5bfc
RD
22523 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22524 wxColour *arg2 = 0 ;
22525 wxColour temp2 ;
22526 PyObject * obj0 = 0 ;
22527 PyObject * obj1 = 0 ;
22528 char *kwnames[] = {
22529 (char *) "self",(char *) "colBack", NULL
22530 };
22531
22532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22535 {
22536 arg2 = &temp2;
22537 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22538 }
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 Py_INCREF(Py_None); resultobj = Py_None;
22547 return resultobj;
22548 fail:
22549 return NULL;
22550}
22551
22552
c370783e 22553static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22554 PyObject *resultobj = NULL;
d55e5bfc
RD
22555 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22556 wxFont *arg2 = 0 ;
22557 PyObject * obj0 = 0 ;
22558 PyObject * obj1 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "self",(char *) "font", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22565 if (SWIG_arg_fail(1)) SWIG_fail;
22566 {
22567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22568 if (SWIG_arg_fail(2)) SWIG_fail;
22569 if (arg2 == NULL) {
22570 SWIG_null_ref("wxFont");
22571 }
22572 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22573 }
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 (arg1)->SetFont((wxFont const &)*arg2);
22577
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 Py_INCREF(Py_None); resultobj = Py_None;
22582 return resultobj;
22583 fail:
22584 return NULL;
22585}
22586
22587
c370783e 22588static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22589 PyObject *resultobj = NULL;
d55e5bfc
RD
22590 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22591 bool result;
22592 PyObject * obj0 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 result = (bool)(arg1)->HasTextColour();
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 {
22608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22609 }
22610 return resultobj;
22611 fail:
22612 return NULL;
22613}
22614
22615
c370783e 22616static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22617 PyObject *resultobj = NULL;
d55e5bfc
RD
22618 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22619 bool result;
22620 PyObject * obj0 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 result = (bool)(arg1)->HasBackgroundColour();
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 {
22636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22637 }
22638 return resultobj;
22639 fail:
22640 return NULL;
22641}
22642
22643
c370783e 22644static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22645 PyObject *resultobj = NULL;
d55e5bfc
RD
22646 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22647 bool result;
22648 PyObject * obj0 = 0 ;
22649 char *kwnames[] = {
22650 (char *) "self", NULL
22651 };
22652
22653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
22654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22655 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22656 {
22657 PyThreadState* __tstate = wxPyBeginAllowThreads();
22658 result = (bool)(arg1)->HasFont();
22659
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 {
22664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22665 }
22666 return resultobj;
22667 fail:
22668 return NULL;
22669}
22670
22671
c370783e 22672static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22673 PyObject *resultobj = NULL;
d55e5bfc
RD
22674 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22675 wxColour result;
22676 PyObject * obj0 = 0 ;
22677 char *kwnames[] = {
22678 (char *) "self", NULL
22679 };
22680
22681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 result = (arg1)->GetTextColour();
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 {
22692 wxColour * resultptr;
32fe5131 22693 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
22694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22695 }
22696 return resultobj;
22697 fail:
22698 return NULL;
22699}
22700
22701
c370783e 22702static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22703 PyObject *resultobj = NULL;
d55e5bfc
RD
22704 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22705 wxColour result;
22706 PyObject * obj0 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self", NULL
22709 };
22710
22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 result = (arg1)->GetBackgroundColour();
22717
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
22721 {
22722 wxColour * resultptr;
32fe5131 22723 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
22724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22725 }
22726 return resultobj;
22727 fail:
22728 return NULL;
22729}
22730
22731
c370783e 22732static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22733 PyObject *resultobj = NULL;
d55e5bfc
RD
22734 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22735 wxFont result;
22736 PyObject * obj0 = 0 ;
22737 char *kwnames[] = {
22738 (char *) "self", NULL
22739 };
22740
22741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
22742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 result = (arg1)->GetFont();
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 {
22752 wxFont * resultptr;
32fe5131 22753 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
22754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22755 }
22756 return resultobj;
22757 fail:
22758 return NULL;
22759}
22760
22761
7e08d4ef
RD
22762static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj = NULL;
22764 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22765 wxListItemAttr *arg2 = 0 ;
22766 PyObject * obj0 = 0 ;
22767 PyObject * obj1 = 0 ;
22768 char *kwnames[] = {
22769 (char *) "self",(char *) "source", NULL
22770 };
22771
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail;
22773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail;
22775 {
22776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22777 if (SWIG_arg_fail(2)) SWIG_fail;
22778 if (arg2 == NULL) {
22779 SWIG_null_ref("wxListItemAttr");
22780 }
22781 if (SWIG_arg_fail(2)) SWIG_fail;
22782 }
22783 {
22784 PyThreadState* __tstate = wxPyBeginAllowThreads();
22785 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
22786
22787 wxPyEndAllowThreads(__tstate);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 }
22790 Py_INCREF(Py_None); resultobj = Py_None;
22791 return resultobj;
22792 fail:
22793 return NULL;
22794}
22795
22796
c370783e 22797static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22798 PyObject *resultobj = NULL;
d55e5bfc
RD
22799 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22800 PyObject * obj0 = 0 ;
22801 char *kwnames[] = {
22802 (char *) "self", NULL
22803 };
22804
22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
22806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22808 {
22809 PyThreadState* __tstate = wxPyBeginAllowThreads();
22810 wxListItemAttr_Destroy(arg1);
22811
22812 wxPyEndAllowThreads(__tstate);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 Py_INCREF(Py_None); resultobj = Py_None;
22816 return resultobj;
22817 fail:
22818 return NULL;
22819}
22820
22821
c370783e 22822static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22823 PyObject *obj;
22824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22825 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
22826 Py_INCREF(obj);
22827 return Py_BuildValue((char *)"");
22828}
c370783e 22829static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22830 PyObject *resultobj = NULL;
d55e5bfc
RD
22831 wxListItem *result;
22832 char *kwnames[] = {
22833 NULL
22834 };
22835
22836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = (wxListItem *)new wxListItem();
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 {
7e08d4ef 22845 resultobj = wxPyMake_wxObject(result, (bool)1);
d55e5bfc
RD
22846 }
22847 return resultobj;
22848 fail:
22849 return NULL;
22850}
22851
22852
c370783e 22853static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22854 PyObject *resultobj = NULL;
d55e5bfc
RD
22855 wxListItem *arg1 = (wxListItem *) 0 ;
22856 PyObject * obj0 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "self", NULL
22859 };
22860
22861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
22862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22864 {
22865 PyThreadState* __tstate = wxPyBeginAllowThreads();
22866 delete arg1;
22867
22868 wxPyEndAllowThreads(__tstate);
22869 if (PyErr_Occurred()) SWIG_fail;
22870 }
22871 Py_INCREF(Py_None); resultobj = Py_None;
22872 return resultobj;
22873 fail:
22874 return NULL;
22875}
22876
22877
c370783e 22878static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22879 PyObject *resultobj = NULL;
d55e5bfc
RD
22880 wxListItem *arg1 = (wxListItem *) 0 ;
22881 PyObject * obj0 = 0 ;
22882 char *kwnames[] = {
22883 (char *) "self", NULL
22884 };
22885
22886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
22887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 (arg1)->Clear();
22892
22893 wxPyEndAllowThreads(__tstate);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 Py_INCREF(Py_None); resultobj = Py_None;
22897 return resultobj;
22898 fail:
22899 return NULL;
22900}
22901
22902
c370783e 22903static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22904 PyObject *resultobj = NULL;
d55e5bfc
RD
22905 wxListItem *arg1 = (wxListItem *) 0 ;
22906 PyObject * obj0 = 0 ;
22907 char *kwnames[] = {
22908 (char *) "self", NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22914 {
22915 PyThreadState* __tstate = wxPyBeginAllowThreads();
22916 (arg1)->ClearAttributes();
22917
22918 wxPyEndAllowThreads(__tstate);
22919 if (PyErr_Occurred()) SWIG_fail;
22920 }
22921 Py_INCREF(Py_None); resultobj = Py_None;
22922 return resultobj;
22923 fail:
22924 return NULL;
22925}
22926
22927
c370783e 22928static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22929 PyObject *resultobj = NULL;
d55e5bfc
RD
22930 wxListItem *arg1 = (wxListItem *) 0 ;
22931 long arg2 ;
22932 PyObject * obj0 = 0 ;
22933 PyObject * obj1 = 0 ;
22934 char *kwnames[] = {
22935 (char *) "self",(char *) "mask", NULL
22936 };
22937
22938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail;
22941 {
32fe5131 22942 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
22943 if (SWIG_arg_fail(2)) SWIG_fail;
22944 }
d55e5bfc
RD
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 (arg1)->SetMask(arg2);
22948
22949 wxPyEndAllowThreads(__tstate);
22950 if (PyErr_Occurred()) SWIG_fail;
22951 }
22952 Py_INCREF(Py_None); resultobj = Py_None;
22953 return resultobj;
22954 fail:
22955 return NULL;
22956}
22957
22958
c370783e 22959static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22960 PyObject *resultobj = NULL;
d55e5bfc
RD
22961 wxListItem *arg1 = (wxListItem *) 0 ;
22962 long arg2 ;
22963 PyObject * obj0 = 0 ;
22964 PyObject * obj1 = 0 ;
22965 char *kwnames[] = {
22966 (char *) "self",(char *) "id", NULL
22967 };
22968
22969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail;
22972 {
32fe5131 22973 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
22974 if (SWIG_arg_fail(2)) SWIG_fail;
22975 }
d55e5bfc
RD
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 (arg1)->SetId(arg2);
22979
22980 wxPyEndAllowThreads(__tstate);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 Py_INCREF(Py_None); resultobj = Py_None;
22984 return resultobj;
22985 fail:
22986 return NULL;
22987}
22988
22989
c370783e 22990static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22991 PyObject *resultobj = NULL;
d55e5bfc
RD
22992 wxListItem *arg1 = (wxListItem *) 0 ;
22993 int arg2 ;
22994 PyObject * obj0 = 0 ;
22995 PyObject * obj1 = 0 ;
22996 char *kwnames[] = {
22997 (char *) "self",(char *) "col", NULL
22998 };
22999
23000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23002 if (SWIG_arg_fail(1)) SWIG_fail;
23003 {
32fe5131 23004 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23005 if (SWIG_arg_fail(2)) SWIG_fail;
23006 }
d55e5bfc
RD
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 (arg1)->SetColumn(arg2);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 Py_INCREF(Py_None); resultobj = Py_None;
23015 return resultobj;
23016 fail:
23017 return NULL;
23018}
23019
23020
c370783e 23021static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23022 PyObject *resultobj = NULL;
d55e5bfc
RD
23023 wxListItem *arg1 = (wxListItem *) 0 ;
23024 long arg2 ;
23025 PyObject * obj0 = 0 ;
23026 PyObject * obj1 = 0 ;
23027 char *kwnames[] = {
23028 (char *) "self",(char *) "state", NULL
23029 };
23030
23031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23033 if (SWIG_arg_fail(1)) SWIG_fail;
23034 {
32fe5131 23035 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
23036 if (SWIG_arg_fail(2)) SWIG_fail;
23037 }
d55e5bfc
RD
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 (arg1)->SetState(arg2);
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 Py_INCREF(Py_None); resultobj = Py_None;
23046 return resultobj;
23047 fail:
23048 return NULL;
23049}
23050
23051
c370783e 23052static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23053 PyObject *resultobj = NULL;
d55e5bfc
RD
23054 wxListItem *arg1 = (wxListItem *) 0 ;
23055 long arg2 ;
23056 PyObject * obj0 = 0 ;
23057 PyObject * obj1 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self",(char *) "stateMask", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23064 if (SWIG_arg_fail(1)) SWIG_fail;
23065 {
32fe5131 23066 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
23067 if (SWIG_arg_fail(2)) SWIG_fail;
23068 }
d55e5bfc
RD
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 (arg1)->SetStateMask(arg2);
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 Py_INCREF(Py_None); resultobj = Py_None;
23077 return resultobj;
23078 fail:
23079 return NULL;
23080}
23081
23082
c370783e 23083static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23084 PyObject *resultobj = NULL;
d55e5bfc
RD
23085 wxListItem *arg1 = (wxListItem *) 0 ;
23086 wxString *arg2 = 0 ;
b411df4a 23087 bool temp2 = false ;
d55e5bfc
RD
23088 PyObject * obj0 = 0 ;
23089 PyObject * obj1 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self",(char *) "text", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23097 {
23098 arg2 = wxString_in_helper(obj1);
23099 if (arg2 == NULL) SWIG_fail;
b411df4a 23100 temp2 = true;
d55e5bfc
RD
23101 }
23102 {
23103 PyThreadState* __tstate = wxPyBeginAllowThreads();
23104 (arg1)->SetText((wxString const &)*arg2);
23105
23106 wxPyEndAllowThreads(__tstate);
23107 if (PyErr_Occurred()) SWIG_fail;
23108 }
23109 Py_INCREF(Py_None); resultobj = Py_None;
23110 {
23111 if (temp2)
23112 delete arg2;
23113 }
23114 return resultobj;
23115 fail:
23116 {
23117 if (temp2)
23118 delete arg2;
23119 }
23120 return NULL;
23121}
23122
23123
c370783e 23124static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23125 PyObject *resultobj = NULL;
d55e5bfc
RD
23126 wxListItem *arg1 = (wxListItem *) 0 ;
23127 int arg2 ;
23128 PyObject * obj0 = 0 ;
23129 PyObject * obj1 = 0 ;
23130 char *kwnames[] = {
23131 (char *) "self",(char *) "image", NULL
23132 };
23133
23134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23136 if (SWIG_arg_fail(1)) SWIG_fail;
23137 {
32fe5131 23138 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23139 if (SWIG_arg_fail(2)) SWIG_fail;
23140 }
d55e5bfc
RD
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->SetImage(arg2);
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 Py_INCREF(Py_None); resultobj = Py_None;
23149 return resultobj;
23150 fail:
23151 return NULL;
23152}
23153
23154
c370783e 23155static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23156 PyObject *resultobj = NULL;
d55e5bfc
RD
23157 wxListItem *arg1 = (wxListItem *) 0 ;
23158 long arg2 ;
23159 PyObject * obj0 = 0 ;
23160 PyObject * obj1 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self",(char *) "data", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail;
23168 {
32fe5131 23169 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
23170 if (SWIG_arg_fail(2)) SWIG_fail;
23171 }
d55e5bfc
RD
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 (arg1)->SetData(arg2);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 Py_INCREF(Py_None); resultobj = Py_None;
23180 return resultobj;
23181 fail:
23182 return NULL;
23183}
23184
23185
c370783e 23186static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23187 PyObject *resultobj = NULL;
d55e5bfc
RD
23188 wxListItem *arg1 = (wxListItem *) 0 ;
23189 int arg2 ;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
23192 char *kwnames[] = {
23193 (char *) "self",(char *) "width", NULL
23194 };
23195
23196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23198 if (SWIG_arg_fail(1)) SWIG_fail;
23199 {
32fe5131 23200 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23201 if (SWIG_arg_fail(2)) SWIG_fail;
23202 }
d55e5bfc
RD
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 (arg1)->SetWidth(arg2);
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
23210 Py_INCREF(Py_None); resultobj = Py_None;
23211 return resultobj;
23212 fail:
23213 return NULL;
23214}
23215
23216
c370783e 23217static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23218 PyObject *resultobj = NULL;
d55e5bfc 23219 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 23220 wxListColumnFormat arg2 ;
d55e5bfc
RD
23221 PyObject * obj0 = 0 ;
23222 PyObject * obj1 = 0 ;
23223 char *kwnames[] = {
23224 (char *) "self",(char *) "align", NULL
23225 };
23226
23227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail;
23230 {
32fe5131 23231 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
36ed4f51
RD
23232 if (SWIG_arg_fail(2)) SWIG_fail;
23233 }
d55e5bfc
RD
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 23236 (arg1)->SetAlign(arg2);
d55e5bfc
RD
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 Py_INCREF(Py_None); resultobj = Py_None;
23242 return resultobj;
23243 fail:
23244 return NULL;
23245}
23246
23247
c370783e 23248static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23249 PyObject *resultobj = NULL;
d55e5bfc
RD
23250 wxListItem *arg1 = (wxListItem *) 0 ;
23251 wxColour *arg2 = 0 ;
23252 wxColour temp2 ;
23253 PyObject * obj0 = 0 ;
23254 PyObject * obj1 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self",(char *) "colText", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23262 {
23263 arg2 = &temp2;
23264 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23265 }
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 (arg1)->SetTextColour((wxColour const &)*arg2);
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 Py_INCREF(Py_None); resultobj = Py_None;
23274 return resultobj;
23275 fail:
23276 return NULL;
23277}
23278
23279
c370783e 23280static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23281 PyObject *resultobj = NULL;
d55e5bfc
RD
23282 wxListItem *arg1 = (wxListItem *) 0 ;
23283 wxColour *arg2 = 0 ;
23284 wxColour temp2 ;
23285 PyObject * obj0 = 0 ;
23286 PyObject * obj1 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self",(char *) "colBack", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23294 {
23295 arg2 = &temp2;
23296 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23297 }
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 Py_INCREF(Py_None); resultobj = Py_None;
23306 return resultobj;
23307 fail:
23308 return NULL;
23309}
23310
23311
c370783e 23312static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23313 PyObject *resultobj = NULL;
d55e5bfc
RD
23314 wxListItem *arg1 = (wxListItem *) 0 ;
23315 wxFont *arg2 = 0 ;
23316 PyObject * obj0 = 0 ;
23317 PyObject * obj1 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self",(char *) "font", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23324 if (SWIG_arg_fail(1)) SWIG_fail;
23325 {
23326 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
23327 if (SWIG_arg_fail(2)) SWIG_fail;
23328 if (arg2 == NULL) {
23329 SWIG_null_ref("wxFont");
23330 }
23331 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23332 }
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->SetFont((wxFont const &)*arg2);
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 Py_INCREF(Py_None); resultobj = Py_None;
23341 return resultobj;
23342 fail:
23343 return NULL;
23344}
23345
23346
c370783e 23347static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23348 PyObject *resultobj = NULL;
d55e5bfc
RD
23349 wxListItem *arg1 = (wxListItem *) 0 ;
23350 long result;
23351 PyObject * obj0 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
23357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23359 {
23360 PyThreadState* __tstate = wxPyBeginAllowThreads();
23361 result = (long)(arg1)->GetMask();
23362
23363 wxPyEndAllowThreads(__tstate);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 }
36ed4f51 23366 {
32fe5131 23367 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23368 }
d55e5bfc
RD
23369 return resultobj;
23370 fail:
23371 return NULL;
23372}
23373
23374
c370783e 23375static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23376 PyObject *resultobj = NULL;
d55e5bfc
RD
23377 wxListItem *arg1 = (wxListItem *) 0 ;
23378 long result;
23379 PyObject * obj0 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
23385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 result = (long)(arg1)->GetId();
23390
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
36ed4f51 23394 {
32fe5131 23395 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23396 }
d55e5bfc
RD
23397 return resultobj;
23398 fail:
23399 return NULL;
23400}
23401
23402
c370783e 23403static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23404 PyObject *resultobj = NULL;
d55e5bfc
RD
23405 wxListItem *arg1 = (wxListItem *) 0 ;
23406 int result;
23407 PyObject * obj0 = 0 ;
23408 char *kwnames[] = {
23409 (char *) "self", NULL
23410 };
23411
23412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
23413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (int)(arg1)->GetColumn();
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
36ed4f51 23422 {
32fe5131 23423 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23424 }
d55e5bfc
RD
23425 return resultobj;
23426 fail:
23427 return NULL;
23428}
23429
23430
c370783e 23431static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23432 PyObject *resultobj = NULL;
d55e5bfc
RD
23433 wxListItem *arg1 = (wxListItem *) 0 ;
23434 long result;
23435 PyObject * obj0 = 0 ;
23436 char *kwnames[] = {
23437 (char *) "self", NULL
23438 };
23439
23440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
23441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 result = (long)(arg1)->GetState();
23446
23447 wxPyEndAllowThreads(__tstate);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 }
36ed4f51 23450 {
32fe5131 23451 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23452 }
d55e5bfc
RD
23453 return resultobj;
23454 fail:
23455 return NULL;
23456}
23457
23458
c370783e 23459static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23460 PyObject *resultobj = NULL;
d55e5bfc
RD
23461 wxListItem *arg1 = (wxListItem *) 0 ;
23462 wxString *result;
23463 PyObject * obj0 = 0 ;
23464 char *kwnames[] = {
23465 (char *) "self", NULL
23466 };
23467
23468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
23469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23471 {
23472 PyThreadState* __tstate = wxPyBeginAllowThreads();
23473 {
23474 wxString const &_result_ref = (arg1)->GetText();
23475 result = (wxString *) &_result_ref;
23476 }
23477
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 {
23482#if wxUSE_UNICODE
23483 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23484#else
23485 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23486#endif
23487 }
23488 return resultobj;
23489 fail:
23490 return NULL;
23491}
23492
23493
c370783e 23494static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23495 PyObject *resultobj = NULL;
d55e5bfc
RD
23496 wxListItem *arg1 = (wxListItem *) 0 ;
23497 int result;
23498 PyObject * obj0 = 0 ;
23499 char *kwnames[] = {
23500 (char *) "self", NULL
23501 };
23502
23503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 result = (int)(arg1)->GetImage();
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
36ed4f51 23513 {
32fe5131 23514 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23515 }
d55e5bfc
RD
23516 return resultobj;
23517 fail:
23518 return NULL;
23519}
23520
23521
c370783e 23522static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23523 PyObject *resultobj = NULL;
d55e5bfc
RD
23524 wxListItem *arg1 = (wxListItem *) 0 ;
23525 long result;
23526 PyObject * obj0 = 0 ;
23527 char *kwnames[] = {
23528 (char *) "self", NULL
23529 };
23530
23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = (long)(arg1)->GetData();
23537
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
36ed4f51 23541 {
32fe5131 23542 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23543 }
d55e5bfc
RD
23544 return resultobj;
23545 fail:
23546 return NULL;
23547}
23548
23549
c370783e 23550static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23551 PyObject *resultobj = NULL;
d55e5bfc
RD
23552 wxListItem *arg1 = (wxListItem *) 0 ;
23553 int result;
23554 PyObject * obj0 = 0 ;
23555 char *kwnames[] = {
23556 (char *) "self", NULL
23557 };
23558
23559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
23560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = (int)(arg1)->GetWidth();
23565
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
36ed4f51 23569 {
32fe5131 23570 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23571 }
d55e5bfc
RD
23572 return resultobj;
23573 fail:
23574 return NULL;
23575}
23576
23577
c370783e 23578static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23579 PyObject *resultobj = NULL;
d55e5bfc 23580 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 23581 wxListColumnFormat result;
d55e5bfc
RD
23582 PyObject * obj0 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
23588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 23592 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
36ed4f51 23597 resultobj = SWIG_From_int((result));
d55e5bfc
RD
23598 return resultobj;
23599 fail:
23600 return NULL;
23601}
23602
23603
c370783e 23604static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23605 PyObject *resultobj = NULL;
d55e5bfc
RD
23606 wxListItem *arg1 = (wxListItem *) 0 ;
23607 wxListItemAttr *result;
23608 PyObject * obj0 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
23614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 result = (wxListItemAttr *)(arg1)->GetAttributes();
23619
23620 wxPyEndAllowThreads(__tstate);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
23623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
23624 return resultobj;
23625 fail:
23626 return NULL;
23627}
23628
23629
c370783e 23630static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23631 PyObject *resultobj = NULL;
d55e5bfc
RD
23632 wxListItem *arg1 = (wxListItem *) 0 ;
23633 bool result;
23634 PyObject * obj0 = 0 ;
23635 char *kwnames[] = {
23636 (char *) "self", NULL
23637 };
23638
23639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
23640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 result = (bool)(arg1)->HasAttributes();
23645
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 {
23650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23651 }
23652 return resultobj;
23653 fail:
23654 return NULL;
23655}
23656
23657
c370783e 23658static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23659 PyObject *resultobj = NULL;
d55e5bfc
RD
23660 wxListItem *arg1 = (wxListItem *) 0 ;
23661 wxColour result;
23662 PyObject * obj0 = 0 ;
23663 char *kwnames[] = {
23664 (char *) "self", NULL
23665 };
23666
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
23668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 result = ((wxListItem const *)arg1)->GetTextColour();
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 {
23678 wxColour * resultptr;
32fe5131 23679 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
23680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23681 }
23682 return resultobj;
23683 fail:
23684 return NULL;
23685}
23686
23687
c370783e 23688static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23689 PyObject *resultobj = NULL;
d55e5bfc
RD
23690 wxListItem *arg1 = (wxListItem *) 0 ;
23691 wxColour result;
23692 PyObject * obj0 = 0 ;
23693 char *kwnames[] = {
23694 (char *) "self", NULL
23695 };
23696
23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
23698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23700 {
23701 PyThreadState* __tstate = wxPyBeginAllowThreads();
23702 result = ((wxListItem const *)arg1)->GetBackgroundColour();
23703
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 {
23708 wxColour * resultptr;
32fe5131 23709 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
23710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23711 }
23712 return resultobj;
23713 fail:
23714 return NULL;
23715}
23716
23717
c370783e 23718static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23719 PyObject *resultobj = NULL;
d55e5bfc
RD
23720 wxListItem *arg1 = (wxListItem *) 0 ;
23721 wxFont result;
23722 PyObject * obj0 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
23728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 result = ((wxListItem const *)arg1)->GetFont();
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 {
23738 wxFont * resultptr;
32fe5131 23739 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
23740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
23741 }
23742 return resultobj;
23743 fail:
23744 return NULL;
23745}
23746
23747
c370783e 23748static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23749 PyObject *resultobj = NULL;
d55e5bfc
RD
23750 wxListItem *arg1 = (wxListItem *) 0 ;
23751 long arg2 ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "m_mask", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail;
23761 {
32fe5131 23762 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
23763 if (SWIG_arg_fail(2)) SWIG_fail;
23764 }
d55e5bfc
RD
23765 if (arg1) (arg1)->m_mask = arg2;
23766
23767 Py_INCREF(Py_None); resultobj = Py_None;
23768 return resultobj;
23769 fail:
23770 return NULL;
23771}
23772
23773
c370783e 23774static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23775 PyObject *resultobj = NULL;
d55e5bfc
RD
23776 wxListItem *arg1 = (wxListItem *) 0 ;
23777 long result;
23778 PyObject * obj0 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23786 result = (long) ((arg1)->m_mask);
23787
36ed4f51 23788 {
32fe5131 23789 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23790 }
d55e5bfc
RD
23791 return resultobj;
23792 fail:
23793 return NULL;
23794}
23795
23796
c370783e 23797static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23798 PyObject *resultobj = NULL;
d55e5bfc
RD
23799 wxListItem *arg1 = (wxListItem *) 0 ;
23800 long arg2 ;
23801 PyObject * obj0 = 0 ;
23802 PyObject * obj1 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "m_itemId", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23809 if (SWIG_arg_fail(1)) SWIG_fail;
23810 {
32fe5131 23811 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
23812 if (SWIG_arg_fail(2)) SWIG_fail;
23813 }
d55e5bfc
RD
23814 if (arg1) (arg1)->m_itemId = arg2;
23815
23816 Py_INCREF(Py_None); resultobj = Py_None;
23817 return resultobj;
23818 fail:
23819 return NULL;
23820}
23821
23822
c370783e 23823static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23824 PyObject *resultobj = NULL;
d55e5bfc
RD
23825 wxListItem *arg1 = (wxListItem *) 0 ;
23826 long result;
23827 PyObject * obj0 = 0 ;
23828 char *kwnames[] = {
23829 (char *) "self", NULL
23830 };
23831
23832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23835 result = (long) ((arg1)->m_itemId);
23836
36ed4f51 23837 {
32fe5131 23838 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23839 }
d55e5bfc
RD
23840 return resultobj;
23841 fail:
23842 return NULL;
23843}
23844
23845
c370783e 23846static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23847 PyObject *resultobj = NULL;
d55e5bfc
RD
23848 wxListItem *arg1 = (wxListItem *) 0 ;
23849 int arg2 ;
23850 PyObject * obj0 = 0 ;
23851 PyObject * obj1 = 0 ;
23852 char *kwnames[] = {
23853 (char *) "self",(char *) "m_col", NULL
23854 };
23855
23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail;
23859 {
32fe5131 23860 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
23861 if (SWIG_arg_fail(2)) SWIG_fail;
23862 }
d55e5bfc
RD
23863 if (arg1) (arg1)->m_col = arg2;
23864
23865 Py_INCREF(Py_None); resultobj = Py_None;
23866 return resultobj;
23867 fail:
23868 return NULL;
23869}
23870
23871
c370783e 23872static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23873 PyObject *resultobj = NULL;
d55e5bfc
RD
23874 wxListItem *arg1 = (wxListItem *) 0 ;
23875 int result;
23876 PyObject * obj0 = 0 ;
23877 char *kwnames[] = {
23878 (char *) "self", NULL
23879 };
23880
23881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23884 result = (int) ((arg1)->m_col);
23885
36ed4f51 23886 {
32fe5131 23887 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23888 }
d55e5bfc
RD
23889 return resultobj;
23890 fail:
23891 return NULL;
23892}
23893
23894
c370783e 23895static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23896 PyObject *resultobj = NULL;
d55e5bfc
RD
23897 wxListItem *arg1 = (wxListItem *) 0 ;
23898 long arg2 ;
23899 PyObject * obj0 = 0 ;
23900 PyObject * obj1 = 0 ;
23901 char *kwnames[] = {
23902 (char *) "self",(char *) "m_state", NULL
23903 };
23904
23905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23907 if (SWIG_arg_fail(1)) SWIG_fail;
23908 {
32fe5131 23909 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
23910 if (SWIG_arg_fail(2)) SWIG_fail;
23911 }
d55e5bfc
RD
23912 if (arg1) (arg1)->m_state = arg2;
23913
23914 Py_INCREF(Py_None); resultobj = Py_None;
23915 return resultobj;
23916 fail:
23917 return NULL;
23918}
23919
23920
c370783e 23921static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23922 PyObject *resultobj = NULL;
d55e5bfc
RD
23923 wxListItem *arg1 = (wxListItem *) 0 ;
23924 long result;
23925 PyObject * obj0 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23933 result = (long) ((arg1)->m_state);
23934
36ed4f51 23935 {
32fe5131 23936 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23937 }
d55e5bfc
RD
23938 return resultobj;
23939 fail:
23940 return NULL;
23941}
23942
23943
c370783e 23944static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23945 PyObject *resultobj = NULL;
d55e5bfc
RD
23946 wxListItem *arg1 = (wxListItem *) 0 ;
23947 long arg2 ;
23948 PyObject * obj0 = 0 ;
23949 PyObject * obj1 = 0 ;
23950 char *kwnames[] = {
23951 (char *) "self",(char *) "m_stateMask", NULL
23952 };
23953
23954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail;
23957 {
32fe5131 23958 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
23959 if (SWIG_arg_fail(2)) SWIG_fail;
23960 }
d55e5bfc
RD
23961 if (arg1) (arg1)->m_stateMask = arg2;
23962
23963 Py_INCREF(Py_None); resultobj = Py_None;
23964 return resultobj;
23965 fail:
23966 return NULL;
23967}
23968
23969
c370783e 23970static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23971 PyObject *resultobj = NULL;
d55e5bfc
RD
23972 wxListItem *arg1 = (wxListItem *) 0 ;
23973 long result;
23974 PyObject * obj0 = 0 ;
23975 char *kwnames[] = {
23976 (char *) "self", NULL
23977 };
23978
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23982 result = (long) ((arg1)->m_stateMask);
23983
36ed4f51 23984 {
32fe5131 23985 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 23986 }
d55e5bfc
RD
23987 return resultobj;
23988 fail:
23989 return NULL;
23990}
23991
23992
c370783e 23993static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23994 PyObject *resultobj = NULL;
d55e5bfc
RD
23995 wxListItem *arg1 = (wxListItem *) 0 ;
23996 wxString *arg2 = (wxString *) 0 ;
b411df4a 23997 bool temp2 = false ;
d55e5bfc
RD
23998 PyObject * obj0 = 0 ;
23999 PyObject * obj1 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self",(char *) "m_text", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24007 {
24008 arg2 = wxString_in_helper(obj1);
24009 if (arg2 == NULL) SWIG_fail;
b411df4a 24010 temp2 = true;
d55e5bfc
RD
24011 }
24012 if (arg1) (arg1)->m_text = *arg2;
24013
24014 Py_INCREF(Py_None); resultobj = Py_None;
24015 {
24016 if (temp2)
24017 delete arg2;
24018 }
24019 return resultobj;
24020 fail:
24021 {
24022 if (temp2)
24023 delete arg2;
24024 }
24025 return NULL;
24026}
24027
24028
c370783e 24029static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24030 PyObject *resultobj = NULL;
d55e5bfc
RD
24031 wxListItem *arg1 = (wxListItem *) 0 ;
24032 wxString *result;
24033 PyObject * obj0 = 0 ;
24034 char *kwnames[] = {
24035 (char *) "self", NULL
24036 };
24037
24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24041 result = (wxString *)& ((arg1)->m_text);
24042
24043 {
24044#if wxUSE_UNICODE
24045 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24046#else
24047 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24048#endif
24049 }
24050 return resultobj;
24051 fail:
24052 return NULL;
24053}
24054
24055
c370783e 24056static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24057 PyObject *resultobj = NULL;
d55e5bfc
RD
24058 wxListItem *arg1 = (wxListItem *) 0 ;
24059 int arg2 ;
24060 PyObject * obj0 = 0 ;
24061 PyObject * obj1 = 0 ;
24062 char *kwnames[] = {
24063 (char *) "self",(char *) "m_image", NULL
24064 };
24065
24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24068 if (SWIG_arg_fail(1)) SWIG_fail;
24069 {
32fe5131 24070 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24071 if (SWIG_arg_fail(2)) SWIG_fail;
24072 }
d55e5bfc
RD
24073 if (arg1) (arg1)->m_image = arg2;
24074
24075 Py_INCREF(Py_None); resultobj = Py_None;
24076 return resultobj;
24077 fail:
24078 return NULL;
24079}
24080
24081
c370783e 24082static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24083 PyObject *resultobj = NULL;
d55e5bfc
RD
24084 wxListItem *arg1 = (wxListItem *) 0 ;
24085 int result;
24086 PyObject * obj0 = 0 ;
24087 char *kwnames[] = {
24088 (char *) "self", NULL
24089 };
24090
24091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24094 result = (int) ((arg1)->m_image);
24095
36ed4f51 24096 {
32fe5131 24097 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24098 }
d55e5bfc
RD
24099 return resultobj;
24100 fail:
24101 return NULL;
24102}
24103
24104
c370783e 24105static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24106 PyObject *resultobj = NULL;
d55e5bfc
RD
24107 wxListItem *arg1 = (wxListItem *) 0 ;
24108 long arg2 ;
24109 PyObject * obj0 = 0 ;
24110 PyObject * obj1 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self",(char *) "m_data", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24117 if (SWIG_arg_fail(1)) SWIG_fail;
24118 {
32fe5131 24119 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
24120 if (SWIG_arg_fail(2)) SWIG_fail;
24121 }
d55e5bfc
RD
24122 if (arg1) (arg1)->m_data = arg2;
24123
24124 Py_INCREF(Py_None); resultobj = Py_None;
24125 return resultobj;
24126 fail:
24127 return NULL;
24128}
24129
24130
c370783e 24131static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24132 PyObject *resultobj = NULL;
d55e5bfc
RD
24133 wxListItem *arg1 = (wxListItem *) 0 ;
24134 long result;
24135 PyObject * obj0 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24143 result = (long) ((arg1)->m_data);
24144
36ed4f51 24145 {
32fe5131 24146 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24147 }
d55e5bfc
RD
24148 return resultobj;
24149 fail:
24150 return NULL;
24151}
24152
24153
c370783e 24154static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24155 PyObject *resultobj = NULL;
d55e5bfc
RD
24156 wxListItem *arg1 = (wxListItem *) 0 ;
24157 int arg2 ;
24158 PyObject * obj0 = 0 ;
24159 PyObject * obj1 = 0 ;
24160 char *kwnames[] = {
24161 (char *) "self",(char *) "m_format", NULL
24162 };
24163
24164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24166 if (SWIG_arg_fail(1)) SWIG_fail;
24167 {
32fe5131 24168 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24169 if (SWIG_arg_fail(2)) SWIG_fail;
24170 }
d55e5bfc
RD
24171 if (arg1) (arg1)->m_format = arg2;
24172
24173 Py_INCREF(Py_None); resultobj = Py_None;
24174 return resultobj;
24175 fail:
24176 return NULL;
24177}
24178
24179
c370783e 24180static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24181 PyObject *resultobj = NULL;
d55e5bfc
RD
24182 wxListItem *arg1 = (wxListItem *) 0 ;
24183 int result;
24184 PyObject * obj0 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24192 result = (int) ((arg1)->m_format);
24193
36ed4f51 24194 {
32fe5131 24195 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24196 }
d55e5bfc
RD
24197 return resultobj;
24198 fail:
24199 return NULL;
24200}
24201
24202
c370783e 24203static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24204 PyObject *resultobj = NULL;
d55e5bfc
RD
24205 wxListItem *arg1 = (wxListItem *) 0 ;
24206 int arg2 ;
24207 PyObject * obj0 = 0 ;
24208 PyObject * obj1 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self",(char *) "m_width", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail;
24216 {
32fe5131 24217 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24218 if (SWIG_arg_fail(2)) SWIG_fail;
24219 }
d55e5bfc
RD
24220 if (arg1) (arg1)->m_width = arg2;
24221
24222 Py_INCREF(Py_None); resultobj = Py_None;
24223 return resultobj;
24224 fail:
24225 return NULL;
24226}
24227
24228
c370783e 24229static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24230 PyObject *resultobj = NULL;
d55e5bfc
RD
24231 wxListItem *arg1 = (wxListItem *) 0 ;
24232 int result;
24233 PyObject * obj0 = 0 ;
24234 char *kwnames[] = {
24235 (char *) "self", NULL
24236 };
24237
24238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24241 result = (int) ((arg1)->m_width);
24242
36ed4f51 24243 {
32fe5131 24244 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24245 }
d55e5bfc
RD
24246 return resultobj;
24247 fail:
24248 return NULL;
24249}
24250
24251
c370783e 24252static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24253 PyObject *obj;
24254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24255 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
24256 Py_INCREF(obj);
24257 return Py_BuildValue((char *)"");
24258}
c370783e 24259static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24260 PyObject *resultobj = NULL;
d55e5bfc
RD
24261 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24262 int arg2 = (int) 0 ;
24263 wxListEvent *result;
24264 PyObject * obj0 = 0 ;
24265 PyObject * obj1 = 0 ;
24266 char *kwnames[] = {
24267 (char *) "commandType",(char *) "id", NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
24271 if (obj0) {
36ed4f51 24272 {
32fe5131 24273 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
24274 if (SWIG_arg_fail(1)) SWIG_fail;
24275 }
d55e5bfc
RD
24276 }
24277 if (obj1) {
36ed4f51 24278 {
32fe5131 24279 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24280 if (SWIG_arg_fail(2)) SWIG_fail;
24281 }
d55e5bfc
RD
24282 }
24283 {
24284 PyThreadState* __tstate = wxPyBeginAllowThreads();
24285 result = (wxListEvent *)new wxListEvent(arg1,arg2);
24286
24287 wxPyEndAllowThreads(__tstate);
24288 if (PyErr_Occurred()) SWIG_fail;
24289 }
24290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
24291 return resultobj;
24292 fail:
24293 return NULL;
24294}
24295
24296
c370783e 24297static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24298 PyObject *resultobj = NULL;
d55e5bfc
RD
24299 wxListEvent *arg1 = (wxListEvent *) 0 ;
24300 int arg2 ;
24301 PyObject * obj0 = 0 ;
24302 PyObject * obj1 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "self",(char *) "m_code", NULL
24305 };
24306
24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24309 if (SWIG_arg_fail(1)) SWIG_fail;
24310 {
32fe5131 24311 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24312 if (SWIG_arg_fail(2)) SWIG_fail;
24313 }
d55e5bfc
RD
24314 if (arg1) (arg1)->m_code = arg2;
24315
24316 Py_INCREF(Py_None); resultobj = Py_None;
24317 return resultobj;
24318 fail:
24319 return NULL;
24320}
24321
24322
c370783e 24323static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24324 PyObject *resultobj = NULL;
d55e5bfc
RD
24325 wxListEvent *arg1 = (wxListEvent *) 0 ;
24326 int result;
24327 PyObject * obj0 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24334 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24335 result = (int) ((arg1)->m_code);
24336
36ed4f51 24337 {
32fe5131 24338 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24339 }
d55e5bfc
RD
24340 return resultobj;
24341 fail:
24342 return NULL;
24343}
24344
24345
c370783e 24346static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24347 PyObject *resultobj = NULL;
d55e5bfc
RD
24348 wxListEvent *arg1 = (wxListEvent *) 0 ;
24349 long arg2 ;
24350 PyObject * obj0 = 0 ;
24351 PyObject * obj1 = 0 ;
24352 char *kwnames[] = {
24353 (char *) "self",(char *) "m_oldItemIndex", NULL
24354 };
24355
24356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24358 if (SWIG_arg_fail(1)) SWIG_fail;
24359 {
32fe5131 24360 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
24361 if (SWIG_arg_fail(2)) SWIG_fail;
24362 }
d55e5bfc
RD
24363 if (arg1) (arg1)->m_oldItemIndex = arg2;
24364
24365 Py_INCREF(Py_None); resultobj = Py_None;
24366 return resultobj;
24367 fail:
24368 return NULL;
24369}
24370
24371
c370783e 24372static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24373 PyObject *resultobj = NULL;
d55e5bfc
RD
24374 wxListEvent *arg1 = (wxListEvent *) 0 ;
24375 long result;
24376 PyObject * obj0 = 0 ;
24377 char *kwnames[] = {
24378 (char *) "self", NULL
24379 };
24380
24381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24384 result = (long) ((arg1)->m_oldItemIndex);
24385
36ed4f51 24386 {
32fe5131 24387 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24388 }
d55e5bfc
RD
24389 return resultobj;
24390 fail:
24391 return NULL;
24392}
24393
24394
c370783e 24395static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24396 PyObject *resultobj = NULL;
d55e5bfc
RD
24397 wxListEvent *arg1 = (wxListEvent *) 0 ;
24398 long arg2 ;
24399 PyObject * obj0 = 0 ;
24400 PyObject * obj1 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self",(char *) "m_itemIndex", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24407 if (SWIG_arg_fail(1)) SWIG_fail;
24408 {
32fe5131 24409 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
24410 if (SWIG_arg_fail(2)) SWIG_fail;
24411 }
d55e5bfc
RD
24412 if (arg1) (arg1)->m_itemIndex = arg2;
24413
24414 Py_INCREF(Py_None); resultobj = Py_None;
24415 return resultobj;
24416 fail:
24417 return NULL;
24418}
24419
24420
c370783e 24421static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24422 PyObject *resultobj = NULL;
d55e5bfc
RD
24423 wxListEvent *arg1 = (wxListEvent *) 0 ;
24424 long result;
24425 PyObject * obj0 = 0 ;
24426 char *kwnames[] = {
24427 (char *) "self", NULL
24428 };
24429
24430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24433 result = (long) ((arg1)->m_itemIndex);
24434
36ed4f51 24435 {
32fe5131 24436 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24437 }
d55e5bfc
RD
24438 return resultobj;
24439 fail:
24440 return NULL;
24441}
24442
24443
c370783e 24444static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24445 PyObject *resultobj = NULL;
d55e5bfc
RD
24446 wxListEvent *arg1 = (wxListEvent *) 0 ;
24447 int arg2 ;
24448 PyObject * obj0 = 0 ;
24449 PyObject * obj1 = 0 ;
24450 char *kwnames[] = {
24451 (char *) "self",(char *) "m_col", NULL
24452 };
24453
24454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24456 if (SWIG_arg_fail(1)) SWIG_fail;
24457 {
32fe5131 24458 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
24459 if (SWIG_arg_fail(2)) SWIG_fail;
24460 }
d55e5bfc
RD
24461 if (arg1) (arg1)->m_col = arg2;
24462
24463 Py_INCREF(Py_None); resultobj = Py_None;
24464 return resultobj;
24465 fail:
24466 return NULL;
24467}
24468
24469
c370783e 24470static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24471 PyObject *resultobj = NULL;
d55e5bfc
RD
24472 wxListEvent *arg1 = (wxListEvent *) 0 ;
24473 int result;
24474 PyObject * obj0 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24482 result = (int) ((arg1)->m_col);
24483
36ed4f51 24484 {
32fe5131 24485 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24486 }
d55e5bfc
RD
24487 return resultobj;
24488 fail:
24489 return NULL;
24490}
24491
24492
c370783e 24493static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24494 PyObject *resultobj = NULL;
d55e5bfc
RD
24495 wxListEvent *arg1 = (wxListEvent *) 0 ;
24496 wxPoint *arg2 = (wxPoint *) 0 ;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self",(char *) "m_pointDrag", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24505 if (SWIG_arg_fail(1)) SWIG_fail;
24506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
24507 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24508 if (arg1) (arg1)->m_pointDrag = *arg2;
24509
24510 Py_INCREF(Py_None); resultobj = Py_None;
24511 return resultobj;
24512 fail:
24513 return NULL;
24514}
24515
24516
c370783e 24517static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24518 PyObject *resultobj = NULL;
d55e5bfc
RD
24519 wxListEvent *arg1 = (wxListEvent *) 0 ;
24520 wxPoint *result;
24521 PyObject * obj0 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24529 result = (wxPoint *)& ((arg1)->m_pointDrag);
24530
24531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
c370783e 24538static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24539 PyObject *resultobj = NULL;
d55e5bfc
RD
24540 wxListEvent *arg1 = (wxListEvent *) 0 ;
24541 wxListItem *result;
24542 PyObject * obj0 = 0 ;
24543 char *kwnames[] = {
24544 (char *) "self", NULL
24545 };
24546
24547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
24548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24550 result = (wxListItem *)& ((arg1)->m_item);
24551
24552 {
7e08d4ef 24553 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24554 }
24555 return resultobj;
24556 fail:
24557 return NULL;
24558}
24559
24560
c370783e 24561static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24562 PyObject *resultobj = NULL;
d55e5bfc
RD
24563 wxListEvent *arg1 = (wxListEvent *) 0 ;
24564 int result;
24565 PyObject * obj0 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
24571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24573 {
24574 PyThreadState* __tstate = wxPyBeginAllowThreads();
24575 result = (int)(arg1)->GetKeyCode();
24576
24577 wxPyEndAllowThreads(__tstate);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
36ed4f51 24580 {
32fe5131 24581 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24582 }
d55e5bfc
RD
24583 return resultobj;
24584 fail:
24585 return NULL;
24586}
24587
24588
c370783e 24589static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24590 PyObject *resultobj = NULL;
d55e5bfc
RD
24591 wxListEvent *arg1 = (wxListEvent *) 0 ;
24592 long result;
24593 PyObject * obj0 = 0 ;
24594 char *kwnames[] = {
24595 (char *) "self", NULL
24596 };
24597
24598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
24599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (long)(arg1)->GetIndex();
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
36ed4f51 24608 {
32fe5131 24609 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24610 }
d55e5bfc
RD
24611 return resultobj;
24612 fail:
24613 return NULL;
24614}
24615
24616
c370783e 24617static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24618 PyObject *resultobj = NULL;
d55e5bfc
RD
24619 wxListEvent *arg1 = (wxListEvent *) 0 ;
24620 int result;
24621 PyObject * obj0 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
24627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 result = (int)(arg1)->GetColumn();
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
36ed4f51 24636 {
32fe5131 24637 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24638 }
d55e5bfc
RD
24639 return resultobj;
24640 fail:
24641 return NULL;
24642}
24643
24644
c370783e 24645static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24646 PyObject *resultobj = NULL;
d55e5bfc
RD
24647 wxListEvent *arg1 = (wxListEvent *) 0 ;
24648 wxPoint result;
24649 PyObject * obj0 = 0 ;
24650 char *kwnames[] = {
24651 (char *) "self", NULL
24652 };
24653
24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
24655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 result = (arg1)->GetPoint();
24660
24661 wxPyEndAllowThreads(__tstate);
24662 if (PyErr_Occurred()) SWIG_fail;
24663 }
24664 {
24665 wxPoint * resultptr;
32fe5131 24666 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
24667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24668 }
24669 return resultobj;
24670 fail:
24671 return NULL;
24672}
24673
24674
c370783e 24675static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24676 PyObject *resultobj = NULL;
d55e5bfc
RD
24677 wxListEvent *arg1 = (wxListEvent *) 0 ;
24678 wxString *result;
24679 PyObject * obj0 = 0 ;
24680 char *kwnames[] = {
24681 (char *) "self", NULL
24682 };
24683
24684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
24685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 {
24690 wxString const &_result_ref = (arg1)->GetLabel();
24691 result = (wxString *) &_result_ref;
24692 }
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 {
24698#if wxUSE_UNICODE
24699 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24700#else
24701 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24702#endif
24703 }
24704 return resultobj;
24705 fail:
24706 return NULL;
24707}
24708
24709
c370783e 24710static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24711 PyObject *resultobj = NULL;
d55e5bfc
RD
24712 wxListEvent *arg1 = (wxListEvent *) 0 ;
24713 wxString *result;
24714 PyObject * obj0 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "self", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
24720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24721 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 {
24725 wxString const &_result_ref = (arg1)->GetText();
24726 result = (wxString *) &_result_ref;
24727 }
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 {
24733#if wxUSE_UNICODE
24734 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24735#else
24736 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24737#endif
24738 }
24739 return resultobj;
24740 fail:
24741 return NULL;
24742}
24743
24744
c370783e 24745static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24746 PyObject *resultobj = NULL;
d55e5bfc
RD
24747 wxListEvent *arg1 = (wxListEvent *) 0 ;
24748 int result;
24749 PyObject * obj0 = 0 ;
24750 char *kwnames[] = {
24751 (char *) "self", NULL
24752 };
24753
24754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
24755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 result = (int)(arg1)->GetImage();
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
36ed4f51 24764 {
32fe5131 24765 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24766 }
d55e5bfc
RD
24767 return resultobj;
24768 fail:
24769 return NULL;
24770}
24771
24772
c370783e 24773static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24774 PyObject *resultobj = NULL;
d55e5bfc
RD
24775 wxListEvent *arg1 = (wxListEvent *) 0 ;
24776 long result;
24777 PyObject * obj0 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
24783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 result = (long)(arg1)->GetData();
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
36ed4f51 24792 {
32fe5131 24793 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24794 }
d55e5bfc
RD
24795 return resultobj;
24796 fail:
24797 return NULL;
24798}
24799
24800
c370783e 24801static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24802 PyObject *resultobj = NULL;
d55e5bfc
RD
24803 wxListEvent *arg1 = (wxListEvent *) 0 ;
24804 long result;
24805 PyObject * obj0 = 0 ;
24806 char *kwnames[] = {
24807 (char *) "self", NULL
24808 };
24809
24810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
24811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (long)(arg1)->GetMask();
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
36ed4f51 24820 {
32fe5131 24821 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24822 }
d55e5bfc
RD
24823 return resultobj;
24824 fail:
24825 return NULL;
24826}
24827
24828
c370783e 24829static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24830 PyObject *resultobj = NULL;
d55e5bfc
RD
24831 wxListEvent *arg1 = (wxListEvent *) 0 ;
24832 wxListItem *result;
24833 PyObject * obj0 = 0 ;
24834 char *kwnames[] = {
24835 (char *) "self", NULL
24836 };
24837
24838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
24839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24841 {
24842 PyThreadState* __tstate = wxPyBeginAllowThreads();
24843 {
24844 wxListItem const &_result_ref = (arg1)->GetItem();
24845 result = (wxListItem *) &_result_ref;
24846 }
24847
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
24852 return resultobj;
24853 fail:
24854 return NULL;
24855}
24856
24857
c370783e 24858static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24859 PyObject *resultobj = NULL;
d55e5bfc
RD
24860 wxListEvent *arg1 = (wxListEvent *) 0 ;
24861 long result;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
36ed4f51
RD
24868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 result = (long)(arg1)->GetCacheFrom();
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
36ed4f51 24877 {
32fe5131 24878 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24879 }
d55e5bfc
RD
24880 return resultobj;
24881 fail:
24882 return NULL;
24883}
24884
24885
c370783e 24886static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24887 PyObject *resultobj = NULL;
d55e5bfc
RD
24888 wxListEvent *arg1 = (wxListEvent *) 0 ;
24889 long result;
24890 PyObject * obj0 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "self", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
36ed4f51
RD
24896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 result = (long)(arg1)->GetCacheTo();
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
36ed4f51 24905 {
32fe5131 24906 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 24907 }
d55e5bfc
RD
24908 return resultobj;
24909 fail:
24910 return NULL;
24911}
24912
24913
c370783e 24914static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24915 PyObject *resultobj = NULL;
d55e5bfc
RD
24916 wxListEvent *arg1 = (wxListEvent *) 0 ;
24917 bool result;
24918 PyObject * obj0 = 0 ;
24919 char *kwnames[] = {
24920 (char *) "self", NULL
24921 };
24922
24923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
24924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24926 {
24927 PyThreadState* __tstate = wxPyBeginAllowThreads();
24928 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
24929
24930 wxPyEndAllowThreads(__tstate);
24931 if (PyErr_Occurred()) SWIG_fail;
24932 }
24933 {
24934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24935 }
24936 return resultobj;
24937 fail:
24938 return NULL;
24939}
24940
24941
c370783e 24942static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24943 PyObject *resultobj = NULL;
d55e5bfc
RD
24944 wxListEvent *arg1 = (wxListEvent *) 0 ;
24945 bool arg2 ;
24946 PyObject * obj0 = 0 ;
24947 PyObject * obj1 = 0 ;
24948 char *kwnames[] = {
24949 (char *) "self",(char *) "editCancelled", NULL
24950 };
24951
24952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24954 if (SWIG_arg_fail(1)) SWIG_fail;
24955 {
32fe5131 24956 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
24957 if (SWIG_arg_fail(2)) SWIG_fail;
24958 }
d55e5bfc
RD
24959 {
24960 PyThreadState* __tstate = wxPyBeginAllowThreads();
24961 (arg1)->SetEditCanceled(arg2);
24962
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 Py_INCREF(Py_None); resultobj = Py_None;
24967 return resultobj;
24968 fail:
24969 return NULL;
24970}
24971
24972
c370783e 24973static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24974 PyObject *obj;
24975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24976 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
24977 Py_INCREF(obj);
24978 return Py_BuildValue((char *)"");
24979}
c370783e 24980static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24981 PyObject *resultobj = NULL;
d55e5bfc
RD
24982 wxWindow *arg1 = (wxWindow *) 0 ;
24983 int arg2 = (int) -1 ;
24984 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24985 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24986 wxSize const &arg4_defvalue = wxDefaultSize ;
24987 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24988 long arg5 = (long) wxLC_ICON ;
24989 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24990 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24991 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
24992 wxString *arg7 = (wxString *) &arg7_defvalue ;
24993 wxPyListCtrl *result;
24994 wxPoint temp3 ;
24995 wxSize temp4 ;
b411df4a 24996 bool temp7 = false ;
d55e5bfc
RD
24997 PyObject * obj0 = 0 ;
24998 PyObject * obj1 = 0 ;
24999 PyObject * obj2 = 0 ;
25000 PyObject * obj3 = 0 ;
25001 PyObject * obj4 = 0 ;
25002 PyObject * obj5 = 0 ;
25003 PyObject * obj6 = 0 ;
25004 char *kwnames[] = {
25005 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25011 if (obj1) {
36ed4f51 25012 {
32fe5131 25013 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25014 if (SWIG_arg_fail(2)) SWIG_fail;
25015 }
d55e5bfc
RD
25016 }
25017 if (obj2) {
25018 {
25019 arg3 = &temp3;
25020 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25021 }
25022 }
25023 if (obj3) {
25024 {
25025 arg4 = &temp4;
25026 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25027 }
25028 }
25029 if (obj4) {
36ed4f51 25030 {
32fe5131 25031 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
25032 if (SWIG_arg_fail(5)) SWIG_fail;
25033 }
d55e5bfc
RD
25034 }
25035 if (obj5) {
36ed4f51
RD
25036 {
25037 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25038 if (SWIG_arg_fail(6)) SWIG_fail;
25039 if (arg6 == NULL) {
25040 SWIG_null_ref("wxValidator");
25041 }
25042 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
25043 }
25044 }
25045 if (obj6) {
25046 {
25047 arg7 = wxString_in_helper(obj6);
25048 if (arg7 == NULL) SWIG_fail;
b411df4a 25049 temp7 = true;
d55e5bfc
RD
25050 }
25051 }
25052 {
0439c23b 25053 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25054 PyThreadState* __tstate = wxPyBeginAllowThreads();
25055 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25056
25057 wxPyEndAllowThreads(__tstate);
110da5b0 25058 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25059 }
25060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25061 {
25062 if (temp7)
25063 delete arg7;
25064 }
25065 return resultobj;
25066 fail:
25067 {
25068 if (temp7)
25069 delete arg7;
25070 }
25071 return NULL;
25072}
25073
25074
c370783e 25075static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25076 PyObject *resultobj = NULL;
d55e5bfc
RD
25077 wxPyListCtrl *result;
25078 char *kwnames[] = {
25079 NULL
25080 };
25081
25082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
25083 {
0439c23b 25084 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 result = (wxPyListCtrl *)new wxPyListCtrl();
25087
25088 wxPyEndAllowThreads(__tstate);
110da5b0 25089 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25090 }
25091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25092 return resultobj;
25093 fail:
25094 return NULL;
25095}
25096
25097
c370783e 25098static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25099 PyObject *resultobj = NULL;
d55e5bfc
RD
25100 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25101 wxWindow *arg2 = (wxWindow *) 0 ;
25102 int arg3 = (int) -1 ;
25103 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25104 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25105 wxSize const &arg5_defvalue = wxDefaultSize ;
25106 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25107 long arg6 = (long) wxLC_ICON ;
25108 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25109 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25110 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
25111 wxString *arg8 = (wxString *) &arg8_defvalue ;
25112 bool result;
25113 wxPoint temp4 ;
25114 wxSize temp5 ;
b411df4a 25115 bool temp8 = false ;
d55e5bfc
RD
25116 PyObject * obj0 = 0 ;
25117 PyObject * obj1 = 0 ;
25118 PyObject * obj2 = 0 ;
25119 PyObject * obj3 = 0 ;
25120 PyObject * obj4 = 0 ;
25121 PyObject * obj5 = 0 ;
25122 PyObject * obj6 = 0 ;
25123 PyObject * obj7 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25126 };
25127
25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
25129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail;
25131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25132 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 25133 if (obj2) {
36ed4f51 25134 {
32fe5131 25135 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
25136 if (SWIG_arg_fail(3)) SWIG_fail;
25137 }
d55e5bfc
RD
25138 }
25139 if (obj3) {
25140 {
25141 arg4 = &temp4;
25142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25143 }
25144 }
25145 if (obj4) {
25146 {
25147 arg5 = &temp5;
25148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25149 }
25150 }
25151 if (obj5) {
36ed4f51 25152 {
32fe5131 25153 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
25154 if (SWIG_arg_fail(6)) SWIG_fail;
25155 }
d55e5bfc
RD
25156 }
25157 if (obj6) {
36ed4f51
RD
25158 {
25159 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(7)) SWIG_fail;
25161 if (arg7 == NULL) {
25162 SWIG_null_ref("wxValidator");
25163 }
25164 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
25165 }
25166 }
25167 if (obj7) {
25168 {
25169 arg8 = wxString_in_helper(obj7);
25170 if (arg8 == NULL) SWIG_fail;
b411df4a 25171 temp8 = true;
d55e5bfc
RD
25172 }
25173 }
25174 {
25175 PyThreadState* __tstate = wxPyBeginAllowThreads();
25176 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25177
25178 wxPyEndAllowThreads(__tstate);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 {
25182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25183 }
25184 {
25185 if (temp8)
25186 delete arg8;
25187 }
25188 return resultobj;
25189 fail:
25190 {
25191 if (temp8)
25192 delete arg8;
25193 }
25194 return NULL;
25195}
25196
25197
c370783e 25198static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25199 PyObject *resultobj = NULL;
d55e5bfc
RD
25200 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25201 PyObject *arg2 = (PyObject *) 0 ;
25202 PyObject *arg3 = (PyObject *) 0 ;
25203 PyObject * obj0 = 0 ;
25204 PyObject * obj1 = 0 ;
25205 PyObject * obj2 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "self",(char *) "_class", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25212 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25213 arg2 = obj1;
25214 arg3 = obj2;
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 (arg1)->_setCallbackInfo(arg2,arg3);
25218
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 Py_INCREF(Py_None); resultobj = Py_None;
25223 return resultobj;
25224 fail:
25225 return NULL;
25226}
25227
25228
c370783e 25229static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25230 PyObject *resultobj = NULL;
d55e5bfc
RD
25231 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25232 wxColour *arg2 = 0 ;
25233 bool result;
25234 wxColour temp2 ;
25235 PyObject * obj0 = 0 ;
25236 PyObject * obj1 = 0 ;
25237 char *kwnames[] = {
25238 (char *) "self",(char *) "col", NULL
25239 };
25240
25241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25244 {
25245 arg2 = &temp2;
25246 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25247 }
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25251
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 {
25256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25257 }
25258 return resultobj;
25259 fail:
25260 return NULL;
25261}
25262
25263
c370783e 25264static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25265 PyObject *resultobj = NULL;
d55e5bfc
RD
25266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25267 wxColour *arg2 = 0 ;
25268 bool result;
25269 wxColour temp2 ;
25270 PyObject * obj0 = 0 ;
25271 PyObject * obj1 = 0 ;
25272 char *kwnames[] = {
25273 (char *) "self",(char *) "col", NULL
25274 };
25275
25276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25278 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25279 {
25280 arg2 = &temp2;
25281 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25282 }
25283 {
25284 PyThreadState* __tstate = wxPyBeginAllowThreads();
25285 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25286
25287 wxPyEndAllowThreads(__tstate);
25288 if (PyErr_Occurred()) SWIG_fail;
25289 }
25290 {
25291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25292 }
25293 return resultobj;
25294 fail:
25295 return NULL;
25296}
25297
25298
c370783e 25299static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25300 PyObject *resultobj = NULL;
d55e5bfc
RD
25301 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25302 int arg2 ;
25303 wxListItem *result;
25304 PyObject * obj0 = 0 ;
25305 PyObject * obj1 = 0 ;
25306 char *kwnames[] = {
25307 (char *) "self",(char *) "col", NULL
25308 };
25309
25310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25312 if (SWIG_arg_fail(1)) SWIG_fail;
25313 {
32fe5131 25314 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25315 if (SWIG_arg_fail(2)) SWIG_fail;
25316 }
d55e5bfc
RD
25317 {
25318 PyThreadState* __tstate = wxPyBeginAllowThreads();
25319 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
25320
25321 wxPyEndAllowThreads(__tstate);
25322 if (PyErr_Occurred()) SWIG_fail;
25323 }
25324 {
7e08d4ef 25325 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25326 }
25327 return resultobj;
25328 fail:
25329 return NULL;
25330}
25331
25332
c370783e 25333static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25334 PyObject *resultobj = NULL;
d55e5bfc
RD
25335 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25336 int arg2 ;
25337 wxListItem *arg3 = 0 ;
25338 bool result;
25339 PyObject * obj0 = 0 ;
25340 PyObject * obj1 = 0 ;
25341 PyObject * obj2 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self",(char *) "col",(char *) "item", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25348 if (SWIG_arg_fail(1)) SWIG_fail;
25349 {
32fe5131 25350 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25351 if (SWIG_arg_fail(2)) SWIG_fail;
25352 }
25353 {
25354 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25355 if (SWIG_arg_fail(3)) SWIG_fail;
25356 if (arg3 == NULL) {
25357 SWIG_null_ref("wxListItem");
25358 }
25359 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25360 }
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 result = (bool)(arg1)->SetColumn(arg2,*arg3);
25364
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 {
25369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25370 }
25371 return resultobj;
25372 fail:
25373 return NULL;
25374}
25375
25376
c370783e 25377static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25378 PyObject *resultobj = NULL;
d55e5bfc
RD
25379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25380 int arg2 ;
25381 int result;
25382 PyObject * obj0 = 0 ;
25383 PyObject * obj1 = 0 ;
25384 char *kwnames[] = {
25385 (char *) "self",(char *) "col", NULL
25386 };
25387
25388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail;
25391 {
32fe5131 25392 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25393 if (SWIG_arg_fail(2)) SWIG_fail;
25394 }
d55e5bfc
RD
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
25398
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
36ed4f51 25402 {
32fe5131 25403 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25404 }
d55e5bfc
RD
25405 return resultobj;
25406 fail:
25407 return NULL;
25408}
25409
25410
c370783e 25411static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25412 PyObject *resultobj = NULL;
d55e5bfc
RD
25413 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25414 int arg2 ;
25415 int arg3 ;
25416 bool result;
25417 PyObject * obj0 = 0 ;
25418 PyObject * obj1 = 0 ;
25419 PyObject * obj2 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self",(char *) "col",(char *) "width", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail;
25427 {
32fe5131 25428 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25429 if (SWIG_arg_fail(2)) SWIG_fail;
25430 }
25431 {
32fe5131 25432 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
25433 if (SWIG_arg_fail(3)) SWIG_fail;
25434 }
d55e5bfc
RD
25435 {
25436 PyThreadState* __tstate = wxPyBeginAllowThreads();
25437 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
25438
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 {
25443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25444 }
25445 return resultobj;
25446 fail:
25447 return NULL;
25448}
25449
25450
c370783e 25451static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25452 PyObject *resultobj = NULL;
d55e5bfc
RD
25453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25454 int result;
25455 PyObject * obj0 = 0 ;
25456 char *kwnames[] = {
25457 (char *) "self", NULL
25458 };
25459
25460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
25461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25462 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
25466
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
36ed4f51 25470 {
32fe5131 25471 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25472 }
d55e5bfc
RD
25473 return resultobj;
25474 fail:
25475 return NULL;
25476}
25477
25478
c370783e 25479static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25480 PyObject *resultobj = NULL;
d55e5bfc
RD
25481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25482 wxRect result;
25483 PyObject * obj0 = 0 ;
25484 char *kwnames[] = {
25485 (char *) "self", NULL
25486 };
25487
25488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
25489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 {
25499 wxRect * resultptr;
32fe5131 25500 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
25501 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25502 }
25503 return resultobj;
25504 fail:
25505 return NULL;
25506}
25507
25508
c370783e 25509static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25510 PyObject *resultobj = NULL;
d55e5bfc
RD
25511 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25512 long arg2 ;
25513 int arg3 = (int) 0 ;
25514 wxListItem *result;
25515 PyObject * obj0 = 0 ;
25516 PyObject * obj1 = 0 ;
25517 PyObject * obj2 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self",(char *) "itemId",(char *) "col", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail;
25525 {
32fe5131 25526 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25527 if (SWIG_arg_fail(2)) SWIG_fail;
25528 }
d55e5bfc 25529 if (obj2) {
36ed4f51 25530 {
32fe5131 25531 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
25532 if (SWIG_arg_fail(3)) SWIG_fail;
25533 }
d55e5bfc
RD
25534 }
25535 {
25536 PyThreadState* __tstate = wxPyBeginAllowThreads();
25537 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
25538
25539 wxPyEndAllowThreads(__tstate);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 {
7e08d4ef 25543 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25544 }
25545 return resultobj;
25546 fail:
25547 return NULL;
25548}
25549
25550
c370783e 25551static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25552 PyObject *resultobj = NULL;
d55e5bfc
RD
25553 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25554 wxListItem *arg2 = 0 ;
25555 bool result;
25556 PyObject * obj0 = 0 ;
25557 PyObject * obj1 = 0 ;
25558 char *kwnames[] = {
25559 (char *) "self",(char *) "info", NULL
25560 };
25561
25562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25564 if (SWIG_arg_fail(1)) SWIG_fail;
25565 {
25566 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25567 if (SWIG_arg_fail(2)) SWIG_fail;
25568 if (arg2 == NULL) {
25569 SWIG_null_ref("wxListItem");
25570 }
25571 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25572 }
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 result = (bool)(arg1)->SetItem(*arg2);
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 {
25581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25582 }
25583 return resultobj;
25584 fail:
25585 return NULL;
25586}
25587
25588
c370783e 25589static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25590 PyObject *resultobj = NULL;
d55e5bfc
RD
25591 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25592 long arg2 ;
25593 int arg3 ;
25594 wxString *arg4 = 0 ;
25595 int arg5 = (int) -1 ;
25596 long result;
b411df4a 25597 bool temp4 = false ;
d55e5bfc
RD
25598 PyObject * obj0 = 0 ;
25599 PyObject * obj1 = 0 ;
25600 PyObject * obj2 = 0 ;
25601 PyObject * obj3 = 0 ;
25602 PyObject * obj4 = 0 ;
25603 char *kwnames[] = {
25604 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25605 };
25606
25607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
25608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25609 if (SWIG_arg_fail(1)) SWIG_fail;
25610 {
32fe5131 25611 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25612 if (SWIG_arg_fail(2)) SWIG_fail;
25613 }
25614 {
32fe5131 25615 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
25616 if (SWIG_arg_fail(3)) SWIG_fail;
25617 }
d55e5bfc
RD
25618 {
25619 arg4 = wxString_in_helper(obj3);
25620 if (arg4 == NULL) SWIG_fail;
b411df4a 25621 temp4 = true;
d55e5bfc
RD
25622 }
25623 if (obj4) {
36ed4f51 25624 {
32fe5131 25625 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
25626 if (SWIG_arg_fail(5)) SWIG_fail;
25627 }
d55e5bfc
RD
25628 }
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
36ed4f51 25636 {
32fe5131 25637 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 25638 }
d55e5bfc
RD
25639 {
25640 if (temp4)
25641 delete arg4;
25642 }
25643 return resultobj;
25644 fail:
25645 {
25646 if (temp4)
25647 delete arg4;
25648 }
25649 return NULL;
25650}
25651
25652
c370783e 25653static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25654 PyObject *resultobj = NULL;
d55e5bfc
RD
25655 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25656 long arg2 ;
25657 long arg3 ;
25658 int result;
25659 PyObject * obj0 = 0 ;
25660 PyObject * obj1 = 0 ;
25661 PyObject * obj2 = 0 ;
25662 char *kwnames[] = {
25663 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25664 };
25665
25666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail;
25669 {
32fe5131 25670 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25671 if (SWIG_arg_fail(2)) SWIG_fail;
25672 }
25673 {
32fe5131 25674 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
25675 if (SWIG_arg_fail(3)) SWIG_fail;
25676 }
d55e5bfc
RD
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
25680
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
36ed4f51 25684 {
32fe5131 25685 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 25686 }
d55e5bfc
RD
25687 return resultobj;
25688 fail:
25689 return NULL;
25690}
25691
25692
c370783e 25693static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25694 PyObject *resultobj = NULL;
d55e5bfc
RD
25695 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25696 long arg2 ;
25697 long arg3 ;
25698 long arg4 ;
25699 bool result;
25700 PyObject * obj0 = 0 ;
25701 PyObject * obj1 = 0 ;
25702 PyObject * obj2 = 0 ;
25703 PyObject * obj3 = 0 ;
25704 char *kwnames[] = {
25705 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25706 };
25707
25708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25710 if (SWIG_arg_fail(1)) SWIG_fail;
25711 {
32fe5131 25712 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25713 if (SWIG_arg_fail(2)) SWIG_fail;
25714 }
25715 {
32fe5131 25716 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
25717 if (SWIG_arg_fail(3)) SWIG_fail;
25718 }
25719 {
32fe5131 25720 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
25721 if (SWIG_arg_fail(4)) SWIG_fail;
25722 }
d55e5bfc
RD
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
25726
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 {
25731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25732 }
25733 return resultobj;
25734 fail:
25735 return NULL;
25736}
25737
25738
c370783e 25739static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25740 PyObject *resultobj = NULL;
d55e5bfc
RD
25741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25742 long arg2 ;
25743 int arg3 ;
84f85550 25744 int arg4 = (int) -1 ;
d55e5bfc
RD
25745 bool result;
25746 PyObject * obj0 = 0 ;
25747 PyObject * obj1 = 0 ;
25748 PyObject * obj2 = 0 ;
25749 PyObject * obj3 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25752 };
25753
84f85550 25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail;
25757 {
32fe5131 25758 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25759 if (SWIG_arg_fail(2)) SWIG_fail;
25760 }
25761 {
32fe5131 25762 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
25763 if (SWIG_arg_fail(3)) SWIG_fail;
25764 }
84f85550 25765 if (obj3) {
36ed4f51 25766 {
32fe5131 25767 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
25768 if (SWIG_arg_fail(4)) SWIG_fail;
25769 }
84f85550 25770 }
d55e5bfc
RD
25771 {
25772 PyThreadState* __tstate = wxPyBeginAllowThreads();
25773 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
25774
25775 wxPyEndAllowThreads(__tstate);
25776 if (PyErr_Occurred()) SWIG_fail;
25777 }
25778 {
25779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25780 }
25781 return resultobj;
25782 fail:
25783 return NULL;
25784}
25785
25786
c370783e 25787static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25788 PyObject *resultobj = NULL;
d55e5bfc
RD
25789 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25790 long arg2 ;
25791 wxString result;
25792 PyObject * obj0 = 0 ;
25793 PyObject * obj1 = 0 ;
25794 char *kwnames[] = {
25795 (char *) "self",(char *) "item", NULL
25796 };
25797
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25800 if (SWIG_arg_fail(1)) SWIG_fail;
25801 {
32fe5131 25802 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25803 if (SWIG_arg_fail(2)) SWIG_fail;
25804 }
d55e5bfc
RD
25805 {
25806 PyThreadState* __tstate = wxPyBeginAllowThreads();
25807 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
25808
25809 wxPyEndAllowThreads(__tstate);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 {
25813#if wxUSE_UNICODE
25814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25815#else
25816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25817#endif
25818 }
25819 return resultobj;
25820 fail:
25821 return NULL;
25822}
25823
25824
c370783e 25825static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25826 PyObject *resultobj = NULL;
d55e5bfc
RD
25827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25828 long arg2 ;
25829 wxString *arg3 = 0 ;
b411df4a 25830 bool temp3 = false ;
d55e5bfc
RD
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 PyObject * obj2 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "self",(char *) "item",(char *) "str", NULL
25836 };
25837
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail;
25841 {
32fe5131 25842 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25843 if (SWIG_arg_fail(2)) SWIG_fail;
25844 }
d55e5bfc
RD
25845 {
25846 arg3 = wxString_in_helper(obj2);
25847 if (arg3 == NULL) SWIG_fail;
b411df4a 25848 temp3 = true;
d55e5bfc
RD
25849 }
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
25853
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 Py_INCREF(Py_None); resultobj = Py_None;
25858 {
25859 if (temp3)
25860 delete arg3;
25861 }
25862 return resultobj;
25863 fail:
25864 {
25865 if (temp3)
25866 delete arg3;
25867 }
25868 return NULL;
25869}
25870
25871
c370783e 25872static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25873 PyObject *resultobj = NULL;
d55e5bfc
RD
25874 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25875 long arg2 ;
25876 long result;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 char *kwnames[] = {
25880 (char *) "self",(char *) "item", NULL
25881 };
25882
25883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25885 if (SWIG_arg_fail(1)) SWIG_fail;
25886 {
32fe5131 25887 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25888 if (SWIG_arg_fail(2)) SWIG_fail;
25889 }
d55e5bfc
RD
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
36ed4f51 25897 {
32fe5131 25898 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 25899 }
d55e5bfc
RD
25900 return resultobj;
25901 fail:
25902 return NULL;
25903}
25904
25905
c370783e 25906static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25907 PyObject *resultobj = NULL;
d55e5bfc
RD
25908 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25909 long arg2 ;
25910 long arg3 ;
25911 bool result;
25912 PyObject * obj0 = 0 ;
25913 PyObject * obj1 = 0 ;
25914 PyObject * obj2 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "self",(char *) "item",(char *) "data", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25921 if (SWIG_arg_fail(1)) SWIG_fail;
25922 {
32fe5131 25923 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25924 if (SWIG_arg_fail(2)) SWIG_fail;
25925 }
25926 {
32fe5131 25927 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
25928 if (SWIG_arg_fail(3)) SWIG_fail;
25929 }
d55e5bfc
RD
25930 {
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 result = (bool)(arg1)->SetItemData(arg2,arg3);
25933
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 {
25938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25939 }
25940 return resultobj;
25941 fail:
25942 return NULL;
25943}
25944
25945
c370783e 25946static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25947 PyObject *resultobj = NULL;
d55e5bfc
RD
25948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25949 long arg2 ;
25950 wxPoint result;
25951 PyObject * obj0 = 0 ;
25952 PyObject * obj1 = 0 ;
25953 char *kwnames[] = {
25954 (char *) "self",(char *) "item", NULL
25955 };
25956
25957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25959 if (SWIG_arg_fail(1)) SWIG_fail;
25960 {
32fe5131 25961 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25962 if (SWIG_arg_fail(2)) SWIG_fail;
25963 }
d55e5bfc
RD
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
25967
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 {
25972 wxPoint * resultptr;
32fe5131 25973 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
25974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25975 }
25976 return resultobj;
25977 fail:
25978 return NULL;
25979}
25980
25981
c370783e 25982static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25983 PyObject *resultobj = NULL;
d55e5bfc
RD
25984 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25985 long arg2 ;
25986 int arg3 = (int) wxLIST_RECT_BOUNDS ;
25987 wxRect result;
25988 PyObject * obj0 = 0 ;
25989 PyObject * obj1 = 0 ;
25990 PyObject * obj2 = 0 ;
25991 char *kwnames[] = {
25992 (char *) "self",(char *) "item",(char *) "code", NULL
25993 };
25994
25995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail;
25998 {
32fe5131 25999 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26000 if (SWIG_arg_fail(2)) SWIG_fail;
26001 }
d55e5bfc 26002 if (obj2) {
36ed4f51 26003 {
32fe5131 26004 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
26005 if (SWIG_arg_fail(3)) SWIG_fail;
26006 }
d55e5bfc
RD
26007 }
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
26011
26012 wxPyEndAllowThreads(__tstate);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
26015 {
26016 wxRect * resultptr;
32fe5131 26017 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
26018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26019 }
26020 return resultobj;
26021 fail:
26022 return NULL;
26023}
26024
26025
c370783e 26026static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26027 PyObject *resultobj = NULL;
d55e5bfc
RD
26028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26029 long arg2 ;
26030 wxPoint *arg3 = 0 ;
26031 bool result;
26032 wxPoint temp3 ;
26033 PyObject * obj0 = 0 ;
26034 PyObject * obj1 = 0 ;
26035 PyObject * obj2 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "item",(char *) "pos", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail;
26043 {
32fe5131 26044 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26045 if (SWIG_arg_fail(2)) SWIG_fail;
26046 }
d55e5bfc
RD
26047 {
26048 arg3 = &temp3;
26049 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26050 }
26051 {
26052 PyThreadState* __tstate = wxPyBeginAllowThreads();
26053 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
26054
26055 wxPyEndAllowThreads(__tstate);
26056 if (PyErr_Occurred()) SWIG_fail;
26057 }
26058 {
26059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26060 }
26061 return resultobj;
26062 fail:
26063 return NULL;
26064}
26065
26066
c370783e 26067static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26068 PyObject *resultobj = NULL;
d55e5bfc
RD
26069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26070 int result;
26071 PyObject * obj0 = 0 ;
26072 char *kwnames[] = {
26073 (char *) "self", NULL
26074 };
26075
26076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
26077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26079 {
26080 PyThreadState* __tstate = wxPyBeginAllowThreads();
26081 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
26082
26083 wxPyEndAllowThreads(__tstate);
26084 if (PyErr_Occurred()) SWIG_fail;
26085 }
36ed4f51 26086 {
32fe5131 26087 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26088 }
d55e5bfc
RD
26089 return resultobj;
26090 fail:
26091 return NULL;
26092}
26093
26094
c370783e 26095static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26096 PyObject *resultobj = NULL;
d55e5bfc
RD
26097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26098 int result;
26099 PyObject * obj0 = 0 ;
26100 char *kwnames[] = {
26101 (char *) "self", NULL
26102 };
26103
26104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
26105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
26110
26111 wxPyEndAllowThreads(__tstate);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 }
36ed4f51 26114 {
32fe5131 26115 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26116 }
d55e5bfc
RD
26117 return resultobj;
26118 fail:
26119 return NULL;
26120}
26121
26122
c370783e 26123static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26124 PyObject *resultobj = NULL;
d55e5bfc
RD
26125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26126 wxSize result;
26127 PyObject * obj0 = 0 ;
26128 char *kwnames[] = {
26129 (char *) "self", NULL
26130 };
26131
26132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
26133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26135 {
26136 PyThreadState* __tstate = wxPyBeginAllowThreads();
26137 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
26138
26139 wxPyEndAllowThreads(__tstate);
26140 if (PyErr_Occurred()) SWIG_fail;
26141 }
26142 {
26143 wxSize * resultptr;
32fe5131 26144 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
26145 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26146 }
26147 return resultobj;
26148 fail:
26149 return NULL;
26150}
26151
26152
c370783e 26153static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26154 PyObject *resultobj = NULL;
d55e5bfc
RD
26155 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26156 int arg2 ;
b411df4a 26157 bool arg3 = (bool) false ;
d55e5bfc
RD
26158 PyObject * obj0 = 0 ;
26159 PyObject * obj1 = 0 ;
26160 PyObject * obj2 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail;
26168 {
32fe5131 26169 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26170 if (SWIG_arg_fail(2)) SWIG_fail;
26171 }
d55e5bfc 26172 if (obj2) {
36ed4f51 26173 {
32fe5131 26174 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
26175 if (SWIG_arg_fail(3)) SWIG_fail;
26176 }
d55e5bfc
RD
26177 }
26178 {
26179 PyThreadState* __tstate = wxPyBeginAllowThreads();
26180 (arg1)->SetItemSpacing(arg2,arg3);
26181
26182 wxPyEndAllowThreads(__tstate);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
26185 Py_INCREF(Py_None); resultobj = Py_None;
26186 return resultobj;
26187 fail:
26188 return NULL;
26189}
26190
26191
c370783e 26192static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26193 PyObject *resultobj = NULL;
d55e5bfc
RD
26194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26195 int result;
26196 PyObject * obj0 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
26202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
36ed4f51 26211 {
32fe5131 26212 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26213 }
d55e5bfc
RD
26214 return resultobj;
26215 fail:
26216 return NULL;
26217}
26218
26219
c370783e 26220static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26221 PyObject *resultobj = NULL;
d55e5bfc
RD
26222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26223 wxColour result;
26224 PyObject * obj0 = 0 ;
26225 char *kwnames[] = {
26226 (char *) "self", NULL
26227 };
26228
26229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
26230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
26235
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 {
26240 wxColour * resultptr;
32fe5131 26241 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
26242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26243 }
26244 return resultobj;
26245 fail:
26246 return NULL;
26247}
26248
26249
c370783e 26250static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26251 PyObject *resultobj = NULL;
d55e5bfc
RD
26252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26253 wxColour *arg2 = 0 ;
26254 wxColour temp2 ;
26255 PyObject * obj0 = 0 ;
26256 PyObject * obj1 = 0 ;
26257 char *kwnames[] = {
26258 (char *) "self",(char *) "col", NULL
26259 };
26260
26261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
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 arg2 = &temp2;
26266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26267 }
26268 {
26269 PyThreadState* __tstate = wxPyBeginAllowThreads();
26270 (arg1)->SetTextColour((wxColour const &)*arg2);
26271
26272 wxPyEndAllowThreads(__tstate);
26273 if (PyErr_Occurred()) SWIG_fail;
26274 }
26275 Py_INCREF(Py_None); resultobj = Py_None;
26276 return resultobj;
26277 fail:
26278 return NULL;
26279}
26280
26281
c370783e 26282static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26283 PyObject *resultobj = NULL;
d55e5bfc
RD
26284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26285 long result;
26286 PyObject * obj0 = 0 ;
26287 char *kwnames[] = {
26288 (char *) "self", NULL
26289 };
26290
26291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
26292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
26297
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
36ed4f51 26301 {
32fe5131 26302 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 26303 }
d55e5bfc
RD
26304 return resultobj;
26305 fail:
26306 return NULL;
26307}
26308
26309
c370783e 26310static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26311 PyObject *resultobj = NULL;
d55e5bfc
RD
26312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26313 long arg2 ;
b411df4a 26314 bool arg3 = (bool) true ;
d55e5bfc
RD
26315 PyObject * obj0 = 0 ;
26316 PyObject * obj1 = 0 ;
26317 PyObject * obj2 = 0 ;
26318 char *kwnames[] = {
26319 (char *) "self",(char *) "style",(char *) "add", NULL
26320 };
26321
26322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26324 if (SWIG_arg_fail(1)) SWIG_fail;
26325 {
32fe5131 26326 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26327 if (SWIG_arg_fail(2)) SWIG_fail;
26328 }
d55e5bfc 26329 if (obj2) {
36ed4f51 26330 {
32fe5131 26331 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
26332 if (SWIG_arg_fail(3)) SWIG_fail;
26333 }
d55e5bfc
RD
26334 }
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 (arg1)->SetSingleStyle(arg2,arg3);
26338
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 Py_INCREF(Py_None); resultobj = Py_None;
26343 return resultobj;
26344 fail:
26345 return NULL;
26346}
26347
26348
c370783e 26349static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26350 PyObject *resultobj = NULL;
d55e5bfc
RD
26351 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26352 long arg2 ;
26353 PyObject * obj0 = 0 ;
26354 PyObject * obj1 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self",(char *) "style", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail;
26362 {
32fe5131 26363 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26364 if (SWIG_arg_fail(2)) SWIG_fail;
26365 }
d55e5bfc
RD
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 (arg1)->SetWindowStyleFlag(arg2);
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
26373 Py_INCREF(Py_None); resultobj = Py_None;
26374 return resultobj;
26375 fail:
26376 return NULL;
26377}
26378
26379
c370783e 26380static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26381 PyObject *resultobj = NULL;
d55e5bfc
RD
26382 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26383 long arg2 ;
26384 int arg3 = (int) wxLIST_NEXT_ALL ;
26385 int arg4 = (int) wxLIST_STATE_DONTCARE ;
26386 long result;
26387 PyObject * obj0 = 0 ;
26388 PyObject * obj1 = 0 ;
26389 PyObject * obj2 = 0 ;
26390 PyObject * obj3 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
26396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26397 if (SWIG_arg_fail(1)) SWIG_fail;
26398 {
32fe5131 26399 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26400 if (SWIG_arg_fail(2)) SWIG_fail;
26401 }
d55e5bfc 26402 if (obj2) {
36ed4f51 26403 {
32fe5131 26404 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
26405 if (SWIG_arg_fail(3)) SWIG_fail;
26406 }
d55e5bfc
RD
26407 }
26408 if (obj3) {
36ed4f51 26409 {
32fe5131 26410 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
26411 if (SWIG_arg_fail(4)) SWIG_fail;
26412 }
d55e5bfc
RD
26413 }
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
36ed4f51 26421 {
32fe5131 26422 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 26423 }
d55e5bfc
RD
26424 return resultobj;
26425 fail:
26426 return NULL;
26427}
26428
26429
c370783e 26430static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26431 PyObject *resultobj = NULL;
d55e5bfc
RD
26432 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26433 int arg2 ;
26434 wxImageList *result;
26435 PyObject * obj0 = 0 ;
26436 PyObject * obj1 = 0 ;
26437 char *kwnames[] = {
26438 (char *) "self",(char *) "which", NULL
26439 };
26440
26441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26443 if (SWIG_arg_fail(1)) SWIG_fail;
26444 {
32fe5131 26445 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26446 if (SWIG_arg_fail(2)) SWIG_fail;
26447 }
d55e5bfc
RD
26448 {
26449 PyThreadState* __tstate = wxPyBeginAllowThreads();
26450 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
26451
26452 wxPyEndAllowThreads(__tstate);
26453 if (PyErr_Occurred()) SWIG_fail;
26454 }
26455 {
7e08d4ef 26456 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
26457 }
26458 return resultobj;
26459 fail:
26460 return NULL;
26461}
26462
26463
c370783e 26464static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26465 PyObject *resultobj = NULL;
d55e5bfc
RD
26466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26467 wxImageList *arg2 = (wxImageList *) 0 ;
26468 int arg3 ;
26469 PyObject * obj0 = 0 ;
26470 PyObject * obj1 = 0 ;
26471 PyObject * obj2 = 0 ;
26472 char *kwnames[] = {
26473 (char *) "self",(char *) "imageList",(char *) "which", NULL
26474 };
26475
26476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail;
26479 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
26480 if (SWIG_arg_fail(2)) SWIG_fail;
26481 {
32fe5131 26482 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
26483 if (SWIG_arg_fail(3)) SWIG_fail;
26484 }
d55e5bfc
RD
26485 {
26486 PyThreadState* __tstate = wxPyBeginAllowThreads();
26487 (arg1)->SetImageList(arg2,arg3);
26488
26489 wxPyEndAllowThreads(__tstate);
26490 if (PyErr_Occurred()) SWIG_fail;
26491 }
26492 Py_INCREF(Py_None); resultobj = Py_None;
26493 return resultobj;
26494 fail:
26495 return NULL;
26496}
26497
26498
c370783e 26499static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26500 PyObject *resultobj = NULL;
d55e5bfc
RD
26501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26502 wxImageList *arg2 = (wxImageList *) 0 ;
26503 int arg3 ;
26504 PyObject * obj0 = 0 ;
26505 PyObject * obj1 = 0 ;
26506 PyObject * obj2 = 0 ;
26507 char *kwnames[] = {
26508 (char *) "self",(char *) "imageList",(char *) "which", NULL
26509 };
26510
26511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26513 if (SWIG_arg_fail(1)) SWIG_fail;
26514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26515 if (SWIG_arg_fail(2)) SWIG_fail;
26516 {
32fe5131 26517 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
26518 if (SWIG_arg_fail(3)) SWIG_fail;
26519 }
d55e5bfc
RD
26520 {
26521 PyThreadState* __tstate = wxPyBeginAllowThreads();
26522 (arg1)->AssignImageList(arg2,arg3);
26523
26524 wxPyEndAllowThreads(__tstate);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 Py_INCREF(Py_None); resultobj = Py_None;
26528 return resultobj;
26529 fail:
26530 return NULL;
26531}
26532
26533
c370783e 26534static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26535 PyObject *resultobj = NULL;
d55e5bfc
RD
26536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26537 bool result;
26538 PyObject * obj0 = 0 ;
26539 char *kwnames[] = {
26540 (char *) "self", NULL
26541 };
26542
26543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
36ed4f51
RD
26544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
26549
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 {
26554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26555 }
26556 return resultobj;
26557 fail:
26558 return NULL;
26559}
26560
26561
c370783e 26562static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26563 PyObject *resultobj = NULL;
d55e5bfc
RD
26564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26565 bool result;
26566 PyObject * obj0 = 0 ;
26567 char *kwnames[] = {
26568 (char *) "self", NULL
26569 };
26570
26571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
36ed4f51
RD
26572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26574 {
26575 PyThreadState* __tstate = wxPyBeginAllowThreads();
26576 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
26577
26578 wxPyEndAllowThreads(__tstate);
26579 if (PyErr_Occurred()) SWIG_fail;
26580 }
26581 {
26582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26583 }
26584 return resultobj;
26585 fail:
26586 return NULL;
26587}
26588
26589
c370783e 26590static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26591 PyObject *resultobj = NULL;
d55e5bfc
RD
26592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26593 long arg2 ;
26594 PyObject * obj0 = 0 ;
26595 PyObject * obj1 = 0 ;
26596 char *kwnames[] = {
26597 (char *) "self",(char *) "item", NULL
26598 };
26599
26600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26602 if (SWIG_arg_fail(1)) SWIG_fail;
26603 {
32fe5131 26604 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26605 if (SWIG_arg_fail(2)) SWIG_fail;
26606 }
d55e5bfc
RD
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
26609 (arg1)->RefreshItem(arg2);
26610
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 Py_INCREF(Py_None); resultobj = Py_None;
26615 return resultobj;
26616 fail:
26617 return NULL;
26618}
26619
26620
c370783e 26621static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26622 PyObject *resultobj = NULL;
d55e5bfc
RD
26623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26624 long arg2 ;
26625 long arg3 ;
26626 PyObject * obj0 = 0 ;
26627 PyObject * obj1 = 0 ;
26628 PyObject * obj2 = 0 ;
26629 char *kwnames[] = {
26630 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26631 };
26632
26633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26635 if (SWIG_arg_fail(1)) SWIG_fail;
26636 {
32fe5131 26637 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26638 if (SWIG_arg_fail(2)) SWIG_fail;
26639 }
26640 {
32fe5131 26641 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
26642 if (SWIG_arg_fail(3)) SWIG_fail;
26643 }
d55e5bfc
RD
26644 {
26645 PyThreadState* __tstate = wxPyBeginAllowThreads();
26646 (arg1)->RefreshItems(arg2,arg3);
26647
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 Py_INCREF(Py_None); resultobj = Py_None;
26652 return resultobj;
26653 fail:
26654 return NULL;
26655}
26656
26657
c370783e 26658static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26659 PyObject *resultobj = NULL;
d55e5bfc
RD
26660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26661 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
26662 bool result;
26663 PyObject * obj0 = 0 ;
26664 PyObject * obj1 = 0 ;
26665 char *kwnames[] = {
26666 (char *) "self",(char *) "flag", NULL
26667 };
26668
26669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26672 if (obj1) {
36ed4f51 26673 {
32fe5131 26674 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26675 if (SWIG_arg_fail(2)) SWIG_fail;
26676 }
d55e5bfc
RD
26677 }
26678 {
26679 PyThreadState* __tstate = wxPyBeginAllowThreads();
26680 result = (bool)(arg1)->Arrange(arg2);
26681
26682 wxPyEndAllowThreads(__tstate);
26683 if (PyErr_Occurred()) SWIG_fail;
26684 }
26685 {
26686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26687 }
26688 return resultobj;
26689 fail:
26690 return NULL;
26691}
26692
26693
c370783e 26694static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26695 PyObject *resultobj = NULL;
d55e5bfc
RD
26696 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26697 long arg2 ;
26698 bool result;
26699 PyObject * obj0 = 0 ;
26700 PyObject * obj1 = 0 ;
26701 char *kwnames[] = {
26702 (char *) "self",(char *) "item", NULL
26703 };
26704
26705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26707 if (SWIG_arg_fail(1)) SWIG_fail;
26708 {
32fe5131 26709 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26710 if (SWIG_arg_fail(2)) SWIG_fail;
26711 }
d55e5bfc
RD
26712 {
26713 PyThreadState* __tstate = wxPyBeginAllowThreads();
26714 result = (bool)(arg1)->DeleteItem(arg2);
26715
26716 wxPyEndAllowThreads(__tstate);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 }
26719 {
26720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26721 }
26722 return resultobj;
26723 fail:
26724 return NULL;
26725}
26726
26727
c370783e 26728static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26729 PyObject *resultobj = NULL;
d55e5bfc
RD
26730 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26731 bool result;
26732 PyObject * obj0 = 0 ;
26733 char *kwnames[] = {
26734 (char *) "self", NULL
26735 };
26736
26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
26738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 result = (bool)(arg1)->DeleteAllItems();
26743
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 {
26748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26749 }
26750 return resultobj;
26751 fail:
26752 return NULL;
26753}
26754
26755
c370783e 26756static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26757 PyObject *resultobj = NULL;
d55e5bfc
RD
26758 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26759 int arg2 ;
26760 bool result;
26761 PyObject * obj0 = 0 ;
26762 PyObject * obj1 = 0 ;
26763 char *kwnames[] = {
26764 (char *) "self",(char *) "col", NULL
26765 };
26766
26767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26769 if (SWIG_arg_fail(1)) SWIG_fail;
26770 {
32fe5131 26771 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26772 if (SWIG_arg_fail(2)) SWIG_fail;
26773 }
d55e5bfc
RD
26774 {
26775 PyThreadState* __tstate = wxPyBeginAllowThreads();
26776 result = (bool)(arg1)->DeleteColumn(arg2);
26777
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 {
26782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26783 }
26784 return resultobj;
26785 fail:
26786 return NULL;
26787}
26788
26789
c370783e 26790static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26791 PyObject *resultobj = NULL;
d55e5bfc
RD
26792 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26793 bool result;
26794 PyObject * obj0 = 0 ;
26795 char *kwnames[] = {
26796 (char *) "self", NULL
26797 };
26798
26799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
36ed4f51
RD
26800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26801 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 result = (bool)(arg1)->DeleteAllColumns();
26805
26806 wxPyEndAllowThreads(__tstate);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 }
26809 {
26810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26811 }
26812 return resultobj;
26813 fail:
26814 return NULL;
26815}
26816
26817
c370783e 26818static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26819 PyObject *resultobj = NULL;
d55e5bfc
RD
26820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26821 PyObject * obj0 = 0 ;
26822 char *kwnames[] = {
26823 (char *) "self", NULL
26824 };
26825
26826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
26827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26828 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 (arg1)->ClearAll();
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
26836 Py_INCREF(Py_None); resultobj = Py_None;
26837 return resultobj;
26838 fail:
26839 return NULL;
26840}
26841
26842
c370783e 26843static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26844 PyObject *resultobj = NULL;
d55e5bfc
RD
26845 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26846 long arg2 ;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self",(char *) "item", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail;
26856 {
32fe5131 26857 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26858 if (SWIG_arg_fail(2)) SWIG_fail;
26859 }
d55e5bfc
RD
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 (arg1)->EditLabel(arg2);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 Py_INCREF(Py_None); resultobj = Py_None;
26868 return resultobj;
26869 fail:
26870 return NULL;
26871}
26872
26873
c370783e 26874static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26875 PyObject *resultobj = NULL;
d55e5bfc
RD
26876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26877 long arg2 ;
26878 bool result;
26879 PyObject * obj0 = 0 ;
26880 PyObject * obj1 = 0 ;
26881 char *kwnames[] = {
26882 (char *) "self",(char *) "item", NULL
26883 };
26884
26885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26887 if (SWIG_arg_fail(1)) SWIG_fail;
26888 {
32fe5131 26889 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26890 if (SWIG_arg_fail(2)) SWIG_fail;
26891 }
d55e5bfc
RD
26892 {
26893 PyThreadState* __tstate = wxPyBeginAllowThreads();
26894 result = (bool)(arg1)->EnsureVisible(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
c370783e 26908static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26909 PyObject *resultobj = NULL;
d55e5bfc
RD
26910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26911 long arg2 ;
26912 wxString *arg3 = 0 ;
b411df4a 26913 bool arg4 = (bool) false ;
d55e5bfc 26914 long result;
b411df4a 26915 bool temp3 = false ;
d55e5bfc
RD
26916 PyObject * obj0 = 0 ;
26917 PyObject * obj1 = 0 ;
26918 PyObject * obj2 = 0 ;
26919 PyObject * obj3 = 0 ;
26920 char *kwnames[] = {
26921 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
26922 };
26923
26924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
26925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26926 if (SWIG_arg_fail(1)) SWIG_fail;
26927 {
32fe5131 26928 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26929 if (SWIG_arg_fail(2)) SWIG_fail;
26930 }
d55e5bfc
RD
26931 {
26932 arg3 = wxString_in_helper(obj2);
26933 if (arg3 == NULL) SWIG_fail;
b411df4a 26934 temp3 = true;
d55e5bfc
RD
26935 }
26936 if (obj3) {
36ed4f51 26937 {
32fe5131 26938 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
26939 if (SWIG_arg_fail(4)) SWIG_fail;
26940 }
d55e5bfc
RD
26941 }
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
26945
26946 wxPyEndAllowThreads(__tstate);
26947 if (PyErr_Occurred()) SWIG_fail;
26948 }
36ed4f51 26949 {
32fe5131 26950 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 26951 }
d55e5bfc
RD
26952 {
26953 if (temp3)
26954 delete arg3;
26955 }
26956 return resultobj;
26957 fail:
26958 {
26959 if (temp3)
26960 delete arg3;
26961 }
26962 return NULL;
26963}
26964
26965
c370783e 26966static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26967 PyObject *resultobj = NULL;
d55e5bfc
RD
26968 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26969 long arg2 ;
26970 long arg3 ;
26971 long result;
26972 PyObject * obj0 = 0 ;
26973 PyObject * obj1 = 0 ;
26974 PyObject * obj2 = 0 ;
26975 char *kwnames[] = {
26976 (char *) "self",(char *) "start",(char *) "data", NULL
26977 };
26978
26979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail;
26982 {
32fe5131 26983 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
26984 if (SWIG_arg_fail(2)) SWIG_fail;
26985 }
26986 {
32fe5131 26987 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
26988 if (SWIG_arg_fail(3)) SWIG_fail;
26989 }
d55e5bfc
RD
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 result = (long)(arg1)->FindItem(arg2,arg3);
26993
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
36ed4f51 26997 {
32fe5131 26998 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 26999 }
d55e5bfc
RD
27000 return resultobj;
27001 fail:
27002 return NULL;
27003}
27004
27005
c370783e 27006static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27007 PyObject *resultobj = NULL;
d55e5bfc
RD
27008 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27009 long arg2 ;
27010 wxPoint *arg3 = 0 ;
27011 int arg4 ;
27012 long result;
27013 wxPoint temp3 ;
27014 PyObject * obj0 = 0 ;
27015 PyObject * obj1 = 0 ;
27016 PyObject * obj2 = 0 ;
27017 PyObject * obj3 = 0 ;
27018 char *kwnames[] = {
27019 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27020 };
27021
27022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
27023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27024 if (SWIG_arg_fail(1)) SWIG_fail;
27025 {
32fe5131 27026 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27027 if (SWIG_arg_fail(2)) SWIG_fail;
27028 }
d55e5bfc
RD
27029 {
27030 arg3 = &temp3;
27031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27032 }
36ed4f51 27033 {
32fe5131 27034 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
27035 if (SWIG_arg_fail(4)) SWIG_fail;
27036 }
d55e5bfc
RD
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
36ed4f51 27044 {
32fe5131 27045 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27046 }
d55e5bfc
RD
27047 return resultobj;
27048 fail:
27049 return NULL;
27050}
27051
27052
c370783e 27053static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27054 PyObject *resultobj = NULL;
d55e5bfc
RD
27055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27056 wxPoint *arg2 = 0 ;
27057 int *arg3 = 0 ;
27058 long result;
27059 wxPoint temp2 ;
27060 int temp3 ;
c370783e 27061 int res3 = 0 ;
d55e5bfc
RD
27062 PyObject * obj0 = 0 ;
27063 PyObject * obj1 = 0 ;
27064 char *kwnames[] = {
27065 (char *) "self",(char *) "point", NULL
27066 };
27067
c370783e 27068 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27072 {
27073 arg2 = &temp2;
27074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27075 }
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
36ed4f51 27083 {
32fe5131 27084 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27085 }
c370783e
RD
27086 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27087 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27088 return resultobj;
27089 fail:
27090 return NULL;
27091}
27092
27093
c370783e 27094static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27095 PyObject *resultobj = NULL;
d55e5bfc
RD
27096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27097 wxListItem *arg2 = 0 ;
27098 long result;
27099 PyObject * obj0 = 0 ;
27100 PyObject * obj1 = 0 ;
27101 char *kwnames[] = {
27102 (char *) "self",(char *) "info", NULL
27103 };
27104
27105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail;
27108 {
27109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27110 if (SWIG_arg_fail(2)) SWIG_fail;
27111 if (arg2 == NULL) {
27112 SWIG_null_ref("wxListItem");
27113 }
27114 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27115 }
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 result = (long)(arg1)->InsertItem(*arg2);
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
36ed4f51 27123 {
32fe5131 27124 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27125 }
d55e5bfc
RD
27126 return resultobj;
27127 fail:
27128 return NULL;
27129}
27130
27131
c370783e 27132static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27133 PyObject *resultobj = NULL;
d55e5bfc
RD
27134 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27135 long arg2 ;
27136 wxString *arg3 = 0 ;
32fe5131 27137 int arg4 = (int) -1 ;
d55e5bfc 27138 long result;
b411df4a 27139 bool temp3 = false ;
d55e5bfc
RD
27140 PyObject * obj0 = 0 ;
27141 PyObject * obj1 = 0 ;
27142 PyObject * obj2 = 0 ;
32fe5131 27143 PyObject * obj3 = 0 ;
d55e5bfc 27144 char *kwnames[] = {
32fe5131 27145 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
d55e5bfc
RD
27146 };
27147
32fe5131 27148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
27149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail;
27151 {
32fe5131 27152 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27153 if (SWIG_arg_fail(2)) SWIG_fail;
27154 }
d55e5bfc
RD
27155 {
27156 arg3 = wxString_in_helper(obj2);
27157 if (arg3 == NULL) SWIG_fail;
b411df4a 27158 temp3 = true;
d55e5bfc 27159 }
32fe5131
RD
27160 if (obj3) {
27161 {
27162 arg4 = static_cast<int >(SWIG_As_int(obj3));
27163 if (SWIG_arg_fail(4)) SWIG_fail;
27164 }
27165 }
d55e5bfc
RD
27166 {
27167 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 27168 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
27169
27170 wxPyEndAllowThreads(__tstate);
27171 if (PyErr_Occurred()) SWIG_fail;
27172 }
36ed4f51 27173 {
32fe5131 27174 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27175 }
d55e5bfc
RD
27176 {
27177 if (temp3)
27178 delete arg3;
27179 }
27180 return resultobj;
27181 fail:
27182 {
27183 if (temp3)
27184 delete arg3;
27185 }
27186 return NULL;
27187}
27188
27189
c370783e 27190static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27191 PyObject *resultobj = NULL;
d55e5bfc
RD
27192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27193 long arg2 ;
27194 int arg3 ;
27195 long result;
27196 PyObject * obj0 = 0 ;
27197 PyObject * obj1 = 0 ;
27198 PyObject * obj2 = 0 ;
27199 char *kwnames[] = {
27200 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27201 };
27202
27203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail;
27206 {
32fe5131 27207 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27208 if (SWIG_arg_fail(2)) SWIG_fail;
27209 }
27210 {
32fe5131 27211 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
27212 if (SWIG_arg_fail(3)) SWIG_fail;
27213 }
d55e5bfc
RD
27214 {
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 result = (long)(arg1)->InsertItem(arg2,arg3);
27217
27218 wxPyEndAllowThreads(__tstate);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
36ed4f51 27221 {
32fe5131 27222 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27223 }
d55e5bfc
RD
27224 return resultobj;
27225 fail:
27226 return NULL;
27227}
27228
27229
c370783e 27230static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27231 PyObject *resultobj = NULL;
d55e5bfc
RD
27232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27233 long arg2 ;
27234 wxString *arg3 = 0 ;
27235 int arg4 ;
27236 long result;
b411df4a 27237 bool temp3 = false ;
d55e5bfc
RD
27238 PyObject * obj0 = 0 ;
27239 PyObject * obj1 = 0 ;
27240 PyObject * obj2 = 0 ;
27241 PyObject * obj3 = 0 ;
27242 char *kwnames[] = {
27243 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27244 };
27245
27246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
27247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail;
27249 {
32fe5131 27250 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27251 if (SWIG_arg_fail(2)) SWIG_fail;
27252 }
d55e5bfc
RD
27253 {
27254 arg3 = wxString_in_helper(obj2);
27255 if (arg3 == NULL) SWIG_fail;
b411df4a 27256 temp3 = true;
d55e5bfc 27257 }
36ed4f51 27258 {
32fe5131 27259 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
27260 if (SWIG_arg_fail(4)) SWIG_fail;
27261 }
d55e5bfc
RD
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27265
27266 wxPyEndAllowThreads(__tstate);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 }
36ed4f51 27269 {
32fe5131 27270 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27271 }
d55e5bfc
RD
27272 {
27273 if (temp3)
27274 delete arg3;
27275 }
27276 return resultobj;
27277 fail:
27278 {
27279 if (temp3)
27280 delete arg3;
27281 }
27282 return NULL;
27283}
27284
27285
a3957d3d 27286static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27287 PyObject *resultobj = NULL;
d55e5bfc
RD
27288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27289 long arg2 ;
27290 wxListItem *arg3 = 0 ;
27291 long result;
27292 PyObject * obj0 = 0 ;
27293 PyObject * obj1 = 0 ;
27294 PyObject * obj2 = 0 ;
27295 char *kwnames[] = {
27296 (char *) "self",(char *) "col",(char *) "info", NULL
27297 };
27298
a3957d3d 27299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27301 if (SWIG_arg_fail(1)) SWIG_fail;
27302 {
32fe5131 27303 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27304 if (SWIG_arg_fail(2)) SWIG_fail;
27305 }
27306 {
27307 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27308 if (SWIG_arg_fail(3)) SWIG_fail;
27309 if (arg3 == NULL) {
27310 SWIG_null_ref("wxListItem");
27311 }
27312 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27313 }
27314 {
27315 PyThreadState* __tstate = wxPyBeginAllowThreads();
27316 result = (long)(arg1)->InsertColumn(arg2,*arg3);
27317
27318 wxPyEndAllowThreads(__tstate);
27319 if (PyErr_Occurred()) SWIG_fail;
27320 }
36ed4f51 27321 {
32fe5131 27322 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27323 }
d55e5bfc
RD
27324 return resultobj;
27325 fail:
27326 return NULL;
27327}
27328
27329
c370783e 27330static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27331 PyObject *resultobj = NULL;
d55e5bfc
RD
27332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27333 long arg2 ;
27334 wxString *arg3 = 0 ;
27335 int arg4 = (int) wxLIST_FORMAT_LEFT ;
27336 int arg5 = (int) -1 ;
27337 long result;
b411df4a 27338 bool temp3 = false ;
d55e5bfc
RD
27339 PyObject * obj0 = 0 ;
27340 PyObject * obj1 = 0 ;
27341 PyObject * obj2 = 0 ;
27342 PyObject * obj3 = 0 ;
27343 PyObject * obj4 = 0 ;
27344 char *kwnames[] = {
27345 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27346 };
27347
27348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
27349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27350 if (SWIG_arg_fail(1)) SWIG_fail;
27351 {
32fe5131 27352 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27353 if (SWIG_arg_fail(2)) SWIG_fail;
27354 }
d55e5bfc
RD
27355 {
27356 arg3 = wxString_in_helper(obj2);
27357 if (arg3 == NULL) SWIG_fail;
b411df4a 27358 temp3 = true;
d55e5bfc
RD
27359 }
27360 if (obj3) {
36ed4f51 27361 {
32fe5131 27362 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
27363 if (SWIG_arg_fail(4)) SWIG_fail;
27364 }
d55e5bfc
RD
27365 }
27366 if (obj4) {
36ed4f51 27367 {
32fe5131 27368 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
27369 if (SWIG_arg_fail(5)) SWIG_fail;
27370 }
d55e5bfc
RD
27371 }
27372 {
27373 PyThreadState* __tstate = wxPyBeginAllowThreads();
27374 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
27375
27376 wxPyEndAllowThreads(__tstate);
27377 if (PyErr_Occurred()) SWIG_fail;
27378 }
36ed4f51 27379 {
32fe5131 27380 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27381 }
d55e5bfc
RD
27382 {
27383 if (temp3)
27384 delete arg3;
27385 }
27386 return resultobj;
27387 fail:
27388 {
27389 if (temp3)
27390 delete arg3;
27391 }
27392 return NULL;
27393}
27394
27395
c370783e 27396static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27397 PyObject *resultobj = NULL;
d55e5bfc
RD
27398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27399 long arg2 ;
27400 PyObject * obj0 = 0 ;
27401 PyObject * obj1 = 0 ;
27402 char *kwnames[] = {
27403 (char *) "self",(char *) "count", NULL
27404 };
27405
27406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail;
27409 {
32fe5131 27410 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27411 if (SWIG_arg_fail(2)) SWIG_fail;
27412 }
d55e5bfc
RD
27413 {
27414 PyThreadState* __tstate = wxPyBeginAllowThreads();
27415 (arg1)->SetItemCount(arg2);
27416
27417 wxPyEndAllowThreads(__tstate);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
27420 Py_INCREF(Py_None); resultobj = Py_None;
27421 return resultobj;
27422 fail:
27423 return NULL;
27424}
27425
27426
c370783e 27427static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27428 PyObject *resultobj = NULL;
d55e5bfc
RD
27429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27430 int arg2 ;
27431 int arg3 ;
27432 bool result;
27433 PyObject * obj0 = 0 ;
27434 PyObject * obj1 = 0 ;
27435 PyObject * obj2 = 0 ;
27436 char *kwnames[] = {
27437 (char *) "self",(char *) "dx",(char *) "dy", NULL
27438 };
27439
27440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail;
27443 {
32fe5131 27444 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27445 if (SWIG_arg_fail(2)) SWIG_fail;
27446 }
27447 {
32fe5131 27448 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
27449 if (SWIG_arg_fail(3)) SWIG_fail;
27450 }
d55e5bfc
RD
27451 {
27452 PyThreadState* __tstate = wxPyBeginAllowThreads();
27453 result = (bool)(arg1)->ScrollList(arg2,arg3);
27454
27455 wxPyEndAllowThreads(__tstate);
27456 if (PyErr_Occurred()) SWIG_fail;
27457 }
27458 {
27459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27460 }
27461 return resultobj;
27462 fail:
27463 return NULL;
27464}
27465
27466
c370783e 27467static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27468 PyObject *resultobj = NULL;
d55e5bfc
RD
27469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27470 long arg2 ;
27471 wxColour *arg3 = 0 ;
27472 wxColour temp3 ;
27473 PyObject * obj0 = 0 ;
27474 PyObject * obj1 = 0 ;
27475 PyObject * obj2 = 0 ;
27476 char *kwnames[] = {
27477 (char *) "self",(char *) "item",(char *) "col", NULL
27478 };
27479
27480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail;
27483 {
32fe5131 27484 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27485 if (SWIG_arg_fail(2)) SWIG_fail;
27486 }
d55e5bfc
RD
27487 {
27488 arg3 = &temp3;
27489 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27490 }
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
27494
27495 wxPyEndAllowThreads(__tstate);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 Py_INCREF(Py_None); resultobj = Py_None;
27499 return resultobj;
27500 fail:
27501 return NULL;
27502}
27503
27504
c370783e 27505static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27506 PyObject *resultobj = NULL;
d55e5bfc
RD
27507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27508 long arg2 ;
27509 wxColour result;
27510 PyObject * obj0 = 0 ;
27511 PyObject * obj1 = 0 ;
27512 char *kwnames[] = {
27513 (char *) "self",(char *) "item", NULL
27514 };
27515
27516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27518 if (SWIG_arg_fail(1)) SWIG_fail;
27519 {
32fe5131 27520 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27521 if (SWIG_arg_fail(2)) SWIG_fail;
27522 }
d55e5bfc
RD
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 {
27531 wxColour * resultptr;
32fe5131 27532 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
27533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27534 }
27535 return resultobj;
27536 fail:
27537 return NULL;
27538}
27539
27540
c370783e 27541static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27542 PyObject *resultobj = NULL;
d55e5bfc
RD
27543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27544 long arg2 ;
27545 wxColour *arg3 = 0 ;
27546 wxColour temp3 ;
27547 PyObject * obj0 = 0 ;
27548 PyObject * obj1 = 0 ;
27549 PyObject * obj2 = 0 ;
27550 char *kwnames[] = {
27551 (char *) "self",(char *) "item",(char *) "col", NULL
27552 };
27553
27554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail;
27557 {
32fe5131 27558 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27559 if (SWIG_arg_fail(2)) SWIG_fail;
27560 }
d55e5bfc
RD
27561 {
27562 arg3 = &temp3;
27563 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27564 }
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 Py_INCREF(Py_None); resultobj = Py_None;
27573 return resultobj;
27574 fail:
27575 return NULL;
27576}
27577
27578
c370783e 27579static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27580 PyObject *resultobj = NULL;
d55e5bfc
RD
27581 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27582 long arg2 ;
27583 wxColour result;
27584 PyObject * obj0 = 0 ;
27585 PyObject * obj1 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self",(char *) "item", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27592 if (SWIG_arg_fail(1)) SWIG_fail;
27593 {
32fe5131 27594 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
27595 if (SWIG_arg_fail(2)) SWIG_fail;
27596 }
d55e5bfc
RD
27597 {
27598 PyThreadState* __tstate = wxPyBeginAllowThreads();
27599 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
27600
27601 wxPyEndAllowThreads(__tstate);
27602 if (PyErr_Occurred()) SWIG_fail;
27603 }
27604 {
27605 wxColour * resultptr;
32fe5131 27606 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
27607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27608 }
27609 return resultobj;
27610 fail:
27611 return NULL;
27612}
27613
27614
943e8dfd 27615static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27616 PyObject *resultobj = NULL;
943e8dfd
RD
27617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27618 long arg2 ;
27619 wxFont *arg3 = 0 ;
27620 PyObject * obj0 = 0 ;
27621 PyObject * obj1 = 0 ;
27622 PyObject * obj2 = 0 ;
27623 char *kwnames[] = {
27624 (char *) "self",(char *) "item",(char *) "f", NULL
27625 };
27626
27627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
27628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27629 if (SWIG_arg_fail(1)) SWIG_fail;
27630 {
32fe5131 27631 arg2 = static_cast<long >(SWIG_As_long(obj1));
943e8dfd
RD
27632 if (SWIG_arg_fail(2)) SWIG_fail;
27633 }
27634 {
27635 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
27636 if (SWIG_arg_fail(3)) SWIG_fail;
27637 if (arg3 == NULL) {
27638 SWIG_null_ref("wxFont");
27639 }
27640 if (SWIG_arg_fail(3)) SWIG_fail;
27641 }
27642 {
27643 PyThreadState* __tstate = wxPyBeginAllowThreads();
27644 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
27645
27646 wxPyEndAllowThreads(__tstate);
27647 if (PyErr_Occurred()) SWIG_fail;
27648 }
27649 Py_INCREF(Py_None); resultobj = Py_None;
27650 return resultobj;
27651 fail:
27652 return NULL;
27653}
27654
27655
27656static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27657 PyObject *resultobj = NULL;
943e8dfd
RD
27658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27659 long arg2 ;
27660 wxFont result;
27661 PyObject * obj0 = 0 ;
27662 PyObject * obj1 = 0 ;
27663 char *kwnames[] = {
27664 (char *) "self",(char *) "item", NULL
27665 };
27666
27667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
27668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27669 if (SWIG_arg_fail(1)) SWIG_fail;
27670 {
32fe5131 27671 arg2 = static_cast<long >(SWIG_As_long(obj1));
943e8dfd
RD
27672 if (SWIG_arg_fail(2)) SWIG_fail;
27673 }
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
27677
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
27681 {
27682 wxFont * resultptr;
32fe5131 27683 resultptr = new wxFont(static_cast<wxFont & >(result));
943e8dfd
RD
27684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
27685 }
27686 return resultobj;
27687 fail:
27688 return NULL;
27689}
27690
27691
c370783e 27692static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27693 PyObject *resultobj = NULL;
d55e5bfc
RD
27694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27695 PyObject *arg2 = (PyObject *) 0 ;
27696 bool result;
27697 PyObject * obj0 = 0 ;
27698 PyObject * obj1 = 0 ;
27699 char *kwnames[] = {
27700 (char *) "self",(char *) "func", NULL
27701 };
27702
27703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27706 arg2 = obj1;
27707 {
27708 PyThreadState* __tstate = wxPyBeginAllowThreads();
27709 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
27710
27711 wxPyEndAllowThreads(__tstate);
27712 if (PyErr_Occurred()) SWIG_fail;
27713 }
27714 {
27715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27716 }
27717 return resultobj;
27718 fail:
27719 return NULL;
27720}
27721
27722
c370783e 27723static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27724 PyObject *resultobj = NULL;
d55e5bfc
RD
27725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27726 wxWindow *result;
27727 PyObject * obj0 = 0 ;
27728 char *kwnames[] = {
27729 (char *) "self", NULL
27730 };
27731
27732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
27733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27735 {
27736 PyThreadState* __tstate = wxPyBeginAllowThreads();
27737 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
27738
27739 wxPyEndAllowThreads(__tstate);
27740 if (PyErr_Occurred()) SWIG_fail;
27741 }
27742 {
412d302d 27743 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
27744 }
27745 return resultobj;
27746 fail:
27747 return NULL;
27748}
27749
27750
c370783e 27751static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27752 PyObject *resultobj = NULL;
36ed4f51 27753 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
27754 wxVisualAttributes result;
27755 PyObject * obj0 = 0 ;
27756 char *kwnames[] = {
27757 (char *) "variant", NULL
27758 };
27759
27760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27761 if (obj0) {
36ed4f51 27762 {
32fe5131 27763 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
27764 if (SWIG_arg_fail(1)) SWIG_fail;
27765 }
d55e5bfc
RD
27766 }
27767 {
0439c23b 27768 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 27770 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
27771
27772 wxPyEndAllowThreads(__tstate);
110da5b0 27773 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27774 }
27775 {
27776 wxVisualAttributes * resultptr;
32fe5131 27777 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
27778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27779 }
27780 return resultobj;
27781 fail:
27782 return NULL;
27783}
27784
27785
c370783e 27786static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27787 PyObject *obj;
27788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27789 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
27790 Py_INCREF(obj);
27791 return Py_BuildValue((char *)"");
27792}
c370783e 27793static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27794 PyObject *resultobj = NULL;
d55e5bfc
RD
27795 wxWindow *arg1 = (wxWindow *) 0 ;
27796 int arg2 = (int) -1 ;
27797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27799 wxSize const &arg4_defvalue = wxDefaultSize ;
27800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27801 long arg5 = (long) wxLC_REPORT ;
27802 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27803 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27804 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
27805 wxString *arg7 = (wxString *) &arg7_defvalue ;
27806 wxListView *result;
27807 wxPoint temp3 ;
27808 wxSize temp4 ;
b411df4a 27809 bool temp7 = false ;
d55e5bfc
RD
27810 PyObject * obj0 = 0 ;
27811 PyObject * obj1 = 0 ;
27812 PyObject * obj2 = 0 ;
27813 PyObject * obj3 = 0 ;
27814 PyObject * obj4 = 0 ;
27815 PyObject * obj5 = 0 ;
27816 PyObject * obj6 = 0 ;
27817 char *kwnames[] = {
27818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27819 };
27820
27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27824 if (obj1) {
36ed4f51 27825 {
32fe5131 27826 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27827 if (SWIG_arg_fail(2)) SWIG_fail;
27828 }
d55e5bfc
RD
27829 }
27830 if (obj2) {
27831 {
27832 arg3 = &temp3;
27833 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27834 }
27835 }
27836 if (obj3) {
27837 {
27838 arg4 = &temp4;
27839 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27840 }
27841 }
27842 if (obj4) {
36ed4f51 27843 {
32fe5131 27844 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
27845 if (SWIG_arg_fail(5)) SWIG_fail;
27846 }
d55e5bfc
RD
27847 }
27848 if (obj5) {
36ed4f51
RD
27849 {
27850 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27851 if (SWIG_arg_fail(6)) SWIG_fail;
27852 if (arg6 == NULL) {
27853 SWIG_null_ref("wxValidator");
27854 }
27855 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
27856 }
27857 }
27858 if (obj6) {
27859 {
27860 arg7 = wxString_in_helper(obj6);
27861 if (arg7 == NULL) SWIG_fail;
b411df4a 27862 temp7 = true;
d55e5bfc
RD
27863 }
27864 }
27865 {
0439c23b 27866 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27869
27870 wxPyEndAllowThreads(__tstate);
110da5b0 27871 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27872 }
27873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27874 {
27875 if (temp7)
27876 delete arg7;
27877 }
27878 return resultobj;
27879 fail:
27880 {
27881 if (temp7)
27882 delete arg7;
27883 }
27884 return NULL;
27885}
27886
27887
c370783e 27888static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27889 PyObject *resultobj = NULL;
d55e5bfc
RD
27890 wxListView *result;
27891 char *kwnames[] = {
27892 NULL
27893 };
27894
27895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
27896 {
0439c23b 27897 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27898 PyThreadState* __tstate = wxPyBeginAllowThreads();
27899 result = (wxListView *)new wxListView();
27900
27901 wxPyEndAllowThreads(__tstate);
110da5b0 27902 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27903 }
27904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27905 return resultobj;
27906 fail:
27907 return NULL;
27908}
27909
27910
c370783e 27911static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27912 PyObject *resultobj = NULL;
d55e5bfc
RD
27913 wxListView *arg1 = (wxListView *) 0 ;
27914 wxWindow *arg2 = (wxWindow *) 0 ;
27915 int arg3 = (int) -1 ;
27916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27918 wxSize const &arg5_defvalue = wxDefaultSize ;
27919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27920 long arg6 = (long) wxLC_REPORT ;
27921 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27922 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27923 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
27924 wxString *arg8 = (wxString *) &arg8_defvalue ;
27925 bool result;
27926 wxPoint temp4 ;
27927 wxSize temp5 ;
b411df4a 27928 bool temp8 = false ;
d55e5bfc
RD
27929 PyObject * obj0 = 0 ;
27930 PyObject * obj1 = 0 ;
27931 PyObject * obj2 = 0 ;
27932 PyObject * obj3 = 0 ;
27933 PyObject * obj4 = 0 ;
27934 PyObject * obj5 = 0 ;
27935 PyObject * obj6 = 0 ;
27936 PyObject * obj7 = 0 ;
27937 char *kwnames[] = {
27938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27939 };
27940
27941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
27942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27943 if (SWIG_arg_fail(1)) SWIG_fail;
27944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27945 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27946 if (obj2) {
36ed4f51 27947 {
32fe5131 27948 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
27949 if (SWIG_arg_fail(3)) SWIG_fail;
27950 }
d55e5bfc
RD
27951 }
27952 if (obj3) {
27953 {
27954 arg4 = &temp4;
27955 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27956 }
27957 }
27958 if (obj4) {
27959 {
27960 arg5 = &temp5;
27961 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27962 }
27963 }
27964 if (obj5) {
36ed4f51 27965 {
32fe5131 27966 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
27967 if (SWIG_arg_fail(6)) SWIG_fail;
27968 }
d55e5bfc
RD
27969 }
27970 if (obj6) {
36ed4f51
RD
27971 {
27972 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27973 if (SWIG_arg_fail(7)) SWIG_fail;
27974 if (arg7 == NULL) {
27975 SWIG_null_ref("wxValidator");
27976 }
27977 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
27978 }
27979 }
27980 if (obj7) {
27981 {
27982 arg8 = wxString_in_helper(obj7);
27983 if (arg8 == NULL) SWIG_fail;
b411df4a 27984 temp8 = true;
d55e5bfc
RD
27985 }
27986 }
27987 {
27988 PyThreadState* __tstate = wxPyBeginAllowThreads();
27989 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
27990
27991 wxPyEndAllowThreads(__tstate);
27992 if (PyErr_Occurred()) SWIG_fail;
27993 }
27994 {
27995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27996 }
27997 {
27998 if (temp8)
27999 delete arg8;
28000 }
28001 return resultobj;
28002 fail:
28003 {
28004 if (temp8)
28005 delete arg8;
28006 }
28007 return NULL;
28008}
28009
28010
c370783e 28011static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28012 PyObject *resultobj = NULL;
d55e5bfc
RD
28013 wxListView *arg1 = (wxListView *) 0 ;
28014 long arg2 ;
b411df4a 28015 bool arg3 = (bool) true ;
d55e5bfc
RD
28016 PyObject * obj0 = 0 ;
28017 PyObject * obj1 = 0 ;
28018 PyObject * obj2 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self",(char *) "n",(char *) "on", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28025 if (SWIG_arg_fail(1)) SWIG_fail;
28026 {
32fe5131 28027 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
28028 if (SWIG_arg_fail(2)) SWIG_fail;
28029 }
d55e5bfc 28030 if (obj2) {
36ed4f51 28031 {
32fe5131 28032 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
28033 if (SWIG_arg_fail(3)) SWIG_fail;
28034 }
d55e5bfc
RD
28035 }
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 (arg1)->Select(arg2,arg3);
28039
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 Py_INCREF(Py_None); resultobj = Py_None;
28044 return resultobj;
28045 fail:
28046 return NULL;
28047}
28048
28049
c370783e 28050static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28051 PyObject *resultobj = NULL;
d55e5bfc
RD
28052 wxListView *arg1 = (wxListView *) 0 ;
28053 long arg2 ;
28054 PyObject * obj0 = 0 ;
28055 PyObject * obj1 = 0 ;
28056 char *kwnames[] = {
28057 (char *) "self",(char *) "index", NULL
28058 };
28059
28060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28062 if (SWIG_arg_fail(1)) SWIG_fail;
28063 {
32fe5131 28064 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
28065 if (SWIG_arg_fail(2)) SWIG_fail;
28066 }
d55e5bfc
RD
28067 {
28068 PyThreadState* __tstate = wxPyBeginAllowThreads();
28069 (arg1)->Focus(arg2);
28070
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 Py_INCREF(Py_None); resultobj = Py_None;
28075 return resultobj;
28076 fail:
28077 return NULL;
28078}
28079
28080
c370783e 28081static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28082 PyObject *resultobj = NULL;
d55e5bfc
RD
28083 wxListView *arg1 = (wxListView *) 0 ;
28084 long result;
28085 PyObject * obj0 = 0 ;
28086 char *kwnames[] = {
28087 (char *) "self", NULL
28088 };
28089
28090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
28091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28093 {
28094 PyThreadState* __tstate = wxPyBeginAllowThreads();
28095 result = (long)((wxListView const *)arg1)->GetFocusedItem();
28096
28097 wxPyEndAllowThreads(__tstate);
28098 if (PyErr_Occurred()) SWIG_fail;
28099 }
36ed4f51 28100 {
32fe5131 28101 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 28102 }
d55e5bfc
RD
28103 return resultobj;
28104 fail:
28105 return NULL;
28106}
28107
28108
c370783e 28109static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28110 PyObject *resultobj = NULL;
d55e5bfc
RD
28111 wxListView *arg1 = (wxListView *) 0 ;
28112 long arg2 ;
28113 long result;
28114 PyObject * obj0 = 0 ;
28115 PyObject * obj1 = 0 ;
28116 char *kwnames[] = {
28117 (char *) "self",(char *) "item", NULL
28118 };
28119
28120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28122 if (SWIG_arg_fail(1)) SWIG_fail;
28123 {
32fe5131 28124 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
28125 if (SWIG_arg_fail(2)) SWIG_fail;
28126 }
d55e5bfc
RD
28127 {
28128 PyThreadState* __tstate = wxPyBeginAllowThreads();
28129 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
28130
28131 wxPyEndAllowThreads(__tstate);
28132 if (PyErr_Occurred()) SWIG_fail;
28133 }
36ed4f51 28134 {
32fe5131 28135 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 28136 }
d55e5bfc
RD
28137 return resultobj;
28138 fail:
28139 return NULL;
28140}
28141
28142
c370783e 28143static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28144 PyObject *resultobj = NULL;
d55e5bfc
RD
28145 wxListView *arg1 = (wxListView *) 0 ;
28146 long result;
28147 PyObject * obj0 = 0 ;
28148 char *kwnames[] = {
28149 (char *) "self", NULL
28150 };
28151
28152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
28153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 result = (long)((wxListView const *)arg1)->GetFirstSelected();
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
36ed4f51 28162 {
32fe5131 28163 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 28164 }
d55e5bfc
RD
28165 return resultobj;
28166 fail:
28167 return NULL;
28168}
28169
28170
c370783e 28171static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28172 PyObject *resultobj = NULL;
d55e5bfc
RD
28173 wxListView *arg1 = (wxListView *) 0 ;
28174 long arg2 ;
28175 bool result;
28176 PyObject * obj0 = 0 ;
28177 PyObject * obj1 = 0 ;
28178 char *kwnames[] = {
28179 (char *) "self",(char *) "index", NULL
28180 };
28181
28182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28184 if (SWIG_arg_fail(1)) SWIG_fail;
28185 {
32fe5131 28186 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
28187 if (SWIG_arg_fail(2)) SWIG_fail;
28188 }
d55e5bfc
RD
28189 {
28190 PyThreadState* __tstate = wxPyBeginAllowThreads();
28191 result = (bool)(arg1)->IsSelected(arg2);
28192
28193 wxPyEndAllowThreads(__tstate);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
28196 {
28197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28198 }
28199 return resultobj;
28200 fail:
28201 return NULL;
28202}
28203
28204
c370783e 28205static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28206 PyObject *resultobj = NULL;
d55e5bfc
RD
28207 wxListView *arg1 = (wxListView *) 0 ;
28208 int arg2 ;
28209 int arg3 ;
28210 PyObject * obj0 = 0 ;
28211 PyObject * obj1 = 0 ;
28212 PyObject * obj2 = 0 ;
28213 char *kwnames[] = {
28214 (char *) "self",(char *) "col",(char *) "image", NULL
28215 };
28216
28217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28219 if (SWIG_arg_fail(1)) SWIG_fail;
28220 {
32fe5131 28221 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
28222 if (SWIG_arg_fail(2)) SWIG_fail;
28223 }
28224 {
32fe5131 28225 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
28226 if (SWIG_arg_fail(3)) SWIG_fail;
28227 }
d55e5bfc
RD
28228 {
28229 PyThreadState* __tstate = wxPyBeginAllowThreads();
28230 (arg1)->SetColumnImage(arg2,arg3);
28231
28232 wxPyEndAllowThreads(__tstate);
28233 if (PyErr_Occurred()) SWIG_fail;
28234 }
28235 Py_INCREF(Py_None); resultobj = Py_None;
28236 return resultobj;
28237 fail:
28238 return NULL;
28239}
28240
28241
c370783e 28242static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28243 PyObject *resultobj = NULL;
d55e5bfc
RD
28244 wxListView *arg1 = (wxListView *) 0 ;
28245 int arg2 ;
28246 PyObject * obj0 = 0 ;
28247 PyObject * obj1 = 0 ;
28248 char *kwnames[] = {
28249 (char *) "self",(char *) "col", NULL
28250 };
28251
28252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail;
28255 {
32fe5131 28256 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
28257 if (SWIG_arg_fail(2)) SWIG_fail;
28258 }
d55e5bfc
RD
28259 {
28260 PyThreadState* __tstate = wxPyBeginAllowThreads();
28261 (arg1)->ClearColumnImage(arg2);
28262
28263 wxPyEndAllowThreads(__tstate);
28264 if (PyErr_Occurred()) SWIG_fail;
28265 }
28266 Py_INCREF(Py_None); resultobj = Py_None;
28267 return resultobj;
28268 fail:
28269 return NULL;
28270}
28271
28272
c370783e 28273static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28274 PyObject *obj;
28275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28276 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
28277 Py_INCREF(obj);
28278 return Py_BuildValue((char *)"");
28279}
c370783e 28280static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
28281 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
28282 return 1;
28283}
28284
28285
36ed4f51 28286static PyObject *_wrap_TreeCtrlNameStr_get(void) {
32fe5131 28287 PyObject *pyobj = NULL;
d55e5bfc
RD
28288
28289 {
28290#if wxUSE_UNICODE
28291 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28292#else
28293 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28294#endif
28295 }
28296 return pyobj;
28297}
28298
28299
c370783e 28300static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28301 PyObject *resultobj = NULL;
d55e5bfc
RD
28302 wxTreeItemId *result;
28303 char *kwnames[] = {
28304 NULL
28305 };
28306
28307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
28308 {
28309 PyThreadState* __tstate = wxPyBeginAllowThreads();
28310 result = (wxTreeItemId *)new wxTreeItemId();
28311
28312 wxPyEndAllowThreads(__tstate);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
28316 return resultobj;
28317 fail:
28318 return NULL;
28319}
28320
28321
c370783e 28322static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28323 PyObject *resultobj = NULL;
d55e5bfc
RD
28324 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28325 PyObject * obj0 = 0 ;
28326 char *kwnames[] = {
28327 (char *) "self", NULL
28328 };
28329
28330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
36ed4f51
RD
28331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28333 {
28334 PyThreadState* __tstate = wxPyBeginAllowThreads();
28335 delete arg1;
28336
28337 wxPyEndAllowThreads(__tstate);
28338 if (PyErr_Occurred()) SWIG_fail;
28339 }
28340 Py_INCREF(Py_None); resultobj = Py_None;
28341 return resultobj;
28342 fail:
28343 return NULL;
28344}
28345
28346
c370783e 28347static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28348 PyObject *resultobj = NULL;
d55e5bfc
RD
28349 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28350 bool result;
28351 PyObject * obj0 = 0 ;
28352 char *kwnames[] = {
28353 (char *) "self", NULL
28354 };
28355
28356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
28357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28359 {
28360 PyThreadState* __tstate = wxPyBeginAllowThreads();
28361 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
28362
28363 wxPyEndAllowThreads(__tstate);
28364 if (PyErr_Occurred()) SWIG_fail;
28365 }
28366 {
28367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28368 }
28369 return resultobj;
28370 fail:
28371 return NULL;
28372}
28373
28374
c370783e 28375static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28376 PyObject *resultobj = NULL;
d55e5bfc
RD
28377 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28378 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28379 bool result;
28380 PyObject * obj0 = 0 ;
28381 PyObject * obj1 = 0 ;
28382 char *kwnames[] = {
28383 (char *) "self",(char *) "other", NULL
28384 };
28385
28386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail;
28389 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28390 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
28394
28395 wxPyEndAllowThreads(__tstate);
28396 if (PyErr_Occurred()) SWIG_fail;
28397 }
28398 {
28399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28400 }
28401 return resultobj;
28402 fail:
28403 return NULL;
28404}
28405
28406
c370783e 28407static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28408 PyObject *resultobj = NULL;
d55e5bfc
RD
28409 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28410 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28411 bool result;
28412 PyObject * obj0 = 0 ;
28413 PyObject * obj1 = 0 ;
28414 char *kwnames[] = {
28415 (char *) "self",(char *) "other", NULL
28416 };
28417
28418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28420 if (SWIG_arg_fail(1)) SWIG_fail;
28421 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28422 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28423 {
28424 PyThreadState* __tstate = wxPyBeginAllowThreads();
28425 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
28426
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 {
28431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28432 }
28433 return resultobj;
28434 fail:
28435 return NULL;
28436}
28437
28438
c370783e 28439static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28440 PyObject *resultobj = NULL;
d55e5bfc
RD
28441 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28442 void *arg2 = (void *) 0 ;
28443 PyObject * obj0 = 0 ;
28444 PyObject * obj1 = 0 ;
28445 char *kwnames[] = {
28446 (char *) "self",(char *) "m_pItem", NULL
28447 };
28448
28449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28451 if (SWIG_arg_fail(1)) SWIG_fail;
28452 {
32fe5131 28453 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
36ed4f51
RD
28454 SWIG_arg_fail(2);SWIG_fail;
28455 }
28456 }
d55e5bfc
RD
28457 if (arg1) (arg1)->m_pItem = arg2;
28458
28459 Py_INCREF(Py_None); resultobj = Py_None;
28460 return resultobj;
28461 fail:
28462 return NULL;
28463}
28464
28465
c370783e 28466static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28467 PyObject *resultobj = NULL;
d55e5bfc
RD
28468 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28469 void *result;
28470 PyObject * obj0 = 0 ;
28471 char *kwnames[] = {
28472 (char *) "self", NULL
28473 };
28474
28475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
28476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28478 result = (void *) ((arg1)->m_pItem);
28479
28480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
28481 return resultobj;
28482 fail:
28483 return NULL;
28484}
28485
28486
c370783e 28487static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28488 PyObject *obj;
28489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28490 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
28491 Py_INCREF(obj);
28492 return Py_BuildValue((char *)"");
28493}
c370783e 28494static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28495 PyObject *resultobj = NULL;
d55e5bfc
RD
28496 PyObject *arg1 = (PyObject *) NULL ;
28497 wxPyTreeItemData *result;
28498 PyObject * obj0 = 0 ;
28499 char *kwnames[] = {
28500 (char *) "obj", NULL
28501 };
28502
28503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
28504 if (obj0) {
28505 arg1 = obj0;
28506 }
28507 {
28508 PyThreadState* __tstate = wxPyBeginAllowThreads();
28509 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
28510
28511 wxPyEndAllowThreads(__tstate);
28512 if (PyErr_Occurred()) SWIG_fail;
28513 }
28514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
28515 return resultobj;
28516 fail:
28517 return NULL;
28518}
28519
28520
7e08d4ef
RD
28521static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28522 PyObject *resultobj = NULL;
28523 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28524 PyObject * obj0 = 0 ;
28525 char *kwnames[] = {
28526 (char *) "self", NULL
28527 };
28528
28529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail;
28530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28531 if (SWIG_arg_fail(1)) SWIG_fail;
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 delete arg1;
28535
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 Py_INCREF(Py_None); resultobj = Py_None;
28540 return resultobj;
28541 fail:
28542 return NULL;
28543}
28544
28545
c370783e 28546static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28547 PyObject *resultobj = NULL;
d55e5bfc
RD
28548 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28549 PyObject *result;
28550 PyObject * obj0 = 0 ;
28551 char *kwnames[] = {
28552 (char *) "self", NULL
28553 };
28554
28555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
28556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28558 {
28559 PyThreadState* __tstate = wxPyBeginAllowThreads();
28560 result = (PyObject *)(arg1)->GetData();
28561
28562 wxPyEndAllowThreads(__tstate);
28563 if (PyErr_Occurred()) SWIG_fail;
28564 }
28565 resultobj = result;
28566 return resultobj;
28567 fail:
28568 return NULL;
28569}
28570
28571
c370783e 28572static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28573 PyObject *resultobj = NULL;
d55e5bfc
RD
28574 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28575 PyObject *arg2 = (PyObject *) 0 ;
28576 PyObject * obj0 = 0 ;
28577 PyObject * obj1 = 0 ;
28578 char *kwnames[] = {
28579 (char *) "self",(char *) "obj", NULL
28580 };
28581
28582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28585 arg2 = obj1;
28586 {
28587 PyThreadState* __tstate = wxPyBeginAllowThreads();
28588 (arg1)->SetData(arg2);
28589
28590 wxPyEndAllowThreads(__tstate);
28591 if (PyErr_Occurred()) SWIG_fail;
28592 }
28593 Py_INCREF(Py_None); resultobj = Py_None;
28594 return resultobj;
28595 fail:
28596 return NULL;
28597}
28598
28599
c370783e 28600static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28601 PyObject *resultobj = NULL;
d55e5bfc
RD
28602 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28603 wxTreeItemId *result;
28604 PyObject * obj0 = 0 ;
28605 char *kwnames[] = {
28606 (char *) "self", NULL
28607 };
28608
28609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
28610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28612 {
28613 PyThreadState* __tstate = wxPyBeginAllowThreads();
28614 {
28615 wxTreeItemId const &_result_ref = (arg1)->GetId();
28616 result = (wxTreeItemId *) &_result_ref;
28617 }
28618
28619 wxPyEndAllowThreads(__tstate);
28620 if (PyErr_Occurred()) SWIG_fail;
28621 }
28622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
28623 return resultobj;
28624 fail:
28625 return NULL;
28626}
28627
28628
c370783e 28629static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28630 PyObject *resultobj = NULL;
d55e5bfc
RD
28631 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28632 wxTreeItemId *arg2 = 0 ;
28633 PyObject * obj0 = 0 ;
28634 PyObject * obj1 = 0 ;
28635 char *kwnames[] = {
28636 (char *) "self",(char *) "id", NULL
28637 };
28638
28639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28641 if (SWIG_arg_fail(1)) SWIG_fail;
28642 {
28643 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28644 if (SWIG_arg_fail(2)) SWIG_fail;
28645 if (arg2 == NULL) {
28646 SWIG_null_ref("wxTreeItemId");
28647 }
28648 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28649 }
28650 {
28651 PyThreadState* __tstate = wxPyBeginAllowThreads();
28652 (arg1)->SetId((wxTreeItemId const &)*arg2);
28653
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 Py_INCREF(Py_None); resultobj = Py_None;
28658 return resultobj;
28659 fail:
28660 return NULL;
28661}
28662
28663
c370783e 28664static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28665 PyObject *resultobj = NULL;
d55e5bfc
RD
28666 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28667 PyObject * obj0 = 0 ;
28668 char *kwnames[] = {
28669 (char *) "self", NULL
28670 };
28671
28672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
28673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28674 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28675 {
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 wxPyTreeItemData_Destroy(arg1);
28678
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 Py_INCREF(Py_None); resultobj = Py_None;
28683 return resultobj;
28684 fail:
28685 return NULL;
28686}
28687
28688
c370783e 28689static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28690 PyObject *obj;
28691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28692 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
28693 Py_INCREF(obj);
28694 return Py_BuildValue((char *)"");
28695}
c370783e 28696static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28697 PyObject *resultobj = NULL;
d55e5bfc
RD
28698 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28699 int arg2 = (int) 0 ;
28700 wxTreeEvent *result;
28701 PyObject * obj0 = 0 ;
28702 PyObject * obj1 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "commandType",(char *) "id", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
28708 if (obj0) {
36ed4f51 28709 {
32fe5131 28710 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
28711 if (SWIG_arg_fail(1)) SWIG_fail;
28712 }
d55e5bfc
RD
28713 }
28714 if (obj1) {
36ed4f51 28715 {
32fe5131 28716 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
28717 if (SWIG_arg_fail(2)) SWIG_fail;
28718 }
d55e5bfc
RD
28719 }
28720 {
28721 PyThreadState* __tstate = wxPyBeginAllowThreads();
28722 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
28723
28724 wxPyEndAllowThreads(__tstate);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
28728 return resultobj;
28729 fail:
28730 return NULL;
28731}
28732
28733
c370783e 28734static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28735 PyObject *resultobj = NULL;
d55e5bfc
RD
28736 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28737 wxTreeItemId result;
28738 PyObject * obj0 = 0 ;
28739 char *kwnames[] = {
28740 (char *) "self", NULL
28741 };
28742
28743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
28744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28746 {
28747 PyThreadState* __tstate = wxPyBeginAllowThreads();
28748 result = ((wxTreeEvent const *)arg1)->GetItem();
28749
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 {
28754 wxTreeItemId * resultptr;
32fe5131 28755 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
28756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28757 }
28758 return resultobj;
28759 fail:
28760 return NULL;
28761}
28762
28763
c370783e 28764static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28765 PyObject *resultobj = NULL;
d55e5bfc
RD
28766 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28767 wxTreeItemId *arg2 = 0 ;
28768 PyObject * obj0 = 0 ;
28769 PyObject * obj1 = 0 ;
28770 char *kwnames[] = {
28771 (char *) "self",(char *) "item", NULL
28772 };
28773
28774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28776 if (SWIG_arg_fail(1)) SWIG_fail;
28777 {
28778 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28779 if (SWIG_arg_fail(2)) SWIG_fail;
28780 if (arg2 == NULL) {
28781 SWIG_null_ref("wxTreeItemId");
28782 }
28783 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28784 }
28785 {
28786 PyThreadState* __tstate = wxPyBeginAllowThreads();
28787 (arg1)->SetItem((wxTreeItemId const &)*arg2);
28788
28789 wxPyEndAllowThreads(__tstate);
28790 if (PyErr_Occurred()) SWIG_fail;
28791 }
28792 Py_INCREF(Py_None); resultobj = Py_None;
28793 return resultobj;
28794 fail:
28795 return NULL;
28796}
28797
28798
c370783e 28799static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28800 PyObject *resultobj = NULL;
d55e5bfc
RD
28801 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28802 wxTreeItemId result;
28803 PyObject * obj0 = 0 ;
28804 char *kwnames[] = {
28805 (char *) "self", NULL
28806 };
28807
28808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
28809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28810 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 result = ((wxTreeEvent const *)arg1)->GetOldItem();
28814
28815 wxPyEndAllowThreads(__tstate);
28816 if (PyErr_Occurred()) SWIG_fail;
28817 }
28818 {
28819 wxTreeItemId * resultptr;
32fe5131 28820 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
28821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28822 }
28823 return resultobj;
28824 fail:
28825 return NULL;
28826}
28827
28828
c370783e 28829static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28830 PyObject *resultobj = NULL;
d55e5bfc
RD
28831 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28832 wxTreeItemId *arg2 = 0 ;
28833 PyObject * obj0 = 0 ;
28834 PyObject * obj1 = 0 ;
28835 char *kwnames[] = {
28836 (char *) "self",(char *) "item", NULL
28837 };
28838
28839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28841 if (SWIG_arg_fail(1)) SWIG_fail;
28842 {
28843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28844 if (SWIG_arg_fail(2)) SWIG_fail;
28845 if (arg2 == NULL) {
28846 SWIG_null_ref("wxTreeItemId");
28847 }
28848 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28849 }
28850 {
28851 PyThreadState* __tstate = wxPyBeginAllowThreads();
28852 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
28853
28854 wxPyEndAllowThreads(__tstate);
28855 if (PyErr_Occurred()) SWIG_fail;
28856 }
28857 Py_INCREF(Py_None); resultobj = Py_None;
28858 return resultobj;
28859 fail:
28860 return NULL;
28861}
28862
28863
c370783e 28864static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28865 PyObject *resultobj = NULL;
d55e5bfc
RD
28866 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28867 wxPoint result;
28868 PyObject * obj0 = 0 ;
28869 char *kwnames[] = {
28870 (char *) "self", NULL
28871 };
28872
28873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
28874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28876 {
28877 PyThreadState* __tstate = wxPyBeginAllowThreads();
28878 result = ((wxTreeEvent const *)arg1)->GetPoint();
28879
28880 wxPyEndAllowThreads(__tstate);
28881 if (PyErr_Occurred()) SWIG_fail;
28882 }
28883 {
28884 wxPoint * resultptr;
32fe5131 28885 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
28886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28887 }
28888 return resultobj;
28889 fail:
28890 return NULL;
28891}
28892
28893
c370783e 28894static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28895 PyObject *resultobj = NULL;
d55e5bfc
RD
28896 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28897 wxPoint *arg2 = 0 ;
28898 wxPoint temp2 ;
28899 PyObject * obj0 = 0 ;
28900 PyObject * obj1 = 0 ;
28901 char *kwnames[] = {
28902 (char *) "self",(char *) "pt", NULL
28903 };
28904
28905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28908 {
28909 arg2 = &temp2;
28910 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28911 }
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 (arg1)->SetPoint((wxPoint const &)*arg2);
28915
28916 wxPyEndAllowThreads(__tstate);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 }
28919 Py_INCREF(Py_None); resultobj = Py_None;
28920 return resultobj;
28921 fail:
28922 return NULL;
28923}
28924
28925
c370783e 28926static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28927 PyObject *resultobj = NULL;
d55e5bfc
RD
28928 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28929 wxKeyEvent *result;
28930 PyObject * obj0 = 0 ;
28931 char *kwnames[] = {
28932 (char *) "self", NULL
28933 };
28934
28935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
28936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28938 {
28939 PyThreadState* __tstate = wxPyBeginAllowThreads();
28940 {
28941 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
28942 result = (wxKeyEvent *) &_result_ref;
28943 }
28944
28945 wxPyEndAllowThreads(__tstate);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 }
28948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
28949 return resultobj;
28950 fail:
28951 return NULL;
28952}
28953
28954
c370783e 28955static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28956 PyObject *resultobj = NULL;
d55e5bfc
RD
28957 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28958 int result;
28959 PyObject * obj0 = 0 ;
28960 char *kwnames[] = {
28961 (char *) "self", NULL
28962 };
28963
28964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
28965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28967 {
28968 PyThreadState* __tstate = wxPyBeginAllowThreads();
28969 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
28970
28971 wxPyEndAllowThreads(__tstate);
28972 if (PyErr_Occurred()) SWIG_fail;
28973 }
36ed4f51 28974 {
32fe5131 28975 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 28976 }
d55e5bfc
RD
28977 return resultobj;
28978 fail:
28979 return NULL;
28980}
28981
28982
c370783e 28983static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28984 PyObject *resultobj = NULL;
d55e5bfc
RD
28985 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28986 wxKeyEvent *arg2 = 0 ;
28987 PyObject * obj0 = 0 ;
28988 PyObject * obj1 = 0 ;
28989 char *kwnames[] = {
28990 (char *) "self",(char *) "evt", NULL
28991 };
28992
28993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28995 if (SWIG_arg_fail(1)) SWIG_fail;
28996 {
28997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
28998 if (SWIG_arg_fail(2)) SWIG_fail;
28999 if (arg2 == NULL) {
29000 SWIG_null_ref("wxKeyEvent");
29001 }
29002 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29003 }
29004 {
29005 PyThreadState* __tstate = wxPyBeginAllowThreads();
29006 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
29007
29008 wxPyEndAllowThreads(__tstate);
29009 if (PyErr_Occurred()) SWIG_fail;
29010 }
29011 Py_INCREF(Py_None); resultobj = Py_None;
29012 return resultobj;
29013 fail:
29014 return NULL;
29015}
29016
29017
c370783e 29018static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29019 PyObject *resultobj = NULL;
d55e5bfc
RD
29020 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29021 wxString *result;
29022 PyObject * obj0 = 0 ;
29023 char *kwnames[] = {
29024 (char *) "self", NULL
29025 };
29026
29027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
29028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29030 {
29031 PyThreadState* __tstate = wxPyBeginAllowThreads();
29032 {
29033 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
29034 result = (wxString *) &_result_ref;
29035 }
29036
29037 wxPyEndAllowThreads(__tstate);
29038 if (PyErr_Occurred()) SWIG_fail;
29039 }
29040 {
29041#if wxUSE_UNICODE
29042 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29043#else
29044 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29045#endif
29046 }
29047 return resultobj;
29048 fail:
29049 return NULL;
29050}
29051
29052
c370783e 29053static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29054 PyObject *resultobj = NULL;
d55e5bfc
RD
29055 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29056 wxString *arg2 = 0 ;
b411df4a 29057 bool temp2 = false ;
d55e5bfc
RD
29058 PyObject * obj0 = 0 ;
29059 PyObject * obj1 = 0 ;
29060 char *kwnames[] = {
29061 (char *) "self",(char *) "label", NULL
29062 };
29063
29064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29066 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29067 {
29068 arg2 = wxString_in_helper(obj1);
29069 if (arg2 == NULL) SWIG_fail;
b411df4a 29070 temp2 = true;
d55e5bfc
RD
29071 }
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 (arg1)->SetLabel((wxString const &)*arg2);
29075
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
29079 Py_INCREF(Py_None); resultobj = Py_None;
29080 {
29081 if (temp2)
29082 delete arg2;
29083 }
29084 return resultobj;
29085 fail:
29086 {
29087 if (temp2)
29088 delete arg2;
29089 }
29090 return NULL;
29091}
29092
29093
c370783e 29094static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29095 PyObject *resultobj = NULL;
d55e5bfc
RD
29096 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29097 bool result;
29098 PyObject * obj0 = 0 ;
29099 char *kwnames[] = {
29100 (char *) "self", NULL
29101 };
29102
29103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
29104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29106 {
29107 PyThreadState* __tstate = wxPyBeginAllowThreads();
29108 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
29109
29110 wxPyEndAllowThreads(__tstate);
29111 if (PyErr_Occurred()) SWIG_fail;
29112 }
29113 {
29114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29115 }
29116 return resultobj;
29117 fail:
29118 return NULL;
29119}
29120
29121
c370783e 29122static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29123 PyObject *resultobj = NULL;
d55e5bfc
RD
29124 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29125 bool arg2 ;
29126 PyObject * obj0 = 0 ;
29127 PyObject * obj1 = 0 ;
29128 char *kwnames[] = {
29129 (char *) "self",(char *) "editCancelled", NULL
29130 };
29131
29132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail;
29135 {
32fe5131 29136 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
29137 if (SWIG_arg_fail(2)) SWIG_fail;
29138 }
d55e5bfc
RD
29139 {
29140 PyThreadState* __tstate = wxPyBeginAllowThreads();
29141 (arg1)->SetEditCanceled(arg2);
29142
29143 wxPyEndAllowThreads(__tstate);
29144 if (PyErr_Occurred()) SWIG_fail;
29145 }
29146 Py_INCREF(Py_None); resultobj = Py_None;
29147 return resultobj;
29148 fail:
29149 return NULL;
29150}
29151
29152
c370783e 29153static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29154 PyObject *resultobj = NULL;
d55e5bfc
RD
29155 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29156 wxString *arg2 = 0 ;
b411df4a 29157 bool temp2 = false ;
d55e5bfc
RD
29158 PyObject * obj0 = 0 ;
29159 PyObject * obj1 = 0 ;
29160 char *kwnames[] = {
29161 (char *) "self",(char *) "toolTip", NULL
29162 };
29163
29164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29167 {
29168 arg2 = wxString_in_helper(obj1);
29169 if (arg2 == NULL) SWIG_fail;
b411df4a 29170 temp2 = true;
d55e5bfc
RD
29171 }
29172 {
29173 PyThreadState* __tstate = wxPyBeginAllowThreads();
29174 (arg1)->SetToolTip((wxString const &)*arg2);
29175
29176 wxPyEndAllowThreads(__tstate);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 }
29179 Py_INCREF(Py_None); resultobj = Py_None;
29180 {
29181 if (temp2)
29182 delete arg2;
29183 }
29184 return resultobj;
29185 fail:
29186 {
29187 if (temp2)
29188 delete arg2;
29189 }
29190 return NULL;
29191}
29192
29193
dcb8fc74 29194static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29195 PyObject *resultobj = NULL;
dcb8fc74
RD
29196 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29197 wxString result;
29198 PyObject * obj0 = 0 ;
29199 char *kwnames[] = {
29200 (char *) "self", NULL
29201 };
29202
29203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
29204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29205 if (SWIG_arg_fail(1)) SWIG_fail;
29206 {
29207 PyThreadState* __tstate = wxPyBeginAllowThreads();
29208 result = (arg1)->GetToolTip();
29209
29210 wxPyEndAllowThreads(__tstate);
29211 if (PyErr_Occurred()) SWIG_fail;
29212 }
29213 {
29214#if wxUSE_UNICODE
29215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29216#else
29217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29218#endif
29219 }
29220 return resultobj;
29221 fail:
29222 return NULL;
29223}
29224
29225
c370783e 29226static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29227 PyObject *obj;
29228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29229 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
29230 Py_INCREF(obj);
29231 return Py_BuildValue((char *)"");
29232}
c370783e 29233static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29234 PyObject *resultobj = NULL;
d55e5bfc
RD
29235 wxWindow *arg1 = (wxWindow *) 0 ;
29236 int arg2 = (int) -1 ;
29237 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29238 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29239 wxSize const &arg4_defvalue = wxDefaultSize ;
29240 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29241 long arg5 = (long) wxTR_DEFAULT_STYLE ;
29242 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29243 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29244 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
29245 wxString *arg7 = (wxString *) &arg7_defvalue ;
29246 wxPyTreeCtrl *result;
29247 wxPoint temp3 ;
29248 wxSize temp4 ;
b411df4a 29249 bool temp7 = false ;
d55e5bfc
RD
29250 PyObject * obj0 = 0 ;
29251 PyObject * obj1 = 0 ;
29252 PyObject * obj2 = 0 ;
29253 PyObject * obj3 = 0 ;
29254 PyObject * obj4 = 0 ;
29255 PyObject * obj5 = 0 ;
29256 PyObject * obj6 = 0 ;
29257 char *kwnames[] = {
29258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29259 };
29260
29261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
29262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29264 if (obj1) {
36ed4f51 29265 {
32fe5131 29266 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
29267 if (SWIG_arg_fail(2)) SWIG_fail;
29268 }
d55e5bfc
RD
29269 }
29270 if (obj2) {
29271 {
29272 arg3 = &temp3;
29273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29274 }
29275 }
29276 if (obj3) {
29277 {
29278 arg4 = &temp4;
29279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29280 }
29281 }
29282 if (obj4) {
36ed4f51 29283 {
32fe5131 29284 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
29285 if (SWIG_arg_fail(5)) SWIG_fail;
29286 }
d55e5bfc
RD
29287 }
29288 if (obj5) {
36ed4f51
RD
29289 {
29290 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29291 if (SWIG_arg_fail(6)) SWIG_fail;
29292 if (arg6 == NULL) {
29293 SWIG_null_ref("wxValidator");
29294 }
29295 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
29296 }
29297 }
29298 if (obj6) {
29299 {
29300 arg7 = wxString_in_helper(obj6);
29301 if (arg7 == NULL) SWIG_fail;
b411df4a 29302 temp7 = true;
d55e5bfc
RD
29303 }
29304 }
29305 {
0439c23b 29306 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29307 PyThreadState* __tstate = wxPyBeginAllowThreads();
29308 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29309
29310 wxPyEndAllowThreads(__tstate);
110da5b0 29311 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 29312 }
b0f7404b 29313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
29314 {
29315 if (temp7)
29316 delete arg7;
29317 }
29318 return resultobj;
29319 fail:
29320 {
29321 if (temp7)
29322 delete arg7;
29323 }
29324 return NULL;
29325}
29326
29327
c370783e 29328static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29329 PyObject *resultobj = NULL;
d55e5bfc
RD
29330 wxPyTreeCtrl *result;
29331 char *kwnames[] = {
29332 NULL
29333 };
29334
29335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
29336 {
0439c23b 29337 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29338 PyThreadState* __tstate = wxPyBeginAllowThreads();
29339 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
29340
29341 wxPyEndAllowThreads(__tstate);
110da5b0 29342 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 29343 }
b0f7404b 29344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
29345 return resultobj;
29346 fail:
29347 return NULL;
29348}
29349
29350
c370783e 29351static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29352 PyObject *resultobj = NULL;
d55e5bfc
RD
29353 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29354 wxWindow *arg2 = (wxWindow *) 0 ;
29355 int arg3 = (int) -1 ;
29356 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29357 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29358 wxSize const &arg5_defvalue = wxDefaultSize ;
29359 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29360 long arg6 = (long) wxTR_DEFAULT_STYLE ;
29361 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29362 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29363 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
29364 wxString *arg8 = (wxString *) &arg8_defvalue ;
29365 bool result;
29366 wxPoint temp4 ;
29367 wxSize temp5 ;
b411df4a 29368 bool temp8 = false ;
d55e5bfc
RD
29369 PyObject * obj0 = 0 ;
29370 PyObject * obj1 = 0 ;
29371 PyObject * obj2 = 0 ;
29372 PyObject * obj3 = 0 ;
29373 PyObject * obj4 = 0 ;
29374 PyObject * obj5 = 0 ;
29375 PyObject * obj6 = 0 ;
29376 PyObject * obj7 = 0 ;
29377 char *kwnames[] = {
29378 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29379 };
29380
29381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
29382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29383 if (SWIG_arg_fail(1)) SWIG_fail;
29384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29385 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29386 if (obj2) {
36ed4f51 29387 {
32fe5131 29388 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
29389 if (SWIG_arg_fail(3)) SWIG_fail;
29390 }
d55e5bfc
RD
29391 }
29392 if (obj3) {
29393 {
29394 arg4 = &temp4;
29395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29396 }
29397 }
29398 if (obj4) {
29399 {
29400 arg5 = &temp5;
29401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29402 }
29403 }
29404 if (obj5) {
36ed4f51 29405 {
32fe5131 29406 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
29407 if (SWIG_arg_fail(6)) SWIG_fail;
29408 }
d55e5bfc
RD
29409 }
29410 if (obj6) {
36ed4f51
RD
29411 {
29412 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29413 if (SWIG_arg_fail(7)) SWIG_fail;
29414 if (arg7 == NULL) {
29415 SWIG_null_ref("wxValidator");
29416 }
29417 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
29418 }
29419 }
29420 if (obj7) {
29421 {
29422 arg8 = wxString_in_helper(obj7);
29423 if (arg8 == NULL) SWIG_fail;
b411df4a 29424 temp8 = true;
d55e5bfc
RD
29425 }
29426 }
29427 {
29428 PyThreadState* __tstate = wxPyBeginAllowThreads();
29429 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29430
29431 wxPyEndAllowThreads(__tstate);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 }
29434 {
29435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29436 }
29437 {
29438 if (temp8)
29439 delete arg8;
29440 }
29441 return resultobj;
29442 fail:
29443 {
29444 if (temp8)
29445 delete arg8;
29446 }
29447 return NULL;
29448}
29449
29450
c370783e 29451static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29452 PyObject *resultobj = NULL;
d55e5bfc
RD
29453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29454 PyObject *arg2 = (PyObject *) 0 ;
29455 PyObject *arg3 = (PyObject *) 0 ;
29456 PyObject * obj0 = 0 ;
29457 PyObject * obj1 = 0 ;
29458 PyObject * obj2 = 0 ;
29459 char *kwnames[] = {
29460 (char *) "self",(char *) "self",(char *) "_class", NULL
29461 };
29462
29463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29466 arg2 = obj1;
29467 arg3 = obj2;
29468 {
29469 PyThreadState* __tstate = wxPyBeginAllowThreads();
29470 (arg1)->_setCallbackInfo(arg2,arg3);
29471
29472 wxPyEndAllowThreads(__tstate);
29473 if (PyErr_Occurred()) SWIG_fail;
29474 }
29475 Py_INCREF(Py_None); resultobj = Py_None;
29476 return resultobj;
29477 fail:
29478 return NULL;
29479}
29480
29481
c370783e 29482static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29483 PyObject *resultobj = NULL;
d55e5bfc
RD
29484 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29485 size_t result;
29486 PyObject * obj0 = 0 ;
29487 char *kwnames[] = {
29488 (char *) "self", NULL
29489 };
29490
29491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
29492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29494 {
29495 PyThreadState* __tstate = wxPyBeginAllowThreads();
29496 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
29497
29498 wxPyEndAllowThreads(__tstate);
29499 if (PyErr_Occurred()) SWIG_fail;
29500 }
36ed4f51 29501 {
32fe5131 29502 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 29503 }
d55e5bfc
RD
29504 return resultobj;
29505 fail:
29506 return NULL;
29507}
29508
29509
c370783e 29510static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29511 PyObject *resultobj = NULL;
d55e5bfc
RD
29512 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29513 unsigned int result;
29514 PyObject * obj0 = 0 ;
29515 char *kwnames[] = {
29516 (char *) "self", NULL
29517 };
29518
29519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
29520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29522 {
29523 PyThreadState* __tstate = wxPyBeginAllowThreads();
29524 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
29525
29526 wxPyEndAllowThreads(__tstate);
29527 if (PyErr_Occurred()) SWIG_fail;
29528 }
36ed4f51 29529 {
32fe5131 29530 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
36ed4f51 29531 }
d55e5bfc
RD
29532 return resultobj;
29533 fail:
29534 return NULL;
29535}
29536
29537
c370783e 29538static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29539 PyObject *resultobj = NULL;
d55e5bfc
RD
29540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29541 unsigned int arg2 ;
29542 PyObject * obj0 = 0 ;
29543 PyObject * obj1 = 0 ;
29544 char *kwnames[] = {
29545 (char *) "self",(char *) "indent", NULL
29546 };
29547
29548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29550 if (SWIG_arg_fail(1)) SWIG_fail;
29551 {
32fe5131 29552 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
36ed4f51
RD
29553 if (SWIG_arg_fail(2)) SWIG_fail;
29554 }
d55e5bfc
RD
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 (arg1)->SetIndent(arg2);
29558
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 Py_INCREF(Py_None); resultobj = Py_None;
29563 return resultobj;
29564 fail:
29565 return NULL;
29566}
29567
29568
c370783e 29569static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29570 PyObject *resultobj = NULL;
d55e5bfc
RD
29571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29572 unsigned int result;
29573 PyObject * obj0 = 0 ;
29574 char *kwnames[] = {
29575 (char *) "self", NULL
29576 };
29577
29578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
29579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29581 {
29582 PyThreadState* __tstate = wxPyBeginAllowThreads();
29583 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
29584
29585 wxPyEndAllowThreads(__tstate);
29586 if (PyErr_Occurred()) SWIG_fail;
29587 }
36ed4f51 29588 {
32fe5131 29589 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
36ed4f51 29590 }
d55e5bfc
RD
29591 return resultobj;
29592 fail:
29593 return NULL;
29594}
29595
29596
c370783e 29597static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29598 PyObject *resultobj = NULL;
d55e5bfc
RD
29599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29600 unsigned int arg2 ;
29601 PyObject * obj0 = 0 ;
29602 PyObject * obj1 = 0 ;
29603 char *kwnames[] = {
29604 (char *) "self",(char *) "spacing", NULL
29605 };
29606
29607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail;
29610 {
32fe5131 29611 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
36ed4f51
RD
29612 if (SWIG_arg_fail(2)) SWIG_fail;
29613 }
d55e5bfc
RD
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 (arg1)->SetSpacing(arg2);
29617
29618 wxPyEndAllowThreads(__tstate);
29619 if (PyErr_Occurred()) SWIG_fail;
29620 }
29621 Py_INCREF(Py_None); resultobj = Py_None;
29622 return resultobj;
29623 fail:
29624 return NULL;
29625}
29626
29627
c370783e 29628static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29629 PyObject *resultobj = NULL;
d55e5bfc
RD
29630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29631 wxImageList *result;
29632 PyObject * obj0 = 0 ;
29633 char *kwnames[] = {
29634 (char *) "self", NULL
29635 };
29636
29637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
29638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29639 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29640 {
29641 PyThreadState* __tstate = wxPyBeginAllowThreads();
29642 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
29643
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 {
7e08d4ef 29648 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
29649 }
29650 return resultobj;
29651 fail:
29652 return NULL;
29653}
29654
29655
c370783e 29656static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29657 PyObject *resultobj = NULL;
d55e5bfc
RD
29658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29659 wxImageList *result;
29660 PyObject * obj0 = 0 ;
29661 char *kwnames[] = {
29662 (char *) "self", NULL
29663 };
29664
29665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
29666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29667 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29668 {
29669 PyThreadState* __tstate = wxPyBeginAllowThreads();
29670 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
29671
29672 wxPyEndAllowThreads(__tstate);
29673 if (PyErr_Occurred()) SWIG_fail;
29674 }
29675 {
7e08d4ef 29676 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
29677 }
29678 return resultobj;
29679 fail:
29680 return NULL;
29681}
29682
29683
c370783e 29684static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29685 PyObject *resultobj = NULL;
d55e5bfc
RD
29686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29687 wxImageList *arg2 = (wxImageList *) 0 ;
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self",(char *) "imageList", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail;
29697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29698 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29699 {
29700 PyThreadState* __tstate = wxPyBeginAllowThreads();
29701 (arg1)->SetImageList(arg2);
29702
29703 wxPyEndAllowThreads(__tstate);
29704 if (PyErr_Occurred()) SWIG_fail;
29705 }
29706 Py_INCREF(Py_None); resultobj = Py_None;
29707 return resultobj;
29708 fail:
29709 return NULL;
29710}
29711
29712
c370783e 29713static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29714 PyObject *resultobj = NULL;
d55e5bfc
RD
29715 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29716 wxImageList *arg2 = (wxImageList *) 0 ;
29717 PyObject * obj0 = 0 ;
29718 PyObject * obj1 = 0 ;
29719 char *kwnames[] = {
29720 (char *) "self",(char *) "imageList", NULL
29721 };
29722
29723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29725 if (SWIG_arg_fail(1)) SWIG_fail;
29726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29727 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29728 {
29729 PyThreadState* __tstate = wxPyBeginAllowThreads();
29730 (arg1)->SetStateImageList(arg2);
29731
29732 wxPyEndAllowThreads(__tstate);
29733 if (PyErr_Occurred()) SWIG_fail;
29734 }
29735 Py_INCREF(Py_None); resultobj = Py_None;
29736 return resultobj;
29737 fail:
29738 return NULL;
29739}
29740
29741
c370783e 29742static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29743 PyObject *resultobj = NULL;
d55e5bfc
RD
29744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29745 wxImageList *arg2 = (wxImageList *) 0 ;
29746 PyObject * obj0 = 0 ;
29747 PyObject * obj1 = 0 ;
29748 char *kwnames[] = {
29749 (char *) "self",(char *) "imageList", NULL
29750 };
29751
29752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail;
29755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29756 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29757 {
29758 PyThreadState* __tstate = wxPyBeginAllowThreads();
29759 (arg1)->AssignImageList(arg2);
29760
29761 wxPyEndAllowThreads(__tstate);
29762 if (PyErr_Occurred()) SWIG_fail;
29763 }
29764 Py_INCREF(Py_None); resultobj = Py_None;
29765 return resultobj;
29766 fail:
29767 return NULL;
29768}
29769
29770
c370783e 29771static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29772 PyObject *resultobj = NULL;
d55e5bfc
RD
29773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29774 wxImageList *arg2 = (wxImageList *) 0 ;
29775 PyObject * obj0 = 0 ;
29776 PyObject * obj1 = 0 ;
29777 char *kwnames[] = {
29778 (char *) "self",(char *) "imageList", NULL
29779 };
29780
29781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail;
29784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29785 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29786 {
29787 PyThreadState* __tstate = wxPyBeginAllowThreads();
29788 (arg1)->AssignStateImageList(arg2);
29789
29790 wxPyEndAllowThreads(__tstate);
29791 if (PyErr_Occurred()) SWIG_fail;
29792 }
29793 Py_INCREF(Py_None); resultobj = Py_None;
29794 return resultobj;
29795 fail:
29796 return NULL;
29797}
29798
29799
c370783e 29800static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29801 PyObject *resultobj = NULL;
d55e5bfc
RD
29802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29803 wxTreeItemId *arg2 = 0 ;
29804 wxString result;
29805 PyObject * obj0 = 0 ;
29806 PyObject * obj1 = 0 ;
29807 char *kwnames[] = {
29808 (char *) "self",(char *) "item", NULL
29809 };
29810
29811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail;
29814 {
29815 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29816 if (SWIG_arg_fail(2)) SWIG_fail;
29817 if (arg2 == NULL) {
29818 SWIG_null_ref("wxTreeItemId");
29819 }
29820 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29821 }
29822 {
29823 PyThreadState* __tstate = wxPyBeginAllowThreads();
29824 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
29825
29826 wxPyEndAllowThreads(__tstate);
29827 if (PyErr_Occurred()) SWIG_fail;
29828 }
29829 {
29830#if wxUSE_UNICODE
29831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29832#else
29833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29834#endif
29835 }
29836 return resultobj;
29837 fail:
29838 return NULL;
29839}
29840
29841
c370783e 29842static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29843 PyObject *resultobj = NULL;
d55e5bfc
RD
29844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29845 wxTreeItemId *arg2 = 0 ;
36ed4f51 29846 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
29847 int result;
29848 PyObject * obj0 = 0 ;
29849 PyObject * obj1 = 0 ;
29850 PyObject * obj2 = 0 ;
29851 char *kwnames[] = {
29852 (char *) "self",(char *) "item",(char *) "which", NULL
29853 };
29854
29855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29857 if (SWIG_arg_fail(1)) SWIG_fail;
29858 {
29859 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29860 if (SWIG_arg_fail(2)) SWIG_fail;
29861 if (arg2 == NULL) {
29862 SWIG_null_ref("wxTreeItemId");
29863 }
29864 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29865 }
29866 if (obj2) {
36ed4f51 29867 {
32fe5131 29868 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
36ed4f51
RD
29869 if (SWIG_arg_fail(3)) SWIG_fail;
29870 }
d55e5bfc
RD
29871 }
29872 {
29873 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 29874 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
d55e5bfc
RD
29875
29876 wxPyEndAllowThreads(__tstate);
29877 if (PyErr_Occurred()) SWIG_fail;
29878 }
36ed4f51 29879 {
32fe5131 29880 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 29881 }
d55e5bfc
RD
29882 return resultobj;
29883 fail:
29884 return NULL;
29885}
29886
29887
c370783e 29888static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29889 PyObject *resultobj = NULL;
d55e5bfc
RD
29890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29891 wxTreeItemId *arg2 = 0 ;
29892 wxPyTreeItemData *result;
29893 PyObject * obj0 = 0 ;
29894 PyObject * obj1 = 0 ;
29895 char *kwnames[] = {
29896 (char *) "self",(char *) "item", NULL
29897 };
29898
29899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29901 if (SWIG_arg_fail(1)) SWIG_fail;
29902 {
29903 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29904 if (SWIG_arg_fail(2)) SWIG_fail;
29905 if (arg2 == NULL) {
29906 SWIG_null_ref("wxTreeItemId");
29907 }
29908 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29909 }
29910 {
29911 PyThreadState* __tstate = wxPyBeginAllowThreads();
29912 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
29913
29914 wxPyEndAllowThreads(__tstate);
29915 if (PyErr_Occurred()) SWIG_fail;
29916 }
29917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
29918 return resultobj;
29919 fail:
29920 return NULL;
29921}
29922
29923
c370783e 29924static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29925 PyObject *resultobj = NULL;
d55e5bfc
RD
29926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29927 wxTreeItemId *arg2 = 0 ;
29928 PyObject *result;
29929 PyObject * obj0 = 0 ;
29930 PyObject * obj1 = 0 ;
29931 char *kwnames[] = {
29932 (char *) "self",(char *) "item", NULL
29933 };
29934
29935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29937 if (SWIG_arg_fail(1)) SWIG_fail;
29938 {
29939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29940 if (SWIG_arg_fail(2)) SWIG_fail;
29941 if (arg2 == NULL) {
29942 SWIG_null_ref("wxTreeItemId");
29943 }
29944 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29945 }
29946 {
29947 PyThreadState* __tstate = wxPyBeginAllowThreads();
29948 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
29949
29950 wxPyEndAllowThreads(__tstate);
29951 if (PyErr_Occurred()) SWIG_fail;
29952 }
29953 resultobj = result;
29954 return resultobj;
29955 fail:
29956 return NULL;
29957}
29958
29959
c370783e 29960static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29961 PyObject *resultobj = NULL;
d55e5bfc
RD
29962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29963 wxTreeItemId *arg2 = 0 ;
29964 wxColour result;
29965 PyObject * obj0 = 0 ;
29966 PyObject * obj1 = 0 ;
29967 char *kwnames[] = {
29968 (char *) "self",(char *) "item", NULL
29969 };
29970
29971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29973 if (SWIG_arg_fail(1)) SWIG_fail;
29974 {
29975 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29976 if (SWIG_arg_fail(2)) SWIG_fail;
29977 if (arg2 == NULL) {
29978 SWIG_null_ref("wxTreeItemId");
29979 }
29980 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29981 }
29982 {
29983 PyThreadState* __tstate = wxPyBeginAllowThreads();
29984 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
29985
29986 wxPyEndAllowThreads(__tstate);
29987 if (PyErr_Occurred()) SWIG_fail;
29988 }
29989 {
29990 wxColour * resultptr;
32fe5131 29991 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
29992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
29993 }
29994 return resultobj;
29995 fail:
29996 return NULL;
29997}
29998
29999
c370783e 30000static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30001 PyObject *resultobj = NULL;
d55e5bfc
RD
30002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30003 wxTreeItemId *arg2 = 0 ;
30004 wxColour result;
30005 PyObject * obj0 = 0 ;
30006 PyObject * obj1 = 0 ;
30007 char *kwnames[] = {
30008 (char *) "self",(char *) "item", NULL
30009 };
30010
30011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30013 if (SWIG_arg_fail(1)) SWIG_fail;
30014 {
30015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30016 if (SWIG_arg_fail(2)) SWIG_fail;
30017 if (arg2 == NULL) {
30018 SWIG_null_ref("wxTreeItemId");
30019 }
30020 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30021 }
30022 {
30023 PyThreadState* __tstate = wxPyBeginAllowThreads();
30024 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
30025
30026 wxPyEndAllowThreads(__tstate);
30027 if (PyErr_Occurred()) SWIG_fail;
30028 }
30029 {
30030 wxColour * resultptr;
32fe5131 30031 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
30032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30033 }
30034 return resultobj;
30035 fail:
30036 return NULL;
30037}
30038
30039
c370783e 30040static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30041 PyObject *resultobj = NULL;
d55e5bfc
RD
30042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30043 wxTreeItemId *arg2 = 0 ;
30044 wxFont result;
30045 PyObject * obj0 = 0 ;
30046 PyObject * obj1 = 0 ;
30047 char *kwnames[] = {
30048 (char *) "self",(char *) "item", NULL
30049 };
30050
30051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail;
30054 {
30055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30056 if (SWIG_arg_fail(2)) SWIG_fail;
30057 if (arg2 == NULL) {
30058 SWIG_null_ref("wxTreeItemId");
30059 }
30060 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30061 }
30062 {
30063 PyThreadState* __tstate = wxPyBeginAllowThreads();
30064 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
30065
30066 wxPyEndAllowThreads(__tstate);
30067 if (PyErr_Occurred()) SWIG_fail;
30068 }
30069 {
30070 wxFont * resultptr;
32fe5131 30071 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
30072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
30073 }
30074 return resultobj;
30075 fail:
30076 return NULL;
30077}
30078
30079
c370783e 30080static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30081 PyObject *resultobj = NULL;
d55e5bfc
RD
30082 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30083 wxTreeItemId *arg2 = 0 ;
30084 wxString *arg3 = 0 ;
b411df4a 30085 bool temp3 = false ;
d55e5bfc
RD
30086 PyObject * obj0 = 0 ;
30087 PyObject * obj1 = 0 ;
30088 PyObject * obj2 = 0 ;
30089 char *kwnames[] = {
30090 (char *) "self",(char *) "item",(char *) "text", NULL
30091 };
30092
30093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30095 if (SWIG_arg_fail(1)) SWIG_fail;
30096 {
30097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30098 if (SWIG_arg_fail(2)) SWIG_fail;
30099 if (arg2 == NULL) {
30100 SWIG_null_ref("wxTreeItemId");
30101 }
30102 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30103 }
30104 {
30105 arg3 = wxString_in_helper(obj2);
30106 if (arg3 == NULL) SWIG_fail;
b411df4a 30107 temp3 = true;
d55e5bfc
RD
30108 }
30109 {
30110 PyThreadState* __tstate = wxPyBeginAllowThreads();
30111 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
30112
30113 wxPyEndAllowThreads(__tstate);
30114 if (PyErr_Occurred()) SWIG_fail;
30115 }
30116 Py_INCREF(Py_None); resultobj = Py_None;
30117 {
30118 if (temp3)
30119 delete arg3;
30120 }
30121 return resultobj;
30122 fail:
30123 {
30124 if (temp3)
30125 delete arg3;
30126 }
30127 return NULL;
30128}
30129
30130
c370783e 30131static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30132 PyObject *resultobj = NULL;
d55e5bfc
RD
30133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30134 wxTreeItemId *arg2 = 0 ;
30135 int arg3 ;
36ed4f51 30136 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
30137 PyObject * obj0 = 0 ;
30138 PyObject * obj1 = 0 ;
30139 PyObject * obj2 = 0 ;
30140 PyObject * obj3 = 0 ;
30141 char *kwnames[] = {
30142 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30143 };
30144
30145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
30146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30147 if (SWIG_arg_fail(1)) SWIG_fail;
30148 {
30149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30150 if (SWIG_arg_fail(2)) SWIG_fail;
30151 if (arg2 == NULL) {
30152 SWIG_null_ref("wxTreeItemId");
30153 }
30154 if (SWIG_arg_fail(2)) SWIG_fail;
30155 }
30156 {
32fe5131 30157 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30158 if (SWIG_arg_fail(3)) SWIG_fail;
30159 }
d55e5bfc 30160 if (obj3) {
36ed4f51 30161 {
32fe5131 30162 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
36ed4f51
RD
30163 if (SWIG_arg_fail(4)) SWIG_fail;
30164 }
d55e5bfc
RD
30165 }
30166 {
30167 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 30168 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
d55e5bfc
RD
30169
30170 wxPyEndAllowThreads(__tstate);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 }
30173 Py_INCREF(Py_None); resultobj = Py_None;
30174 return resultobj;
30175 fail:
30176 return NULL;
30177}
30178
30179
c370783e 30180static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30181 PyObject *resultobj = NULL;
d55e5bfc
RD
30182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30183 wxTreeItemId *arg2 = 0 ;
30184 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
30185 PyObject * obj0 = 0 ;
30186 PyObject * obj1 = 0 ;
30187 PyObject * obj2 = 0 ;
30188 char *kwnames[] = {
30189 (char *) "self",(char *) "item",(char *) "data", NULL
30190 };
30191
30192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30194 if (SWIG_arg_fail(1)) SWIG_fail;
30195 {
30196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30197 if (SWIG_arg_fail(2)) SWIG_fail;
30198 if (arg2 == NULL) {
30199 SWIG_null_ref("wxTreeItemId");
30200 }
30201 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 30202 }
7e08d4ef 30203 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 30204 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30205 {
30206 PyThreadState* __tstate = wxPyBeginAllowThreads();
30207 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
30208
30209 wxPyEndAllowThreads(__tstate);
30210 if (PyErr_Occurred()) SWIG_fail;
30211 }
30212 Py_INCREF(Py_None); resultobj = Py_None;
30213 return resultobj;
30214 fail:
30215 return NULL;
30216}
30217
30218
c370783e 30219static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30220 PyObject *resultobj = NULL;
d55e5bfc
RD
30221 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30222 wxTreeItemId *arg2 = 0 ;
30223 PyObject *arg3 = (PyObject *) 0 ;
30224 PyObject * obj0 = 0 ;
30225 PyObject * obj1 = 0 ;
30226 PyObject * obj2 = 0 ;
30227 char *kwnames[] = {
30228 (char *) "self",(char *) "item",(char *) "obj", NULL
30229 };
30230
30231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30233 if (SWIG_arg_fail(1)) SWIG_fail;
30234 {
30235 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30236 if (SWIG_arg_fail(2)) SWIG_fail;
30237 if (arg2 == NULL) {
30238 SWIG_null_ref("wxTreeItemId");
30239 }
30240 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30241 }
30242 arg3 = obj2;
30243 {
30244 PyThreadState* __tstate = wxPyBeginAllowThreads();
30245 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
30246
30247 wxPyEndAllowThreads(__tstate);
30248 if (PyErr_Occurred()) SWIG_fail;
30249 }
30250 Py_INCREF(Py_None); resultobj = Py_None;
30251 return resultobj;
30252 fail:
30253 return NULL;
30254}
30255
30256
c370783e 30257static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30258 PyObject *resultobj = NULL;
d55e5bfc
RD
30259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30260 wxTreeItemId *arg2 = 0 ;
b411df4a 30261 bool arg3 = (bool) true ;
d55e5bfc
RD
30262 PyObject * obj0 = 0 ;
30263 PyObject * obj1 = 0 ;
30264 PyObject * obj2 = 0 ;
30265 char *kwnames[] = {
30266 (char *) "self",(char *) "item",(char *) "has", NULL
30267 };
30268
30269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30271 if (SWIG_arg_fail(1)) SWIG_fail;
30272 {
30273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30274 if (SWIG_arg_fail(2)) SWIG_fail;
30275 if (arg2 == NULL) {
30276 SWIG_null_ref("wxTreeItemId");
30277 }
30278 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30279 }
30280 if (obj2) {
36ed4f51 30281 {
32fe5131 30282 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
30283 if (SWIG_arg_fail(3)) SWIG_fail;
30284 }
d55e5bfc
RD
30285 }
30286 {
30287 PyThreadState* __tstate = wxPyBeginAllowThreads();
30288 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
30289
30290 wxPyEndAllowThreads(__tstate);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 }
30293 Py_INCREF(Py_None); resultobj = Py_None;
30294 return resultobj;
30295 fail:
30296 return NULL;
30297}
30298
30299
c370783e 30300static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30301 PyObject *resultobj = NULL;
d55e5bfc
RD
30302 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30303 wxTreeItemId *arg2 = 0 ;
b411df4a 30304 bool arg3 = (bool) true ;
d55e5bfc
RD
30305 PyObject * obj0 = 0 ;
30306 PyObject * obj1 = 0 ;
30307 PyObject * obj2 = 0 ;
30308 char *kwnames[] = {
30309 (char *) "self",(char *) "item",(char *) "bold", NULL
30310 };
30311
30312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail;
30315 {
30316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30317 if (SWIG_arg_fail(2)) SWIG_fail;
30318 if (arg2 == NULL) {
30319 SWIG_null_ref("wxTreeItemId");
30320 }
30321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30322 }
30323 if (obj2) {
36ed4f51 30324 {
32fe5131 30325 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
30326 if (SWIG_arg_fail(3)) SWIG_fail;
30327 }
d55e5bfc
RD
30328 }
30329 {
30330 PyThreadState* __tstate = wxPyBeginAllowThreads();
30331 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
30332
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 Py_INCREF(Py_None); resultobj = Py_None;
30337 return resultobj;
30338 fail:
30339 return NULL;
30340}
30341
30342
fef4c27a 30343static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30344 PyObject *resultobj = NULL;
fef4c27a
RD
30345 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30346 wxTreeItemId *arg2 = 0 ;
30347 bool arg3 = (bool) true ;
30348 PyObject * obj0 = 0 ;
30349 PyObject * obj1 = 0 ;
30350 PyObject * obj2 = 0 ;
30351 char *kwnames[] = {
30352 (char *) "self",(char *) "item",(char *) "highlight", NULL
30353 };
30354
30355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
30356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30357 if (SWIG_arg_fail(1)) SWIG_fail;
30358 {
30359 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30360 if (SWIG_arg_fail(2)) SWIG_fail;
30361 if (arg2 == NULL) {
30362 SWIG_null_ref("wxTreeItemId");
30363 }
30364 if (SWIG_arg_fail(2)) SWIG_fail;
30365 }
30366 if (obj2) {
30367 {
32fe5131 30368 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
fef4c27a
RD
30369 if (SWIG_arg_fail(3)) SWIG_fail;
30370 }
30371 }
30372 {
30373 PyThreadState* __tstate = wxPyBeginAllowThreads();
30374 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
30375
30376 wxPyEndAllowThreads(__tstate);
30377 if (PyErr_Occurred()) SWIG_fail;
30378 }
30379 Py_INCREF(Py_None); resultobj = Py_None;
30380 return resultobj;
30381 fail:
30382 return NULL;
30383}
30384
30385
c370783e 30386static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30387 PyObject *resultobj = NULL;
d55e5bfc
RD
30388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30389 wxTreeItemId *arg2 = 0 ;
30390 wxColour *arg3 = 0 ;
30391 wxColour temp3 ;
30392 PyObject * obj0 = 0 ;
30393 PyObject * obj1 = 0 ;
30394 PyObject * obj2 = 0 ;
30395 char *kwnames[] = {
30396 (char *) "self",(char *) "item",(char *) "col", NULL
30397 };
30398
30399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30401 if (SWIG_arg_fail(1)) SWIG_fail;
30402 {
30403 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30404 if (SWIG_arg_fail(2)) SWIG_fail;
30405 if (arg2 == NULL) {
30406 SWIG_null_ref("wxTreeItemId");
30407 }
30408 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30409 }
30410 {
30411 arg3 = &temp3;
30412 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30413 }
30414 {
30415 PyThreadState* __tstate = wxPyBeginAllowThreads();
30416 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30417
30418 wxPyEndAllowThreads(__tstate);
30419 if (PyErr_Occurred()) SWIG_fail;
30420 }
30421 Py_INCREF(Py_None); resultobj = Py_None;
30422 return resultobj;
30423 fail:
30424 return NULL;
30425}
30426
30427
c370783e 30428static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30429 PyObject *resultobj = NULL;
d55e5bfc
RD
30430 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30431 wxTreeItemId *arg2 = 0 ;
30432 wxColour *arg3 = 0 ;
30433 wxColour temp3 ;
30434 PyObject * obj0 = 0 ;
30435 PyObject * obj1 = 0 ;
30436 PyObject * obj2 = 0 ;
30437 char *kwnames[] = {
30438 (char *) "self",(char *) "item",(char *) "col", NULL
30439 };
30440
30441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30443 if (SWIG_arg_fail(1)) SWIG_fail;
30444 {
30445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30446 if (SWIG_arg_fail(2)) SWIG_fail;
30447 if (arg2 == NULL) {
30448 SWIG_null_ref("wxTreeItemId");
30449 }
30450 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30451 }
30452 {
30453 arg3 = &temp3;
30454 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30455 }
30456 {
30457 PyThreadState* __tstate = wxPyBeginAllowThreads();
30458 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30459
30460 wxPyEndAllowThreads(__tstate);
30461 if (PyErr_Occurred()) SWIG_fail;
30462 }
30463 Py_INCREF(Py_None); resultobj = Py_None;
30464 return resultobj;
30465 fail:
30466 return NULL;
30467}
30468
30469
c370783e 30470static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30471 PyObject *resultobj = NULL;
d55e5bfc
RD
30472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30473 wxTreeItemId *arg2 = 0 ;
30474 wxFont *arg3 = 0 ;
30475 PyObject * obj0 = 0 ;
30476 PyObject * obj1 = 0 ;
30477 PyObject * obj2 = 0 ;
30478 char *kwnames[] = {
30479 (char *) "self",(char *) "item",(char *) "font", NULL
30480 };
30481
30482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30484 if (SWIG_arg_fail(1)) SWIG_fail;
30485 {
30486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30487 if (SWIG_arg_fail(2)) SWIG_fail;
30488 if (arg2 == NULL) {
30489 SWIG_null_ref("wxTreeItemId");
30490 }
30491 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 30492 }
36ed4f51
RD
30493 {
30494 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30495 if (SWIG_arg_fail(3)) SWIG_fail;
30496 if (arg3 == NULL) {
30497 SWIG_null_ref("wxFont");
30498 }
30499 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30500 }
30501 {
30502 PyThreadState* __tstate = wxPyBeginAllowThreads();
30503 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
30504
30505 wxPyEndAllowThreads(__tstate);
30506 if (PyErr_Occurred()) SWIG_fail;
30507 }
30508 Py_INCREF(Py_None); resultobj = Py_None;
30509 return resultobj;
30510 fail:
30511 return NULL;
30512}
30513
30514
c370783e 30515static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30516 PyObject *resultobj = NULL;
d55e5bfc
RD
30517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30518 wxTreeItemId *arg2 = 0 ;
30519 bool result;
30520 PyObject * obj0 = 0 ;
30521 PyObject * obj1 = 0 ;
30522 char *kwnames[] = {
30523 (char *) "self",(char *) "item", NULL
30524 };
30525
30526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30528 if (SWIG_arg_fail(1)) SWIG_fail;
30529 {
30530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30531 if (SWIG_arg_fail(2)) SWIG_fail;
30532 if (arg2 == NULL) {
30533 SWIG_null_ref("wxTreeItemId");
30534 }
30535 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30536 }
30537 {
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
30540
30541 wxPyEndAllowThreads(__tstate);
30542 if (PyErr_Occurred()) SWIG_fail;
30543 }
30544 {
30545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30546 }
30547 return resultobj;
30548 fail:
30549 return NULL;
30550}
30551
30552
c370783e 30553static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30554 PyObject *resultobj = NULL;
d55e5bfc
RD
30555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30556 wxTreeItemId *arg2 = 0 ;
30557 bool result;
30558 PyObject * obj0 = 0 ;
30559 PyObject * obj1 = 0 ;
30560 char *kwnames[] = {
30561 (char *) "self",(char *) "item", NULL
30562 };
30563
30564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30566 if (SWIG_arg_fail(1)) SWIG_fail;
30567 {
30568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30569 if (SWIG_arg_fail(2)) SWIG_fail;
30570 if (arg2 == NULL) {
30571 SWIG_null_ref("wxTreeItemId");
30572 }
30573 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30574 }
30575 {
30576 PyThreadState* __tstate = wxPyBeginAllowThreads();
30577 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
30578
30579 wxPyEndAllowThreads(__tstate);
30580 if (PyErr_Occurred()) SWIG_fail;
30581 }
30582 {
30583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30584 }
30585 return resultobj;
30586 fail:
30587 return NULL;
30588}
30589
30590
c370783e 30591static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30592 PyObject *resultobj = NULL;
d55e5bfc
RD
30593 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30594 wxTreeItemId *arg2 = 0 ;
30595 bool result;
30596 PyObject * obj0 = 0 ;
30597 PyObject * obj1 = 0 ;
30598 char *kwnames[] = {
30599 (char *) "self",(char *) "item", NULL
30600 };
30601
30602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30604 if (SWIG_arg_fail(1)) SWIG_fail;
30605 {
30606 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30607 if (SWIG_arg_fail(2)) SWIG_fail;
30608 if (arg2 == NULL) {
30609 SWIG_null_ref("wxTreeItemId");
30610 }
30611 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30612 }
30613 {
30614 PyThreadState* __tstate = wxPyBeginAllowThreads();
30615 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
30616
30617 wxPyEndAllowThreads(__tstate);
30618 if (PyErr_Occurred()) SWIG_fail;
30619 }
30620 {
30621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30622 }
30623 return resultobj;
30624 fail:
30625 return NULL;
30626}
30627
30628
c370783e 30629static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30630 PyObject *resultobj = NULL;
d55e5bfc
RD
30631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30632 wxTreeItemId *arg2 = 0 ;
30633 bool result;
30634 PyObject * obj0 = 0 ;
30635 PyObject * obj1 = 0 ;
30636 char *kwnames[] = {
30637 (char *) "self",(char *) "item", NULL
30638 };
30639
30640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30642 if (SWIG_arg_fail(1)) SWIG_fail;
30643 {
30644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30645 if (SWIG_arg_fail(2)) SWIG_fail;
30646 if (arg2 == NULL) {
30647 SWIG_null_ref("wxTreeItemId");
30648 }
30649 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30650 }
30651 {
30652 PyThreadState* __tstate = wxPyBeginAllowThreads();
30653 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
30654
30655 wxPyEndAllowThreads(__tstate);
30656 if (PyErr_Occurred()) SWIG_fail;
30657 }
30658 {
30659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30660 }
30661 return resultobj;
30662 fail:
30663 return NULL;
30664}
30665
30666
c370783e 30667static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30668 PyObject *resultobj = NULL;
d55e5bfc
RD
30669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30670 wxTreeItemId *arg2 = 0 ;
30671 bool result;
30672 PyObject * obj0 = 0 ;
30673 PyObject * obj1 = 0 ;
30674 char *kwnames[] = {
30675 (char *) "self",(char *) "item", NULL
30676 };
30677
30678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail;
30681 {
30682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30683 if (SWIG_arg_fail(2)) SWIG_fail;
30684 if (arg2 == NULL) {
30685 SWIG_null_ref("wxTreeItemId");
30686 }
30687 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30688 }
30689 {
30690 PyThreadState* __tstate = wxPyBeginAllowThreads();
30691 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
30692
30693 wxPyEndAllowThreads(__tstate);
30694 if (PyErr_Occurred()) SWIG_fail;
30695 }
30696 {
30697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30698 }
30699 return resultobj;
30700 fail:
30701 return NULL;
30702}
30703
30704
c370783e 30705static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30706 PyObject *resultobj = NULL;
d55e5bfc
RD
30707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30708 wxTreeItemId *arg2 = 0 ;
b411df4a 30709 bool arg3 = (bool) true ;
d55e5bfc
RD
30710 size_t result;
30711 PyObject * obj0 = 0 ;
30712 PyObject * obj1 = 0 ;
30713 PyObject * obj2 = 0 ;
30714 char *kwnames[] = {
30715 (char *) "self",(char *) "item",(char *) "recursively", NULL
30716 };
30717
30718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30720 if (SWIG_arg_fail(1)) SWIG_fail;
30721 {
30722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30723 if (SWIG_arg_fail(2)) SWIG_fail;
30724 if (arg2 == NULL) {
30725 SWIG_null_ref("wxTreeItemId");
30726 }
30727 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30728 }
30729 if (obj2) {
36ed4f51 30730 {
32fe5131 30731 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
30732 if (SWIG_arg_fail(3)) SWIG_fail;
30733 }
d55e5bfc
RD
30734 }
30735 {
30736 PyThreadState* __tstate = wxPyBeginAllowThreads();
30737 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
30738
30739 wxPyEndAllowThreads(__tstate);
30740 if (PyErr_Occurred()) SWIG_fail;
30741 }
36ed4f51 30742 {
32fe5131 30743 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 30744 }
d55e5bfc
RD
30745 return resultobj;
30746 fail:
30747 return NULL;
30748}
30749
30750
c370783e 30751static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30752 PyObject *resultobj = NULL;
d55e5bfc
RD
30753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30754 wxTreeItemId result;
30755 PyObject * obj0 = 0 ;
30756 char *kwnames[] = {
30757 (char *) "self", NULL
30758 };
30759
30760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
30761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30763 {
30764 PyThreadState* __tstate = wxPyBeginAllowThreads();
30765 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
30766
30767 wxPyEndAllowThreads(__tstate);
30768 if (PyErr_Occurred()) SWIG_fail;
30769 }
30770 {
30771 wxTreeItemId * resultptr;
32fe5131 30772 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30774 }
30775 return resultobj;
30776 fail:
30777 return NULL;
30778}
30779
30780
c370783e 30781static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30782 PyObject *resultobj = NULL;
d55e5bfc
RD
30783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30784 wxTreeItemId result;
30785 PyObject * obj0 = 0 ;
30786 char *kwnames[] = {
30787 (char *) "self", NULL
30788 };
30789
30790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
30791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 {
30801 wxTreeItemId * resultptr;
32fe5131 30802 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30804 }
30805 return resultobj;
30806 fail:
30807 return NULL;
30808}
30809
30810
c370783e 30811static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30812 PyObject *resultobj = NULL;
d55e5bfc
RD
30813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30814 PyObject *result;
30815 PyObject * obj0 = 0 ;
30816 char *kwnames[] = {
30817 (char *) "self", NULL
30818 };
30819
30820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
30821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30823 {
30824 PyThreadState* __tstate = wxPyBeginAllowThreads();
30825 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
30826
30827 wxPyEndAllowThreads(__tstate);
30828 if (PyErr_Occurred()) SWIG_fail;
30829 }
30830 resultobj = result;
30831 return resultobj;
30832 fail:
30833 return NULL;
30834}
30835
30836
c370783e 30837static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30838 PyObject *resultobj = NULL;
d55e5bfc
RD
30839 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30840 wxTreeItemId *arg2 = 0 ;
30841 wxTreeItemId result;
30842 PyObject * obj0 = 0 ;
30843 PyObject * obj1 = 0 ;
30844 char *kwnames[] = {
30845 (char *) "self",(char *) "item", NULL
30846 };
30847
30848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30850 if (SWIG_arg_fail(1)) SWIG_fail;
30851 {
30852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30853 if (SWIG_arg_fail(2)) SWIG_fail;
30854 if (arg2 == NULL) {
30855 SWIG_null_ref("wxTreeItemId");
30856 }
30857 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30858 }
30859 {
30860 PyThreadState* __tstate = wxPyBeginAllowThreads();
30861 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
30862
30863 wxPyEndAllowThreads(__tstate);
30864 if (PyErr_Occurred()) SWIG_fail;
30865 }
30866 {
30867 wxTreeItemId * resultptr;
32fe5131 30868 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30870 }
30871 return resultobj;
30872 fail:
30873 return NULL;
30874}
30875
30876
c370783e 30877static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30878 PyObject *resultobj = NULL;
d55e5bfc
RD
30879 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30880 wxTreeItemId *arg2 = 0 ;
30881 PyObject *result;
30882 PyObject * obj0 = 0 ;
30883 PyObject * obj1 = 0 ;
30884 char *kwnames[] = {
30885 (char *) "self",(char *) "item", NULL
30886 };
30887
30888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30890 if (SWIG_arg_fail(1)) SWIG_fail;
30891 {
30892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30893 if (SWIG_arg_fail(2)) SWIG_fail;
30894 if (arg2 == NULL) {
30895 SWIG_null_ref("wxTreeItemId");
30896 }
30897 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30898 }
30899 {
30900 PyThreadState* __tstate = wxPyBeginAllowThreads();
30901 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
30902
30903 wxPyEndAllowThreads(__tstate);
30904 if (PyErr_Occurred()) SWIG_fail;
30905 }
30906 resultobj = result;
30907 return resultobj;
30908 fail:
30909 return NULL;
30910}
30911
30912
c370783e 30913static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30914 PyObject *resultobj = NULL;
d55e5bfc
RD
30915 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30916 wxTreeItemId *arg2 = 0 ;
30917 void *arg3 = (void *) 0 ;
30918 PyObject *result;
30919 PyObject * obj0 = 0 ;
30920 PyObject * obj1 = 0 ;
30921 PyObject * obj2 = 0 ;
30922 char *kwnames[] = {
30923 (char *) "self",(char *) "item",(char *) "cookie", NULL
30924 };
30925
30926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30928 if (SWIG_arg_fail(1)) SWIG_fail;
30929 {
30930 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30931 if (SWIG_arg_fail(2)) SWIG_fail;
30932 if (arg2 == NULL) {
30933 SWIG_null_ref("wxTreeItemId");
30934 }
30935 if (SWIG_arg_fail(2)) SWIG_fail;
30936 }
30937 {
32fe5131 30938 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
36ed4f51
RD
30939 SWIG_arg_fail(3);SWIG_fail;
30940 }
d55e5bfc 30941 }
d55e5bfc
RD
30942 {
30943 PyThreadState* __tstate = wxPyBeginAllowThreads();
30944 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
30945
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 resultobj = result;
30950 return resultobj;
30951 fail:
30952 return NULL;
30953}
30954
30955
c370783e 30956static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30957 PyObject *resultobj = NULL;
d55e5bfc
RD
30958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30959 wxTreeItemId *arg2 = 0 ;
30960 wxTreeItemId result;
30961 PyObject * obj0 = 0 ;
30962 PyObject * obj1 = 0 ;
30963 char *kwnames[] = {
30964 (char *) "self",(char *) "item", NULL
30965 };
30966
30967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30969 if (SWIG_arg_fail(1)) SWIG_fail;
30970 {
30971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30972 if (SWIG_arg_fail(2)) SWIG_fail;
30973 if (arg2 == NULL) {
30974 SWIG_null_ref("wxTreeItemId");
30975 }
30976 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30977 }
30978 {
30979 PyThreadState* __tstate = wxPyBeginAllowThreads();
30980 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
30981
30982 wxPyEndAllowThreads(__tstate);
30983 if (PyErr_Occurred()) SWIG_fail;
30984 }
30985 {
30986 wxTreeItemId * resultptr;
32fe5131 30987 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30988 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30989 }
30990 return resultobj;
30991 fail:
30992 return NULL;
30993}
30994
30995
c370783e 30996static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30997 PyObject *resultobj = NULL;
d55e5bfc
RD
30998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30999 wxTreeItemId *arg2 = 0 ;
31000 wxTreeItemId result;
31001 PyObject * obj0 = 0 ;
31002 PyObject * obj1 = 0 ;
31003 char *kwnames[] = {
31004 (char *) "self",(char *) "item", NULL
31005 };
31006
31007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31009 if (SWIG_arg_fail(1)) SWIG_fail;
31010 {
31011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31012 if (SWIG_arg_fail(2)) SWIG_fail;
31013 if (arg2 == NULL) {
31014 SWIG_null_ref("wxTreeItemId");
31015 }
31016 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31017 }
31018 {
31019 PyThreadState* __tstate = wxPyBeginAllowThreads();
31020 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
31021
31022 wxPyEndAllowThreads(__tstate);
31023 if (PyErr_Occurred()) SWIG_fail;
31024 }
31025 {
31026 wxTreeItemId * resultptr;
32fe5131 31027 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31029 }
31030 return resultobj;
31031 fail:
31032 return NULL;
31033}
31034
31035
c370783e 31036static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31037 PyObject *resultobj = NULL;
d55e5bfc
RD
31038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31039 wxTreeItemId *arg2 = 0 ;
31040 wxTreeItemId result;
31041 PyObject * obj0 = 0 ;
31042 PyObject * obj1 = 0 ;
31043 char *kwnames[] = {
31044 (char *) "self",(char *) "item", NULL
31045 };
31046
31047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31049 if (SWIG_arg_fail(1)) SWIG_fail;
31050 {
31051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31052 if (SWIG_arg_fail(2)) SWIG_fail;
31053 if (arg2 == NULL) {
31054 SWIG_null_ref("wxTreeItemId");
31055 }
31056 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31057 }
31058 {
31059 PyThreadState* __tstate = wxPyBeginAllowThreads();
31060 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
31061
31062 wxPyEndAllowThreads(__tstate);
31063 if (PyErr_Occurred()) SWIG_fail;
31064 }
31065 {
31066 wxTreeItemId * resultptr;
32fe5131 31067 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31069 }
31070 return resultobj;
31071 fail:
31072 return NULL;
31073}
31074
31075
c370783e 31076static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31077 PyObject *resultobj = NULL;
d55e5bfc
RD
31078 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31079 wxTreeItemId result;
31080 PyObject * obj0 = 0 ;
31081 char *kwnames[] = {
31082 (char *) "self", NULL
31083 };
31084
31085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
31086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31088 {
31089 PyThreadState* __tstate = wxPyBeginAllowThreads();
31090 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
31091
31092 wxPyEndAllowThreads(__tstate);
31093 if (PyErr_Occurred()) SWIG_fail;
31094 }
31095 {
31096 wxTreeItemId * resultptr;
32fe5131 31097 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31099 }
31100 return resultobj;
31101 fail:
31102 return NULL;
31103}
31104
31105
c370783e 31106static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31107 PyObject *resultobj = NULL;
d55e5bfc
RD
31108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31109 wxTreeItemId *arg2 = 0 ;
31110 wxTreeItemId result;
31111 PyObject * obj0 = 0 ;
31112 PyObject * obj1 = 0 ;
31113 char *kwnames[] = {
31114 (char *) "self",(char *) "item", NULL
31115 };
31116
31117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31119 if (SWIG_arg_fail(1)) SWIG_fail;
31120 {
31121 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31122 if (SWIG_arg_fail(2)) SWIG_fail;
31123 if (arg2 == NULL) {
31124 SWIG_null_ref("wxTreeItemId");
31125 }
31126 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31127 }
31128 {
31129 PyThreadState* __tstate = wxPyBeginAllowThreads();
31130 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
31131
31132 wxPyEndAllowThreads(__tstate);
31133 if (PyErr_Occurred()) SWIG_fail;
31134 }
31135 {
31136 wxTreeItemId * resultptr;
32fe5131 31137 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31139 }
31140 return resultobj;
31141 fail:
31142 return NULL;
31143}
31144
31145
c370783e 31146static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31147 PyObject *resultobj = NULL;
d55e5bfc
RD
31148 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31149 wxTreeItemId *arg2 = 0 ;
31150 wxTreeItemId result;
31151 PyObject * obj0 = 0 ;
31152 PyObject * obj1 = 0 ;
31153 char *kwnames[] = {
31154 (char *) "self",(char *) "item", NULL
31155 };
31156
31157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31159 if (SWIG_arg_fail(1)) SWIG_fail;
31160 {
31161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31162 if (SWIG_arg_fail(2)) SWIG_fail;
31163 if (arg2 == NULL) {
31164 SWIG_null_ref("wxTreeItemId");
31165 }
31166 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31167 }
31168 {
31169 PyThreadState* __tstate = wxPyBeginAllowThreads();
31170 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
31171
31172 wxPyEndAllowThreads(__tstate);
31173 if (PyErr_Occurred()) SWIG_fail;
31174 }
31175 {
31176 wxTreeItemId * resultptr;
32fe5131 31177 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31179 }
31180 return resultobj;
31181 fail:
31182 return NULL;
31183}
31184
31185
c370783e 31186static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31187 PyObject *resultobj = NULL;
d55e5bfc
RD
31188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31189 wxString *arg2 = 0 ;
31190 int arg3 = (int) -1 ;
31191 int arg4 = (int) -1 ;
31192 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
31193 wxTreeItemId result;
b411df4a 31194 bool temp2 = false ;
d55e5bfc
RD
31195 PyObject * obj0 = 0 ;
31196 PyObject * obj1 = 0 ;
31197 PyObject * obj2 = 0 ;
31198 PyObject * obj3 = 0 ;
31199 PyObject * obj4 = 0 ;
31200 char *kwnames[] = {
31201 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31202 };
31203
31204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31207 {
31208 arg2 = wxString_in_helper(obj1);
31209 if (arg2 == NULL) SWIG_fail;
b411df4a 31210 temp2 = true;
d55e5bfc
RD
31211 }
31212 if (obj2) {
36ed4f51 31213 {
32fe5131 31214 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
31215 if (SWIG_arg_fail(3)) SWIG_fail;
31216 }
d55e5bfc
RD
31217 }
31218 if (obj3) {
36ed4f51 31219 {
32fe5131 31220 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
31221 if (SWIG_arg_fail(4)) SWIG_fail;
31222 }
d55e5bfc
RD
31223 }
31224 if (obj4) {
7e08d4ef 31225 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 31226 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
31227 }
31228 {
31229 PyThreadState* __tstate = wxPyBeginAllowThreads();
31230 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
31231
31232 wxPyEndAllowThreads(__tstate);
31233 if (PyErr_Occurred()) SWIG_fail;
31234 }
31235 {
31236 wxTreeItemId * resultptr;
32fe5131 31237 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31239 }
31240 {
31241 if (temp2)
31242 delete arg2;
31243 }
31244 return resultobj;
31245 fail:
31246 {
31247 if (temp2)
31248 delete arg2;
31249 }
31250 return NULL;
31251}
31252
31253
c370783e 31254static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31255 PyObject *resultobj = NULL;
d55e5bfc
RD
31256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31257 wxTreeItemId *arg2 = 0 ;
31258 wxString *arg3 = 0 ;
31259 int arg4 = (int) -1 ;
31260 int arg5 = (int) -1 ;
31261 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31262 wxTreeItemId result;
b411df4a 31263 bool temp3 = false ;
d55e5bfc
RD
31264 PyObject * obj0 = 0 ;
31265 PyObject * obj1 = 0 ;
31266 PyObject * obj2 = 0 ;
31267 PyObject * obj3 = 0 ;
31268 PyObject * obj4 = 0 ;
31269 PyObject * obj5 = 0 ;
31270 char *kwnames[] = {
31271 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31272 };
31273
31274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31276 if (SWIG_arg_fail(1)) SWIG_fail;
31277 {
31278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31279 if (SWIG_arg_fail(2)) SWIG_fail;
31280 if (arg2 == NULL) {
31281 SWIG_null_ref("wxTreeItemId");
31282 }
31283 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31284 }
31285 {
31286 arg3 = wxString_in_helper(obj2);
31287 if (arg3 == NULL) SWIG_fail;
b411df4a 31288 temp3 = true;
d55e5bfc
RD
31289 }
31290 if (obj3) {
36ed4f51 31291 {
32fe5131 31292 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
31293 if (SWIG_arg_fail(4)) SWIG_fail;
31294 }
d55e5bfc
RD
31295 }
31296 if (obj4) {
36ed4f51 31297 {
32fe5131 31298 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
31299 if (SWIG_arg_fail(5)) SWIG_fail;
31300 }
d55e5bfc
RD
31301 }
31302 if (obj5) {
7e08d4ef 31303 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 31304 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
31305 }
31306 {
31307 PyThreadState* __tstate = wxPyBeginAllowThreads();
31308 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31309
31310 wxPyEndAllowThreads(__tstate);
31311 if (PyErr_Occurred()) SWIG_fail;
31312 }
31313 {
31314 wxTreeItemId * resultptr;
32fe5131 31315 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31317 }
31318 {
31319 if (temp3)
31320 delete arg3;
31321 }
31322 return resultobj;
31323 fail:
31324 {
31325 if (temp3)
31326 delete arg3;
31327 }
31328 return NULL;
31329}
31330
31331
c370783e 31332static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31333 PyObject *resultobj = NULL;
d55e5bfc
RD
31334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31335 wxTreeItemId *arg2 = 0 ;
31336 wxTreeItemId *arg3 = 0 ;
31337 wxString *arg4 = 0 ;
31338 int arg5 = (int) -1 ;
31339 int arg6 = (int) -1 ;
31340 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31341 wxTreeItemId result;
b411df4a 31342 bool temp4 = false ;
d55e5bfc
RD
31343 PyObject * obj0 = 0 ;
31344 PyObject * obj1 = 0 ;
31345 PyObject * obj2 = 0 ;
31346 PyObject * obj3 = 0 ;
31347 PyObject * obj4 = 0 ;
31348 PyObject * obj5 = 0 ;
31349 PyObject * obj6 = 0 ;
31350 char *kwnames[] = {
31351 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31352 };
31353
31354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
31355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail;
31357 {
31358 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31359 if (SWIG_arg_fail(2)) SWIG_fail;
31360 if (arg2 == NULL) {
31361 SWIG_null_ref("wxTreeItemId");
31362 }
31363 if (SWIG_arg_fail(2)) SWIG_fail;
31364 }
31365 {
31366 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31367 if (SWIG_arg_fail(3)) SWIG_fail;
31368 if (arg3 == NULL) {
31369 SWIG_null_ref("wxTreeItemId");
31370 }
31371 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
31372 }
31373 {
31374 arg4 = wxString_in_helper(obj3);
31375 if (arg4 == NULL) SWIG_fail;
b411df4a 31376 temp4 = true;
d55e5bfc
RD
31377 }
31378 if (obj4) {
36ed4f51 31379 {
32fe5131 31380 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
31381 if (SWIG_arg_fail(5)) SWIG_fail;
31382 }
d55e5bfc
RD
31383 }
31384 if (obj5) {
36ed4f51 31385 {
32fe5131 31386 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
31387 if (SWIG_arg_fail(6)) SWIG_fail;
31388 }
d55e5bfc
RD
31389 }
31390 if (obj6) {
7e08d4ef 31391 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 31392 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
31393 }
31394 {
31395 PyThreadState* __tstate = wxPyBeginAllowThreads();
31396 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31397
31398 wxPyEndAllowThreads(__tstate);
31399 if (PyErr_Occurred()) SWIG_fail;
31400 }
31401 {
31402 wxTreeItemId * resultptr;
32fe5131 31403 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31404 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31405 }
31406 {
31407 if (temp4)
31408 delete arg4;
31409 }
31410 return resultobj;
31411 fail:
31412 {
31413 if (temp4)
31414 delete arg4;
31415 }
31416 return NULL;
31417}
31418
31419
c370783e 31420static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31421 PyObject *resultobj = NULL;
d55e5bfc
RD
31422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31423 wxTreeItemId *arg2 = 0 ;
31424 size_t arg3 ;
31425 wxString *arg4 = 0 ;
31426 int arg5 = (int) -1 ;
31427 int arg6 = (int) -1 ;
31428 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31429 wxTreeItemId result;
b411df4a 31430 bool temp4 = false ;
d55e5bfc
RD
31431 PyObject * obj0 = 0 ;
31432 PyObject * obj1 = 0 ;
31433 PyObject * obj2 = 0 ;
31434 PyObject * obj3 = 0 ;
31435 PyObject * obj4 = 0 ;
31436 PyObject * obj5 = 0 ;
31437 PyObject * obj6 = 0 ;
31438 char *kwnames[] = {
31439 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31440 };
31441
31442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
31443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31444 if (SWIG_arg_fail(1)) SWIG_fail;
31445 {
31446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31447 if (SWIG_arg_fail(2)) SWIG_fail;
31448 if (arg2 == NULL) {
31449 SWIG_null_ref("wxTreeItemId");
31450 }
31451 if (SWIG_arg_fail(2)) SWIG_fail;
31452 }
31453 {
32fe5131 31454 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
36ed4f51
RD
31455 if (SWIG_arg_fail(3)) SWIG_fail;
31456 }
d55e5bfc
RD
31457 {
31458 arg4 = wxString_in_helper(obj3);
31459 if (arg4 == NULL) SWIG_fail;
b411df4a 31460 temp4 = true;
d55e5bfc
RD
31461 }
31462 if (obj4) {
36ed4f51 31463 {
32fe5131 31464 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
31465 if (SWIG_arg_fail(5)) SWIG_fail;
31466 }
d55e5bfc
RD
31467 }
31468 if (obj5) {
36ed4f51 31469 {
32fe5131 31470 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
31471 if (SWIG_arg_fail(6)) SWIG_fail;
31472 }
d55e5bfc
RD
31473 }
31474 if (obj6) {
7e08d4ef 31475 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 31476 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
31477 }
31478 {
31479 PyThreadState* __tstate = wxPyBeginAllowThreads();
31480 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31481
31482 wxPyEndAllowThreads(__tstate);
31483 if (PyErr_Occurred()) SWIG_fail;
31484 }
31485 {
31486 wxTreeItemId * resultptr;
32fe5131 31487 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31489 }
31490 {
31491 if (temp4)
31492 delete arg4;
31493 }
31494 return resultobj;
31495 fail:
31496 {
31497 if (temp4)
31498 delete arg4;
31499 }
31500 return NULL;
31501}
31502
31503
c370783e 31504static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31505 PyObject *resultobj = NULL;
d55e5bfc
RD
31506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31507 wxTreeItemId *arg2 = 0 ;
31508 wxString *arg3 = 0 ;
31509 int arg4 = (int) -1 ;
31510 int arg5 = (int) -1 ;
31511 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31512 wxTreeItemId result;
b411df4a 31513 bool temp3 = false ;
d55e5bfc
RD
31514 PyObject * obj0 = 0 ;
31515 PyObject * obj1 = 0 ;
31516 PyObject * obj2 = 0 ;
31517 PyObject * obj3 = 0 ;
31518 PyObject * obj4 = 0 ;
31519 PyObject * obj5 = 0 ;
31520 char *kwnames[] = {
31521 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31522 };
31523
31524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31526 if (SWIG_arg_fail(1)) SWIG_fail;
31527 {
31528 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31529 if (SWIG_arg_fail(2)) SWIG_fail;
31530 if (arg2 == NULL) {
31531 SWIG_null_ref("wxTreeItemId");
31532 }
31533 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31534 }
31535 {
31536 arg3 = wxString_in_helper(obj2);
31537 if (arg3 == NULL) SWIG_fail;
b411df4a 31538 temp3 = true;
d55e5bfc
RD
31539 }
31540 if (obj3) {
36ed4f51 31541 {
32fe5131 31542 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
31543 if (SWIG_arg_fail(4)) SWIG_fail;
31544 }
d55e5bfc
RD
31545 }
31546 if (obj4) {
36ed4f51 31547 {
32fe5131 31548 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
31549 if (SWIG_arg_fail(5)) SWIG_fail;
31550 }
d55e5bfc
RD
31551 }
31552 if (obj5) {
7e08d4ef 31553 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 31554 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
31555 }
31556 {
31557 PyThreadState* __tstate = wxPyBeginAllowThreads();
31558 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31559
31560 wxPyEndAllowThreads(__tstate);
31561 if (PyErr_Occurred()) SWIG_fail;
31562 }
31563 {
31564 wxTreeItemId * resultptr;
32fe5131 31565 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31567 }
31568 {
31569 if (temp3)
31570 delete arg3;
31571 }
31572 return resultobj;
31573 fail:
31574 {
31575 if (temp3)
31576 delete arg3;
31577 }
31578 return NULL;
31579}
31580
31581
c370783e 31582static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31583 PyObject *resultobj = NULL;
d55e5bfc
RD
31584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31585 wxTreeItemId *arg2 = 0 ;
31586 PyObject * obj0 = 0 ;
31587 PyObject * obj1 = 0 ;
31588 char *kwnames[] = {
31589 (char *) "self",(char *) "item", NULL
31590 };
31591
31592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail;
31595 {
31596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31597 if (SWIG_arg_fail(2)) SWIG_fail;
31598 if (arg2 == NULL) {
31599 SWIG_null_ref("wxTreeItemId");
31600 }
31601 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31602 }
31603 {
31604 PyThreadState* __tstate = wxPyBeginAllowThreads();
31605 (arg1)->Delete((wxTreeItemId const &)*arg2);
31606
31607 wxPyEndAllowThreads(__tstate);
31608 if (PyErr_Occurred()) SWIG_fail;
31609 }
31610 Py_INCREF(Py_None); resultobj = Py_None;
31611 return resultobj;
31612 fail:
31613 return NULL;
31614}
31615
31616
c370783e 31617static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31618 PyObject *resultobj = NULL;
d55e5bfc
RD
31619 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31620 wxTreeItemId *arg2 = 0 ;
31621 PyObject * obj0 = 0 ;
31622 PyObject * obj1 = 0 ;
31623 char *kwnames[] = {
31624 (char *) "self",(char *) "item", NULL
31625 };
31626
31627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31629 if (SWIG_arg_fail(1)) SWIG_fail;
31630 {
31631 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31632 if (SWIG_arg_fail(2)) SWIG_fail;
31633 if (arg2 == NULL) {
31634 SWIG_null_ref("wxTreeItemId");
31635 }
31636 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31637 }
31638 {
31639 PyThreadState* __tstate = wxPyBeginAllowThreads();
31640 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
31641
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 Py_INCREF(Py_None); resultobj = Py_None;
31646 return resultobj;
31647 fail:
31648 return NULL;
31649}
31650
31651
c370783e 31652static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31653 PyObject *resultobj = NULL;
d55e5bfc
RD
31654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31655 PyObject * obj0 = 0 ;
31656 char *kwnames[] = {
31657 (char *) "self", NULL
31658 };
31659
31660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
31661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31663 {
31664 PyThreadState* __tstate = wxPyBeginAllowThreads();
31665 (arg1)->DeleteAllItems();
31666
31667 wxPyEndAllowThreads(__tstate);
31668 if (PyErr_Occurred()) SWIG_fail;
31669 }
31670 Py_INCREF(Py_None); resultobj = Py_None;
31671 return resultobj;
31672 fail:
31673 return NULL;
31674}
31675
31676
c370783e 31677static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31678 PyObject *resultobj = NULL;
d55e5bfc
RD
31679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31680 wxTreeItemId *arg2 = 0 ;
31681 PyObject * obj0 = 0 ;
31682 PyObject * obj1 = 0 ;
31683 char *kwnames[] = {
31684 (char *) "self",(char *) "item", NULL
31685 };
31686
31687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31689 if (SWIG_arg_fail(1)) SWIG_fail;
31690 {
31691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31692 if (SWIG_arg_fail(2)) SWIG_fail;
31693 if (arg2 == NULL) {
31694 SWIG_null_ref("wxTreeItemId");
31695 }
31696 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31697 }
31698 {
31699 PyThreadState* __tstate = wxPyBeginAllowThreads();
31700 (arg1)->Expand((wxTreeItemId const &)*arg2);
31701
31702 wxPyEndAllowThreads(__tstate);
31703 if (PyErr_Occurred()) SWIG_fail;
31704 }
31705 Py_INCREF(Py_None); resultobj = Py_None;
31706 return resultobj;
31707 fail:
31708 return NULL;
31709}
31710
31711
c370783e 31712static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31713 PyObject *resultobj = NULL;
d55e5bfc
RD
31714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31715 wxTreeItemId *arg2 = 0 ;
31716 PyObject * obj0 = 0 ;
31717 PyObject * obj1 = 0 ;
31718 char *kwnames[] = {
31719 (char *) "self",(char *) "item", NULL
31720 };
31721
31722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail;
31725 {
31726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31727 if (SWIG_arg_fail(2)) SWIG_fail;
31728 if (arg2 == NULL) {
31729 SWIG_null_ref("wxTreeItemId");
31730 }
31731 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31732 }
31733 {
31734 PyThreadState* __tstate = wxPyBeginAllowThreads();
31735 (arg1)->Collapse((wxTreeItemId const &)*arg2);
31736
31737 wxPyEndAllowThreads(__tstate);
31738 if (PyErr_Occurred()) SWIG_fail;
31739 }
31740 Py_INCREF(Py_None); resultobj = Py_None;
31741 return resultobj;
31742 fail:
31743 return NULL;
31744}
31745
31746
c370783e 31747static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31748 PyObject *resultobj = NULL;
d55e5bfc
RD
31749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31750 wxTreeItemId *arg2 = 0 ;
31751 PyObject * obj0 = 0 ;
31752 PyObject * obj1 = 0 ;
31753 char *kwnames[] = {
31754 (char *) "self",(char *) "item", NULL
31755 };
31756
31757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31759 if (SWIG_arg_fail(1)) SWIG_fail;
31760 {
31761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31762 if (SWIG_arg_fail(2)) SWIG_fail;
31763 if (arg2 == NULL) {
31764 SWIG_null_ref("wxTreeItemId");
31765 }
31766 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31767 }
31768 {
31769 PyThreadState* __tstate = wxPyBeginAllowThreads();
31770 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
31771
31772 wxPyEndAllowThreads(__tstate);
31773 if (PyErr_Occurred()) SWIG_fail;
31774 }
31775 Py_INCREF(Py_None); resultobj = Py_None;
31776 return resultobj;
31777 fail:
31778 return NULL;
31779}
31780
31781
c370783e 31782static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31783 PyObject *resultobj = NULL;
d55e5bfc
RD
31784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31785 wxTreeItemId *arg2 = 0 ;
31786 PyObject * obj0 = 0 ;
31787 PyObject * obj1 = 0 ;
31788 char *kwnames[] = {
31789 (char *) "self",(char *) "item", NULL
31790 };
31791
31792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31794 if (SWIG_arg_fail(1)) SWIG_fail;
31795 {
31796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31797 if (SWIG_arg_fail(2)) SWIG_fail;
31798 if (arg2 == NULL) {
31799 SWIG_null_ref("wxTreeItemId");
31800 }
31801 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31802 }
31803 {
31804 PyThreadState* __tstate = wxPyBeginAllowThreads();
31805 (arg1)->Toggle((wxTreeItemId const &)*arg2);
31806
31807 wxPyEndAllowThreads(__tstate);
31808 if (PyErr_Occurred()) SWIG_fail;
31809 }
31810 Py_INCREF(Py_None); resultobj = Py_None;
31811 return resultobj;
31812 fail:
31813 return NULL;
31814}
31815
31816
c370783e 31817static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31818 PyObject *resultobj = NULL;
d55e5bfc
RD
31819 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31820 PyObject * obj0 = 0 ;
31821 char *kwnames[] = {
31822 (char *) "self", NULL
31823 };
31824
31825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
36ed4f51
RD
31826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31828 {
31829 PyThreadState* __tstate = wxPyBeginAllowThreads();
31830 (arg1)->Unselect();
31831
31832 wxPyEndAllowThreads(__tstate);
31833 if (PyErr_Occurred()) SWIG_fail;
31834 }
31835 Py_INCREF(Py_None); resultobj = Py_None;
31836 return resultobj;
31837 fail:
31838 return NULL;
31839}
31840
31841
c370783e 31842static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31843 PyObject *resultobj = NULL;
d55e5bfc
RD
31844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31845 wxTreeItemId *arg2 = 0 ;
31846 PyObject * obj0 = 0 ;
31847 PyObject * obj1 = 0 ;
31848 char *kwnames[] = {
31849 (char *) "self",(char *) "item", NULL
31850 };
31851
31852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31854 if (SWIG_arg_fail(1)) SWIG_fail;
31855 {
31856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31857 if (SWIG_arg_fail(2)) SWIG_fail;
31858 if (arg2 == NULL) {
31859 SWIG_null_ref("wxTreeItemId");
31860 }
31861 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31862 }
31863 {
31864 PyThreadState* __tstate = wxPyBeginAllowThreads();
31865 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
31866
31867 wxPyEndAllowThreads(__tstate);
31868 if (PyErr_Occurred()) SWIG_fail;
31869 }
31870 Py_INCREF(Py_None); resultobj = Py_None;
31871 return resultobj;
31872 fail:
31873 return NULL;
31874}
31875
31876
c370783e 31877static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31878 PyObject *resultobj = NULL;
d55e5bfc
RD
31879 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31880 PyObject * obj0 = 0 ;
31881 char *kwnames[] = {
31882 (char *) "self", NULL
31883 };
31884
31885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
31886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31887 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31888 {
31889 PyThreadState* __tstate = wxPyBeginAllowThreads();
31890 (arg1)->UnselectAll();
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
c370783e 31902static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31903 PyObject *resultobj = NULL;
d55e5bfc
RD
31904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31905 wxTreeItemId *arg2 = 0 ;
b411df4a 31906 bool arg3 = (bool) true ;
d55e5bfc
RD
31907 PyObject * obj0 = 0 ;
31908 PyObject * obj1 = 0 ;
31909 PyObject * obj2 = 0 ;
31910 char *kwnames[] = {
31911 (char *) "self",(char *) "item",(char *) "select", NULL
31912 };
31913
31914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31916 if (SWIG_arg_fail(1)) SWIG_fail;
31917 {
31918 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31919 if (SWIG_arg_fail(2)) SWIG_fail;
31920 if (arg2 == NULL) {
31921 SWIG_null_ref("wxTreeItemId");
31922 }
31923 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31924 }
31925 if (obj2) {
36ed4f51 31926 {
32fe5131 31927 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
31928 if (SWIG_arg_fail(3)) SWIG_fail;
31929 }
d55e5bfc
RD
31930 }
31931 {
31932 PyThreadState* __tstate = wxPyBeginAllowThreads();
31933 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
31934
31935 wxPyEndAllowThreads(__tstate);
31936 if (PyErr_Occurred()) SWIG_fail;
31937 }
31938 Py_INCREF(Py_None); resultobj = Py_None;
31939 return resultobj;
31940 fail:
31941 return NULL;
31942}
31943
31944
c370783e 31945static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31946 PyObject *resultobj = NULL;
d55e5bfc
RD
31947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31948 wxTreeItemId *arg2 = 0 ;
31949 PyObject * obj0 = 0 ;
31950 PyObject * obj1 = 0 ;
31951 char *kwnames[] = {
31952 (char *) "self",(char *) "item", NULL
31953 };
31954
31955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail;
31958 {
31959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31960 if (SWIG_arg_fail(2)) SWIG_fail;
31961 if (arg2 == NULL) {
31962 SWIG_null_ref("wxTreeItemId");
31963 }
31964 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31965 }
31966 {
31967 PyThreadState* __tstate = wxPyBeginAllowThreads();
31968 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
31969
31970 wxPyEndAllowThreads(__tstate);
31971 if (PyErr_Occurred()) SWIG_fail;
31972 }
31973 Py_INCREF(Py_None); resultobj = Py_None;
31974 return resultobj;
31975 fail:
31976 return NULL;
31977}
31978
31979
c370783e 31980static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31981 PyObject *resultobj = NULL;
d55e5bfc
RD
31982 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31983 wxTreeItemId *arg2 = 0 ;
31984 PyObject * obj0 = 0 ;
31985 PyObject * obj1 = 0 ;
31986 char *kwnames[] = {
31987 (char *) "self",(char *) "item", NULL
31988 };
31989
31990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31992 if (SWIG_arg_fail(1)) SWIG_fail;
31993 {
31994 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31995 if (SWIG_arg_fail(2)) SWIG_fail;
31996 if (arg2 == NULL) {
31997 SWIG_null_ref("wxTreeItemId");
31998 }
31999 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32000 }
32001 {
32002 PyThreadState* __tstate = wxPyBeginAllowThreads();
32003 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
32004
32005 wxPyEndAllowThreads(__tstate);
32006 if (PyErr_Occurred()) SWIG_fail;
32007 }
32008 Py_INCREF(Py_None); resultobj = Py_None;
32009 return resultobj;
32010 fail:
32011 return NULL;
32012}
32013
32014
c370783e 32015static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32016 PyObject *resultobj = NULL;
d55e5bfc
RD
32017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32018 wxTreeItemId *arg2 = 0 ;
32019 PyObject * obj0 = 0 ;
32020 PyObject * obj1 = 0 ;
32021 char *kwnames[] = {
32022 (char *) "self",(char *) "item", NULL
32023 };
32024
32025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32027 if (SWIG_arg_fail(1)) SWIG_fail;
32028 {
32029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32030 if (SWIG_arg_fail(2)) SWIG_fail;
32031 if (arg2 == NULL) {
32032 SWIG_null_ref("wxTreeItemId");
32033 }
32034 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32035 }
32036 {
32037 PyThreadState* __tstate = wxPyBeginAllowThreads();
32038 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
32039
32040 wxPyEndAllowThreads(__tstate);
32041 if (PyErr_Occurred()) SWIG_fail;
32042 }
32043 Py_INCREF(Py_None); resultobj = Py_None;
32044 return resultobj;
32045 fail:
32046 return NULL;
32047}
32048
32049
c370783e 32050static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32051 PyObject *resultobj = NULL;
d55e5bfc
RD
32052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32053 wxTreeItemId *arg2 = 0 ;
32054 PyObject * obj0 = 0 ;
32055 PyObject * obj1 = 0 ;
32056 char *kwnames[] = {
32057 (char *) "self",(char *) "item", NULL
32058 };
32059
32060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32062 if (SWIG_arg_fail(1)) SWIG_fail;
32063 {
32064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32065 if (SWIG_arg_fail(2)) SWIG_fail;
32066 if (arg2 == NULL) {
32067 SWIG_null_ref("wxTreeItemId");
32068 }
32069 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32070 }
32071 {
32072 PyThreadState* __tstate = wxPyBeginAllowThreads();
32073 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
32074
32075 wxPyEndAllowThreads(__tstate);
32076 if (PyErr_Occurred()) SWIG_fail;
32077 }
32078 Py_INCREF(Py_None); resultobj = Py_None;
32079 return resultobj;
32080 fail:
32081 return NULL;
32082}
32083
32084
c370783e 32085static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32086 PyObject *resultobj = NULL;
d55e5bfc
RD
32087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32088 wxTextCtrl *result;
32089 PyObject * obj0 = 0 ;
32090 char *kwnames[] = {
32091 (char *) "self", NULL
32092 };
32093
32094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
32095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32097 {
32098 PyThreadState* __tstate = wxPyBeginAllowThreads();
32099 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
32100
32101 wxPyEndAllowThreads(__tstate);
32102 if (PyErr_Occurred()) SWIG_fail;
32103 }
32104 {
412d302d 32105 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32106 }
32107 return resultobj;
32108 fail:
32109 return NULL;
32110}
32111
32112
c370783e 32113static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32114 PyObject *resultobj = NULL;
d55e5bfc
RD
32115 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32116 wxTreeItemId *arg2 = 0 ;
32117 PyObject * obj0 = 0 ;
32118 PyObject * obj1 = 0 ;
32119 char *kwnames[] = {
32120 (char *) "self",(char *) "item", NULL
32121 };
32122
32123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32125 if (SWIG_arg_fail(1)) SWIG_fail;
32126 {
32127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32128 if (SWIG_arg_fail(2)) SWIG_fail;
32129 if (arg2 == NULL) {
32130 SWIG_null_ref("wxTreeItemId");
32131 }
32132 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32133 }
32134 {
32135 PyThreadState* __tstate = wxPyBeginAllowThreads();
32136 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
32137
32138 wxPyEndAllowThreads(__tstate);
32139 if (PyErr_Occurred()) SWIG_fail;
32140 }
32141 Py_INCREF(Py_None); resultobj = Py_None;
32142 return resultobj;
32143 fail:
32144 return NULL;
32145}
32146
32147
c370783e 32148static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32149 PyObject *resultobj = NULL;
d55e5bfc
RD
32150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32151 wxPoint *arg2 = 0 ;
32152 int *arg3 = 0 ;
32153 wxTreeItemId result;
32154 wxPoint temp2 ;
32155 int temp3 ;
c370783e 32156 int res3 = 0 ;
d55e5bfc
RD
32157 PyObject * obj0 = 0 ;
32158 PyObject * obj1 = 0 ;
32159 char *kwnames[] = {
32160 (char *) "self",(char *) "point", NULL
32161 };
32162
c370783e 32163 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32167 {
32168 arg2 = &temp2;
32169 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32170 }
32171 {
32172 PyThreadState* __tstate = wxPyBeginAllowThreads();
32173 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
32174
32175 wxPyEndAllowThreads(__tstate);
32176 if (PyErr_Occurred()) SWIG_fail;
32177 }
32178 {
32179 wxTreeItemId * resultptr;
32fe5131 32180 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
32181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32182 }
c370783e
RD
32183 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32184 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32185 return resultobj;
32186 fail:
32187 return NULL;
32188}
32189
32190
c370783e 32191static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32192 PyObject *resultobj = NULL;
d55e5bfc
RD
32193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32194 wxTreeItemId *arg2 = 0 ;
b411df4a 32195 bool arg3 = (bool) false ;
d55e5bfc
RD
32196 PyObject *result;
32197 PyObject * obj0 = 0 ;
32198 PyObject * obj1 = 0 ;
32199 PyObject * obj2 = 0 ;
32200 char *kwnames[] = {
32201 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32202 };
32203
32204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32206 if (SWIG_arg_fail(1)) SWIG_fail;
32207 {
32208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32209 if (SWIG_arg_fail(2)) SWIG_fail;
32210 if (arg2 == NULL) {
32211 SWIG_null_ref("wxTreeItemId");
32212 }
32213 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32214 }
32215 if (obj2) {
36ed4f51 32216 {
32fe5131 32217 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
32218 if (SWIG_arg_fail(3)) SWIG_fail;
32219 }
d55e5bfc
RD
32220 }
32221 {
32222 PyThreadState* __tstate = wxPyBeginAllowThreads();
32223 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
32224
32225 wxPyEndAllowThreads(__tstate);
32226 if (PyErr_Occurred()) SWIG_fail;
32227 }
32228 resultobj = result;
32229 return resultobj;
32230 fail:
32231 return NULL;
32232}
32233
32234
c370783e 32235static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32236 PyObject *resultobj = NULL;
36ed4f51 32237 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
32238 wxVisualAttributes result;
32239 PyObject * obj0 = 0 ;
32240 char *kwnames[] = {
32241 (char *) "variant", NULL
32242 };
32243
32244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32245 if (obj0) {
36ed4f51 32246 {
32fe5131 32247 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
32248 if (SWIG_arg_fail(1)) SWIG_fail;
32249 }
d55e5bfc
RD
32250 }
32251 {
0439c23b 32252 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 32253 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 32254 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
32255
32256 wxPyEndAllowThreads(__tstate);
110da5b0 32257 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32258 }
32259 {
32260 wxVisualAttributes * resultptr;
32fe5131 32261 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
32262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32263 }
32264 return resultobj;
32265 fail:
32266 return NULL;
32267}
32268
32269
c370783e 32270static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32271 PyObject *obj;
32272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32273 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
32274 Py_INCREF(obj);
32275 return Py_BuildValue((char *)"");
32276}
c370783e 32277static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
32278 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
32279 return 1;
32280}
32281
32282
36ed4f51 32283static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
32fe5131 32284 PyObject *pyobj = NULL;
d55e5bfc
RD
32285
32286 {
32287#if wxUSE_UNICODE
32288 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32289#else
32290 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32291#endif
32292 }
32293 return pyobj;
32294}
32295
32296
c370783e 32297static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32298 PyObject *resultobj = NULL;
d55e5bfc
RD
32299 wxWindow *arg1 = (wxWindow *) 0 ;
32300 int arg2 = (int) (int)-1 ;
32301 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
32302 wxString *arg3 = (wxString *) &arg3_defvalue ;
32303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32305 wxSize const &arg5_defvalue = wxDefaultSize ;
32306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32307 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32308 wxString const &arg7_defvalue = wxPyEmptyString ;
32309 wxString *arg7 = (wxString *) &arg7_defvalue ;
32310 int arg8 = (int) 0 ;
32311 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
32312 wxString *arg9 = (wxString *) &arg9_defvalue ;
32313 wxGenericDirCtrl *result;
b411df4a 32314 bool temp3 = false ;
d55e5bfc
RD
32315 wxPoint temp4 ;
32316 wxSize temp5 ;
b411df4a
RD
32317 bool temp7 = false ;
32318 bool temp9 = false ;
d55e5bfc
RD
32319 PyObject * obj0 = 0 ;
32320 PyObject * obj1 = 0 ;
32321 PyObject * obj2 = 0 ;
32322 PyObject * obj3 = 0 ;
32323 PyObject * obj4 = 0 ;
32324 PyObject * obj5 = 0 ;
32325 PyObject * obj6 = 0 ;
32326 PyObject * obj7 = 0 ;
32327 PyObject * obj8 = 0 ;
32328 char *kwnames[] = {
32329 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32330 };
32331
32332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
32333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32334 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32335 if (obj1) {
36ed4f51 32336 {
32fe5131 32337 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
32338 if (SWIG_arg_fail(2)) SWIG_fail;
32339 }
d55e5bfc
RD
32340 }
32341 if (obj2) {
32342 {
32343 arg3 = wxString_in_helper(obj2);
32344 if (arg3 == NULL) SWIG_fail;
b411df4a 32345 temp3 = true;
d55e5bfc
RD
32346 }
32347 }
32348 if (obj3) {
32349 {
32350 arg4 = &temp4;
32351 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32352 }
32353 }
32354 if (obj4) {
32355 {
32356 arg5 = &temp5;
32357 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32358 }
32359 }
32360 if (obj5) {
36ed4f51 32361 {
32fe5131 32362 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
32363 if (SWIG_arg_fail(6)) SWIG_fail;
32364 }
d55e5bfc
RD
32365 }
32366 if (obj6) {
32367 {
32368 arg7 = wxString_in_helper(obj6);
32369 if (arg7 == NULL) SWIG_fail;
b411df4a 32370 temp7 = true;
d55e5bfc
RD
32371 }
32372 }
32373 if (obj7) {
36ed4f51 32374 {
32fe5131 32375 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
32376 if (SWIG_arg_fail(8)) SWIG_fail;
32377 }
d55e5bfc
RD
32378 }
32379 if (obj8) {
32380 {
32381 arg9 = wxString_in_helper(obj8);
32382 if (arg9 == NULL) SWIG_fail;
b411df4a 32383 temp9 = true;
d55e5bfc
RD
32384 }
32385 }
32386 {
0439c23b 32387 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32388 PyThreadState* __tstate = wxPyBeginAllowThreads();
32389 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
32390
32391 wxPyEndAllowThreads(__tstate);
110da5b0 32392 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32393 }
32394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32395 {
32396 if (temp3)
32397 delete arg3;
32398 }
32399 {
32400 if (temp7)
32401 delete arg7;
32402 }
32403 {
32404 if (temp9)
32405 delete arg9;
32406 }
32407 return resultobj;
32408 fail:
32409 {
32410 if (temp3)
32411 delete arg3;
32412 }
32413 {
32414 if (temp7)
32415 delete arg7;
32416 }
32417 {
32418 if (temp9)
32419 delete arg9;
32420 }
32421 return NULL;
32422}
32423
32424
c370783e 32425static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32426 PyObject *resultobj = NULL;
d55e5bfc
RD
32427 wxGenericDirCtrl *result;
32428 char *kwnames[] = {
32429 NULL
32430 };
32431
32432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
32433 {
0439c23b 32434 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32435 PyThreadState* __tstate = wxPyBeginAllowThreads();
32436 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
32437
32438 wxPyEndAllowThreads(__tstate);
110da5b0 32439 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32440 }
32441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32442 return resultobj;
32443 fail:
32444 return NULL;
32445}
32446
32447
c370783e 32448static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32449 PyObject *resultobj = NULL;
d55e5bfc
RD
32450 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32451 wxWindow *arg2 = (wxWindow *) 0 ;
32452 int arg3 = (int) (int)-1 ;
32453 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
32454 wxString *arg4 = (wxString *) &arg4_defvalue ;
32455 wxPoint const &arg5_defvalue = wxDefaultPosition ;
32456 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
32457 wxSize const &arg6_defvalue = wxDefaultSize ;
32458 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
32459 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32460 wxString const &arg8_defvalue = wxPyEmptyString ;
32461 wxString *arg8 = (wxString *) &arg8_defvalue ;
32462 int arg9 = (int) 0 ;
32463 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
32464 wxString *arg10 = (wxString *) &arg10_defvalue ;
32465 bool result;
b411df4a 32466 bool temp4 = false ;
d55e5bfc
RD
32467 wxPoint temp5 ;
32468 wxSize temp6 ;
b411df4a
RD
32469 bool temp8 = false ;
32470 bool temp10 = false ;
d55e5bfc
RD
32471 PyObject * obj0 = 0 ;
32472 PyObject * obj1 = 0 ;
32473 PyObject * obj2 = 0 ;
32474 PyObject * obj3 = 0 ;
32475 PyObject * obj4 = 0 ;
32476 PyObject * obj5 = 0 ;
32477 PyObject * obj6 = 0 ;
32478 PyObject * obj7 = 0 ;
32479 PyObject * obj8 = 0 ;
32480 PyObject * obj9 = 0 ;
32481 char *kwnames[] = {
32482 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32483 };
32484
32485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
32486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail;
32488 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32489 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 32490 if (obj2) {
36ed4f51 32491 {
32fe5131 32492 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
32493 if (SWIG_arg_fail(3)) SWIG_fail;
32494 }
d55e5bfc
RD
32495 }
32496 if (obj3) {
32497 {
32498 arg4 = wxString_in_helper(obj3);
32499 if (arg4 == NULL) SWIG_fail;
b411df4a 32500 temp4 = true;
d55e5bfc
RD
32501 }
32502 }
32503 if (obj4) {
32504 {
32505 arg5 = &temp5;
32506 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
32507 }
32508 }
32509 if (obj5) {
32510 {
32511 arg6 = &temp6;
32512 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
32513 }
32514 }
32515 if (obj6) {
36ed4f51 32516 {
32fe5131 32517 arg7 = static_cast<long >(SWIG_As_long(obj6));
36ed4f51
RD
32518 if (SWIG_arg_fail(7)) SWIG_fail;
32519 }
d55e5bfc
RD
32520 }
32521 if (obj7) {
32522 {
32523 arg8 = wxString_in_helper(obj7);
32524 if (arg8 == NULL) SWIG_fail;
b411df4a 32525 temp8 = true;
d55e5bfc
RD
32526 }
32527 }
32528 if (obj8) {
36ed4f51 32529 {
32fe5131 32530 arg9 = static_cast<int >(SWIG_As_int(obj8));
36ed4f51
RD
32531 if (SWIG_arg_fail(9)) SWIG_fail;
32532 }
d55e5bfc
RD
32533 }
32534 if (obj9) {
32535 {
32536 arg10 = wxString_in_helper(obj9);
32537 if (arg10 == NULL) SWIG_fail;
b411df4a 32538 temp10 = true;
d55e5bfc
RD
32539 }
32540 }
32541 {
32542 PyThreadState* __tstate = wxPyBeginAllowThreads();
32543 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
32544
32545 wxPyEndAllowThreads(__tstate);
32546 if (PyErr_Occurred()) SWIG_fail;
32547 }
32548 {
32549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32550 }
32551 {
32552 if (temp4)
32553 delete arg4;
32554 }
32555 {
32556 if (temp8)
32557 delete arg8;
32558 }
32559 {
32560 if (temp10)
32561 delete arg10;
32562 }
32563 return resultobj;
32564 fail:
32565 {
32566 if (temp4)
32567 delete arg4;
32568 }
32569 {
32570 if (temp8)
32571 delete arg8;
32572 }
32573 {
32574 if (temp10)
32575 delete arg10;
32576 }
32577 return NULL;
32578}
32579
32580
c370783e 32581static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32582 PyObject *resultobj = NULL;
d55e5bfc
RD
32583 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32584 wxString *arg2 = 0 ;
32585 bool result;
b411df4a 32586 bool temp2 = false ;
d55e5bfc
RD
32587 PyObject * obj0 = 0 ;
32588 PyObject * obj1 = 0 ;
32589 char *kwnames[] = {
32590 (char *) "self",(char *) "path", NULL
32591 };
32592
32593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32596 {
32597 arg2 = wxString_in_helper(obj1);
32598 if (arg2 == NULL) SWIG_fail;
b411df4a 32599 temp2 = true;
d55e5bfc
RD
32600 }
32601 {
32602 PyThreadState* __tstate = wxPyBeginAllowThreads();
32603 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
32604
32605 wxPyEndAllowThreads(__tstate);
32606 if (PyErr_Occurred()) SWIG_fail;
32607 }
32608 {
32609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32610 }
32611 {
32612 if (temp2)
32613 delete arg2;
32614 }
32615 return resultobj;
32616 fail:
32617 {
32618 if (temp2)
32619 delete arg2;
32620 }
32621 return NULL;
32622}
32623
32624
c370783e 32625static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32626 PyObject *resultobj = NULL;
d55e5bfc
RD
32627 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32628 wxString result;
32629 PyObject * obj0 = 0 ;
32630 char *kwnames[] = {
32631 (char *) "self", NULL
32632 };
32633
32634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
32635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32637 {
32638 PyThreadState* __tstate = wxPyBeginAllowThreads();
32639 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
32640
32641 wxPyEndAllowThreads(__tstate);
32642 if (PyErr_Occurred()) SWIG_fail;
32643 }
32644 {
32645#if wxUSE_UNICODE
32646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32647#else
32648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32649#endif
32650 }
32651 return resultobj;
32652 fail:
32653 return NULL;
32654}
32655
32656
c370783e 32657static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32658 PyObject *resultobj = NULL;
d55e5bfc
RD
32659 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32660 wxString *arg2 = 0 ;
b411df4a 32661 bool temp2 = false ;
d55e5bfc
RD
32662 PyObject * obj0 = 0 ;
32663 PyObject * obj1 = 0 ;
32664 char *kwnames[] = {
32665 (char *) "self",(char *) "path", NULL
32666 };
32667
32668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32671 {
32672 arg2 = wxString_in_helper(obj1);
32673 if (arg2 == NULL) SWIG_fail;
b411df4a 32674 temp2 = true;
d55e5bfc
RD
32675 }
32676 {
32677 PyThreadState* __tstate = wxPyBeginAllowThreads();
32678 (arg1)->SetDefaultPath((wxString const &)*arg2);
32679
32680 wxPyEndAllowThreads(__tstate);
32681 if (PyErr_Occurred()) SWIG_fail;
32682 }
32683 Py_INCREF(Py_None); resultobj = Py_None;
32684 {
32685 if (temp2)
32686 delete arg2;
32687 }
32688 return resultobj;
32689 fail:
32690 {
32691 if (temp2)
32692 delete arg2;
32693 }
32694 return NULL;
32695}
32696
32697
c370783e 32698static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32699 PyObject *resultobj = NULL;
d55e5bfc
RD
32700 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32701 wxString result;
32702 PyObject * obj0 = 0 ;
32703 char *kwnames[] = {
32704 (char *) "self", NULL
32705 };
32706
32707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
32708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32710 {
32711 PyThreadState* __tstate = wxPyBeginAllowThreads();
32712 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
32713
32714 wxPyEndAllowThreads(__tstate);
32715 if (PyErr_Occurred()) SWIG_fail;
32716 }
32717 {
32718#if wxUSE_UNICODE
32719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32720#else
32721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32722#endif
32723 }
32724 return resultobj;
32725 fail:
32726 return NULL;
32727}
32728
32729
c370783e 32730static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32731 PyObject *resultobj = NULL;
d55e5bfc
RD
32732 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32733 wxString result;
32734 PyObject * obj0 = 0 ;
32735 char *kwnames[] = {
32736 (char *) "self", NULL
32737 };
32738
32739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
32740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32741 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32742 {
32743 PyThreadState* __tstate = wxPyBeginAllowThreads();
32744 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
32745
32746 wxPyEndAllowThreads(__tstate);
32747 if (PyErr_Occurred()) SWIG_fail;
32748 }
32749 {
32750#if wxUSE_UNICODE
32751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32752#else
32753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32754#endif
32755 }
32756 return resultobj;
32757 fail:
32758 return NULL;
32759}
32760
32761
c370783e 32762static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32763 PyObject *resultobj = NULL;
d55e5bfc
RD
32764 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32765 wxString *arg2 = 0 ;
b411df4a 32766 bool temp2 = false ;
d55e5bfc
RD
32767 PyObject * obj0 = 0 ;
32768 PyObject * obj1 = 0 ;
32769 char *kwnames[] = {
32770 (char *) "self",(char *) "path", NULL
32771 };
32772
32773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32776 {
32777 arg2 = wxString_in_helper(obj1);
32778 if (arg2 == NULL) SWIG_fail;
b411df4a 32779 temp2 = true;
d55e5bfc
RD
32780 }
32781 {
32782 PyThreadState* __tstate = wxPyBeginAllowThreads();
32783 (arg1)->SetPath((wxString const &)*arg2);
32784
32785 wxPyEndAllowThreads(__tstate);
32786 if (PyErr_Occurred()) SWIG_fail;
32787 }
32788 Py_INCREF(Py_None); resultobj = Py_None;
32789 {
32790 if (temp2)
32791 delete arg2;
32792 }
32793 return resultobj;
32794 fail:
32795 {
32796 if (temp2)
32797 delete arg2;
32798 }
32799 return NULL;
32800}
32801
32802
c370783e 32803static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32804 PyObject *resultobj = NULL;
d55e5bfc
RD
32805 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32806 bool arg2 ;
32807 PyObject * obj0 = 0 ;
32808 PyObject * obj1 = 0 ;
32809 char *kwnames[] = {
32810 (char *) "self",(char *) "show", NULL
32811 };
32812
32813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32815 if (SWIG_arg_fail(1)) SWIG_fail;
32816 {
32fe5131 32817 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
32818 if (SWIG_arg_fail(2)) SWIG_fail;
32819 }
d55e5bfc
RD
32820 {
32821 PyThreadState* __tstate = wxPyBeginAllowThreads();
32822 (arg1)->ShowHidden(arg2);
32823
32824 wxPyEndAllowThreads(__tstate);
32825 if (PyErr_Occurred()) SWIG_fail;
32826 }
32827 Py_INCREF(Py_None); resultobj = Py_None;
32828 return resultobj;
32829 fail:
32830 return NULL;
32831}
32832
32833
c370783e 32834static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32835 PyObject *resultobj = NULL;
d55e5bfc
RD
32836 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32837 bool result;
32838 PyObject * obj0 = 0 ;
32839 char *kwnames[] = {
32840 (char *) "self", NULL
32841 };
32842
32843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
36ed4f51
RD
32844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32845 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32846 {
32847 PyThreadState* __tstate = wxPyBeginAllowThreads();
32848 result = (bool)(arg1)->GetShowHidden();
32849
32850 wxPyEndAllowThreads(__tstate);
32851 if (PyErr_Occurred()) SWIG_fail;
32852 }
32853 {
32854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32855 }
32856 return resultobj;
32857 fail:
32858 return NULL;
32859}
32860
32861
c370783e 32862static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32863 PyObject *resultobj = NULL;
d55e5bfc
RD
32864 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32865 wxString result;
32866 PyObject * obj0 = 0 ;
32867 char *kwnames[] = {
32868 (char *) "self", NULL
32869 };
32870
32871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
32872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32873 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32874 {
32875 PyThreadState* __tstate = wxPyBeginAllowThreads();
32876 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
32877
32878 wxPyEndAllowThreads(__tstate);
32879 if (PyErr_Occurred()) SWIG_fail;
32880 }
32881 {
32882#if wxUSE_UNICODE
32883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32884#else
32885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32886#endif
32887 }
32888 return resultobj;
32889 fail:
32890 return NULL;
32891}
32892
32893
c370783e 32894static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32895 PyObject *resultobj = NULL;
d55e5bfc
RD
32896 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32897 wxString *arg2 = 0 ;
b411df4a 32898 bool temp2 = false ;
d55e5bfc
RD
32899 PyObject * obj0 = 0 ;
32900 PyObject * obj1 = 0 ;
32901 char *kwnames[] = {
32902 (char *) "self",(char *) "filter", NULL
32903 };
32904
32905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32908 {
32909 arg2 = wxString_in_helper(obj1);
32910 if (arg2 == NULL) SWIG_fail;
b411df4a 32911 temp2 = true;
d55e5bfc
RD
32912 }
32913 {
32914 PyThreadState* __tstate = wxPyBeginAllowThreads();
32915 (arg1)->SetFilter((wxString const &)*arg2);
32916
32917 wxPyEndAllowThreads(__tstate);
32918 if (PyErr_Occurred()) SWIG_fail;
32919 }
32920 Py_INCREF(Py_None); resultobj = Py_None;
32921 {
32922 if (temp2)
32923 delete arg2;
32924 }
32925 return resultobj;
32926 fail:
32927 {
32928 if (temp2)
32929 delete arg2;
32930 }
32931 return NULL;
32932}
32933
32934
c370783e 32935static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32936 PyObject *resultobj = NULL;
d55e5bfc
RD
32937 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32938 int result;
32939 PyObject * obj0 = 0 ;
32940 char *kwnames[] = {
32941 (char *) "self", NULL
32942 };
32943
32944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
32945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32947 {
32948 PyThreadState* __tstate = wxPyBeginAllowThreads();
32949 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
32950
32951 wxPyEndAllowThreads(__tstate);
32952 if (PyErr_Occurred()) SWIG_fail;
32953 }
36ed4f51 32954 {
32fe5131 32955 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 32956 }
d55e5bfc
RD
32957 return resultobj;
32958 fail:
32959 return NULL;
32960}
32961
32962
c370783e 32963static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32964 PyObject *resultobj = NULL;
d55e5bfc
RD
32965 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32966 int arg2 ;
32967 PyObject * obj0 = 0 ;
32968 PyObject * obj1 = 0 ;
32969 char *kwnames[] = {
32970 (char *) "self",(char *) "n", NULL
32971 };
32972
32973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32975 if (SWIG_arg_fail(1)) SWIG_fail;
32976 {
32fe5131 32977 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
32978 if (SWIG_arg_fail(2)) SWIG_fail;
32979 }
d55e5bfc
RD
32980 {
32981 PyThreadState* __tstate = wxPyBeginAllowThreads();
32982 (arg1)->SetFilterIndex(arg2);
32983
32984 wxPyEndAllowThreads(__tstate);
32985 if (PyErr_Occurred()) SWIG_fail;
32986 }
32987 Py_INCREF(Py_None); resultobj = Py_None;
32988 return resultobj;
32989 fail:
32990 return NULL;
32991}
32992
32993
c370783e 32994static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32995 PyObject *resultobj = NULL;
d55e5bfc
RD
32996 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32997 wxTreeItemId result;
32998 PyObject * obj0 = 0 ;
32999 char *kwnames[] = {
33000 (char *) "self", NULL
33001 };
33002
33003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
36ed4f51
RD
33004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33006 {
33007 PyThreadState* __tstate = wxPyBeginAllowThreads();
33008 result = (arg1)->GetRootId();
33009
33010 wxPyEndAllowThreads(__tstate);
33011 if (PyErr_Occurred()) SWIG_fail;
33012 }
33013 {
33014 wxTreeItemId * resultptr;
32fe5131 33015 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
33016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33017 }
33018 return resultobj;
33019 fail:
33020 return NULL;
33021}
33022
33023
c370783e 33024static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33025 PyObject *resultobj = NULL;
d55e5bfc
RD
33026 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33027 wxPyTreeCtrl *result;
33028 PyObject * obj0 = 0 ;
33029 char *kwnames[] = {
33030 (char *) "self", NULL
33031 };
33032
33033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
33034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33036 {
33037 PyThreadState* __tstate = wxPyBeginAllowThreads();
33038 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
33039
33040 wxPyEndAllowThreads(__tstate);
33041 if (PyErr_Occurred()) SWIG_fail;
33042 }
33043 {
412d302d 33044 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33045 }
33046 return resultobj;
33047 fail:
33048 return NULL;
33049}
33050
33051
c370783e 33052static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33053 PyObject *resultobj = NULL;
d55e5bfc
RD
33054 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33055 wxDirFilterListCtrl *result;
33056 PyObject * obj0 = 0 ;
33057 char *kwnames[] = {
33058 (char *) "self", NULL
33059 };
33060
33061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
33062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33064 {
33065 PyThreadState* __tstate = wxPyBeginAllowThreads();
33066 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
33067
33068 wxPyEndAllowThreads(__tstate);
33069 if (PyErr_Occurred()) SWIG_fail;
33070 }
33071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
33072 return resultobj;
33073 fail:
33074 return NULL;
33075}
33076
33077
c370783e 33078static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33079 PyObject *resultobj = NULL;
d55e5bfc
RD
33080 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33081 wxTreeItemId arg2 ;
33082 wxString *arg3 = 0 ;
33083 bool *arg4 = 0 ;
33084 wxTreeItemId result;
b411df4a 33085 bool temp3 = false ;
d55e5bfc 33086 bool temp4 ;
c370783e 33087 int res4 = 0 ;
d55e5bfc
RD
33088 PyObject * obj0 = 0 ;
33089 PyObject * obj1 = 0 ;
33090 PyObject * obj2 = 0 ;
33091 char *kwnames[] = {
33092 (char *) "self",(char *) "parentId",(char *) "path", NULL
33093 };
33094
c370783e 33095 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 33096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail;
33099 {
33100 wxTreeItemId * argp;
33101 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
33102 if (SWIG_arg_fail(2)) SWIG_fail;
33103 if (argp == NULL) {
33104 SWIG_null_ref("wxTreeItemId");
33105 }
33106 if (SWIG_arg_fail(2)) SWIG_fail;
33107 arg2 = *argp;
33108 }
d55e5bfc
RD
33109 {
33110 arg3 = wxString_in_helper(obj2);
33111 if (arg3 == NULL) SWIG_fail;
b411df4a 33112 temp3 = true;
d55e5bfc
RD
33113 }
33114 {
33115 PyThreadState* __tstate = wxPyBeginAllowThreads();
33116 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
33117
33118 wxPyEndAllowThreads(__tstate);
33119 if (PyErr_Occurred()) SWIG_fail;
33120 }
33121 {
33122 wxTreeItemId * resultptr;
32fe5131 33123 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
33124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33125 }
c370783e
RD
33126 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
33127 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
33128 {
33129 if (temp3)
33130 delete arg3;
33131 }
33132 return resultobj;
33133 fail:
33134 {
33135 if (temp3)
33136 delete arg3;
33137 }
33138 return NULL;
33139}
33140
33141
c370783e 33142static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33143 PyObject *resultobj = NULL;
d55e5bfc
RD
33144 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33145 PyObject * obj0 = 0 ;
33146 char *kwnames[] = {
33147 (char *) "self", NULL
33148 };
33149
33150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
36ed4f51
RD
33151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33153 {
33154 PyThreadState* __tstate = wxPyBeginAllowThreads();
33155 (arg1)->DoResize();
33156
33157 wxPyEndAllowThreads(__tstate);
33158 if (PyErr_Occurred()) SWIG_fail;
33159 }
33160 Py_INCREF(Py_None); resultobj = Py_None;
33161 return resultobj;
33162 fail:
33163 return NULL;
33164}
33165
33166
c370783e 33167static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33168 PyObject *resultobj = NULL;
d55e5bfc
RD
33169 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33170 PyObject * obj0 = 0 ;
33171 char *kwnames[] = {
33172 (char *) "self", NULL
33173 };
33174
33175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
36ed4f51
RD
33176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33178 {
33179 PyThreadState* __tstate = wxPyBeginAllowThreads();
33180 (arg1)->ReCreateTree();
33181
33182 wxPyEndAllowThreads(__tstate);
33183 if (PyErr_Occurred()) SWIG_fail;
33184 }
33185 Py_INCREF(Py_None); resultobj = Py_None;
33186 return resultobj;
33187 fail:
33188 return NULL;
33189}
33190
33191
c370783e 33192static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33193 PyObject *obj;
33194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33195 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
33196 Py_INCREF(obj);
33197 return Py_BuildValue((char *)"");
33198}
c370783e 33199static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33200 PyObject *resultobj = NULL;
d55e5bfc
RD
33201 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33202 int arg2 = (int) (int)-1 ;
33203 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33204 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33205 wxSize const &arg4_defvalue = wxDefaultSize ;
33206 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33207 long arg5 = (long) 0 ;
33208 wxDirFilterListCtrl *result;
33209 wxPoint temp3 ;
33210 wxSize temp4 ;
33211 PyObject * obj0 = 0 ;
33212 PyObject * obj1 = 0 ;
33213 PyObject * obj2 = 0 ;
33214 PyObject * obj3 = 0 ;
33215 PyObject * obj4 = 0 ;
33216 char *kwnames[] = {
33217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33218 };
33219
33220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33223 if (obj1) {
36ed4f51 33224 {
32fe5131 33225 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
33226 if (SWIG_arg_fail(2)) SWIG_fail;
33227 }
d55e5bfc
RD
33228 }
33229 if (obj2) {
33230 {
33231 arg3 = &temp3;
33232 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33233 }
33234 }
33235 if (obj3) {
33236 {
33237 arg4 = &temp4;
33238 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33239 }
33240 }
33241 if (obj4) {
36ed4f51 33242 {
32fe5131 33243 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
33244 if (SWIG_arg_fail(5)) SWIG_fail;
33245 }
d55e5bfc
RD
33246 }
33247 {
0439c23b 33248 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33249 PyThreadState* __tstate = wxPyBeginAllowThreads();
33250 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33251
33252 wxPyEndAllowThreads(__tstate);
110da5b0 33253 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33254 }
33255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33256 return resultobj;
33257 fail:
33258 return NULL;
33259}
33260
33261
c370783e 33262static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33263 PyObject *resultobj = NULL;
d55e5bfc
RD
33264 wxDirFilterListCtrl *result;
33265 char *kwnames[] = {
33266 NULL
33267 };
33268
33269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
33270 {
0439c23b 33271 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33272 PyThreadState* __tstate = wxPyBeginAllowThreads();
33273 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
33274
33275 wxPyEndAllowThreads(__tstate);
110da5b0 33276 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33277 }
33278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33279 return resultobj;
33280 fail:
33281 return NULL;
33282}
33283
33284
c370783e 33285static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33286 PyObject *resultobj = NULL;
d55e5bfc
RD
33287 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33288 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
33289 int arg3 = (int) (int)-1 ;
33290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33292 wxSize const &arg5_defvalue = wxDefaultSize ;
33293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33294 long arg6 = (long) 0 ;
33295 bool result;
33296 wxPoint temp4 ;
33297 wxSize temp5 ;
33298 PyObject * obj0 = 0 ;
33299 PyObject * obj1 = 0 ;
33300 PyObject * obj2 = 0 ;
33301 PyObject * obj3 = 0 ;
33302 PyObject * obj4 = 0 ;
33303 PyObject * obj5 = 0 ;
33304 char *kwnames[] = {
33305 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33306 };
33307
33308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
33309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33310 if (SWIG_arg_fail(1)) SWIG_fail;
33311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33312 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 33313 if (obj2) {
36ed4f51 33314 {
32fe5131 33315 arg3 = static_cast<int const >(SWIG_As_int(obj2));
36ed4f51
RD
33316 if (SWIG_arg_fail(3)) SWIG_fail;
33317 }
d55e5bfc
RD
33318 }
33319 if (obj3) {
33320 {
33321 arg4 = &temp4;
33322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33323 }
33324 }
33325 if (obj4) {
33326 {
33327 arg5 = &temp5;
33328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33329 }
33330 }
33331 if (obj5) {
36ed4f51 33332 {
32fe5131 33333 arg6 = static_cast<long >(SWIG_As_long(obj5));
36ed4f51
RD
33334 if (SWIG_arg_fail(6)) SWIG_fail;
33335 }
d55e5bfc
RD
33336 }
33337 {
33338 PyThreadState* __tstate = wxPyBeginAllowThreads();
33339 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
33340
33341 wxPyEndAllowThreads(__tstate);
33342 if (PyErr_Occurred()) SWIG_fail;
33343 }
33344 {
33345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33346 }
33347 return resultobj;
33348 fail:
33349 return NULL;
33350}
33351
33352
c370783e 33353static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33354 PyObject *resultobj = NULL;
d55e5bfc
RD
33355 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33356 wxString *arg2 = 0 ;
33357 int arg3 ;
b411df4a 33358 bool temp2 = false ;
d55e5bfc
RD
33359 PyObject * obj0 = 0 ;
33360 PyObject * obj1 = 0 ;
33361 PyObject * obj2 = 0 ;
33362 char *kwnames[] = {
33363 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33364 };
33365
33366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33369 {
33370 arg2 = wxString_in_helper(obj1);
33371 if (arg2 == NULL) SWIG_fail;
b411df4a 33372 temp2 = true;
d55e5bfc 33373 }
36ed4f51 33374 {
32fe5131 33375 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
33376 if (SWIG_arg_fail(3)) SWIG_fail;
33377 }
d55e5bfc
RD
33378 {
33379 PyThreadState* __tstate = wxPyBeginAllowThreads();
33380 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
33381
33382 wxPyEndAllowThreads(__tstate);
33383 if (PyErr_Occurred()) SWIG_fail;
33384 }
33385 Py_INCREF(Py_None); resultobj = Py_None;
33386 {
33387 if (temp2)
33388 delete arg2;
33389 }
33390 return resultobj;
33391 fail:
33392 {
33393 if (temp2)
33394 delete arg2;
33395 }
33396 return NULL;
33397}
33398
33399
c370783e 33400static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33401 PyObject *obj;
33402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33403 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
33404 Py_INCREF(obj);
33405 return Py_BuildValue((char *)"");
33406}
c370783e 33407static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33408 PyObject *resultobj = NULL;
d55e5bfc 33409 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 33410 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
33411 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33412 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33413 wxSize const &arg4_defvalue = wxDefaultSize ;
33414 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33415 long arg5 = (long) 0 ;
33416 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33417 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33418 wxString const &arg7_defvalue = wxPyControlNameStr ;
33419 wxString *arg7 = (wxString *) &arg7_defvalue ;
33420 wxPyControl *result;
33421 wxPoint temp3 ;
33422 wxSize temp4 ;
b411df4a 33423 bool temp7 = false ;
d55e5bfc
RD
33424 PyObject * obj0 = 0 ;
33425 PyObject * obj1 = 0 ;
33426 PyObject * obj2 = 0 ;
33427 PyObject * obj3 = 0 ;
33428 PyObject * obj4 = 0 ;
33429 PyObject * obj5 = 0 ;
33430 PyObject * obj6 = 0 ;
33431 char *kwnames[] = {
33432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33433 };
33434
bfddbb17 33435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
33436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33437 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 33438 if (obj1) {
36ed4f51 33439 {
32fe5131 33440 arg2 = static_cast<int const >(SWIG_As_int(obj1));
36ed4f51
RD
33441 if (SWIG_arg_fail(2)) SWIG_fail;
33442 }
bfddbb17 33443 }
d55e5bfc
RD
33444 if (obj2) {
33445 {
33446 arg3 = &temp3;
33447 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33448 }
33449 }
33450 if (obj3) {
33451 {
33452 arg4 = &temp4;
33453 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33454 }
33455 }
33456 if (obj4) {
36ed4f51 33457 {
32fe5131 33458 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
33459 if (SWIG_arg_fail(5)) SWIG_fail;
33460 }
d55e5bfc
RD
33461 }
33462 if (obj5) {
36ed4f51
RD
33463 {
33464 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33465 if (SWIG_arg_fail(6)) SWIG_fail;
33466 if (arg6 == NULL) {
33467 SWIG_null_ref("wxValidator");
33468 }
33469 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
33470 }
33471 }
33472 if (obj6) {
33473 {
33474 arg7 = wxString_in_helper(obj6);
33475 if (arg7 == NULL) SWIG_fail;
b411df4a 33476 temp7 = true;
d55e5bfc
RD
33477 }
33478 }
33479 {
0439c23b 33480 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33481 PyThreadState* __tstate = wxPyBeginAllowThreads();
33482 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33483
33484 wxPyEndAllowThreads(__tstate);
110da5b0 33485 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33486 }
33487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33488 {
33489 if (temp7)
33490 delete arg7;
33491 }
33492 return resultobj;
33493 fail:
33494 {
33495 if (temp7)
33496 delete arg7;
33497 }
33498 return NULL;
33499}
33500
33501
c370783e 33502static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33503 PyObject *resultobj = NULL;
d55e5bfc
RD
33504 wxPyControl *result;
33505 char *kwnames[] = {
33506 NULL
33507 };
33508
33509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
33510 {
0439c23b 33511 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33512 PyThreadState* __tstate = wxPyBeginAllowThreads();
33513 result = (wxPyControl *)new wxPyControl();
33514
33515 wxPyEndAllowThreads(__tstate);
110da5b0 33516 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33517 }
33518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33519 return resultobj;
33520 fail:
33521 return NULL;
33522}
33523
33524
c370783e 33525static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33526 PyObject *resultobj = NULL;
d55e5bfc
RD
33527 wxPyControl *arg1 = (wxPyControl *) 0 ;
33528 PyObject *arg2 = (PyObject *) 0 ;
33529 PyObject *arg3 = (PyObject *) 0 ;
33530 PyObject * obj0 = 0 ;
33531 PyObject * obj1 = 0 ;
33532 PyObject * obj2 = 0 ;
33533 char *kwnames[] = {
33534 (char *) "self",(char *) "self",(char *) "_class", NULL
33535 };
33536
33537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33540 arg2 = obj1;
33541 arg3 = obj2;
33542 {
33543 PyThreadState* __tstate = wxPyBeginAllowThreads();
33544 (arg1)->_setCallbackInfo(arg2,arg3);
33545
33546 wxPyEndAllowThreads(__tstate);
33547 if (PyErr_Occurred()) SWIG_fail;
33548 }
33549 Py_INCREF(Py_None); resultobj = Py_None;
33550 return resultobj;
33551 fail:
33552 return NULL;
33553}
33554
33555
c370783e 33556static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33557 PyObject *resultobj = NULL;
a5ee0656
RD
33558 wxPyControl *arg1 = (wxPyControl *) 0 ;
33559 wxSize *arg2 = 0 ;
33560 wxSize temp2 ;
33561 PyObject * obj0 = 0 ;
33562 PyObject * obj1 = 0 ;
33563 char *kwnames[] = {
33564 (char *) "self",(char *) "size", NULL
33565 };
33566
33567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33569 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
33570 {
33571 arg2 = &temp2;
33572 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33573 }
33574 {
33575 PyThreadState* __tstate = wxPyBeginAllowThreads();
33576 (arg1)->SetBestSize((wxSize const &)*arg2);
33577
33578 wxPyEndAllowThreads(__tstate);
33579 if (PyErr_Occurred()) SWIG_fail;
33580 }
33581 Py_INCREF(Py_None); resultobj = Py_None;
33582 return resultobj;
33583 fail:
33584 return NULL;
33585}
33586
33587
976dbff5 33588static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33589 PyObject *resultobj = NULL;
976dbff5
RD
33590 wxPyControl *arg1 = (wxPyControl *) 0 ;
33591 wxDC *arg2 = (wxDC *) 0 ;
33592 bool result;
33593 PyObject * obj0 = 0 ;
33594 PyObject * obj1 = 0 ;
33595 char *kwnames[] = {
33596 (char *) "self",(char *) "dc", NULL
33597 };
33598
33599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
33600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33601 if (SWIG_arg_fail(1)) SWIG_fail;
33602 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33603 if (SWIG_arg_fail(2)) SWIG_fail;
33604 {
33605 PyThreadState* __tstate = wxPyBeginAllowThreads();
33606 result = (bool)(arg1)->DoEraseBackground(arg2);
33607
33608 wxPyEndAllowThreads(__tstate);
33609 if (PyErr_Occurred()) SWIG_fail;
33610 }
33611 {
33612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33613 }
33614 return resultobj;
33615 fail:
33616 return NULL;
33617}
33618
33619
7f7aa166 33620static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33621 PyObject *resultobj = NULL;
d55e5bfc
RD
33622 wxPyControl *arg1 = (wxPyControl *) 0 ;
33623 int arg2 ;
33624 int arg3 ;
33625 int arg4 ;
33626 int arg5 ;
33627 PyObject * obj0 = 0 ;
33628 PyObject * obj1 = 0 ;
33629 PyObject * obj2 = 0 ;
33630 PyObject * obj3 = 0 ;
33631 PyObject * obj4 = 0 ;
33632 char *kwnames[] = {
33633 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33634 };
33635
7f7aa166 33636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33638 if (SWIG_arg_fail(1)) SWIG_fail;
33639 {
32fe5131 33640 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
33641 if (SWIG_arg_fail(2)) SWIG_fail;
33642 }
33643 {
32fe5131 33644 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
33645 if (SWIG_arg_fail(3)) SWIG_fail;
33646 }
33647 {
32fe5131 33648 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
33649 if (SWIG_arg_fail(4)) SWIG_fail;
33650 }
33651 {
32fe5131 33652 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
33653 if (SWIG_arg_fail(5)) SWIG_fail;
33654 }
d55e5bfc
RD
33655 {
33656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33657 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
33658
33659 wxPyEndAllowThreads(__tstate);
33660 if (PyErr_Occurred()) SWIG_fail;
33661 }
33662 Py_INCREF(Py_None); resultobj = Py_None;
33663 return resultobj;
33664 fail:
33665 return NULL;
33666}
33667
33668
7f7aa166 33669static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33670 PyObject *resultobj = NULL;
d55e5bfc
RD
33671 wxPyControl *arg1 = (wxPyControl *) 0 ;
33672 int arg2 ;
33673 int arg3 ;
33674 int arg4 ;
33675 int arg5 ;
33676 int arg6 = (int) wxSIZE_AUTO ;
33677 PyObject * obj0 = 0 ;
33678 PyObject * obj1 = 0 ;
33679 PyObject * obj2 = 0 ;
33680 PyObject * obj3 = 0 ;
33681 PyObject * obj4 = 0 ;
33682 PyObject * obj5 = 0 ;
33683 char *kwnames[] = {
33684 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33685 };
33686
7f7aa166 33687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
33688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33689 if (SWIG_arg_fail(1)) SWIG_fail;
33690 {
32fe5131 33691 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
33692 if (SWIG_arg_fail(2)) SWIG_fail;
33693 }
33694 {
32fe5131 33695 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
33696 if (SWIG_arg_fail(3)) SWIG_fail;
33697 }
33698 {
32fe5131 33699 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
33700 if (SWIG_arg_fail(4)) SWIG_fail;
33701 }
33702 {
32fe5131 33703 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
33704 if (SWIG_arg_fail(5)) SWIG_fail;
33705 }
d55e5bfc 33706 if (obj5) {
36ed4f51 33707 {
32fe5131 33708 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
33709 if (SWIG_arg_fail(6)) SWIG_fail;
33710 }
d55e5bfc
RD
33711 }
33712 {
33713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33714 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
33715
33716 wxPyEndAllowThreads(__tstate);
33717 if (PyErr_Occurred()) SWIG_fail;
33718 }
33719 Py_INCREF(Py_None); resultobj = Py_None;
33720 return resultobj;
33721 fail:
33722 return NULL;
33723}
33724
33725
7f7aa166 33726static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33727 PyObject *resultobj = NULL;
d55e5bfc
RD
33728 wxPyControl *arg1 = (wxPyControl *) 0 ;
33729 int arg2 ;
33730 int arg3 ;
33731 PyObject * obj0 = 0 ;
33732 PyObject * obj1 = 0 ;
33733 PyObject * obj2 = 0 ;
33734 char *kwnames[] = {
33735 (char *) "self",(char *) "width",(char *) "height", NULL
33736 };
33737
7f7aa166 33738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33740 if (SWIG_arg_fail(1)) SWIG_fail;
33741 {
32fe5131 33742 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
33743 if (SWIG_arg_fail(2)) SWIG_fail;
33744 }
33745 {
32fe5131 33746 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
33747 if (SWIG_arg_fail(3)) SWIG_fail;
33748 }
d55e5bfc
RD
33749 {
33750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33751 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
33752
33753 wxPyEndAllowThreads(__tstate);
33754 if (PyErr_Occurred()) SWIG_fail;
33755 }
33756 Py_INCREF(Py_None); resultobj = Py_None;
33757 return resultobj;
33758 fail:
33759 return NULL;
33760}
33761
33762
7f7aa166 33763static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33764 PyObject *resultobj = NULL;
d55e5bfc
RD
33765 wxPyControl *arg1 = (wxPyControl *) 0 ;
33766 int arg2 ;
33767 int arg3 ;
33768 PyObject * obj0 = 0 ;
33769 PyObject * obj1 = 0 ;
33770 PyObject * obj2 = 0 ;
33771 char *kwnames[] = {
33772 (char *) "self",(char *) "x",(char *) "y", NULL
33773 };
33774
7f7aa166 33775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33777 if (SWIG_arg_fail(1)) SWIG_fail;
33778 {
32fe5131 33779 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
33780 if (SWIG_arg_fail(2)) SWIG_fail;
33781 }
33782 {
32fe5131 33783 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
33784 if (SWIG_arg_fail(3)) SWIG_fail;
33785 }
d55e5bfc
RD
33786 {
33787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33788 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
33789
33790 wxPyEndAllowThreads(__tstate);
33791 if (PyErr_Occurred()) SWIG_fail;
33792 }
33793 Py_INCREF(Py_None); resultobj = Py_None;
33794 return resultobj;
33795 fail:
33796 return NULL;
33797}
33798
33799
7f7aa166 33800static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33801 PyObject *resultobj = NULL;
d55e5bfc
RD
33802 wxPyControl *arg1 = (wxPyControl *) 0 ;
33803 int *arg2 = (int *) 0 ;
33804 int *arg3 = (int *) 0 ;
33805 int temp2 ;
c370783e 33806 int res2 = 0 ;
d55e5bfc 33807 int temp3 ;
c370783e 33808 int res3 = 0 ;
d55e5bfc
RD
33809 PyObject * obj0 = 0 ;
33810 char *kwnames[] = {
33811 (char *) "self", NULL
33812 };
33813
c370783e
RD
33814 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33815 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 33816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
33817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33819 {
33820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33821 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
33822
33823 wxPyEndAllowThreads(__tstate);
33824 if (PyErr_Occurred()) SWIG_fail;
33825 }
33826 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
33827 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33828 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33829 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33830 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
33831 return resultobj;
33832 fail:
33833 return NULL;
33834}
33835
33836
7f7aa166 33837static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33838 PyObject *resultobj = NULL;
d55e5bfc
RD
33839 wxPyControl *arg1 = (wxPyControl *) 0 ;
33840 int *arg2 = (int *) 0 ;
33841 int *arg3 = (int *) 0 ;
33842 int temp2 ;
c370783e 33843 int res2 = 0 ;
d55e5bfc 33844 int temp3 ;
c370783e 33845 int res3 = 0 ;
d55e5bfc
RD
33846 PyObject * obj0 = 0 ;
33847 char *kwnames[] = {
33848 (char *) "self", NULL
33849 };
33850
c370783e
RD
33851 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33852 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 33853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
33854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33856 {
33857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33858 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
33859
33860 wxPyEndAllowThreads(__tstate);
33861 if (PyErr_Occurred()) SWIG_fail;
33862 }
33863 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
33864 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33865 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33866 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33867 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
33868 return resultobj;
33869 fail:
33870 return NULL;
33871}
33872
33873
7f7aa166 33874static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33875 PyObject *resultobj = NULL;
d55e5bfc
RD
33876 wxPyControl *arg1 = (wxPyControl *) 0 ;
33877 int *arg2 = (int *) 0 ;
33878 int *arg3 = (int *) 0 ;
33879 int temp2 ;
c370783e 33880 int res2 = 0 ;
d55e5bfc 33881 int temp3 ;
c370783e 33882 int res3 = 0 ;
d55e5bfc
RD
33883 PyObject * obj0 = 0 ;
33884 char *kwnames[] = {
33885 (char *) "self", NULL
33886 };
33887
c370783e
RD
33888 arg2 = &temp2; res2 = SWIG_NEWOBJ;
33889 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7f7aa166 33890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
33891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33893 {
33894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33895 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
33896
33897 wxPyEndAllowThreads(__tstate);
33898 if (PyErr_Occurred()) SWIG_fail;
33899 }
33900 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
33901 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
33902 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
33903 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
33904 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
33905 return resultobj;
33906 fail:
33907 return NULL;
33908}
33909
33910
7f7aa166 33911static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33912 PyObject *resultobj = NULL;
d55e5bfc
RD
33913 wxPyControl *arg1 = (wxPyControl *) 0 ;
33914 wxSize result;
33915 PyObject * obj0 = 0 ;
33916 char *kwnames[] = {
33917 (char *) "self", NULL
33918 };
33919
7f7aa166 33920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
33921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33923 {
33924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33925 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
33926
33927 wxPyEndAllowThreads(__tstate);
33928 if (PyErr_Occurred()) SWIG_fail;
33929 }
33930 {
33931 wxSize * resultptr;
32fe5131 33932 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
33933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33934 }
33935 return resultobj;
33936 fail:
33937 return NULL;
33938}
33939
33940
7f7aa166 33941static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33942 PyObject *resultobj = NULL;
d55e5bfc
RD
33943 wxPyControl *arg1 = (wxPyControl *) 0 ;
33944 wxSize result;
33945 PyObject * obj0 = 0 ;
33946 char *kwnames[] = {
33947 (char *) "self", NULL
33948 };
33949
7f7aa166 33950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
33951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33953 {
33954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33955 result = ((wxPyControl const *)arg1)->DoGetBestSize();
d55e5bfc
RD
33956
33957 wxPyEndAllowThreads(__tstate);
33958 if (PyErr_Occurred()) SWIG_fail;
33959 }
33960 {
33961 wxSize * resultptr;
32fe5131 33962 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
33963 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33964 }
33965 return resultobj;
33966 fail:
33967 return NULL;
33968}
33969
33970
7f7aa166 33971static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33972 PyObject *resultobj = NULL;
d55e5bfc
RD
33973 wxPyControl *arg1 = (wxPyControl *) 0 ;
33974 PyObject * obj0 = 0 ;
33975 char *kwnames[] = {
33976 (char *) "self", NULL
33977 };
33978
7f7aa166 33979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
33980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33982 {
33983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 33984 (arg1)->InitDialog();
d55e5bfc
RD
33985
33986 wxPyEndAllowThreads(__tstate);
33987 if (PyErr_Occurred()) SWIG_fail;
33988 }
33989 Py_INCREF(Py_None); resultobj = Py_None;
33990 return resultobj;
33991 fail:
33992 return NULL;
33993}
33994
33995
7f7aa166 33996static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33997 PyObject *resultobj = NULL;
d55e5bfc
RD
33998 wxPyControl *arg1 = (wxPyControl *) 0 ;
33999 bool result;
34000 PyObject * obj0 = 0 ;
34001 char *kwnames[] = {
34002 (char *) "self", NULL
34003 };
34004
7f7aa166 34005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
34006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34007 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34008 {
34009 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34010 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
34011
34012 wxPyEndAllowThreads(__tstate);
34013 if (PyErr_Occurred()) SWIG_fail;
34014 }
34015 {
34016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34017 }
34018 return resultobj;
34019 fail:
34020 return NULL;
34021}
34022
34023
7f7aa166 34024static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34025 PyObject *resultobj = NULL;
d55e5bfc
RD
34026 wxPyControl *arg1 = (wxPyControl *) 0 ;
34027 bool result;
34028 PyObject * obj0 = 0 ;
34029 char *kwnames[] = {
34030 (char *) "self", NULL
34031 };
34032
7f7aa166 34033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
34034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34036 {
34037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34038 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
34039
34040 wxPyEndAllowThreads(__tstate);
34041 if (PyErr_Occurred()) SWIG_fail;
34042 }
34043 {
34044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34045 }
34046 return resultobj;
34047 fail:
34048 return NULL;
34049}
34050
34051
7f7aa166 34052static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34053 PyObject *resultobj = NULL;
d55e5bfc
RD
34054 wxPyControl *arg1 = (wxPyControl *) 0 ;
34055 bool result;
34056 PyObject * obj0 = 0 ;
34057 char *kwnames[] = {
34058 (char *) "self", NULL
34059 };
34060
7f7aa166 34061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
34062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34064 {
34065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34066 result = (bool)(arg1)->Validate();
d55e5bfc
RD
34067
34068 wxPyEndAllowThreads(__tstate);
34069 if (PyErr_Occurred()) SWIG_fail;
34070 }
34071 {
34072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34073 }
34074 return resultobj;
34075 fail:
34076 return NULL;
34077}
34078
34079
7f7aa166 34080static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34081 PyObject *resultobj = NULL;
d55e5bfc
RD
34082 wxPyControl *arg1 = (wxPyControl *) 0 ;
34083 bool result;
34084 PyObject * obj0 = 0 ;
34085 char *kwnames[] = {
34086 (char *) "self", NULL
34087 };
34088
7f7aa166 34089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
34090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34092 {
34093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34094 result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
d55e5bfc
RD
34095
34096 wxPyEndAllowThreads(__tstate);
34097 if (PyErr_Occurred()) SWIG_fail;
34098 }
34099 {
34100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34101 }
34102 return resultobj;
34103 fail:
34104 return NULL;
34105}
34106
34107
7f7aa166 34108static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34109 PyObject *resultobj = NULL;
d55e5bfc
RD
34110 wxPyControl *arg1 = (wxPyControl *) 0 ;
34111 bool result;
34112 PyObject * obj0 = 0 ;
34113 char *kwnames[] = {
34114 (char *) "self", NULL
34115 };
34116
7f7aa166 34117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
34118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34120 {
34121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34122 result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
34123
34124 wxPyEndAllowThreads(__tstate);
34125 if (PyErr_Occurred()) SWIG_fail;
34126 }
34127 {
34128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34129 }
34130 return resultobj;
34131 fail:
34132 return NULL;
34133}
34134
34135
7f7aa166 34136static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34137 PyObject *resultobj = NULL;
d55e5bfc
RD
34138 wxPyControl *arg1 = (wxPyControl *) 0 ;
34139 wxSize result;
34140 PyObject * obj0 = 0 ;
34141 char *kwnames[] = {
34142 (char *) "self", NULL
34143 };
34144
7f7aa166 34145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
34146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34148 {
34149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34150 result = ((wxPyControl const *)arg1)->GetMaxSize();
d55e5bfc
RD
34151
34152 wxPyEndAllowThreads(__tstate);
34153 if (PyErr_Occurred()) SWIG_fail;
34154 }
34155 {
34156 wxSize * resultptr;
32fe5131 34157 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
34158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34159 }
34160 return resultobj;
34161 fail:
34162 return NULL;
34163}
34164
34165
7f7aa166 34166static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34167 PyObject *resultobj = NULL;
d55e5bfc
RD
34168 wxPyControl *arg1 = (wxPyControl *) 0 ;
34169 wxWindow *arg2 = (wxWindow *) 0 ;
34170 PyObject * obj0 = 0 ;
34171 PyObject * obj1 = 0 ;
34172 char *kwnames[] = {
34173 (char *) "self",(char *) "child", NULL
34174 };
34175
7f7aa166 34176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34178 if (SWIG_arg_fail(1)) SWIG_fail;
34179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34180 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34181 {
34182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34183 (arg1)->AddChild(arg2);
d55e5bfc
RD
34184
34185 wxPyEndAllowThreads(__tstate);
34186 if (PyErr_Occurred()) SWIG_fail;
34187 }
34188 Py_INCREF(Py_None); resultobj = Py_None;
34189 return resultobj;
34190 fail:
34191 return NULL;
34192}
34193
34194
7f7aa166 34195static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34196 PyObject *resultobj = NULL;
d55e5bfc
RD
34197 wxPyControl *arg1 = (wxPyControl *) 0 ;
34198 wxWindow *arg2 = (wxWindow *) 0 ;
34199 PyObject * obj0 = 0 ;
34200 PyObject * obj1 = 0 ;
34201 char *kwnames[] = {
34202 (char *) "self",(char *) "child", NULL
34203 };
34204
7f7aa166 34205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34207 if (SWIG_arg_fail(1)) SWIG_fail;
34208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34209 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34210 {
34211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34212 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
34213
34214 wxPyEndAllowThreads(__tstate);
34215 if (PyErr_Occurred()) SWIG_fail;
34216 }
34217 Py_INCREF(Py_None); resultobj = Py_None;
34218 return resultobj;
34219 fail:
34220 return NULL;
34221}
34222
34223
7f7aa166 34224static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34225 PyObject *resultobj = NULL;
d55e5bfc
RD
34226 wxPyControl *arg1 = (wxPyControl *) 0 ;
34227 bool result;
34228 PyObject * obj0 = 0 ;
34229 char *kwnames[] = {
34230 (char *) "self", NULL
34231 };
34232
7f7aa166 34233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
34234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34236 {
34237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34238 result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
34239
34240 wxPyEndAllowThreads(__tstate);
34241 if (PyErr_Occurred()) SWIG_fail;
34242 }
34243 {
34244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34245 }
34246 return resultobj;
34247 fail:
34248 return NULL;
34249}
34250
34251
7f7aa166 34252static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34253 PyObject *resultobj = NULL;
a5ee0656
RD
34254 wxPyControl *arg1 = (wxPyControl *) 0 ;
34255 wxVisualAttributes result;
34256 PyObject * obj0 = 0 ;
34257 char *kwnames[] = {
34258 (char *) "self", NULL
34259 };
34260
7f7aa166 34261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
34262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34263 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
34264 {
34265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34266 result = (arg1)->GetDefaultAttributes();
a5ee0656
RD
34267
34268 wxPyEndAllowThreads(__tstate);
34269 if (PyErr_Occurred()) SWIG_fail;
34270 }
34271 {
34272 wxVisualAttributes * resultptr;
32fe5131 34273 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
a5ee0656
RD
34274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34275 }
34276 return resultobj;
34277 fail:
34278 return NULL;
34279}
34280
34281
7f7aa166 34282static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34283 PyObject *resultobj = NULL;
8d38bd1d
RD
34284 wxPyControl *arg1 = (wxPyControl *) 0 ;
34285 PyObject * obj0 = 0 ;
34286 char *kwnames[] = {
34287 (char *) "self", NULL
34288 };
34289
7f7aa166 34290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
34291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34292 if (SWIG_arg_fail(1)) SWIG_fail;
34293 {
34294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 34295 (arg1)->OnInternalIdle();
8d38bd1d
RD
34296
34297 wxPyEndAllowThreads(__tstate);
34298 if (PyErr_Occurred()) SWIG_fail;
34299 }
34300 Py_INCREF(Py_None); resultobj = Py_None;
34301 return resultobj;
34302 fail:
34303 return NULL;
34304}
34305
34306
c370783e 34307static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34308 PyObject *obj;
34309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34310 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
34311 Py_INCREF(obj);
34312 return Py_BuildValue((char *)"");
34313}
c370783e 34314static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34315 PyObject *resultobj = NULL;
d55e5bfc
RD
34316 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
34317 int arg2 = (int) 0 ;
34318 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34319 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34320 wxHelpEvent *result;
34321 wxPoint temp3 ;
34322 PyObject * obj0 = 0 ;
34323 PyObject * obj1 = 0 ;
34324 PyObject * obj2 = 0 ;
34325 char *kwnames[] = {
34326 (char *) "type",(char *) "winid",(char *) "pt", NULL
34327 };
34328
34329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
34330 if (obj0) {
36ed4f51 34331 {
32fe5131 34332 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
34333 if (SWIG_arg_fail(1)) SWIG_fail;
34334 }
d55e5bfc
RD
34335 }
34336 if (obj1) {
36ed4f51 34337 {
32fe5131 34338 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
34339 if (SWIG_arg_fail(2)) SWIG_fail;
34340 }
d55e5bfc
RD
34341 }
34342 if (obj2) {
34343 {
34344 arg3 = &temp3;
34345 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34346 }
34347 }
34348 {
34349 PyThreadState* __tstate = wxPyBeginAllowThreads();
34350 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
34351
34352 wxPyEndAllowThreads(__tstate);
34353 if (PyErr_Occurred()) SWIG_fail;
34354 }
34355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
34356 return resultobj;
34357 fail:
34358 return NULL;
34359}
34360
34361
c370783e 34362static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34363 PyObject *resultobj = NULL;
d55e5bfc
RD
34364 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34365 wxPoint result;
34366 PyObject * obj0 = 0 ;
34367 char *kwnames[] = {
34368 (char *) "self", NULL
34369 };
34370
34371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
34372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34374 {
34375 PyThreadState* __tstate = wxPyBeginAllowThreads();
34376 result = ((wxHelpEvent const *)arg1)->GetPosition();
34377
34378 wxPyEndAllowThreads(__tstate);
34379 if (PyErr_Occurred()) SWIG_fail;
34380 }
34381 {
34382 wxPoint * resultptr;
32fe5131 34383 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
d55e5bfc
RD
34384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34385 }
34386 return resultobj;
34387 fail:
34388 return NULL;
34389}
34390
34391
c370783e 34392static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34393 PyObject *resultobj = NULL;
d55e5bfc
RD
34394 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34395 wxPoint *arg2 = 0 ;
34396 wxPoint temp2 ;
34397 PyObject * obj0 = 0 ;
34398 PyObject * obj1 = 0 ;
34399 char *kwnames[] = {
34400 (char *) "self",(char *) "pos", NULL
34401 };
34402
34403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34406 {
34407 arg2 = &temp2;
34408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34409 }
34410 {
34411 PyThreadState* __tstate = wxPyBeginAllowThreads();
34412 (arg1)->SetPosition((wxPoint const &)*arg2);
34413
34414 wxPyEndAllowThreads(__tstate);
34415 if (PyErr_Occurred()) SWIG_fail;
34416 }
34417 Py_INCREF(Py_None); resultobj = Py_None;
34418 return resultobj;
34419 fail:
34420 return NULL;
34421}
34422
34423
c370783e 34424static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34425 PyObject *resultobj = NULL;
d55e5bfc
RD
34426 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34427 wxString *result;
34428 PyObject * obj0 = 0 ;
34429 char *kwnames[] = {
34430 (char *) "self", NULL
34431 };
34432
34433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
34434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34436 {
34437 PyThreadState* __tstate = wxPyBeginAllowThreads();
34438 {
34439 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
34440 result = (wxString *) &_result_ref;
34441 }
34442
34443 wxPyEndAllowThreads(__tstate);
34444 if (PyErr_Occurred()) SWIG_fail;
34445 }
34446 {
34447#if wxUSE_UNICODE
34448 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34449#else
34450 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34451#endif
34452 }
34453 return resultobj;
34454 fail:
34455 return NULL;
34456}
34457
34458
c370783e 34459static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34460 PyObject *resultobj = NULL;
d55e5bfc
RD
34461 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34462 wxString *arg2 = 0 ;
b411df4a 34463 bool temp2 = false ;
d55e5bfc
RD
34464 PyObject * obj0 = 0 ;
34465 PyObject * obj1 = 0 ;
34466 char *kwnames[] = {
34467 (char *) "self",(char *) "link", NULL
34468 };
34469
34470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34473 {
34474 arg2 = wxString_in_helper(obj1);
34475 if (arg2 == NULL) SWIG_fail;
b411df4a 34476 temp2 = true;
d55e5bfc
RD
34477 }
34478 {
34479 PyThreadState* __tstate = wxPyBeginAllowThreads();
34480 (arg1)->SetLink((wxString const &)*arg2);
34481
34482 wxPyEndAllowThreads(__tstate);
34483 if (PyErr_Occurred()) SWIG_fail;
34484 }
34485 Py_INCREF(Py_None); resultobj = Py_None;
34486 {
34487 if (temp2)
34488 delete arg2;
34489 }
34490 return resultobj;
34491 fail:
34492 {
34493 if (temp2)
34494 delete arg2;
34495 }
34496 return NULL;
34497}
34498
34499
c370783e 34500static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34501 PyObject *resultobj = NULL;
d55e5bfc
RD
34502 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34503 wxString *result;
34504 PyObject * obj0 = 0 ;
34505 char *kwnames[] = {
34506 (char *) "self", NULL
34507 };
34508
34509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
34510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34512 {
34513 PyThreadState* __tstate = wxPyBeginAllowThreads();
34514 {
34515 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
34516 result = (wxString *) &_result_ref;
34517 }
34518
34519 wxPyEndAllowThreads(__tstate);
34520 if (PyErr_Occurred()) SWIG_fail;
34521 }
34522 {
34523#if wxUSE_UNICODE
34524 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34525#else
34526 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34527#endif
34528 }
34529 return resultobj;
34530 fail:
34531 return NULL;
34532}
34533
34534
c370783e 34535static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34536 PyObject *resultobj = NULL;
d55e5bfc
RD
34537 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34538 wxString *arg2 = 0 ;
b411df4a 34539 bool temp2 = false ;
d55e5bfc
RD
34540 PyObject * obj0 = 0 ;
34541 PyObject * obj1 = 0 ;
34542 char *kwnames[] = {
34543 (char *) "self",(char *) "target", NULL
34544 };
34545
34546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34549 {
34550 arg2 = wxString_in_helper(obj1);
34551 if (arg2 == NULL) SWIG_fail;
b411df4a 34552 temp2 = true;
d55e5bfc
RD
34553 }
34554 {
34555 PyThreadState* __tstate = wxPyBeginAllowThreads();
34556 (arg1)->SetTarget((wxString const &)*arg2);
34557
34558 wxPyEndAllowThreads(__tstate);
34559 if (PyErr_Occurred()) SWIG_fail;
34560 }
34561 Py_INCREF(Py_None); resultobj = Py_None;
34562 {
34563 if (temp2)
34564 delete arg2;
34565 }
34566 return resultobj;
34567 fail:
34568 {
34569 if (temp2)
34570 delete arg2;
34571 }
34572 return NULL;
34573}
34574
34575
c370783e 34576static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34577 PyObject *obj;
34578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34579 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
34580 Py_INCREF(obj);
34581 return Py_BuildValue((char *)"");
34582}
c370783e 34583static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34584 PyObject *resultobj = NULL;
d55e5bfc 34585 wxWindow *arg1 = (wxWindow *) NULL ;
b411df4a 34586 bool arg2 = (bool) true ;
d55e5bfc
RD
34587 wxContextHelp *result;
34588 PyObject * obj0 = 0 ;
34589 PyObject * obj1 = 0 ;
34590 char *kwnames[] = {
34591 (char *) "window",(char *) "doNow", NULL
34592 };
34593
34594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
34595 if (obj0) {
36ed4f51
RD
34596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34598 }
34599 if (obj1) {
36ed4f51 34600 {
32fe5131 34601 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
34602 if (SWIG_arg_fail(2)) SWIG_fail;
34603 }
d55e5bfc
RD
34604 }
34605 {
0439c23b 34606 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34607 PyThreadState* __tstate = wxPyBeginAllowThreads();
34608 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
34609
34610 wxPyEndAllowThreads(__tstate);
110da5b0 34611 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34612 }
34613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
34614 return resultobj;
34615 fail:
34616 return NULL;
34617}
34618
34619
c370783e 34620static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34621 PyObject *resultobj = NULL;
d55e5bfc
RD
34622 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34623 PyObject * obj0 = 0 ;
34624 char *kwnames[] = {
34625 (char *) "self", NULL
34626 };
34627
34628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
34629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34630 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34631 {
34632 PyThreadState* __tstate = wxPyBeginAllowThreads();
34633 delete arg1;
34634
34635 wxPyEndAllowThreads(__tstate);
34636 if (PyErr_Occurred()) SWIG_fail;
34637 }
34638 Py_INCREF(Py_None); resultobj = Py_None;
34639 return resultobj;
34640 fail:
34641 return NULL;
34642}
34643
34644
c370783e 34645static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34646 PyObject *resultobj = NULL;
d55e5bfc
RD
34647 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34648 wxWindow *arg2 = (wxWindow *) NULL ;
34649 bool result;
34650 PyObject * obj0 = 0 ;
34651 PyObject * obj1 = 0 ;
34652 char *kwnames[] = {
34653 (char *) "self",(char *) "window", NULL
34654 };
34655
34656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34659 if (obj1) {
36ed4f51
RD
34660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34661 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34662 }
34663 {
34664 PyThreadState* __tstate = wxPyBeginAllowThreads();
34665 result = (bool)(arg1)->BeginContextHelp(arg2);
34666
34667 wxPyEndAllowThreads(__tstate);
34668 if (PyErr_Occurred()) SWIG_fail;
34669 }
34670 {
34671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34672 }
34673 return resultobj;
34674 fail:
34675 return NULL;
34676}
34677
34678
c370783e 34679static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34680 PyObject *resultobj = NULL;
d55e5bfc
RD
34681 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34682 bool result;
34683 PyObject * obj0 = 0 ;
34684 char *kwnames[] = {
34685 (char *) "self", NULL
34686 };
34687
34688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
34689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34691 {
34692 PyThreadState* __tstate = wxPyBeginAllowThreads();
34693 result = (bool)(arg1)->EndContextHelp();
34694
34695 wxPyEndAllowThreads(__tstate);
34696 if (PyErr_Occurred()) SWIG_fail;
34697 }
34698 {
34699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34700 }
34701 return resultobj;
34702 fail:
34703 return NULL;
34704}
34705
34706
c370783e 34707static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34708 PyObject *obj;
34709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34710 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
34711 Py_INCREF(obj);
34712 return Py_BuildValue((char *)"");
34713}
c370783e 34714static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34715 PyObject *resultobj = NULL;
d55e5bfc
RD
34716 wxWindow *arg1 = (wxWindow *) 0 ;
34717 int arg2 = (int) wxID_CONTEXT_HELP ;
34718 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34719 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34720 wxSize const &arg4_defvalue = wxDefaultSize ;
34721 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34722 long arg5 = (long) wxBU_AUTODRAW ;
34723 wxContextHelpButton *result;
34724 wxPoint temp3 ;
34725 wxSize temp4 ;
34726 PyObject * obj0 = 0 ;
34727 PyObject * obj1 = 0 ;
34728 PyObject * obj2 = 0 ;
34729 PyObject * obj3 = 0 ;
34730 PyObject * obj4 = 0 ;
34731 char *kwnames[] = {
34732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34733 };
34734
34735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34737 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34738 if (obj1) {
36ed4f51 34739 {
32fe5131 34740 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
34741 if (SWIG_arg_fail(2)) SWIG_fail;
34742 }
d55e5bfc
RD
34743 }
34744 if (obj2) {
34745 {
34746 arg3 = &temp3;
34747 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34748 }
34749 }
34750 if (obj3) {
34751 {
34752 arg4 = &temp4;
34753 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34754 }
34755 }
34756 if (obj4) {
36ed4f51 34757 {
32fe5131 34758 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
34759 if (SWIG_arg_fail(5)) SWIG_fail;
34760 }
d55e5bfc
RD
34761 }
34762 {
0439c23b 34763 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34764 PyThreadState* __tstate = wxPyBeginAllowThreads();
34765 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
34766
34767 wxPyEndAllowThreads(__tstate);
110da5b0 34768 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34769 }
34770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
34771 return resultobj;
34772 fail:
34773 return NULL;
34774}
34775
34776
c370783e 34777static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34778 PyObject *obj;
34779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34780 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
34781 Py_INCREF(obj);
34782 return Py_BuildValue((char *)"");
34783}
c370783e 34784static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34785 PyObject *resultobj = NULL;
d55e5bfc
RD
34786 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34787 wxHelpProvider *result;
34788 PyObject * obj0 = 0 ;
34789 char *kwnames[] = {
34790 (char *) "helpProvider", NULL
34791 };
34792
34793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
7e08d4ef 34794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 34795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34796 {
34797 PyThreadState* __tstate = wxPyBeginAllowThreads();
34798 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
34799
34800 wxPyEndAllowThreads(__tstate);
34801 if (PyErr_Occurred()) SWIG_fail;
34802 }
7e08d4ef 34803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1);
d55e5bfc
RD
34804 return resultobj;
34805 fail:
34806 return NULL;
34807}
34808
34809
c370783e 34810static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34811 PyObject *resultobj = NULL;
d55e5bfc
RD
34812 wxHelpProvider *result;
34813 char *kwnames[] = {
34814 NULL
34815 };
34816
34817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
34818 {
34819 PyThreadState* __tstate = wxPyBeginAllowThreads();
34820 result = (wxHelpProvider *)wxHelpProvider::Get();
34821
34822 wxPyEndAllowThreads(__tstate);
34823 if (PyErr_Occurred()) SWIG_fail;
34824 }
34825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
34826 return resultobj;
34827 fail:
34828 return NULL;
34829}
34830
34831
c370783e 34832static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34833 PyObject *resultobj = NULL;
d55e5bfc
RD
34834 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34835 wxWindow *arg2 = (wxWindow *) 0 ;
34836 wxString result;
34837 PyObject * obj0 = 0 ;
34838 PyObject * obj1 = 0 ;
34839 char *kwnames[] = {
34840 (char *) "self",(char *) "window", NULL
34841 };
34842
34843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34845 if (SWIG_arg_fail(1)) SWIG_fail;
34846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34847 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34848 {
34849 PyThreadState* __tstate = wxPyBeginAllowThreads();
34850 result = (arg1)->GetHelp((wxWindow const *)arg2);
34851
34852 wxPyEndAllowThreads(__tstate);
34853 if (PyErr_Occurred()) SWIG_fail;
34854 }
34855 {
34856#if wxUSE_UNICODE
34857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34858#else
34859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34860#endif
34861 }
34862 return resultobj;
34863 fail:
34864 return NULL;
34865}
34866
34867
c370783e 34868static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34869 PyObject *resultobj = NULL;
d55e5bfc
RD
34870 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34871 wxWindow *arg2 = (wxWindow *) 0 ;
34872 bool result;
34873 PyObject * obj0 = 0 ;
34874 PyObject * obj1 = 0 ;
34875 char *kwnames[] = {
34876 (char *) "self",(char *) "window", NULL
34877 };
34878
34879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34881 if (SWIG_arg_fail(1)) SWIG_fail;
34882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34883 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34884 {
34885 PyThreadState* __tstate = wxPyBeginAllowThreads();
34886 result = (bool)(arg1)->ShowHelp(arg2);
34887
34888 wxPyEndAllowThreads(__tstate);
34889 if (PyErr_Occurred()) SWIG_fail;
34890 }
34891 {
34892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34893 }
34894 return resultobj;
34895 fail:
34896 return NULL;
34897}
34898
34899
c370783e 34900static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34901 PyObject *resultobj = NULL;
d55e5bfc
RD
34902 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34903 wxWindow *arg2 = (wxWindow *) 0 ;
34904 wxString *arg3 = 0 ;
b411df4a 34905 bool temp3 = false ;
d55e5bfc
RD
34906 PyObject * obj0 = 0 ;
34907 PyObject * obj1 = 0 ;
34908 PyObject * obj2 = 0 ;
34909 char *kwnames[] = {
34910 (char *) "self",(char *) "window",(char *) "text", NULL
34911 };
34912
34913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34915 if (SWIG_arg_fail(1)) SWIG_fail;
34916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34917 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34918 {
34919 arg3 = wxString_in_helper(obj2);
34920 if (arg3 == NULL) SWIG_fail;
b411df4a 34921 temp3 = true;
d55e5bfc
RD
34922 }
34923 {
34924 PyThreadState* __tstate = wxPyBeginAllowThreads();
34925 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
34926
34927 wxPyEndAllowThreads(__tstate);
34928 if (PyErr_Occurred()) SWIG_fail;
34929 }
34930 Py_INCREF(Py_None); resultobj = Py_None;
34931 {
34932 if (temp3)
34933 delete arg3;
34934 }
34935 return resultobj;
34936 fail:
34937 {
34938 if (temp3)
34939 delete arg3;
34940 }
34941 return NULL;
34942}
34943
34944
c370783e 34945static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34946 PyObject *resultobj = NULL;
d55e5bfc
RD
34947 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34948 int arg2 ;
34949 wxString *arg3 = 0 ;
b411df4a 34950 bool temp3 = false ;
d55e5bfc
RD
34951 PyObject * obj0 = 0 ;
34952 PyObject * obj1 = 0 ;
34953 PyObject * obj2 = 0 ;
34954 char *kwnames[] = {
34955 (char *) "self",(char *) "id",(char *) "text", NULL
34956 };
34957
34958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34960 if (SWIG_arg_fail(1)) SWIG_fail;
34961 {
32fe5131 34962 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
34963 if (SWIG_arg_fail(2)) SWIG_fail;
34964 }
d55e5bfc
RD
34965 {
34966 arg3 = wxString_in_helper(obj2);
34967 if (arg3 == NULL) SWIG_fail;
b411df4a 34968 temp3 = true;
d55e5bfc
RD
34969 }
34970 {
34971 PyThreadState* __tstate = wxPyBeginAllowThreads();
34972 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
34973
34974 wxPyEndAllowThreads(__tstate);
34975 if (PyErr_Occurred()) SWIG_fail;
34976 }
34977 Py_INCREF(Py_None); resultobj = Py_None;
34978 {
34979 if (temp3)
34980 delete arg3;
34981 }
34982 return resultobj;
34983 fail:
34984 {
34985 if (temp3)
34986 delete arg3;
34987 }
34988 return NULL;
34989}
34990
34991
c370783e 34992static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34993 PyObject *resultobj = NULL;
d55e5bfc
RD
34994 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34995 wxWindow *arg2 = (wxWindow *) 0 ;
34996 PyObject * obj0 = 0 ;
34997 PyObject * obj1 = 0 ;
34998 char *kwnames[] = {
34999 (char *) "self",(char *) "window", NULL
35000 };
35001
35002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35004 if (SWIG_arg_fail(1)) SWIG_fail;
35005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35006 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35007 {
35008 PyThreadState* __tstate = wxPyBeginAllowThreads();
35009 (arg1)->RemoveHelp(arg2);
35010
35011 wxPyEndAllowThreads(__tstate);
35012 if (PyErr_Occurred()) SWIG_fail;
35013 }
35014 Py_INCREF(Py_None); resultobj = Py_None;
35015 return resultobj;
35016 fail:
35017 return NULL;
35018}
35019
35020
c370783e 35021static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35022 PyObject *resultobj = NULL;
d55e5bfc
RD
35023 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35024 PyObject * obj0 = 0 ;
35025 char *kwnames[] = {
35026 (char *) "self", NULL
35027 };
35028
35029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
35030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35032 {
35033 PyThreadState* __tstate = wxPyBeginAllowThreads();
35034 wxHelpProvider_Destroy(arg1);
35035
35036 wxPyEndAllowThreads(__tstate);
35037 if (PyErr_Occurred()) SWIG_fail;
35038 }
35039 Py_INCREF(Py_None); resultobj = Py_None;
35040 return resultobj;
35041 fail:
35042 return NULL;
35043}
35044
35045
c370783e 35046static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35047 PyObject *obj;
35048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35049 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
35050 Py_INCREF(obj);
35051 return Py_BuildValue((char *)"");
35052}
c370783e 35053static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35054 PyObject *resultobj = NULL;
d55e5bfc
RD
35055 wxSimpleHelpProvider *result;
35056 char *kwnames[] = {
35057 NULL
35058 };
35059
35060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
35061 {
35062 PyThreadState* __tstate = wxPyBeginAllowThreads();
35063 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
35064
35065 wxPyEndAllowThreads(__tstate);
35066 if (PyErr_Occurred()) SWIG_fail;
35067 }
35068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
35069 return resultobj;
35070 fail:
35071 return NULL;
35072}
35073
35074
c370783e 35075static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35076 PyObject *obj;
35077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35078 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
35079 Py_INCREF(obj);
35080 return Py_BuildValue((char *)"");
35081}
c370783e 35082static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35083 PyObject *resultobj = NULL;
d55e5bfc
RD
35084 wxBitmap *arg1 = 0 ;
35085 wxCursor const &arg2_defvalue = wxNullCursor ;
35086 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35087 wxGenericDragImage *result;
35088 PyObject * obj0 = 0 ;
35089 PyObject * obj1 = 0 ;
35090 char *kwnames[] = {
35091 (char *) "image",(char *) "cursor", NULL
35092 };
35093
35094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35095 {
35096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35097 if (SWIG_arg_fail(1)) SWIG_fail;
35098 if (arg1 == NULL) {
35099 SWIG_null_ref("wxBitmap");
35100 }
35101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35102 }
35103 if (obj1) {
36ed4f51
RD
35104 {
35105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35106 if (SWIG_arg_fail(2)) SWIG_fail;
35107 if (arg2 == NULL) {
35108 SWIG_null_ref("wxCursor");
35109 }
35110 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35111 }
35112 }
35113 {
0439c23b 35114 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35115 PyThreadState* __tstate = wxPyBeginAllowThreads();
35116 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
35117
35118 wxPyEndAllowThreads(__tstate);
110da5b0 35119 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35120 }
35121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35122 return resultobj;
35123 fail:
35124 return NULL;
35125}
35126
35127
c370783e 35128static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35129 PyObject *resultobj = NULL;
d55e5bfc
RD
35130 wxIcon *arg1 = 0 ;
35131 wxCursor const &arg2_defvalue = wxNullCursor ;
35132 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35133 wxGenericDragImage *result;
35134 PyObject * obj0 = 0 ;
35135 PyObject * obj1 = 0 ;
35136 char *kwnames[] = {
35137 (char *) "image",(char *) "cursor", NULL
35138 };
35139
35140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35141 {
35142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
35143 if (SWIG_arg_fail(1)) SWIG_fail;
35144 if (arg1 == NULL) {
35145 SWIG_null_ref("wxIcon");
35146 }
35147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35148 }
35149 if (obj1) {
36ed4f51
RD
35150 {
35151 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35152 if (SWIG_arg_fail(2)) SWIG_fail;
35153 if (arg2 == NULL) {
35154 SWIG_null_ref("wxCursor");
35155 }
35156 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35157 }
35158 }
35159 {
0439c23b 35160 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35161 PyThreadState* __tstate = wxPyBeginAllowThreads();
35162 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
35163
35164 wxPyEndAllowThreads(__tstate);
110da5b0 35165 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35166 }
35167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35168 return resultobj;
35169 fail:
35170 return NULL;
35171}
35172
35173
c370783e 35174static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35175 PyObject *resultobj = NULL;
d55e5bfc
RD
35176 wxString *arg1 = 0 ;
35177 wxCursor const &arg2_defvalue = wxNullCursor ;
35178 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35179 wxGenericDragImage *result;
b411df4a 35180 bool temp1 = false ;
d55e5bfc
RD
35181 PyObject * obj0 = 0 ;
35182 PyObject * obj1 = 0 ;
35183 char *kwnames[] = {
35184 (char *) "str",(char *) "cursor", NULL
35185 };
35186
35187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
35188 {
35189 arg1 = wxString_in_helper(obj0);
35190 if (arg1 == NULL) SWIG_fail;
b411df4a 35191 temp1 = true;
d55e5bfc
RD
35192 }
35193 if (obj1) {
36ed4f51
RD
35194 {
35195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35196 if (SWIG_arg_fail(2)) SWIG_fail;
35197 if (arg2 == NULL) {
35198 SWIG_null_ref("wxCursor");
35199 }
35200 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35201 }
35202 }
35203 {
0439c23b 35204 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35205 PyThreadState* __tstate = wxPyBeginAllowThreads();
35206 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
35207
35208 wxPyEndAllowThreads(__tstate);
110da5b0 35209 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35210 }
35211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35212 {
35213 if (temp1)
35214 delete arg1;
35215 }
35216 return resultobj;
35217 fail:
35218 {
35219 if (temp1)
35220 delete arg1;
35221 }
35222 return NULL;
35223}
35224
35225
c370783e 35226static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35227 PyObject *resultobj = NULL;
d55e5bfc
RD
35228 wxPyTreeCtrl *arg1 = 0 ;
35229 wxTreeItemId *arg2 = 0 ;
35230 wxGenericDragImage *result;
35231 PyObject * obj0 = 0 ;
35232 PyObject * obj1 = 0 ;
35233 char *kwnames[] = {
35234 (char *) "treeCtrl",(char *) "id", NULL
35235 };
35236
35237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35238 {
35239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
35240 if (SWIG_arg_fail(1)) SWIG_fail;
35241 if (arg1 == NULL) {
35242 SWIG_null_ref("wxPyTreeCtrl");
35243 }
35244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 35245 }
36ed4f51
RD
35246 {
35247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
35248 if (SWIG_arg_fail(2)) SWIG_fail;
35249 if (arg2 == NULL) {
35250 SWIG_null_ref("wxTreeItemId");
35251 }
35252 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35253 }
35254 {
0439c23b 35255 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35256 PyThreadState* __tstate = wxPyBeginAllowThreads();
35257 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
35258
35259 wxPyEndAllowThreads(__tstate);
110da5b0 35260 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35261 }
35262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35263 return resultobj;
35264 fail:
35265 return NULL;
35266}
35267
35268
c370783e 35269static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35270 PyObject *resultobj = NULL;
d55e5bfc
RD
35271 wxPyListCtrl *arg1 = 0 ;
35272 long arg2 ;
35273 wxGenericDragImage *result;
35274 PyObject * obj0 = 0 ;
35275 PyObject * obj1 = 0 ;
35276 char *kwnames[] = {
35277 (char *) "listCtrl",(char *) "id", NULL
35278 };
35279
35280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35281 {
35282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
35283 if (SWIG_arg_fail(1)) SWIG_fail;
35284 if (arg1 == NULL) {
35285 SWIG_null_ref("wxPyListCtrl");
35286 }
35287 if (SWIG_arg_fail(1)) SWIG_fail;
35288 }
35289 {
32fe5131 35290 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51 35291 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 35292 }
d55e5bfc 35293 {
0439c23b 35294 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35295 PyThreadState* __tstate = wxPyBeginAllowThreads();
35296 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
35297
35298 wxPyEndAllowThreads(__tstate);
110da5b0 35299 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35300 }
35301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35302 return resultobj;
35303 fail:
35304 return NULL;
35305}
35306
35307
c370783e 35308static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35309 PyObject *resultobj = NULL;
d55e5bfc
RD
35310 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35311 PyObject * obj0 = 0 ;
35312 char *kwnames[] = {
35313 (char *) "self", NULL
35314 };
35315
35316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
35317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35319 {
35320 PyThreadState* __tstate = wxPyBeginAllowThreads();
35321 delete arg1;
35322
35323 wxPyEndAllowThreads(__tstate);
35324 if (PyErr_Occurred()) SWIG_fail;
35325 }
35326 Py_INCREF(Py_None); resultobj = Py_None;
35327 return resultobj;
35328 fail:
35329 return NULL;
35330}
35331
35332
c370783e 35333static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35334 PyObject *resultobj = NULL;
d55e5bfc
RD
35335 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35336 wxBitmap *arg2 = (wxBitmap *) 0 ;
35337 PyObject * obj0 = 0 ;
35338 PyObject * obj1 = 0 ;
35339 char *kwnames[] = {
35340 (char *) "self",(char *) "bitmap", NULL
35341 };
35342
35343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35345 if (SWIG_arg_fail(1)) SWIG_fail;
35346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35347 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35348 {
35349 PyThreadState* __tstate = wxPyBeginAllowThreads();
35350 (arg1)->SetBackingBitmap(arg2);
35351
35352 wxPyEndAllowThreads(__tstate);
35353 if (PyErr_Occurred()) SWIG_fail;
35354 }
35355 Py_INCREF(Py_None); resultobj = Py_None;
35356 return resultobj;
35357 fail:
35358 return NULL;
35359}
35360
35361
c370783e 35362static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35363 PyObject *resultobj = NULL;
d55e5bfc
RD
35364 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35365 wxPoint *arg2 = 0 ;
35366 wxWindow *arg3 = (wxWindow *) 0 ;
b411df4a 35367 bool arg4 = (bool) false ;
d55e5bfc
RD
35368 wxRect *arg5 = (wxRect *) NULL ;
35369 bool result;
35370 wxPoint temp2 ;
35371 PyObject * obj0 = 0 ;
35372 PyObject * obj1 = 0 ;
35373 PyObject * obj2 = 0 ;
35374 PyObject * obj3 = 0 ;
35375 PyObject * obj4 = 0 ;
35376 char *kwnames[] = {
35377 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35378 };
35379
35380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
35381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35383 {
35384 arg2 = &temp2;
35385 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35386 }
36ed4f51
RD
35387 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35388 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 35389 if (obj3) {
36ed4f51 35390 {
32fe5131 35391 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
35392 if (SWIG_arg_fail(4)) SWIG_fail;
35393 }
d55e5bfc
RD
35394 }
35395 if (obj4) {
36ed4f51
RD
35396 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
35397 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
35398 }
35399 {
35400 PyThreadState* __tstate = wxPyBeginAllowThreads();
35401 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
35402
35403 wxPyEndAllowThreads(__tstate);
35404 if (PyErr_Occurred()) SWIG_fail;
35405 }
35406 {
35407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35408 }
35409 return resultobj;
35410 fail:
35411 return NULL;
35412}
35413
35414
c370783e 35415static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35416 PyObject *resultobj = NULL;
d55e5bfc
RD
35417 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35418 wxPoint *arg2 = 0 ;
35419 wxWindow *arg3 = (wxWindow *) 0 ;
35420 wxWindow *arg4 = (wxWindow *) 0 ;
35421 bool result;
35422 wxPoint temp2 ;
35423 PyObject * obj0 = 0 ;
35424 PyObject * obj1 = 0 ;
35425 PyObject * obj2 = 0 ;
35426 PyObject * obj3 = 0 ;
35427 char *kwnames[] = {
35428 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35429 };
35430
35431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
35432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35433 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35434 {
35435 arg2 = &temp2;
35436 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35437 }
36ed4f51
RD
35438 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35439 if (SWIG_arg_fail(3)) SWIG_fail;
35440 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35441 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
35442 {
35443 PyThreadState* __tstate = wxPyBeginAllowThreads();
35444 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
35445
35446 wxPyEndAllowThreads(__tstate);
35447 if (PyErr_Occurred()) SWIG_fail;
35448 }
35449 {
35450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35451 }
35452 return resultobj;
35453 fail:
35454 return NULL;
35455}
35456
35457
c370783e 35458static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35459 PyObject *resultobj = NULL;
d55e5bfc
RD
35460 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35461 bool result;
35462 PyObject * obj0 = 0 ;
35463 char *kwnames[] = {
35464 (char *) "self", NULL
35465 };
35466
35467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
36ed4f51
RD
35468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35470 {
35471 PyThreadState* __tstate = wxPyBeginAllowThreads();
35472 result = (bool)(arg1)->EndDrag();
35473
35474 wxPyEndAllowThreads(__tstate);
35475 if (PyErr_Occurred()) SWIG_fail;
35476 }
35477 {
35478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35479 }
35480 return resultobj;
35481 fail:
35482 return NULL;
35483}
35484
35485
c370783e 35486static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35487 PyObject *resultobj = NULL;
d55e5bfc
RD
35488 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35489 wxPoint *arg2 = 0 ;
35490 bool result;
35491 wxPoint temp2 ;
35492 PyObject * obj0 = 0 ;
35493 PyObject * obj1 = 0 ;
35494 char *kwnames[] = {
35495 (char *) "self",(char *) "pt", NULL
35496 };
35497
35498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35501 {
35502 arg2 = &temp2;
35503 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35504 }
35505 {
35506 PyThreadState* __tstate = wxPyBeginAllowThreads();
35507 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
35508
35509 wxPyEndAllowThreads(__tstate);
35510 if (PyErr_Occurred()) SWIG_fail;
35511 }
35512 {
35513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35514 }
35515 return resultobj;
35516 fail:
35517 return NULL;
35518}
35519
35520
c370783e 35521static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35522 PyObject *resultobj = NULL;
d55e5bfc
RD
35523 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35524 bool result;
35525 PyObject * obj0 = 0 ;
35526 char *kwnames[] = {
35527 (char *) "self", NULL
35528 };
35529
35530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
36ed4f51
RD
35531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35533 {
35534 PyThreadState* __tstate = wxPyBeginAllowThreads();
35535 result = (bool)(arg1)->Show();
35536
35537 wxPyEndAllowThreads(__tstate);
35538 if (PyErr_Occurred()) SWIG_fail;
35539 }
35540 {
35541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35542 }
35543 return resultobj;
35544 fail:
35545 return NULL;
35546}
35547
35548
c370783e 35549static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35550 PyObject *resultobj = NULL;
d55e5bfc
RD
35551 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35552 bool result;
35553 PyObject * obj0 = 0 ;
35554 char *kwnames[] = {
35555 (char *) "self", NULL
35556 };
35557
35558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
36ed4f51
RD
35559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35561 {
35562 PyThreadState* __tstate = wxPyBeginAllowThreads();
35563 result = (bool)(arg1)->Hide();
35564
35565 wxPyEndAllowThreads(__tstate);
35566 if (PyErr_Occurred()) SWIG_fail;
35567 }
35568 {
35569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35570 }
35571 return resultobj;
35572 fail:
35573 return NULL;
35574}
35575
35576
c370783e 35577static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35578 PyObject *resultobj = NULL;
d55e5bfc
RD
35579 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35580 wxPoint *arg2 = 0 ;
35581 wxRect result;
35582 wxPoint temp2 ;
35583 PyObject * obj0 = 0 ;
35584 PyObject * obj1 = 0 ;
35585 char *kwnames[] = {
35586 (char *) "self",(char *) "pos", NULL
35587 };
35588
35589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35592 {
35593 arg2 = &temp2;
35594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35595 }
35596 {
35597 PyThreadState* __tstate = wxPyBeginAllowThreads();
35598 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
35599
35600 wxPyEndAllowThreads(__tstate);
35601 if (PyErr_Occurred()) SWIG_fail;
35602 }
35603 {
35604 wxRect * resultptr;
32fe5131 35605 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
35606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
35607 }
35608 return resultobj;
35609 fail:
35610 return NULL;
35611}
35612
35613
c370783e 35614static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35615 PyObject *resultobj = NULL;
d55e5bfc
RD
35616 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35617 wxDC *arg2 = 0 ;
35618 wxPoint *arg3 = 0 ;
35619 bool result;
35620 wxPoint temp3 ;
35621 PyObject * obj0 = 0 ;
35622 PyObject * obj1 = 0 ;
35623 PyObject * obj2 = 0 ;
35624 char *kwnames[] = {
35625 (char *) "self",(char *) "dc",(char *) "pos", NULL
35626 };
35627
35628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
35629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35630 if (SWIG_arg_fail(1)) SWIG_fail;
35631 {
35632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35633 if (SWIG_arg_fail(2)) SWIG_fail;
35634 if (arg2 == NULL) {
35635 SWIG_null_ref("wxDC");
35636 }
35637 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35638 }
35639 {
35640 arg3 = &temp3;
35641 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35642 }
35643 {
35644 PyThreadState* __tstate = wxPyBeginAllowThreads();
35645 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
35646
35647 wxPyEndAllowThreads(__tstate);
35648 if (PyErr_Occurred()) SWIG_fail;
35649 }
35650 {
35651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35652 }
35653 return resultobj;
35654 fail:
35655 return NULL;
35656}
35657
35658
c370783e 35659static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35660 PyObject *resultobj = NULL;
d55e5bfc
RD
35661 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35662 wxDC *arg2 = 0 ;
35663 wxMemoryDC *arg3 = 0 ;
35664 wxRect *arg4 = 0 ;
35665 wxRect *arg5 = 0 ;
35666 bool result;
35667 wxRect temp4 ;
35668 wxRect temp5 ;
35669 PyObject * obj0 = 0 ;
35670 PyObject * obj1 = 0 ;
35671 PyObject * obj2 = 0 ;
35672 PyObject * obj3 = 0 ;
35673 PyObject * obj4 = 0 ;
35674 char *kwnames[] = {
35675 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35676 };
35677
35678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
35679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35680 if (SWIG_arg_fail(1)) SWIG_fail;
35681 {
35682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35683 if (SWIG_arg_fail(2)) SWIG_fail;
35684 if (arg2 == NULL) {
35685 SWIG_null_ref("wxDC");
35686 }
35687 if (SWIG_arg_fail(2)) SWIG_fail;
35688 }
35689 {
35690 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
35691 if (SWIG_arg_fail(3)) SWIG_fail;
35692 if (arg3 == NULL) {
35693 SWIG_null_ref("wxMemoryDC");
35694 }
35695 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
35696 }
35697 {
35698 arg4 = &temp4;
35699 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
35700 }
35701 {
35702 arg5 = &temp5;
35703 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
35704 }
35705 {
35706 PyThreadState* __tstate = wxPyBeginAllowThreads();
35707 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
35708
35709 wxPyEndAllowThreads(__tstate);
35710 if (PyErr_Occurred()) SWIG_fail;
35711 }
35712 {
35713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35714 }
35715 return resultobj;
35716 fail:
35717 return NULL;
35718}
35719
35720
c370783e 35721static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35722 PyObject *resultobj = NULL;
d55e5bfc
RD
35723 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35724 wxPoint *arg2 = 0 ;
35725 wxPoint *arg3 = 0 ;
35726 bool arg4 ;
35727 bool arg5 ;
35728 bool result;
35729 wxPoint temp2 ;
35730 wxPoint temp3 ;
35731 PyObject * obj0 = 0 ;
35732 PyObject * obj1 = 0 ;
35733 PyObject * obj2 = 0 ;
35734 PyObject * obj3 = 0 ;
35735 PyObject * obj4 = 0 ;
35736 char *kwnames[] = {
35737 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35738 };
35739
35740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
35741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35743 {
35744 arg2 = &temp2;
35745 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35746 }
35747 {
35748 arg3 = &temp3;
35749 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35750 }
36ed4f51 35751 {
32fe5131 35752 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
35753 if (SWIG_arg_fail(4)) SWIG_fail;
35754 }
35755 {
32fe5131 35756 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
36ed4f51
RD
35757 if (SWIG_arg_fail(5)) SWIG_fail;
35758 }
d55e5bfc
RD
35759 {
35760 PyThreadState* __tstate = wxPyBeginAllowThreads();
35761 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
35762
35763 wxPyEndAllowThreads(__tstate);
35764 if (PyErr_Occurred()) SWIG_fail;
35765 }
35766 {
35767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35768 }
35769 return resultobj;
35770 fail:
35771 return NULL;
35772}
35773
35774
c370783e 35775static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35776 PyObject *obj;
35777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35778 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
35779 Py_INCREF(obj);
35780 return Py_BuildValue((char *)"");
35781}
53aa7709
RD
35782static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
35783 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
35784 return 1;
35785}
35786
35787
35788static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
32fe5131 35789 PyObject *pyobj = NULL;
53aa7709
RD
35790
35791 {
35792#if wxUSE_UNICODE
35793 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35794#else
35795 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
35796#endif
35797 }
35798 return pyobj;
35799}
35800
35801
35802static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35803 PyObject *resultobj = NULL;
53aa7709
RD
35804 wxWindow *arg1 = (wxWindow *) 0 ;
35805 int arg2 = (int) -1 ;
35806 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
35807 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
35808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
35809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
35810 wxSize const &arg5_defvalue = wxDefaultSize ;
35811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
35812 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
35813 wxValidator const &arg7_defvalue = wxDefaultValidator ;
35814 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
35815 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
35816 wxString *arg8 = (wxString *) &arg8_defvalue ;
35817 wxDatePickerCtrl *result;
35818 wxPoint temp4 ;
35819 wxSize temp5 ;
35820 bool temp8 = false ;
35821 PyObject * obj0 = 0 ;
35822 PyObject * obj1 = 0 ;
35823 PyObject * obj2 = 0 ;
35824 PyObject * obj3 = 0 ;
35825 PyObject * obj4 = 0 ;
35826 PyObject * obj5 = 0 ;
35827 PyObject * obj6 = 0 ;
35828 PyObject * obj7 = 0 ;
35829 char *kwnames[] = {
35830 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35831 };
35832
35833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
35834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35835 if (SWIG_arg_fail(1)) SWIG_fail;
35836 if (obj1) {
35837 {
32fe5131 35838 arg2 = static_cast<int >(SWIG_As_int(obj1));
53aa7709
RD
35839 if (SWIG_arg_fail(2)) SWIG_fail;
35840 }
35841 }
35842 if (obj2) {
35843 {
35844 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35845 if (SWIG_arg_fail(3)) SWIG_fail;
35846 if (arg3 == NULL) {
35847 SWIG_null_ref("wxDateTime");
35848 }
35849 if (SWIG_arg_fail(3)) SWIG_fail;
35850 }
35851 }
35852 if (obj3) {
35853 {
35854 arg4 = &temp4;
35855 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
35856 }
35857 }
35858 if (obj4) {
35859 {
35860 arg5 = &temp5;
35861 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
35862 }
35863 }
35864 if (obj5) {
35865 {
32fe5131 35866 arg6 = static_cast<long >(SWIG_As_long(obj5));
53aa7709
RD
35867 if (SWIG_arg_fail(6)) SWIG_fail;
35868 }
35869 }
35870 if (obj6) {
35871 {
35872 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
35873 if (SWIG_arg_fail(7)) SWIG_fail;
35874 if (arg7 == NULL) {
35875 SWIG_null_ref("wxValidator");
35876 }
35877 if (SWIG_arg_fail(7)) SWIG_fail;
35878 }
35879 }
35880 if (obj7) {
35881 {
35882 arg8 = wxString_in_helper(obj7);
35883 if (arg8 == NULL) SWIG_fail;
35884 temp8 = true;
35885 }
35886 }
35887 {
35888 if (!wxPyCheckForApp()) SWIG_fail;
35889 PyThreadState* __tstate = wxPyBeginAllowThreads();
35890 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
35891
35892 wxPyEndAllowThreads(__tstate);
35893 if (PyErr_Occurred()) SWIG_fail;
35894 }
35895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35896 {
35897 if (temp8)
35898 delete arg8;
35899 }
35900 return resultobj;
35901 fail:
35902 {
35903 if (temp8)
35904 delete arg8;
35905 }
35906 return NULL;
35907}
35908
35909
35910static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35911 PyObject *resultobj = NULL;
53aa7709
RD
35912 wxDatePickerCtrl *result;
35913 char *kwnames[] = {
35914 NULL
35915 };
35916
35917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
35918 {
35919 if (!wxPyCheckForApp()) SWIG_fail;
35920 PyThreadState* __tstate = wxPyBeginAllowThreads();
35921 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
35922
35923 wxPyEndAllowThreads(__tstate);
35924 if (PyErr_Occurred()) SWIG_fail;
35925 }
35926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
35927 return resultobj;
35928 fail:
35929 return NULL;
35930}
35931
35932
35933static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35934 PyObject *resultobj = NULL;
53aa7709
RD
35935 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35936 wxWindow *arg2 = (wxWindow *) 0 ;
35937 int arg3 = (int) -1 ;
35938 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
35939 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
35940 wxPoint const &arg5_defvalue = wxDefaultPosition ;
35941 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
35942 wxSize const &arg6_defvalue = wxDefaultSize ;
35943 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
35944 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
35945 wxValidator const &arg8_defvalue = wxDefaultValidator ;
35946 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
35947 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
35948 wxString *arg9 = (wxString *) &arg9_defvalue ;
35949 bool result;
35950 wxPoint temp5 ;
35951 wxSize temp6 ;
35952 bool temp9 = false ;
35953 PyObject * obj0 = 0 ;
35954 PyObject * obj1 = 0 ;
35955 PyObject * obj2 = 0 ;
35956 PyObject * obj3 = 0 ;
35957 PyObject * obj4 = 0 ;
35958 PyObject * obj5 = 0 ;
35959 PyObject * obj6 = 0 ;
35960 PyObject * obj7 = 0 ;
35961 PyObject * obj8 = 0 ;
35962 char *kwnames[] = {
35963 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35964 };
35965
35966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
35967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35968 if (SWIG_arg_fail(1)) SWIG_fail;
35969 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35970 if (SWIG_arg_fail(2)) SWIG_fail;
35971 if (obj2) {
35972 {
32fe5131 35973 arg3 = static_cast<int >(SWIG_As_int(obj2));
53aa7709
RD
35974 if (SWIG_arg_fail(3)) SWIG_fail;
35975 }
35976 }
35977 if (obj3) {
35978 {
35979 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35980 if (SWIG_arg_fail(4)) SWIG_fail;
35981 if (arg4 == NULL) {
35982 SWIG_null_ref("wxDateTime");
35983 }
35984 if (SWIG_arg_fail(4)) SWIG_fail;
35985 }
35986 }
35987 if (obj4) {
35988 {
35989 arg5 = &temp5;
35990 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
35991 }
35992 }
35993 if (obj5) {
35994 {
35995 arg6 = &temp6;
35996 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
35997 }
35998 }
35999 if (obj6) {
36000 {
32fe5131 36001 arg7 = static_cast<long >(SWIG_As_long(obj6));
53aa7709
RD
36002 if (SWIG_arg_fail(7)) SWIG_fail;
36003 }
36004 }
36005 if (obj7) {
36006 {
36007 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36008 if (SWIG_arg_fail(8)) SWIG_fail;
36009 if (arg8 == NULL) {
36010 SWIG_null_ref("wxValidator");
36011 }
36012 if (SWIG_arg_fail(8)) SWIG_fail;
36013 }
36014 }
36015 if (obj8) {
36016 {
36017 arg9 = wxString_in_helper(obj8);
36018 if (arg9 == NULL) SWIG_fail;
36019 temp9 = true;
36020 }
36021 }
36022 {
36023 PyThreadState* __tstate = wxPyBeginAllowThreads();
36024 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
36025
36026 wxPyEndAllowThreads(__tstate);
36027 if (PyErr_Occurred()) SWIG_fail;
36028 }
36029 {
36030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36031 }
36032 {
36033 if (temp9)
36034 delete arg9;
36035 }
36036 return resultobj;
36037 fail:
36038 {
36039 if (temp9)
36040 delete arg9;
36041 }
36042 return NULL;
36043}
36044
36045
36046static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36047 PyObject *resultobj = NULL;
53aa7709
RD
36048 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36049 wxDateTime *arg2 = 0 ;
36050 PyObject * obj0 = 0 ;
36051 PyObject * obj1 = 0 ;
36052 char *kwnames[] = {
36053 (char *) "self",(char *) "dt", NULL
36054 };
36055
36056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36058 if (SWIG_arg_fail(1)) SWIG_fail;
36059 {
36060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36061 if (SWIG_arg_fail(2)) SWIG_fail;
36062 if (arg2 == NULL) {
36063 SWIG_null_ref("wxDateTime");
36064 }
36065 if (SWIG_arg_fail(2)) SWIG_fail;
36066 }
36067 {
36068 PyThreadState* __tstate = wxPyBeginAllowThreads();
36069 (arg1)->SetValue((wxDateTime const &)*arg2);
36070
36071 wxPyEndAllowThreads(__tstate);
36072 if (PyErr_Occurred()) SWIG_fail;
36073 }
36074 Py_INCREF(Py_None); resultobj = Py_None;
36075 return resultobj;
36076 fail:
36077 return NULL;
36078}
36079
36080
36081static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36082 PyObject *resultobj = NULL;
53aa7709
RD
36083 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36084 wxDateTime result;
36085 PyObject * obj0 = 0 ;
36086 char *kwnames[] = {
36087 (char *) "self", NULL
36088 };
36089
36090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
36091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36092 if (SWIG_arg_fail(1)) SWIG_fail;
36093 {
36094 PyThreadState* __tstate = wxPyBeginAllowThreads();
36095 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
36096
36097 wxPyEndAllowThreads(__tstate);
36098 if (PyErr_Occurred()) SWIG_fail;
36099 }
36100 {
36101 wxDateTime * resultptr;
32fe5131 36102 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36104 }
36105 return resultobj;
36106 fail:
36107 return NULL;
36108}
36109
36110
36111static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36112 PyObject *resultobj = NULL;
53aa7709
RD
36113 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36114 wxDateTime *arg2 = 0 ;
36115 wxDateTime *arg3 = 0 ;
36116 PyObject * obj0 = 0 ;
36117 PyObject * obj1 = 0 ;
36118 PyObject * obj2 = 0 ;
36119 char *kwnames[] = {
36120 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36121 };
36122
36123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36125 if (SWIG_arg_fail(1)) SWIG_fail;
36126 {
36127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36128 if (SWIG_arg_fail(2)) SWIG_fail;
36129 if (arg2 == NULL) {
36130 SWIG_null_ref("wxDateTime");
36131 }
36132 if (SWIG_arg_fail(2)) SWIG_fail;
36133 }
36134 {
36135 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36136 if (SWIG_arg_fail(3)) SWIG_fail;
36137 if (arg3 == NULL) {
36138 SWIG_null_ref("wxDateTime");
36139 }
36140 if (SWIG_arg_fail(3)) SWIG_fail;
36141 }
36142 {
36143 PyThreadState* __tstate = wxPyBeginAllowThreads();
36144 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
36145
36146 wxPyEndAllowThreads(__tstate);
36147 if (PyErr_Occurred()) SWIG_fail;
36148 }
36149 Py_INCREF(Py_None); resultobj = Py_None;
36150 return resultobj;
36151 fail:
36152 return NULL;
36153}
36154
36155
36156static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36157 PyObject *resultobj = NULL;
53aa7709
RD
36158 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36159 wxDateTime result;
36160 PyObject * obj0 = 0 ;
36161 char *kwnames[] = {
36162 (char *) "self", NULL
36163 };
36164
36165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
36166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36167 if (SWIG_arg_fail(1)) SWIG_fail;
36168 {
36169 PyThreadState* __tstate = wxPyBeginAllowThreads();
36170 result = wxDatePickerCtrl_GetLowerLimit(arg1);
36171
36172 wxPyEndAllowThreads(__tstate);
36173 if (PyErr_Occurred()) SWIG_fail;
36174 }
36175 {
36176 wxDateTime * resultptr;
32fe5131 36177 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36179 }
36180 return resultobj;
36181 fail:
36182 return NULL;
36183}
36184
36185
36186static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36187 PyObject *resultobj = NULL;
53aa7709
RD
36188 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36189 wxDateTime result;
36190 PyObject * obj0 = 0 ;
36191 char *kwnames[] = {
36192 (char *) "self", NULL
36193 };
36194
36195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
36196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36197 if (SWIG_arg_fail(1)) SWIG_fail;
36198 {
36199 PyThreadState* __tstate = wxPyBeginAllowThreads();
36200 result = wxDatePickerCtrl_GetUpperLimit(arg1);
36201
36202 wxPyEndAllowThreads(__tstate);
36203 if (PyErr_Occurred()) SWIG_fail;
36204 }
36205 {
36206 wxDateTime * resultptr;
32fe5131 36207 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36209 }
36210 return resultobj;
36211 fail:
36212 return NULL;
36213}
36214
36215
36216static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
36217 PyObject *obj;
36218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36219 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
36220 Py_INCREF(obj);
36221 return Py_BuildValue((char *)"");
36222}
d55e5bfc 36223static PyMethodDef SwigMethods[] = {
36ed4f51
RD
36224 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
36225 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
36226 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36227 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36228 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36229 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36230 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
36231 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36232 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36233 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36234 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36235 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36236 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36237 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 36238 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction) _wrap_BitmapButton_GetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36239 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36240 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36241 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36242 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 36243 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36244 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36245 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
36246 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
36247 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
36248 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36249 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36250 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36251 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36252 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36253 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36254 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36255 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36256 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
36257 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
36258 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36259 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
36260 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
36261 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
36262 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 36263 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36264 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36265 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
36266 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36267 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36268 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36269 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36270 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36271 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36272 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36273 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36274 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36275 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36276 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36277 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36278 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36279 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 36280 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36281 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36282 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36283 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36284 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36285 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36286 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36287 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36288 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36289 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36290 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36291 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36292 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36293 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36294 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36295 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36296 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
36297 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
36298 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
36299 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36300 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36301 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36302 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36303 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36304 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36305 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36306 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36307 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36308 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36309 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36310 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
36311 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36312 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36313 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36314 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36315 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
36316 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36317 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36318 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36319 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36320 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36321 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36322 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
36323 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36324 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36325 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 36326 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36327 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36328 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
36329 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36330 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36331 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36332 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36333 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36334 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36335 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36336 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
36337 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36338 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36339 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36340 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
36341 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
36342 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36343 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36344 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36345 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36346 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
36347 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36348 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36349 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36350 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
36351 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
36352 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36353 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36354 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
36355 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36356 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36357 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36358 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36359 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
36360 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36361 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36362 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36363 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36364 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
36365 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36366 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
36367 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
36368 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36369 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36370 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
36371 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36372 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36373 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36374 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36375 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36376 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36377 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36378 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36379 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36380 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36381 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36382 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36383 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36384 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36385 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36386 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36387 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36388 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36389 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36390 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36391 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36392 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36393 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36394 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36395 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36396 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36397 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
36398 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
36399 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36400 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36401 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36402 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36403 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36404 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36405 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
36406 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
36407 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
36408 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
36409 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36410 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36411 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
36412 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36413 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36414 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36415 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36416 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36417 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
36418 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
36419 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
36420 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
36421 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
36422 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
36423 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
36424 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
36425 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36426 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36427 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36428 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36429 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36430 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
36431 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36432 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36433 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
36434 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36435 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36436 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36437 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36438 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36439 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36440 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36441 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36442 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36443 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36444 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36445 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36446 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36447 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36448 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36449 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36450 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36451 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
36452 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36453 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36454 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
36455 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36456 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36457 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
36458 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36459 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
36460 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36461 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36462 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36463 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36464 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
36465 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36466 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36467 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36468 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36469 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
36470 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36471 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
36472 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36473 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36474 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36475 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36476 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36477 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36478 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36479 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36480 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36481 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36482 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36483 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36484 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
36485 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36486 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36487 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36488 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36489 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36490 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
36491 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36492 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36493 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36494 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36495 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36496 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
36497 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36498 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36499 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36500 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
36501 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36502 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36503 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36504 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36505 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36506 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36507 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36508 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36509 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
36510 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36511 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36512 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
36513 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
36514 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36515 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36516 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36517 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36518 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
36519 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36520 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36521 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36522 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36523 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36524 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36525 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
36526 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
36527 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
36528 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36529 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36530 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36531 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36532 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36533 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36534 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36535 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36536 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36537 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36538 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36539 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36540 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36541 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36542 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36543 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36544 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
36545 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
36546 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
36547 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36548 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
36549 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36550 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36551 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
36552 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36553 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36554 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36555 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36556 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36557 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36558 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36559 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
36560 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
36561 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
36562 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36563 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36564 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36565 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36566 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36567 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36568 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36569 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36570 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36571 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36572 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef
RD
36573 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36574 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36575 { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
36576 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36577 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36578 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36579 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
36580 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36581 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36582 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36583 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36584 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36585 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36586 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
36587 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36588 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36589 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36590 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36591 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36592 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
36593 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
36594 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
36595 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36596 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36597 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
36598 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
36599 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36600 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 36601 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36602 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36603 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
36604 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36605 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
36606 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
36607 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
36608 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36609 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
36610 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
36611 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36612 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
36613 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36614 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36615 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
7993762b 36616 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36617 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36618 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
36619 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36620 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
7e08d4ef
RD
36621 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
36622 { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL},
36623 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36624 { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36625 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36626 { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36630 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
36635 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
36637 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36638 { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
36643 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
36645 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36646 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
36647 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36648 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36654 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36656 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36657 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36660 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
36663 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36664 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36670 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36671 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36672 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36674 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
36675 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
36676 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36678 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36679 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
36681 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36683 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
36686 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
36687 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36689 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
36691 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36700 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
36702 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36705 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36707 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
36712 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
36713 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36715 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
36716 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
36720 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
36726 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36727 { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36728 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36734 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36736 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36737 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36738 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
36740 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36741 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36745 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36753 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36766 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36767 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
36775 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
36778 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
36782 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
36788 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
36790 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
36791 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
36792 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36793 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36796 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36797 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
36798 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36800 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
36802 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36807 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36808 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36810 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
36816 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
36817 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
36819 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36821 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36824 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36826 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36828 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
36831 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36832 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36833 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36834 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
36836 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36838 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36841 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36846 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36850 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
36852 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36854 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36857 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36858 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
36859 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
36860 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
36862 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
36868 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36870 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
36871 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36874 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 36878 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36879 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
36882 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36883 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36885 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd
RD
36886 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36887 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36888 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
36889 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36890 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
36892 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
36894 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
36897 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
36898 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36900 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36902 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
36904 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
36912 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36913 { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36914 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36916 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36918 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
36920 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36924 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36926 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74 36935 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36936 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
36937 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36941 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36942 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36943 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36946 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36947 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36948 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36949 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36952 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36953 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36955 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
36956 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36958 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
36962 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a 36965 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
36966 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36969 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
36974 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
36979 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
36982 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
36983 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
36984 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
36990 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37001 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37005 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
37006 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37007 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37008 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37009 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
37013 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37014 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37015 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37016 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37018 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37019 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
37021 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37025 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37027 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
37034 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
37035 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37036 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
37040 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 37044 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
37045 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37054 { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
37055 { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37056 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37057 { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
37058 { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
37059 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
37060 { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
37061 { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
37062 { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
37063 { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
37064 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37065 { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
37066 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
37067 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37068 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37069 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37070 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37071 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37072 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37073 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37074 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
37075 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37076 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37077 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37078 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37079 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
37080 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
37081 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
37082 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
37083 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
37084 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37085 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37086 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37087 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
37088 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37089 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37090 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
37091 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
37092 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
37093 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37094 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
37095 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
37096 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
37097 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37098 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37099 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
37100 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37101 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
37102 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37103 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
37104 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
37105 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
37106 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
37107 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37108 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37109 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37110 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
37111 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37112 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37113 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37114 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37115 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37116 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
37117 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37118 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37119 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c370783e 37120 { NULL, NULL, 0, NULL }
d55e5bfc
RD
37121};
37122
37123
37124/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37125
d55e5bfc
RD
37126static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37127 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37128}
37129static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37130 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37131}
37132static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37133 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37134}
37135static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37136 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37137}
37138static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37139 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37140}
6e0de3df
RD
37141static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
37142 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37143}
d55e5bfc
RD
37144static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
37145 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37146}
37147static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37148 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37149}
37150static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37151 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37152}
37153static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37154 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37155}
37156static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
37157 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
37158}
d55e5bfc
RD
37159static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37160 return (void *)((wxEvent *) ((wxPyEvent *) x));
37161}
37162static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37164}
37165static void *_p_wxListEventTo_p_wxEvent(void *x) {
37166 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37167}
37168static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 37169 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
37170}
37171static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 37172 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 37173}
b411df4a 37174static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 37175 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 37176}
7e08d4ef
RD
37177static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
37178 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37179}
37180static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
37181 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37182}
d55e5bfc
RD
37183static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
37184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
37185}
37186static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37187 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37188}
37189static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37190 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37191}
37192static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37193 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37194}
37195static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37196 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37197}
37198static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37199 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37200}
37201static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37202 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37203}
37204static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37205 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37206}
37207static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37208 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37209}
53aa7709
RD
37210static void *_p_wxDateEventTo_p_wxEvent(void *x) {
37211 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
37212}
d55e5bfc
RD
37213static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37214 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37215}
37216static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37217 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37218}
37219static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37220 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37221}
37222static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37223 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37224}
37225static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37226 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37227}
37228static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37229 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37230}
37231static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37232 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37233}
37234static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37235 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37236}
37237static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37238 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37239}
37240static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37241 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37242}
37243static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37244 return (void *)((wxEvent *) ((wxShowEvent *) x));
37245}
37246static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37247 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37248}
37249static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37250 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37251}
37252static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37253 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37254}
37255static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37256 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37257}
37258static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37259 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37260}
37261static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37262 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37263}
37264static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
37265 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37266}
37267static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
37268 return (void *)((wxItemContainer *) ((wxComboBox *) x));
37269}
37270static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
37271 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37272}
37273static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
37274 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
37275}
37276static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37277 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37278}
37279static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
37280 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
37281}
37282static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
37283 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37284}
37285static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
37286 return (void *)((wxPyListCtrl *) ((wxListView *) x));
37287}
6e0de3df
RD
37288static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
37289 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
37290}
37291static void *_p_wxToolBarTo_p_wxControl(void *x) {
37292 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
37293}
b411df4a
RD
37294static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
37295 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 37296}
b411df4a
RD
37297static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
37298 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 37299}
7e08d4ef
RD
37300static void *_p_wxToolbookTo_p_wxControl(void *x) {
37301 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
d55e5bfc 37302}
b411df4a
RD
37303static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
37304 return (void *)((wxControl *) ((wxToolBarBase *) x));
37305}
37306static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
37307 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
37308}
37309static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
37310 return (void *)((wxControl *) ((wxPyListCtrl *) x));
37311}
b411df4a
RD
37312static void *_p_wxComboBoxTo_p_wxControl(void *x) {
37313 return (void *)((wxControl *) ((wxComboBox *) x));
d55e5bfc 37314}
7e08d4ef
RD
37315static void *_p_wxPyControlTo_p_wxControl(void *x) {
37316 return (void *)((wxControl *) ((wxPyControl *) x));
37317}
b411df4a
RD
37318static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
37319 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
37320}
37321static void *_p_wxScrollBarTo_p_wxControl(void *x) {
37322 return (void *)((wxControl *) ((wxScrollBar *) x));
37323}
b411df4a
RD
37324static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37325 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
37326}
37327static void *_p_wxGaugeTo_p_wxControl(void *x) {
37328 return (void *)((wxControl *) ((wxGauge *) x));
37329}
b411df4a
RD
37330static void *_p_wxStaticLineTo_p_wxControl(void *x) {
37331 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 37332}
b411df4a 37333static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 37334 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 37335}
b411df4a 37336static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 37337 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 37338}
b411df4a
RD
37339static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
37340 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 37341}
b411df4a
RD
37342static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
37343 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
37344}
37345static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
37346 return (void *)((wxControl *) ((wxRadioBox *) x));
37347}
b411df4a
RD
37348static void *_p_wxChoiceTo_p_wxControl(void *x) {
37349 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
37350}
37351static void *_p_wxListBoxTo_p_wxControl(void *x) {
37352 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
37353}
37354static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
37355 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37356}
37357static void *_p_wxListViewTo_p_wxControl(void *x) {
37358 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
37359}
d55e5bfc 37360static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 37361 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 37362}
b411df4a
RD
37363static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
37364 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 37365}
b411df4a
RD
37366static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
37367 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 37368}
b411df4a
RD
37369static void *_p_wxStaticTextTo_p_wxControl(void *x) {
37370 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 37371}
b411df4a
RD
37372static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
37373 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
37374}
37375static void *_p_wxSliderTo_p_wxControl(void *x) {
37376 return (void *)((wxControl *) ((wxSlider *) x));
37377}
7e08d4ef
RD
37378static void *_p_wxTreebookTo_p_wxControl(void *x) {
37379 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
d55e5bfc 37380}
b411df4a
RD
37381static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
37382 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 37383}
b411df4a
RD
37384static void *_p_wxButtonTo_p_wxControl(void *x) {
37385 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 37386}
b411df4a
RD
37387static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
37388 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
37389}
7e08d4ef
RD
37390static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
37391 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37392}
53aa7709
RD
37393static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
37394 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
37395}
b411df4a
RD
37396static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
37397 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
37398}
37399static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
37400 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
37401}
37402static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
37403 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
37404}
6e0de3df
RD
37405static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
37406 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37407}
d55e5bfc
RD
37408static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
37409 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
37410}
d55e5bfc
RD
37411static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
37412 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
37413}
37414static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
37415 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
37416}
37417static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 37418 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
37419}
37420static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 37421 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 37422}
b411df4a 37423static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df
RD
37424 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37425}
7e08d4ef
RD
37426static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
37427 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37428}
37429static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
37430 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37431}
6e0de3df
RD
37432static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
37433 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
37434}
37435static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
37436 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
b411df4a 37437}
7e08d4ef
RD
37438static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
37439 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
37440}
37441static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
37442 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
37443}
6e0de3df
RD
37444static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
37445 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37446}
37447static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37448 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37449}
6e0de3df
RD
37450static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
37451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37452}
d55e5bfc
RD
37453static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37454 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37455}
37456static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37457 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37458}
37459static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
37460 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37461}
37462static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37463 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37464}
37465static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
37466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
37467}
37468static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
37469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
37470}
7e08d4ef
RD
37471static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
37472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37473}
d55e5bfc
RD
37474static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37475 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37476}
37477static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37478 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37479}
d55e5bfc
RD
37480static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
37481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
37482}
7e08d4ef
RD
37483static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
37484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37485}
b411df4a
RD
37486static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
37487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37488}
d55e5bfc
RD
37489static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
37490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37491}
37492static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
37493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
37494}
37495static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37496 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37497}
37498static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
37499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37500}
37501static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
37502 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
37503}
37504static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37506}
37507static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
37508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
37509}
37510static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
37511 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
37512}
b411df4a 37513static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 37514 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 37515}
d55e5bfc 37516static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 37517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
37518}
37519static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
37520 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37521}
37522static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
37523 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
37524}
37525static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
37526 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
37527}
37528static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
37529 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37530}
37531static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
37532 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37533}
37534static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
37535 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37536}
37537static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 37538 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37539}
37540static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
37541 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37542}
37543static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
37544 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37545}
37546static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
37547 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37548}
37549static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
37550 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
37551}
37552static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
37553 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
37554}
37555static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
37556 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
37557}
7e08d4ef
RD
37558static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
37559 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37560}
d55e5bfc
RD
37561static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
37562 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
37563}
37564static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
37565 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
37566}
37567static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
37568 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37569}
37570static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
37571 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37572}
53aa7709
RD
37573static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
37574 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37575}
d55e5bfc
RD
37576static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
37577 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37578}
37579static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
37580 return (void *)((wxListBox *) ((wxCheckListBox *) x));
37581}
d55e5bfc
RD
37582static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
37583 return (void *)((wxButton *) ((wxBitmapButton *) x));
37584}
37585static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
37586 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
37587}
37588static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
37589 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
37590}
37591static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
37592 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
37593}
37594static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37595 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37596}
7e08d4ef
RD
37597static void *_p_wxToolbookTo_p_wxObject(void *x) {
37598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37599}
d55e5bfc
RD
37600static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37601 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37602}
37603static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37604 return (void *)((wxObject *) ((wxSizerItem *) x));
37605}
37606static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37608}
37609static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37610 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37611}
37612static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
37613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
37614}
d55e5bfc
RD
37615static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37616 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37617}
37618static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37619 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37620}
37621static void *_p_wxSizerTo_p_wxObject(void *x) {
37622 return (void *)((wxObject *) ((wxSizer *) x));
37623}
37624static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37625 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37626}
37627static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
37628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
37629}
37630static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
37631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37632}
37633static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37634 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37635}
37636static void *_p_wxEventTo_p_wxObject(void *x) {
37637 return (void *)((wxObject *) ((wxEvent *) x));
37638}
37639static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37640 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37641}
37642static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37643 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37644}
37645static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37646 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37647}
37648static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
37649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37650}
37651static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
37652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37653}
37654static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
37655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37656}
37657static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37658 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37659}
37660static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37661 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37662}
37663static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37664 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37665}
37666static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37667 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37668}
37669static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37670 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37671}
37672static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37673 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37674}
37675static void *_p_wxStaticLineTo_p_wxObject(void *x) {
37676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
37677}
37678static void *_p_wxControlTo_p_wxObject(void *x) {
37679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37680}
37681static void *_p_wxPyControlTo_p_wxObject(void *x) {
37682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
37683}
37684static void *_p_wxGaugeTo_p_wxObject(void *x) {
37685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
37686}
37687static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
37688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
37689}
37690static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
37691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
37692}
37693static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
37694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37695}
37696static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37697 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37698}
37699static void *_p_wxChoiceTo_p_wxObject(void *x) {
37700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37701}
37702static void *_p_wxFSFileTo_p_wxObject(void *x) {
37703 return (void *)((wxObject *) ((wxFSFile *) x));
37704}
37705static void *_p_wxPySizerTo_p_wxObject(void *x) {
37706 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37707}
7e08d4ef
RD
37708static void *_p_wxTreebookTo_p_wxObject(void *x) {
37709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37710}
d55e5bfc
RD
37711static void *_p_wxListViewTo_p_wxObject(void *x) {
37712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37713}
37714static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
37715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37716}
37717static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 37718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37719}
37720static void *_p_wxPyEventTo_p_wxObject(void *x) {
37721 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37722}
37723static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37725}
b411df4a 37726static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df 37727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 37728}
d55e5bfc 37729static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 37730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
37731}
37732static void *_p_wxShowEventTo_p_wxObject(void *x) {
37733 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37734}
37735static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
37736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37737}
37738static void *_p_wxSliderTo_p_wxObject(void *x) {
37739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
37740}
37741static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37742 return (void *)((wxObject *) ((wxMenuItem *) x));
37743}
53aa7709
RD
37744static void *_p_wxDateEventTo_p_wxObject(void *x) {
37745 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
37746}
d55e5bfc
RD
37747static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37748 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37749}
37750static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37751 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37752}
37753static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37754 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37755}
37756static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37757 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37758}
37759static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37760 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37761}
37762static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37763 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37764}
37765static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37766 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37767}
37768static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37769 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37770}
37771static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
37772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
37773}
37774static void *_p_wxContextHelpTo_p_wxObject(void *x) {
37775 return (void *)((wxObject *) ((wxContextHelp *) x));
37776}
6e0de3df
RD
37777static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
37778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37779}
d55e5bfc
RD
37780static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37781 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37782}
37783static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37784 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37785}
37786static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37787 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37788}
37789static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37790 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37791}
37792static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37793 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37794}
37795static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37796 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37797}
37798static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37799 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37800}
37801static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37802 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37803}
37804static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37805 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37806}
943e8dfd
RD
37807static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
37808 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
37809}
d55e5bfc
RD
37810static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37811 return (void *)((wxObject *) ((wxImageHandler *) x));
37812}
943e8dfd
RD
37813static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37814 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37815}
d55e5bfc
RD
37816static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
37817 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37818}
37819static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
37820 return (void *)((wxObject *) ((wxEvtHandler *) x));
37821}
37822static void *_p_wxListEventTo_p_wxObject(void *x) {
37823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37824}
37825static void *_p_wxListBoxTo_p_wxObject(void *x) {
37826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37827}
37828static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
37829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37830}
d55e5bfc
RD
37831static void *_p_wxButtonTo_p_wxObject(void *x) {
37832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
37833}
37834static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
37835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37836}
37837static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
37838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
37839}
37840static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
37841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37842}
62d32a5f
RD
37843static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
37844 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
37845}
d55e5bfc
RD
37846static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
37847 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
37848}
37849static void *_p_wxScrollBarTo_p_wxObject(void *x) {
37850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
37851}
37852static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
37853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
37854}
37855static void *_p_wxComboBoxTo_p_wxObject(void *x) {
37856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
37857}
37858static void *_p_wxHelpEventTo_p_wxObject(void *x) {
37859 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
37860}
37861static void *_p_wxListItemTo_p_wxObject(void *x) {
37862 return (void *)((wxObject *) ((wxListItem *) x));
37863}
37864static void *_p_wxImageTo_p_wxObject(void *x) {
37865 return (void *)((wxObject *) ((wxImage *) x));
37866}
d55e5bfc
RD
37867static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37868 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37869}
37870static void *_p_wxSpinEventTo_p_wxObject(void *x) {
37871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37872}
37873static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
37874 return (void *)((wxObject *) ((wxGenericDragImage *) x));
37875}
37876static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
37877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37878}
37879static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 37880 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
37881}
37882static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 37883 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 37884}
b411df4a 37885static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 37886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 37887}
7e08d4ef
RD
37888static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
37889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37890}
37891static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
37892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37893}
d55e5bfc
RD
37894static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37895 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37896}
37897static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37898 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37899}
37900static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37901 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37902}
37903static void *_p_wxWindowTo_p_wxObject(void *x) {
37904 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
37905}
37906static void *_p_wxMenuTo_p_wxObject(void *x) {
37907 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
37908}
37909static void *_p_wxMenuBarTo_p_wxObject(void *x) {
37910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
37911}
37912static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37913 return (void *)((wxObject *) ((wxFileSystem *) x));
37914}
37915static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
37916 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
37917}
37918static void *_p_wxMenuEventTo_p_wxObject(void *x) {
37919 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
37920}
37921static void *_p_wxPyAppTo_p_wxObject(void *x) {
37922 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
37923}
37924static void *_p_wxCloseEventTo_p_wxObject(void *x) {
37925 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
37926}
37927static void *_p_wxMouseEventTo_p_wxObject(void *x) {
37928 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
37929}
37930static void *_p_wxEraseEventTo_p_wxObject(void *x) {
37931 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
37932}
6e0de3df
RD
37933static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
37934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37935}
d55e5bfc
RD
37936static void *_p_wxTreeEventTo_p_wxObject(void *x) {
37937 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37938}
37939static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
37940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
37941}
37942static void *_p_wxCommandEventTo_p_wxObject(void *x) {
37943 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
37944}
37945static void *_p_wxStaticTextTo_p_wxObject(void *x) {
37946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
37947}
37948static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
37949 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
37950}
37951static void *_p_wxFocusEventTo_p_wxObject(void *x) {
37952 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
37953}
37954static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
37955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
37956}
53aa7709
RD
37957static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
37958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37959}
d55e5bfc
RD
37960static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
37961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37962}
37963static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
37964 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
37965}
37966static void *_p_wxToolBarTo_p_wxObject(void *x) {
37967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37968}
37969static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
37970 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
37971}
37972static void *_p_wxValidatorTo_p_wxObject(void *x) {
37973 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
37974}
d55e5bfc
RD
37975static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
37976 return (void *)((wxWindow *) ((wxMenuBar *) x));
37977}
6e0de3df
RD
37978static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
37979 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
37980}
d55e5bfc
RD
37981static void *_p_wxToolBarTo_p_wxWindow(void *x) {
37982 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37983}
37984static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
37985 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
37986}
37987static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
37988 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
37989}
7e08d4ef
RD
37990static void *_p_wxToolbookTo_p_wxWindow(void *x) {
37991 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37992}
d55e5bfc
RD
37993static void *_p_wxControlTo_p_wxWindow(void *x) {
37994 return (void *)((wxWindow *) ((wxControl *) x));
37995}
37996static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
37997 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
37998}
d55e5bfc
RD
37999static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
38000 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
38001}
38002static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
38003 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
38004}
7e08d4ef
RD
38005static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
38006 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
38007}
b411df4a
RD
38008static void *_p_wxPyControlTo_p_wxWindow(void *x) {
38009 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
38010}
d55e5bfc
RD
38011static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
38012 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
38013}
38014static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
38015 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
38016}
38017static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
38018 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
38019}
38020static void *_p_wxGaugeTo_p_wxWindow(void *x) {
38021 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
38022}
38023static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
38024 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
38025}
b411df4a 38026static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 38027 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 38028}
d55e5bfc 38029static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 38030 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
38031}
38032static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
38033 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
38034}
38035static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
38036 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
38037}
38038static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
38039 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
38040}
38041static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
38042 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38043}
38044static void *_p_wxChoiceTo_p_wxWindow(void *x) {
38045 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
38046}
38047static void *_p_wxListBoxTo_p_wxWindow(void *x) {
38048 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38049}
38050static void *_p_wxListViewTo_p_wxWindow(void *x) {
38051 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
38052}
38053static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 38054 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
38055}
38056static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
38057 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
38058}
38059static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
38060 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
38061}
38062static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
38063 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
38064}
38065static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
38066 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
38067}
38068static void *_p_wxSliderTo_p_wxWindow(void *x) {
38069 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
38070}
7e08d4ef
RD
38071static void *_p_wxTreebookTo_p_wxWindow(void *x) {
38072 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
38073}
d55e5bfc
RD
38074static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
38075 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
38076}
38077static void *_p_wxButtonTo_p_wxWindow(void *x) {
38078 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
38079}
38080static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
38081 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
38082}
38083static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
38084 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38085}
53aa7709
RD
38086static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
38087 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
38088}
d55e5bfc
RD
38089static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
38090 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
38091}
6e0de3df
RD
38092static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38093 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38094}
38095static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38096 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38097}
38098static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38099 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38100}
7e08d4ef
RD
38101static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38102 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38103}
38104static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38105 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38106}
d55e5bfc
RD
38107static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
38108 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38109}
d55e5bfc
RD
38110static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
38111 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
38112}
38113static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
38114 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
38115}
38116static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
38117 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
38118}
38119static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
38120 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
38121}
38122static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
38123 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
38124}
38125static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 38126 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
38127}
38128static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 38129 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 38130}
53aa7709
RD
38131static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
38132 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38133}
7e08d4ef
RD
38134static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
38135 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38136}
38137static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
38138 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38139}
53aa7709
RD
38140static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
38141 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
38142}
d55e5bfc
RD
38143static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
38144 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
38145}
b411df4a
RD
38146static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
38147 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
38148}
6e0de3df
RD
38149static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
38150 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38151}
d55e5bfc
RD
38152static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
38153 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
38154}
38155static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
38156 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
38157}
38158static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
38159 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
38160}
38161static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
38162 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
38163}
38164static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
38165 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
38166}
38167static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
38168 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
38169}
38170static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
38171 return (void *)((wxControlWithItems *) ((wxChoice *) x));
38172}
38173static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
38174 return (void *)((wxControlWithItems *) ((wxListBox *) x));
38175}
38176static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
38177 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
38178}
38179static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
38180 return (void *)((wxValidator *) ((wxPyValidator *) x));
38181}
32fe5131
RD
38182static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
38183static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
38184static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38185static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
38186static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
38187static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38188static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38189static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38190static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
38191static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38192static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38193static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38194static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38195static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38196static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38197static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
38198static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38199static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38200static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38201static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38202static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38203static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
38204static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38205static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38206static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38207static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
38208static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38209static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38210static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38211static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
38212static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38213static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38214static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38215static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38216static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
38217static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38218static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38219static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
38220static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38221static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38222static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38223static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38224static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38225static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
38226static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
38227static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
38228static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38229static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38230static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
38231static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
38232static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38233static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38234static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
38235static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
38236static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
38237static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
38238static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
38239static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
7e08d4ef 38240static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
32fe5131
RD
38241static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38242static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
32fe5131
RD
38243static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38244static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38245static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
38246static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
38247static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38248static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38249static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38250static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
38251static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
38252static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
38253static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
38254static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
38255static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38256static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38257static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38258static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38259static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38260static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38261static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38262static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38263static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38264static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38265static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38266static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38267static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38268static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
38269static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38270static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38271static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38272static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38273static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38274static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38275static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38276static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
38277static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38278static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
38279static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
38280static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38281static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38282static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
38283static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
38284static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
38285static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
38286static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38287static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
38288static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
38289static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
32fe5131
RD
38290static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
38291static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
38292static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
38293static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
38294static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
38295static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
38296static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
38297static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
38298static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
38299static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
38300static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
7e08d4ef
RD
38301static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
38302static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
32fe5131
RD
38303static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38304static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38305static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
38306static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
38307static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38308static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38309static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38310static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38311static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38312static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38313static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38314static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38315static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
38316static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38317static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38318static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
38319static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38320static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38321static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38322static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38323static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38324static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38325static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38326static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38327static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
38328static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38329static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38330static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38331static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38332static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38333static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38334static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
7e08d4ef
RD
38335static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38336static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38337static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
32fe5131
RD
38338static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38339static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
7e08d4ef
RD
38340static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38341static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
32fe5131
RD
38342static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38343static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38344static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38345static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38346static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38347static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38348
38349static swig_type_info *swig_type_initial[] = {
38350 &_swigt__p_bool,
38351 &_swigt__p_char,
38352 &_swigt__p_form_ops_t,
38353 &_swigt__p_int,
38354 &_swigt__p_long,
38355 &_swigt__p_unsigned_char,
38356 &_swigt__p_unsigned_int,
38357 &_swigt__p_unsigned_long,
38358 &_swigt__p_void,
38359 &_swigt__p_wxANIHandler,
38360 &_swigt__p_wxAcceleratorTable,
38361 &_swigt__p_wxActivateEvent,
38362 &_swigt__p_wxArrayInt,
38363 &_swigt__p_wxArrayString,
38364 &_swigt__p_wxBMPHandler,
38365 &_swigt__p_wxBitmap,
38366 &_swigt__p_wxBitmapButton,
38367 &_swigt__p_wxBookCtrlBase,
38368 &_swigt__p_wxBookCtrlBaseEvent,
38369 &_swigt__p_wxBoxSizer,
38370 &_swigt__p_wxButton,
38371 &_swigt__p_wxCURHandler,
38372 &_swigt__p_wxCheckBox,
38373 &_swigt__p_wxCheckListBox,
38374 &_swigt__p_wxChildFocusEvent,
38375 &_swigt__p_wxChoice,
38376 &_swigt__p_wxChoicebook,
38377 &_swigt__p_wxChoicebookEvent,
38378 &_swigt__p_wxCloseEvent,
38379 &_swigt__p_wxColour,
38380 &_swigt__p_wxComboBox,
38381 &_swigt__p_wxCommandEvent,
38382 &_swigt__p_wxContextHelp,
38383 &_swigt__p_wxContextHelpButton,
38384 &_swigt__p_wxContextMenuEvent,
38385 &_swigt__p_wxControl,
38386 &_swigt__p_wxControlWithItems,
38387 &_swigt__p_wxCursor,
38388 &_swigt__p_wxDC,
38389 &_swigt__p_wxDateEvent,
38390 &_swigt__p_wxDatePickerCtrl,
38391 &_swigt__p_wxDateTime,
38392 &_swigt__p_wxDirFilterListCtrl,
38393 &_swigt__p_wxDisplayChangedEvent,
38394 &_swigt__p_wxDropFilesEvent,
38395 &_swigt__p_wxDuplexMode,
38396 &_swigt__p_wxEraseEvent,
38397 &_swigt__p_wxEvent,
38398 &_swigt__p_wxEvtHandler,
38399 &_swigt__p_wxFSFile,
38400 &_swigt__p_wxFileSystem,
38401 &_swigt__p_wxFlexGridSizer,
38402 &_swigt__p_wxFocusEvent,
38403 &_swigt__p_wxFont,
38404 &_swigt__p_wxGBSizerItem,
38405 &_swigt__p_wxGIFHandler,
38406 &_swigt__p_wxGauge,
38407 &_swigt__p_wxGenericDirCtrl,
38408 &_swigt__p_wxGenericDragImage,
38409 &_swigt__p_wxGridBagSizer,
38410 &_swigt__p_wxGridSizer,
38411 &_swigt__p_wxHelpEvent,
38412 &_swigt__p_wxHelpProvider,
38413 &_swigt__p_wxICOHandler,
38414 &_swigt__p_wxIcon,
38415 &_swigt__p_wxIconizeEvent,
38416 &_swigt__p_wxIdleEvent,
38417 &_swigt__p_wxImage,
38418 &_swigt__p_wxImageHandler,
38419 &_swigt__p_wxImageList,
38420 &_swigt__p_wxIndividualLayoutConstraint,
38421 &_swigt__p_wxInitDialogEvent,
38422 &_swigt__p_wxItemContainer,
38423 &_swigt__p_wxJPEGHandler,
38424 &_swigt__p_wxKeyEvent,
38425 &_swigt__p_wxLayoutConstraints,
38426 &_swigt__p_wxListBox,
38427 &_swigt__p_wxListEvent,
38428 &_swigt__p_wxListItem,
38429 &_swigt__p_wxListItemAttr,
38430 &_swigt__p_wxListView,
38431 &_swigt__p_wxListbook,
38432 &_swigt__p_wxListbookEvent,
38433 &_swigt__p_wxMaximizeEvent,
38434 &_swigt__p_wxMemoryDC,
38435 &_swigt__p_wxMenu,
38436 &_swigt__p_wxMenuBar,
38437 &_swigt__p_wxMenuEvent,
38438 &_swigt__p_wxMenuItem,
38439 &_swigt__p_wxMouseCaptureChangedEvent,
38440 &_swigt__p_wxMouseEvent,
38441 &_swigt__p_wxMoveEvent,
38442 &_swigt__p_wxNavigationKeyEvent,
38443 &_swigt__p_wxNcPaintEvent,
38444 &_swigt__p_wxNotebook,
38445 &_swigt__p_wxNotebookEvent,
38446 &_swigt__p_wxNotifyEvent,
38447 &_swigt__p_wxObject,
38448 &_swigt__p_wxPCXHandler,
38449 &_swigt__p_wxPNGHandler,
38450 &_swigt__p_wxPNMHandler,
38451 &_swigt__p_wxPaintEvent,
38452 &_swigt__p_wxPaletteChangedEvent,
38453 &_swigt__p_wxPaperSize,
38454 &_swigt__p_wxPoint,
38455 &_swigt__p_wxPyApp,
38456 &_swigt__p_wxPyCommandEvent,
38457 &_swigt__p_wxPyControl,
38458 &_swigt__p_wxPyEvent,
38459 &_swigt__p_wxPyImageHandler,
38460 &_swigt__p_wxPyListCtrl,
38461 &_swigt__p_wxPySizer,
38462 &_swigt__p_wxPyTreeCtrl,
38463 &_swigt__p_wxPyTreeItemData,
38464 &_swigt__p_wxPyValidator,
38465 &_swigt__p_wxQueryNewPaletteEvent,
38466 &_swigt__p_wxRadioBox,
38467 &_swigt__p_wxRadioButton,
38468 &_swigt__p_wxRect,
38469 &_swigt__p_wxScrollBar,
38470 &_swigt__p_wxScrollEvent,
38471 &_swigt__p_wxScrollWinEvent,
38472 &_swigt__p_wxSetCursorEvent,
38473 &_swigt__p_wxShowEvent,
38474 &_swigt__p_wxSimpleHelpProvider,
38475 &_swigt__p_wxSize,
38476 &_swigt__p_wxSizeEvent,
38477 &_swigt__p_wxSizer,
38478 &_swigt__p_wxSizerItem,
38479 &_swigt__p_wxSlider,
38480 &_swigt__p_wxSpinButton,
38481 &_swigt__p_wxSpinCtrl,
38482 &_swigt__p_wxSpinEvent,
38483 &_swigt__p_wxStaticBitmap,
38484 &_swigt__p_wxStaticBox,
38485 &_swigt__p_wxStaticBoxSizer,
38486 &_swigt__p_wxStaticLine,
38487 &_swigt__p_wxStaticText,
38488 &_swigt__p_wxStdDialogButtonSizer,
38489 &_swigt__p_wxString,
38490 &_swigt__p_wxSysColourChangedEvent,
38491 &_swigt__p_wxTIFFHandler,
38492 &_swigt__p_wxTextAttr,
38493 &_swigt__p_wxTextCtrl,
38494 &_swigt__p_wxTextUrlEvent,
38495 &_swigt__p_wxToggleButton,
38496 &_swigt__p_wxToolBar,
38497 &_swigt__p_wxToolBarBase,
38498 &_swigt__p_wxToolBarToolBase,
7e08d4ef
RD
38499 &_swigt__p_wxToolbook,
38500 &_swigt__p_wxToolbookEvent,
38501 &_swigt__p_wxTreeCtrl,
32fe5131
RD
38502 &_swigt__p_wxTreeEvent,
38503 &_swigt__p_wxTreeItemId,
7e08d4ef
RD
38504 &_swigt__p_wxTreebook,
38505 &_swigt__p_wxTreebookEvent,
32fe5131
RD
38506 &_swigt__p_wxUpdateUIEvent,
38507 &_swigt__p_wxValidator,
38508 &_swigt__p_wxVisualAttributes,
38509 &_swigt__p_wxWindow,
38510 &_swigt__p_wxWindowCreateEvent,
38511 &_swigt__p_wxWindowDestroyEvent,
38512 &_swigt__p_wxXPMHandler,
38513 &_swigt__ptrdiff_t,
38514 &_swigt__std__ptrdiff_t,
38515 &_swigt__unsigned_int,
38516};
38517
38518static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
38519static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
38520static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
38521static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
38522static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
38523static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
38524static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38525static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
38526static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
38527static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
38528static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
38529static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
38530static 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
38531static 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}};
38532static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38533static 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}};
38534static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
38535static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
38536static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
38537static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
38538static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38539static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
38540static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
38541static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
38542static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
38543static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
38544static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38545static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38546static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
38547static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
38548static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38549static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38550static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
38551static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38552static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38553static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
38554static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
38555static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
38556static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
38557static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
38558static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
38559static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
38560static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38561static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
38562static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
38563static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
38564static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
38565static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
38566static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
38567static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
38568static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38569static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38570static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
38571static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38572static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
38573static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38574static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38575static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38576static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38577static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38578static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38579static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
38580static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38581static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
38582static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38583static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38584static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38585static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
38586static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
38587static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
38588static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38589static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38590static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
38591static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
38592static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
38593static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
38594static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
38595static 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}};
38596static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
38597static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
38598static 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}};
38599static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38600static 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}};
38601static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
38602static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
38603static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
38604static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
38605static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
38606static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38607static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
38608static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
38609static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
38610static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38611static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38612static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
38613static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38614static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38615static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
38616static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38617static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38618static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
38619static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
38620static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38621static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38622static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
38623static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
38624static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38625static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38626static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38627static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
38628static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
38629static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
38630static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
38631static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
38632static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
38633static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
38634static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
38635static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38636static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
38637static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38638static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
38639static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
38640static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
38641static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38642static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38643static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
38644static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
38645static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
38646static 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}};
38647static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38648static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
38649static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
38650static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
38651static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
38652static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
38653static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
38654static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
38655static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
38656static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
38657static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
38658static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
38659static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
38660static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
38661static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
38662static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
38663static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
38664static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
38665static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
38666static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
38667static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
38668static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
38669static 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}};
38670static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38671static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
38672static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38673static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38674static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
38675static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38676static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
38677static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38678static 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}};
38679static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38680static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
38681static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38682static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38683static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38684
38685static swig_cast_info *swig_cast_initial[] = {
38686 _swigc__p_bool,
38687 _swigc__p_char,
38688 _swigc__p_form_ops_t,
38689 _swigc__p_int,
38690 _swigc__p_long,
38691 _swigc__p_unsigned_char,
38692 _swigc__p_unsigned_int,
38693 _swigc__p_unsigned_long,
38694 _swigc__p_void,
38695 _swigc__p_wxANIHandler,
38696 _swigc__p_wxAcceleratorTable,
38697 _swigc__p_wxActivateEvent,
38698 _swigc__p_wxArrayInt,
38699 _swigc__p_wxArrayString,
38700 _swigc__p_wxBMPHandler,
38701 _swigc__p_wxBitmap,
38702 _swigc__p_wxBitmapButton,
38703 _swigc__p_wxBookCtrlBase,
38704 _swigc__p_wxBookCtrlBaseEvent,
38705 _swigc__p_wxBoxSizer,
38706 _swigc__p_wxButton,
38707 _swigc__p_wxCURHandler,
38708 _swigc__p_wxCheckBox,
38709 _swigc__p_wxCheckListBox,
38710 _swigc__p_wxChildFocusEvent,
38711 _swigc__p_wxChoice,
38712 _swigc__p_wxChoicebook,
38713 _swigc__p_wxChoicebookEvent,
38714 _swigc__p_wxCloseEvent,
38715 _swigc__p_wxColour,
38716 _swigc__p_wxComboBox,
38717 _swigc__p_wxCommandEvent,
38718 _swigc__p_wxContextHelp,
38719 _swigc__p_wxContextHelpButton,
38720 _swigc__p_wxContextMenuEvent,
38721 _swigc__p_wxControl,
38722 _swigc__p_wxControlWithItems,
38723 _swigc__p_wxCursor,
38724 _swigc__p_wxDC,
38725 _swigc__p_wxDateEvent,
38726 _swigc__p_wxDatePickerCtrl,
38727 _swigc__p_wxDateTime,
38728 _swigc__p_wxDirFilterListCtrl,
38729 _swigc__p_wxDisplayChangedEvent,
38730 _swigc__p_wxDropFilesEvent,
38731 _swigc__p_wxDuplexMode,
38732 _swigc__p_wxEraseEvent,
38733 _swigc__p_wxEvent,
38734 _swigc__p_wxEvtHandler,
38735 _swigc__p_wxFSFile,
38736 _swigc__p_wxFileSystem,
38737 _swigc__p_wxFlexGridSizer,
38738 _swigc__p_wxFocusEvent,
38739 _swigc__p_wxFont,
38740 _swigc__p_wxGBSizerItem,
38741 _swigc__p_wxGIFHandler,
38742 _swigc__p_wxGauge,
38743 _swigc__p_wxGenericDirCtrl,
38744 _swigc__p_wxGenericDragImage,
38745 _swigc__p_wxGridBagSizer,
38746 _swigc__p_wxGridSizer,
38747 _swigc__p_wxHelpEvent,
38748 _swigc__p_wxHelpProvider,
38749 _swigc__p_wxICOHandler,
38750 _swigc__p_wxIcon,
38751 _swigc__p_wxIconizeEvent,
38752 _swigc__p_wxIdleEvent,
38753 _swigc__p_wxImage,
38754 _swigc__p_wxImageHandler,
38755 _swigc__p_wxImageList,
38756 _swigc__p_wxIndividualLayoutConstraint,
38757 _swigc__p_wxInitDialogEvent,
38758 _swigc__p_wxItemContainer,
38759 _swigc__p_wxJPEGHandler,
38760 _swigc__p_wxKeyEvent,
38761 _swigc__p_wxLayoutConstraints,
38762 _swigc__p_wxListBox,
38763 _swigc__p_wxListEvent,
38764 _swigc__p_wxListItem,
38765 _swigc__p_wxListItemAttr,
38766 _swigc__p_wxListView,
38767 _swigc__p_wxListbook,
38768 _swigc__p_wxListbookEvent,
38769 _swigc__p_wxMaximizeEvent,
38770 _swigc__p_wxMemoryDC,
38771 _swigc__p_wxMenu,
38772 _swigc__p_wxMenuBar,
38773 _swigc__p_wxMenuEvent,
38774 _swigc__p_wxMenuItem,
38775 _swigc__p_wxMouseCaptureChangedEvent,
38776 _swigc__p_wxMouseEvent,
38777 _swigc__p_wxMoveEvent,
38778 _swigc__p_wxNavigationKeyEvent,
38779 _swigc__p_wxNcPaintEvent,
38780 _swigc__p_wxNotebook,
38781 _swigc__p_wxNotebookEvent,
38782 _swigc__p_wxNotifyEvent,
38783 _swigc__p_wxObject,
38784 _swigc__p_wxPCXHandler,
38785 _swigc__p_wxPNGHandler,
38786 _swigc__p_wxPNMHandler,
38787 _swigc__p_wxPaintEvent,
38788 _swigc__p_wxPaletteChangedEvent,
38789 _swigc__p_wxPaperSize,
38790 _swigc__p_wxPoint,
38791 _swigc__p_wxPyApp,
38792 _swigc__p_wxPyCommandEvent,
38793 _swigc__p_wxPyControl,
38794 _swigc__p_wxPyEvent,
38795 _swigc__p_wxPyImageHandler,
38796 _swigc__p_wxPyListCtrl,
38797 _swigc__p_wxPySizer,
38798 _swigc__p_wxPyTreeCtrl,
38799 _swigc__p_wxPyTreeItemData,
38800 _swigc__p_wxPyValidator,
38801 _swigc__p_wxQueryNewPaletteEvent,
38802 _swigc__p_wxRadioBox,
38803 _swigc__p_wxRadioButton,
38804 _swigc__p_wxRect,
38805 _swigc__p_wxScrollBar,
38806 _swigc__p_wxScrollEvent,
38807 _swigc__p_wxScrollWinEvent,
38808 _swigc__p_wxSetCursorEvent,
38809 _swigc__p_wxShowEvent,
38810 _swigc__p_wxSimpleHelpProvider,
38811 _swigc__p_wxSize,
38812 _swigc__p_wxSizeEvent,
38813 _swigc__p_wxSizer,
38814 _swigc__p_wxSizerItem,
38815 _swigc__p_wxSlider,
38816 _swigc__p_wxSpinButton,
38817 _swigc__p_wxSpinCtrl,
38818 _swigc__p_wxSpinEvent,
38819 _swigc__p_wxStaticBitmap,
38820 _swigc__p_wxStaticBox,
38821 _swigc__p_wxStaticBoxSizer,
38822 _swigc__p_wxStaticLine,
38823 _swigc__p_wxStaticText,
38824 _swigc__p_wxStdDialogButtonSizer,
38825 _swigc__p_wxString,
38826 _swigc__p_wxSysColourChangedEvent,
38827 _swigc__p_wxTIFFHandler,
38828 _swigc__p_wxTextAttr,
38829 _swigc__p_wxTextCtrl,
38830 _swigc__p_wxTextUrlEvent,
38831 _swigc__p_wxToggleButton,
38832 _swigc__p_wxToolBar,
38833 _swigc__p_wxToolBarBase,
38834 _swigc__p_wxToolBarToolBase,
7e08d4ef
RD
38835 _swigc__p_wxToolbook,
38836 _swigc__p_wxToolbookEvent,
38837 _swigc__p_wxTreeCtrl,
32fe5131
RD
38838 _swigc__p_wxTreeEvent,
38839 _swigc__p_wxTreeItemId,
7e08d4ef
RD
38840 _swigc__p_wxTreebook,
38841 _swigc__p_wxTreebookEvent,
32fe5131
RD
38842 _swigc__p_wxUpdateUIEvent,
38843 _swigc__p_wxValidator,
38844 _swigc__p_wxVisualAttributes,
38845 _swigc__p_wxWindow,
38846 _swigc__p_wxWindowCreateEvent,
38847 _swigc__p_wxWindowDestroyEvent,
38848 _swigc__p_wxXPMHandler,
38849 _swigc__ptrdiff_t,
38850 _swigc__std__ptrdiff_t,
38851 _swigc__unsigned_int,
d55e5bfc
RD
38852};
38853
38854
38855/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38856
38857static swig_const_info swig_const_table[] = {
c370783e 38858{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
38859
38860#ifdef __cplusplus
38861}
38862#endif
32fe5131
RD
38863/*************************************************************************
38864 * Type initialization:
38865 * This problem is tough by the requirement that no dynamic
38866 * memory is used. Also, since swig_type_info structures store pointers to
38867 * swig_cast_info structures and swig_cast_info structures store pointers back
38868 * to swig_type_info structures, we need some lookup code at initialization.
38869 * The idea is that swig generates all the structures that are needed.
38870 * The runtime then collects these partially filled structures.
38871 * The SWIG_InitializeModule function takes these initial arrays out of
38872 * swig_module, and does all the lookup, filling in the swig_module.types
38873 * array with the correct data and linking the correct swig_cast_info
38874 * structures together.
38875
38876 * The generated swig_type_info structures are assigned staticly to an initial
38877 * array. We just loop though that array, and handle each type individually.
38878 * First we lookup if this type has been already loaded, and if so, use the
38879 * loaded structure instead of the generated one. Then we have to fill in the
38880 * cast linked list. The cast data is initially stored in something like a
38881 * two-dimensional array. Each row corresponds to a type (there are the same
38882 * number of rows as there are in the swig_type_initial array). Each entry in
38883 * a column is one of the swig_cast_info structures for that type.
38884 * The cast_initial array is actually an array of arrays, because each row has
38885 * a variable number of columns. So to actually build the cast linked list,
38886 * we find the array of casts associated with the type, and loop through it
38887 * adding the casts to the list. The one last trick we need to do is making
38888 * sure the type pointer in the swig_cast_info struct is correct.
38889
38890 * First off, we lookup the cast->type name to see if it is already loaded.
38891 * There are three cases to handle:
38892 * 1) If the cast->type has already been loaded AND the type we are adding
38893 * casting info to has not been loaded (it is in this module), THEN we
38894 * replace the cast->type pointer with the type pointer that has already
38895 * been loaded.
38896 * 2) If BOTH types (the one we are adding casting info to, and the
38897 * cast->type) are loaded, THEN the cast info has already been loaded by
38898 * the previous module so we just ignore it.
38899 * 3) Finally, if cast->type has not already been loaded, then we add that
38900 * swig_cast_info to the linked list (because the cast->type) pointer will
38901 * be correct.
38902**/
38903
38904#ifdef __cplusplus
38905extern "C" {
38906#if 0
38907} /* c-mode */
38908#endif
38909#endif
38910
38911#if 0
38912#define SWIGRUNTIME_DEBUG
38913#endif
38914
38915SWIGRUNTIME void
38916SWIG_InitializeModule(void *clientdata) {
38917 size_t i;
38918 swig_module_info *module_head;
38919 static int init_run = 0;
38920
38921 clientdata = clientdata;
38922
38923 if (init_run) return;
38924 init_run = 1;
38925
38926 /* Initialize the swig_module */
38927 swig_module.type_initial = swig_type_initial;
38928 swig_module.cast_initial = swig_cast_initial;
38929
38930 /* Try and load any already created modules */
38931 module_head = SWIG_GetModule(clientdata);
38932 if (module_head) {
38933 swig_module.next = module_head->next;
38934 module_head->next = &swig_module;
38935 } else {
38936 /* This is the first module loaded */
38937 swig_module.next = &swig_module;
38938 SWIG_SetModule(clientdata, &swig_module);
38939 }
38940
38941 /* Now work on filling in swig_module.types */
38942#ifdef SWIGRUNTIME_DEBUG
38943 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
38944#endif
38945 for (i = 0; i < swig_module.size; ++i) {
38946 swig_type_info *type = 0;
38947 swig_type_info *ret;
38948 swig_cast_info *cast;
38949
38950#ifdef SWIGRUNTIME_DEBUG
38951 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
38952#endif
38953
38954 /* if there is another module already loaded */
38955 if (swig_module.next != &swig_module) {
38956 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
38957 }
38958 if (type) {
38959 /* Overwrite clientdata field */
38960#ifdef SWIGRUNTIME_DEBUG
38961 printf("SWIG_InitializeModule: found type %s\n", type->name);
38962#endif
38963 if (swig_module.type_initial[i]->clientdata) {
38964 type->clientdata = swig_module.type_initial[i]->clientdata;
38965#ifdef SWIGRUNTIME_DEBUG
38966 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
38967#endif
38968 }
38969 } else {
38970 type = swig_module.type_initial[i];
38971 }
38972
38973 /* Insert casting types */
38974 cast = swig_module.cast_initial[i];
38975 while (cast->type) {
38976 /* Don't need to add information already in the list */
38977 ret = 0;
38978#ifdef SWIGRUNTIME_DEBUG
38979 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
38980#endif
38981 if (swig_module.next != &swig_module) {
38982 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
38983#ifdef SWIGRUNTIME_DEBUG
38984 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
38985#endif
38986 }
38987 if (ret) {
38988 if (type == swig_module.type_initial[i]) {
38989#ifdef SWIGRUNTIME_DEBUG
38990 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
38991#endif
38992 cast->type = ret;
38993 ret = 0;
38994 } else {
38995 /* Check for casting already in the list */
38996 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
38997#ifdef SWIGRUNTIME_DEBUG
38998 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
38999#endif
39000 if (!ocast) ret = 0;
39001 }
39002 }
39003
39004 if (!ret) {
39005#ifdef SWIGRUNTIME_DEBUG
39006 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
39007#endif
39008 if (type->cast) {
39009 type->cast->prev = cast;
39010 cast->next = type->cast;
39011 }
39012 type->cast = cast;
39013 }
39014 cast++;
39015 }
39016 /* Set entry in modules->types array equal to the type */
39017 swig_module.types[i] = type;
39018 }
39019 swig_module.types[i] = 0;
39020
39021#ifdef SWIGRUNTIME_DEBUG
39022 printf("**** SWIG_InitializeModule: Cast List ******\n");
39023 for (i = 0; i < swig_module.size; ++i) {
39024 int j = 0;
39025 swig_cast_info *cast = swig_module.cast_initial[i];
39026 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39027 while (cast->type) {
39028 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
39029 cast++;
39030 ++j;
39031 }
39032 printf("---- Total casts: %d\n",j);
39033 }
39034 printf("**** SWIG_InitializeModule: Cast List ******\n");
39035#endif
39036}
39037
39038/* This function will propagate the clientdata field of type to
39039* any new swig_type_info structures that have been added into the list
39040* of equivalent types. It is like calling
39041* SWIG_TypeClientData(type, clientdata) a second time.
39042*/
39043SWIGRUNTIME void
39044SWIG_PropagateClientData(void) {
39045 size_t i;
39046 swig_cast_info *equiv;
39047 static int init_run = 0;
39048
39049 if (init_run) return;
39050 init_run = 1;
39051
39052 for (i = 0; i < swig_module.size; i++) {
39053 if (swig_module.types[i]->clientdata) {
39054 equiv = swig_module.types[i]->cast;
39055 while (equiv) {
39056 if (!equiv->converter) {
39057 if (equiv->type && !equiv->type->clientdata)
39058 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
39059 }
39060 equiv = equiv->next;
39061 }
39062 }
39063 }
39064}
39065
39066#ifdef __cplusplus
39067#if 0
39068{
39069 /* c-mode */
39070#endif
39071}
39072#endif
39073
d55e5bfc 39074
36ed4f51
RD
39075
39076#ifdef __cplusplus
39077extern "C" {
39078#endif
39079
39080 /* Python-specific SWIG API */
39081#define SWIG_newvarlink() SWIG_Python_newvarlink()
39082#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39083#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39084
39085 /* -----------------------------------------------------------------------------
39086 * global variable support code.
39087 * ----------------------------------------------------------------------------- */
39088
39089 typedef struct swig_globalvar {
39090 char *name; /* Name of global variable */
32fe5131 39091 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
39092 int (*set_attr)(PyObject *); /* Set the value */
39093 struct swig_globalvar *next;
39094 } swig_globalvar;
39095
39096 typedef struct swig_varlinkobject {
39097 PyObject_HEAD
39098 swig_globalvar *vars;
39099 } swig_varlinkobject;
39100
32fe5131 39101 SWIGINTERN PyObject *
36ed4f51
RD
39102 swig_varlink_repr(swig_varlinkobject *v) {
39103 v = v;
39104 return PyString_FromString("<Swig global variables>");
39105 }
39106
32fe5131 39107 SWIGINTERN int
36ed4f51
RD
39108 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
39109 swig_globalvar *var;
39110 flags = flags;
39111 fprintf(fp,"Swig global variables { ");
39112 for (var = v->vars; var; var=var->next) {
39113 fprintf(fp,"%s", var->name);
39114 if (var->next) fprintf(fp,", ");
39115 }
39116 fprintf(fp," }\n");
39117 return 0;
39118 }
39119
32fe5131 39120 SWIGINTERN PyObject *
36ed4f51
RD
39121 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
39122 swig_globalvar *var = v->vars;
39123 while (var) {
39124 if (strcmp(var->name,n) == 0) {
39125 return (*var->get_attr)();
39126 }
39127 var = var->next;
39128 }
39129 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39130 return NULL;
39131 }
39132
32fe5131 39133 SWIGINTERN int
36ed4f51
RD
39134 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
39135 swig_globalvar *var = v->vars;
39136 while (var) {
39137 if (strcmp(var->name,n) == 0) {
39138 return (*var->set_attr)(p);
39139 }
39140 var = var->next;
39141 }
39142 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39143 return 1;
39144 }
39145
32fe5131
RD
39146 SWIGINTERN PyTypeObject*
39147 swig_varlink_type(void) {
39148 static char varlink__doc__[] = "Swig var link object";
39149 static PyTypeObject varlink_type
39150#if !defined(__cplusplus)
39151 ;
39152 static int type_init = 0;
39153 if (!type_init) {
39154 PyTypeObject tmp
39155#endif
39156 = {
39157 PyObject_HEAD_INIT(&PyType_Type)
39158 0, /* Number of items in variable part (ob_size) */
39159 (char *)"swigvarlink", /* Type name (tp_name) */
39160 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
39161 0, /* Itemsize (tp_itemsize) */
39162 0, /* Deallocator (tp_dealloc) */
39163 (printfunc) swig_varlink_print, /* Print (tp_print) */
39164 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
39165 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
39166 0, /* tp_compare */
39167 (reprfunc) swig_varlink_repr, /* tp_repr */
39168 0, /* tp_as_number */
39169 0, /* tp_as_sequence */
39170 0, /* tp_as_mapping */
39171 0, /* tp_hash */
39172 0, /* tp_call */
39173 0, /* tp_str */
39174 0, /* tp_getattro */
39175 0, /* tp_setattro */
39176 0, /* tp_as_buffer */
39177 0, /* tp_flags */
39178 varlink__doc__, /* tp_doc */
36ed4f51 39179#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
39180 0, /* tp_traverse */
39181 0, /* tp_clear */
36ed4f51
RD
39182#endif
39183#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
39184 0, /* tp_richcompare */
39185 0, /* tp_weaklistoffset */
36ed4f51
RD
39186#endif
39187#if PY_VERSION_HEX >= 0x02020000
32fe5131 39188 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
39189#endif
39190#if PY_VERSION_HEX >= 0x02030000
32fe5131 39191 0, /* tp_del */
36ed4f51
RD
39192#endif
39193#ifdef COUNT_ALLOCS
32fe5131 39194 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 39195#endif
32fe5131
RD
39196 };
39197#if !defined(__cplusplus)
39198 varlink_type = tmp;
39199 type_init = 1;
39200 }
39201#endif
39202 return &varlink_type;
39203 }
36ed4f51
RD
39204
39205 /* Create a variable linking object for use later */
32fe5131 39206 SWIGINTERN PyObject *
36ed4f51 39207 SWIG_Python_newvarlink(void) {
32fe5131
RD
39208 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
39209 if (result) {
39210 result->vars = 0;
39211 }
36ed4f51
RD
39212 return ((PyObject*) result);
39213 }
39214
32fe5131 39215 SWIGINTERN void
36ed4f51 39216 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
39217 swig_varlinkobject *v = (swig_varlinkobject *) p;
39218 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
39219 if (gv) {
39220 size_t size = strlen(name)+1;
39221 gv->name = (char *)malloc(size);
39222 if (gv->name) {
39223 strncpy(gv->name,name,size);
39224 gv->get_attr = get_attr;
39225 gv->set_attr = set_attr;
39226 gv->next = v->vars;
39227 }
39228 }
36ed4f51
RD
39229 v->vars = gv;
39230 }
39231
39232 /* -----------------------------------------------------------------------------
39233 * constants/methods manipulation
39234 * ----------------------------------------------------------------------------- */
39235
39236 /* Install Constants */
32fe5131 39237 SWIGINTERN void
36ed4f51
RD
39238 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
39239 PyObject *obj = 0;
39240 size_t i;
32fe5131 39241 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
39242 switch(constants[i].type) {
39243 case SWIG_PY_INT:
39244 obj = PyInt_FromLong(constants[i].lvalue);
39245 break;
39246 case SWIG_PY_FLOAT:
39247 obj = PyFloat_FromDouble(constants[i].dvalue);
39248 break;
39249 case SWIG_PY_STRING:
39250 if (constants[i].pvalue) {
39251 obj = PyString_FromString((char *) constants[i].pvalue);
39252 } else {
39253 Py_INCREF(Py_None);
39254 obj = Py_None;
39255 }
39256 break;
39257 case SWIG_PY_POINTER:
39258 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
39259 break;
39260 case SWIG_PY_BINARY:
39261 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
39262 break;
39263 default:
39264 obj = 0;
39265 break;
39266 }
39267 if (obj) {
39268 PyDict_SetItemString(d,constants[i].name,obj);
39269 Py_DECREF(obj);
39270 }
39271 }
39272 }
39273
39274 /* -----------------------------------------------------------------------------*/
39275 /* Fix SwigMethods to carry the callback ptrs when needed */
39276 /* -----------------------------------------------------------------------------*/
39277
32fe5131 39278 SWIGINTERN void
36ed4f51
RD
39279 SWIG_Python_FixMethods(PyMethodDef *methods,
39280 swig_const_info *const_table,
39281 swig_type_info **types,
39282 swig_type_info **types_initial) {
39283 size_t i;
39284 for (i = 0; methods[i].ml_name; ++i) {
39285 char *c = methods[i].ml_doc;
39286 if (c && (c = strstr(c, "swig_ptr: "))) {
39287 int j;
39288 swig_const_info *ci = 0;
39289 char *name = c + 10;
32fe5131 39290 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
39291 if (strncmp(const_table[j].name, name,
39292 strlen(const_table[j].name)) == 0) {
39293 ci = &(const_table[j]);
39294 break;
39295 }
39296 }
39297 if (ci) {
39298 size_t shift = (ci->ptype) - types;
39299 swig_type_info *ty = types_initial[shift];
39300 size_t ldoc = (c - methods[i].ml_doc);
39301 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
39302 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
39303 if (ndoc) {
39304 char *buff = ndoc;
39305 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
39306 if (ptr) {
39307 strncpy(buff, methods[i].ml_doc, ldoc);
39308 buff += ldoc;
39309 strncpy(buff, "swig_ptr: ", 10);
39310 buff += 10;
39311 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
39312 methods[i].ml_doc = ndoc;
39313 }
39314 }
36ed4f51
RD
39315 }
39316 }
39317 }
39318 }
39319
39320 /* -----------------------------------------------------------------------------*
39321 * Initialize type list
39322 * -----------------------------------------------------------------------------*/
39323
36ed4f51
RD
39324#ifdef __cplusplus
39325}
39326#endif
39327
39328/* -----------------------------------------------------------------------------*
39329 * Partial Init method
39330 * -----------------------------------------------------------------------------*/
39331
d55e5bfc
RD
39332#ifdef __cplusplus
39333extern "C"
39334#endif
32fe5131 39335SWIGEXPORT void SWIG_init(void) {
d55e5bfc 39336 static PyObject *SWIG_globals = 0;
d55e5bfc 39337 PyObject *m, *d;
d55e5bfc 39338 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
39339
39340 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 39341 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 39342
d55e5bfc
RD
39343 m = Py_InitModule((char *) SWIG_name, SwigMethods);
39344 d = PyModule_GetDict(m);
39345
32fe5131 39346 SWIG_InitializeModule(0);
d55e5bfc
RD
39347 SWIG_InstallConstants(d,swig_const_table);
39348
39349 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
39350 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
36ed4f51 39351 {
32fe5131 39352 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
36ed4f51
RD
39353 }
39354 {
32fe5131 39355 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
36ed4f51
RD
39356 }
39357 {
32fe5131 39358 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
36ed4f51
RD
39359 }
39360 {
32fe5131 39361 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
36ed4f51
RD
39362 }
39363 {
32fe5131 39364 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
36ed4f51
RD
39365 }
39366 {
32fe5131 39367 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
36ed4f51
RD
39368 }
39369 {
32fe5131 39370 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
36ed4f51 39371 }
d55e5bfc 39372 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
36ed4f51 39373 {
32fe5131 39374 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
36ed4f51
RD
39375 }
39376 {
32fe5131 39377 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
36ed4f51
RD
39378 }
39379 {
32fe5131 39380 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
36ed4f51
RD
39381 }
39382 {
32fe5131 39383 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
36ed4f51
RD
39384 }
39385 {
32fe5131 39386 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
36ed4f51
RD
39387 }
39388 {
32fe5131 39389 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
36ed4f51 39390 }
d55e5bfc
RD
39391 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
39392 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
39393 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
36ed4f51 39394 {
32fe5131 39395 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
36ed4f51
RD
39396 }
39397 {
32fe5131 39398 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
36ed4f51
RD
39399 }
39400 {
32fe5131 39401 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
36ed4f51
RD
39402 }
39403 {
32fe5131 39404 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
36ed4f51 39405 }
d55e5bfc
RD
39406 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
39407 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
39408 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
39409 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
39410 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
36ed4f51 39411 {
32fe5131 39412 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
36ed4f51
RD
39413 }
39414 {
32fe5131 39415 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
36ed4f51
RD
39416 }
39417 {
32fe5131 39418 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
36ed4f51
RD
39419 }
39420 {
32fe5131 39421 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
36ed4f51
RD
39422 }
39423 {
32fe5131 39424 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
36ed4f51
RD
39425 }
39426 {
32fe5131 39427 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
36ed4f51
RD
39428 }
39429 {
32fe5131 39430 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
36ed4f51
RD
39431 }
39432 {
32fe5131 39433 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
36ed4f51
RD
39434 }
39435 {
32fe5131 39436 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
36ed4f51
RD
39437 }
39438 {
32fe5131 39439 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
36ed4f51
RD
39440 }
39441 {
32fe5131 39442 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
36ed4f51
RD
39443 }
39444 {
32fe5131 39445 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
36ed4f51
RD
39446 }
39447 {
32fe5131 39448 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
36ed4f51
RD
39449 }
39450 {
32fe5131 39451 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
36ed4f51
RD
39452 }
39453 {
32fe5131 39454 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
36ed4f51
RD
39455 }
39456 {
32fe5131 39457 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
36ed4f51
RD
39458 }
39459 {
32fe5131 39460 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
36ed4f51 39461 }
08d9e66e 39462 {
32fe5131 39463 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
08d9e66e
RD
39464 }
39465 {
32fe5131 39466 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
08d9e66e 39467 }
36ed4f51 39468 {
32fe5131 39469 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
36ed4f51 39470 }
88c6b281 39471 {
32fe5131 39472 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
88c6b281 39473 }
36ed4f51 39474 {
32fe5131 39475 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
36ed4f51
RD
39476 }
39477 {
32fe5131 39478 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
36ed4f51
RD
39479 }
39480 {
32fe5131 39481 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
36ed4f51
RD
39482 }
39483 {
32fe5131 39484 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
36ed4f51
RD
39485 }
39486 {
32fe5131 39487 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
36ed4f51
RD
39488 }
39489 {
32fe5131 39490 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
36ed4f51
RD
39491 }
39492 {
32fe5131 39493 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
36ed4f51
RD
39494 }
39495 {
32fe5131 39496 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
36ed4f51
RD
39497 }
39498 {
32fe5131 39499 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
36ed4f51
RD
39500 }
39501 {
32fe5131 39502 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
36ed4f51
RD
39503 }
39504 {
32fe5131 39505 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
36ed4f51
RD
39506 }
39507 {
32fe5131 39508 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
36ed4f51
RD
39509 }
39510 {
32fe5131 39511 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
36ed4f51
RD
39512 }
39513 {
32fe5131 39514 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
36ed4f51
RD
39515 }
39516 {
32fe5131 39517 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
36ed4f51
RD
39518 }
39519 {
32fe5131 39520 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
36ed4f51
RD
39521 }
39522 {
32fe5131 39523 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
36ed4f51
RD
39524 }
39525 {
32fe5131 39526 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
36ed4f51
RD
39527 }
39528 {
32fe5131 39529 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
36ed4f51
RD
39530 }
39531 {
32fe5131 39532 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
36ed4f51
RD
39533 }
39534 {
32fe5131 39535 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
36ed4f51
RD
39536 }
39537 {
32fe5131 39538 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
36ed4f51
RD
39539 }
39540 {
32fe5131 39541 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
36ed4f51 39542 }
fef4c27a 39543 {
32fe5131 39544 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
fef4c27a
RD
39545 }
39546 {
32fe5131 39547 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
fef4c27a 39548 }
d55e5bfc
RD
39549 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
39550 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
39551 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
39552 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
39553 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
39554 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
39555 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
36ed4f51 39556 {
32fe5131 39557 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
36ed4f51
RD
39558 }
39559 {
32fe5131 39560 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
36ed4f51
RD
39561 }
39562 {
32fe5131 39563 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
36ed4f51
RD
39564 }
39565 {
32fe5131 39566 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
36ed4f51 39567 }
d55e5bfc
RD
39568 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
39569 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
39570 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
39571 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a 39572 {
32fe5131 39573 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
fef4c27a
RD
39574 }
39575 {
32fe5131 39576 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
fef4c27a 39577 }
7993762b 39578 {
32fe5131 39579 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
7993762b 39580 }
fef4c27a 39581 {
32fe5131 39582 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
fef4c27a
RD
39583 }
39584 {
32fe5131 39585 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
fef4c27a
RD
39586 }
39587 {
32fe5131 39588 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
fef4c27a
RD
39589 }
39590 {
32fe5131 39591 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
fef4c27a
RD
39592 }
39593 {
32fe5131 39594 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
fef4c27a
RD
39595 }
39596 {
32fe5131 39597 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
fef4c27a
RD
39598 }
39599 {
32fe5131 39600 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
fef4c27a
RD
39601 }
39602 {
32fe5131 39603 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
fef4c27a
RD
39604 }
39605 {
32fe5131 39606 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
fef4c27a 39607 }
d55e5bfc
RD
39608 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
39609 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 39610 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
7e08d4ef
RD
39611 {
39612 PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
39613 }
39614 {
39615 PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
39616 }
39617 {
39618 PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
39619 }
39620 {
39621 PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
39622 }
39623 {
39624 PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
39625 }
39626 {
39627 PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
39628 }
36ed4f51 39629 {
32fe5131 39630 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
36ed4f51
RD
39631 }
39632 {
32fe5131 39633 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
36ed4f51
RD
39634 }
39635 {
32fe5131 39636 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
36ed4f51
RD
39637 }
39638 {
32fe5131 39639 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
36ed4f51
RD
39640 }
39641 {
32fe5131 39642 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
36ed4f51
RD
39643 }
39644 {
32fe5131 39645 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
36ed4f51 39646 }
091fdbfa 39647 {
32fe5131 39648 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
091fdbfa 39649 }
36ed4f51 39650 {
32fe5131 39651 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
36ed4f51
RD
39652 }
39653 {
32fe5131 39654 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
36ed4f51
RD
39655 }
39656 {
32fe5131 39657 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
36ed4f51
RD
39658 }
39659 {
32fe5131 39660 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
36ed4f51 39661 }
d55e5bfc
RD
39662 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
39663 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
36ed4f51 39664 {
32fe5131 39665 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
36ed4f51
RD
39666 }
39667 {
32fe5131 39668 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
36ed4f51
RD
39669 }
39670 {
32fe5131 39671 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
36ed4f51
RD
39672 }
39673 {
32fe5131 39674 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
36ed4f51
RD
39675 }
39676 {
32fe5131 39677 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
36ed4f51
RD
39678 }
39679 {
32fe5131 39680 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
36ed4f51 39681 }
d55e5bfc
RD
39682 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
39683 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
36ed4f51 39684 {
32fe5131 39685 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
36ed4f51
RD
39686 }
39687 {
32fe5131 39688 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
36ed4f51
RD
39689 }
39690 {
32fe5131 39691 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
36ed4f51
RD
39692 }
39693 {
32fe5131 39694 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
36ed4f51
RD
39695 }
39696 {
32fe5131 39697 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
36ed4f51
RD
39698 }
39699 {
32fe5131 39700 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
36ed4f51 39701 }
b411df4a
RD
39702 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
39703 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
7e08d4ef
RD
39704 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
39705 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
39706 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
39707 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
39708 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
39709 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
36ed4f51 39710 {
32fe5131 39711 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
36ed4f51
RD
39712 }
39713 {
32fe5131 39714 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
36ed4f51
RD
39715 }
39716 {
32fe5131 39717 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
36ed4f51
RD
39718 }
39719 {
32fe5131 39720 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
36ed4f51
RD
39721 }
39722 {
32fe5131 39723 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
36ed4f51
RD
39724 }
39725 {
32fe5131 39726 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
36ed4f51
RD
39727 }
39728 {
32fe5131 39729 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
36ed4f51
RD
39730 }
39731 {
32fe5131 39732 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
36ed4f51
RD
39733 }
39734 {
32fe5131 39735 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
36ed4f51
RD
39736 }
39737 {
32fe5131 39738 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
36ed4f51
RD
39739 }
39740 {
32fe5131 39741 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
36ed4f51
RD
39742 }
39743 {
32fe5131 39744 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
36ed4f51
RD
39745 }
39746 {
32fe5131 39747 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
36ed4f51
RD
39748 }
39749 {
32fe5131 39750 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
36ed4f51 39751 }
d55e5bfc 39752 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
36ed4f51 39753 {
32fe5131 39754 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
36ed4f51
RD
39755 }
39756 {
32fe5131 39757 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
36ed4f51
RD
39758 }
39759 {
32fe5131 39760 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
36ed4f51
RD
39761 }
39762 {
32fe5131 39763 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
36ed4f51
RD
39764 }
39765 {
32fe5131 39766 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
36ed4f51
RD
39767 }
39768 {
32fe5131 39769 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
36ed4f51
RD
39770 }
39771 {
32fe5131 39772 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
36ed4f51
RD
39773 }
39774 {
32fe5131 39775 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
36ed4f51
RD
39776 }
39777 {
32fe5131 39778 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
36ed4f51
RD
39779 }
39780 {
32fe5131 39781 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
36ed4f51
RD
39782 }
39783 {
32fe5131 39784 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
36ed4f51
RD
39785 }
39786 {
32fe5131 39787 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
36ed4f51
RD
39788 }
39789 {
32fe5131 39790 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
36ed4f51
RD
39791 }
39792 {
32fe5131 39793 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
36ed4f51
RD
39794 }
39795 {
32fe5131 39796 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
36ed4f51
RD
39797 }
39798 {
32fe5131 39799 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
36ed4f51
RD
39800 }
39801 {
32fe5131 39802 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
36ed4f51
RD
39803 }
39804 {
32fe5131 39805 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
36ed4f51
RD
39806 }
39807 {
32fe5131 39808 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
36ed4f51
RD
39809 }
39810 {
32fe5131 39811 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
36ed4f51
RD
39812 }
39813 {
32fe5131 39814 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
36ed4f51
RD
39815 }
39816 {
32fe5131 39817 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
36ed4f51
RD
39818 }
39819 {
32fe5131 39820 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
36ed4f51
RD
39821 }
39822 {
32fe5131 39823 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
36ed4f51
RD
39824 }
39825 {
32fe5131 39826 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
36ed4f51
RD
39827 }
39828 {
32fe5131 39829 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
36ed4f51
RD
39830 }
39831 {
32fe5131 39832 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
36ed4f51
RD
39833 }
39834 {
32fe5131 39835 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
36ed4f51
RD
39836 }
39837 {
32fe5131 39838 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
36ed4f51
RD
39839 }
39840 {
32fe5131 39841 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
36ed4f51
RD
39842 }
39843 {
32fe5131 39844 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
36ed4f51
RD
39845 }
39846 {
32fe5131 39847 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
36ed4f51
RD
39848 }
39849 {
32fe5131 39850 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
36ed4f51
RD
39851 }
39852 {
32fe5131 39853 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
36ed4f51
RD
39854 }
39855 {
32fe5131 39856 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
36ed4f51
RD
39857 }
39858 {
32fe5131 39859 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
36ed4f51
RD
39860 }
39861 {
32fe5131 39862 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
36ed4f51
RD
39863 }
39864 {
32fe5131 39865 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
36ed4f51
RD
39866 }
39867 {
32fe5131 39868 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
36ed4f51
RD
39869 }
39870 {
32fe5131 39871 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
36ed4f51
RD
39872 }
39873 {
32fe5131 39874 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
36ed4f51
RD
39875 }
39876 {
32fe5131 39877 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
36ed4f51
RD
39878 }
39879 {
32fe5131 39880 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
36ed4f51
RD
39881 }
39882 {
32fe5131 39883 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
36ed4f51
RD
39884 }
39885 {
32fe5131 39886 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
36ed4f51
RD
39887 }
39888 {
32fe5131 39889 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
36ed4f51
RD
39890 }
39891 {
32fe5131 39892 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
36ed4f51
RD
39893 }
39894 {
32fe5131 39895 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
36ed4f51
RD
39896 }
39897 {
32fe5131 39898 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
36ed4f51
RD
39899 }
39900 {
32fe5131 39901 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
36ed4f51
RD
39902 }
39903 {
32fe5131 39904 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
36ed4f51
RD
39905 }
39906 {
32fe5131 39907 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
36ed4f51
RD
39908 }
39909 {
32fe5131 39910 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
36ed4f51
RD
39911 }
39912 {
32fe5131 39913 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
36ed4f51
RD
39914 }
39915 {
32fe5131 39916 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
36ed4f51
RD
39917 }
39918 {
32fe5131 39919 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
36ed4f51
RD
39920 }
39921 {
32fe5131 39922 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
36ed4f51
RD
39923 }
39924 {
32fe5131 39925 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
36ed4f51
RD
39926 }
39927 {
32fe5131 39928 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
36ed4f51
RD
39929 }
39930 {
32fe5131 39931 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
36ed4f51
RD
39932 }
39933 {
32fe5131 39934 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
36ed4f51
RD
39935 }
39936 {
32fe5131 39937 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
36ed4f51
RD
39938 }
39939 {
32fe5131 39940 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
36ed4f51
RD
39941 }
39942 {
32fe5131 39943 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
36ed4f51
RD
39944 }
39945 {
32fe5131 39946 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
36ed4f51
RD
39947 }
39948 {
32fe5131 39949 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
36ed4f51
RD
39950 }
39951 {
32fe5131 39952 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
36ed4f51
RD
39953 }
39954 {
32fe5131 39955 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
36ed4f51 39956 }
d55e5bfc
RD
39957 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
39958 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
39959 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
39960 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
39961 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
39962 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
39963 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
39964 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
39965 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
39966 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
39967 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
39968 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
39969 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
39970 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
39971 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
39972 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
39973 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
39974 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
39975 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
39976 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
39977
39978 // Map renamed classes back to their common name for OOR
39979 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
39980
39981 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
36ed4f51 39982 {
32fe5131 39983 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
36ed4f51
RD
39984 }
39985 {
32fe5131 39986 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
36ed4f51
RD
39987 }
39988 {
32fe5131 39989 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
36ed4f51
RD
39990 }
39991 {
32fe5131 39992 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
36ed4f51
RD
39993 }
39994 {
32fe5131 39995 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
36ed4f51
RD
39996 }
39997 {
32fe5131 39998 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
36ed4f51
RD
39999 }
40000 {
32fe5131 40001 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
36ed4f51
RD
40002 }
40003 {
32fe5131 40004 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
36ed4f51
RD
40005 }
40006 {
32fe5131 40007 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
36ed4f51
RD
40008 }
40009 {
32fe5131 40010 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
36ed4f51
RD
40011 }
40012 {
32fe5131 40013 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
36ed4f51
RD
40014 }
40015 {
32fe5131 40016 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
36ed4f51
RD
40017 }
40018 {
32fe5131 40019 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
36ed4f51
RD
40020 }
40021 {
32fe5131 40022 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
36ed4f51
RD
40023 }
40024 {
32fe5131 40025 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
36ed4f51
RD
40026 }
40027 {
32fe5131 40028 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
36ed4f51
RD
40029 }
40030 {
32fe5131 40031 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
36ed4f51
RD
40032 }
40033 {
32fe5131 40034 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
36ed4f51
RD
40035 }
40036 {
32fe5131 40037 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
36ed4f51
RD
40038 }
40039 {
32fe5131 40040 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
36ed4f51
RD
40041 }
40042 {
32fe5131 40043 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
36ed4f51
RD
40044 }
40045 {
32fe5131 40046 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
36ed4f51
RD
40047 }
40048 {
32fe5131 40049 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
36ed4f51
RD
40050 }
40051 {
32fe5131 40052 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
36ed4f51
RD
40053 }
40054 {
32fe5131 40055 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
36ed4f51
RD
40056 }
40057 {
32fe5131 40058 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
36ed4f51
RD
40059 }
40060 {
32fe5131 40061 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
36ed4f51
RD
40062 }
40063 {
32fe5131 40064 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
36ed4f51
RD
40065 }
40066 {
32fe5131 40067 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
36ed4f51
RD
40068 }
40069 {
32fe5131 40070 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
36ed4f51
RD
40071 }
40072 {
32fe5131 40073 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
36ed4f51
RD
40074 }
40075 {
32fe5131 40076 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
36ed4f51
RD
40077 }
40078 {
32fe5131 40079 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
36ed4f51
RD
40080 }
40081 {
32fe5131 40082 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
36ed4f51
RD
40083 }
40084 {
32fe5131 40085 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
36ed4f51 40086 }
d55e5bfc
RD
40087 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
40088 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
40089 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
40090 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
40091 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
40092 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
40093 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
40094 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
40095 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
40096 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
40097 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
40098 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
40099 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
40100 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
40101 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
40102 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
40103 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
40104 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
40105 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
40106 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 40107 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
40108
40109 // Map renamed classes back to their common name for OOR
40110 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40111 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40112
40113 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
36ed4f51 40114 {
32fe5131 40115 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
36ed4f51
RD
40116 }
40117 {
32fe5131 40118 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
36ed4f51
RD
40119 }
40120 {
32fe5131 40121 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
36ed4f51
RD
40122 }
40123 {
32fe5131 40124 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
36ed4f51
RD
40125 }
40126 {
32fe5131 40127 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
36ed4f51
RD
40128 }
40129 {
32fe5131 40130 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
36ed4f51
RD
40131 }
40132 {
32fe5131 40133 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
36ed4f51 40134 }
d55e5bfc
RD
40135 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
40136 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
40137
40138 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40139
53aa7709
RD
40140 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
40141 {
32fe5131 40142 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
53aa7709
RD
40143 }
40144 {
32fe5131 40145 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
53aa7709
RD
40146 }
40147 {
32fe5131 40148 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
53aa7709
RD
40149 }
40150 {
32fe5131 40151 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
53aa7709
RD
40152 }
40153 {
32fe5131 40154 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
53aa7709 40155 }
d55e5bfc
RD
40156}
40157