]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
Applied patch #1431193: work around for recent fileuri change in mediactrl + fix
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
7449af73 3 * Version 1.3.27
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
7e08d4ef 12#define SWIG_VERSION 0x010327
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d55e5bfc
RD
28#endif
29
7449af73
RD
30/***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
d55e5bfc 36
7449af73
RD
37/* template workaround for compilers that cannot correctly implement the C++ standard */
38#ifndef SWIGTEMPLATEDISAMBIGUATOR
39# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40# define SWIGTEMPLATEDISAMBIGUATOR template
093d3ff1 41# else
7449af73 42# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
43# endif
44#endif
d55e5bfc 45
7449af73
RD
46/* inline attribute */
47#ifndef SWIGINLINE
48# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49# define SWIGINLINE inline
50# else
51# define SWIGINLINE
52# endif
53#endif
54
55/* attribute recognised by some compilers to avoid 'unused' warnings */
56#ifndef SWIGUNUSED
57# if defined(__GNUC__) || defined(__ICC)
58# define SWIGUNUSED __attribute__ ((unused))
59# else
60# define SWIGUNUSED
61# endif
62#endif
63
64/* internal SWIG method */
65#ifndef SWIGINTERN
66# define SWIGINTERN static SWIGUNUSED
67#endif
68
69/* internal inline SWIG method */
70#ifndef SWIGINTERNINLINE
71# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72#endif
73
74/* exporting methods for Windows DLLs */
75#ifndef SWIGEXPORT
76# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77# if defined(STATIC_LINKED)
78# define SWIGEXPORT
79# else
80# define SWIGEXPORT __declspec(dllexport)
81# endif
82# else
83# define SWIGEXPORT
84# endif
85#endif
86
87/* calling conventions for Windows */
88#ifndef SWIGSTDCALL
89# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90# define SWIGSTDCALL __stdcall
91# else
92# define SWIGSTDCALL
93# endif
94#endif
95
96
d55e5bfc 97
093d3ff1 98#include <Python.h>
d55e5bfc
RD
99
100/***********************************************************************
093d3ff1 101 * swigrun.swg
d55e5bfc 102 *
093d3ff1
RD
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
d55e5bfc
RD
105 *
106 ************************************************************************/
107
093d3ff1
RD
108/* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
7449af73 110#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 111
093d3ff1
RD
112/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113#ifdef SWIG_TYPE_TABLE
7449af73
RD
114# define SWIG_QUOTE_STRING(x) #x
115# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 117#else
7449af73 118# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
119#endif
120
121/*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128*/
7449af73 129
093d3ff1 130#ifndef SWIGRUNTIME
7449af73 131# define SWIGRUNTIME SWIGINTERN
093d3ff1 132#endif
7449af73 133
093d3ff1 134#ifndef SWIGRUNTIMEINLINE
7449af73 135# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
136#endif
137
7449af73
RD
138#include <string.h>
139
d55e5bfc
RD
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144typedef void *(*swig_converter_func)(void *);
145typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
7449af73 147/* Structure to store inforomation on one type */
d55e5bfc 148typedef struct swig_type_info {
7449af73
RD
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
d55e5bfc
RD
154} swig_type_info;
155
7449af73
RD
156/* Structure to store a type and conversion function used for casting */
157typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162} swig_cast_info;
163
164/* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174} swig_module_info;
175
176
093d3ff1
RD
177/*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183*/
184SWIGRUNTIME int
185SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
7449af73 190 if (*f1 != *f2) return (int)(*f1 - *f2);
093d3ff1
RD
191 }
192 return (l1 - f1) - (l2 - f2);
193}
194
195/*
196 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 197 Return 0 if not equal, 1 if equal
093d3ff1
RD
198*/
199SWIGRUNTIME int
200SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
7449af73 208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
209 if (*ne) ++ne;
210 }
211 return equiv;
212}
213
214/*
7449af73
RD
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 217*/
7449af73
RD
218SWIGRUNTIME int
219SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
093d3ff1 226 }
7449af73
RD
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
093d3ff1 229 }
7449af73 230 return equiv;
093d3ff1
RD
231}
232
7449af73
RD
233
234/* think of this as a c++ template<> or a scheme macro */
235#define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
093d3ff1
RD
256/*
257 Check the typename
258*/
7449af73 259SWIGRUNTIME swig_cast_info *
093d3ff1 260SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262}
263
264/* Same as previous function, except strcmp is replaced with a pointer comparison */
265SWIGRUNTIME swig_cast_info *
266SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
268}
269
270/*
271 Cast a pointer up an inheritance hierarchy
272*/
273SWIGRUNTIMEINLINE void *
7449af73 274SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276}
277
278/*
279 Dynamic pointer casting. Down an inheritance hierarchy
280*/
281SWIGRUNTIME swig_type_info *
282SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290}
291
292/*
293 Return the name associated with this type
294*/
295SWIGRUNTIMEINLINE const char *
296SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298}
299
300/*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303*/
304SWIGRUNTIME const char *
305SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319}
320
093d3ff1
RD
321/*
322 Set the clientdata field for a type
323*/
324SWIGRUNTIME void
7449af73
RD
325SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
093d3ff1
RD
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
7449af73
RD
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
093d3ff1 335 }
7449af73
RD
336 }
337 cast = cast->next;
338 }
339}
340
341/*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348*/
349SWIGRUNTIME swig_type_info *
350SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
093d3ff1 379 }
7449af73
RD
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383}
384
385/*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393*/
394SWIGRUNTIME swig_type_info *
395SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
093d3ff1 414 }
7449af73
RD
415
416 /* neither found a match */
417 return 0;
093d3ff1
RD
418}
419
7449af73 420
093d3ff1
RD
421/*
422 Pack binary data into a string
423*/
424SWIGRUNTIME char *
425SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
093d3ff1 429 for (; u != eu; ++u) {
7449af73 430 register unsigned char uu = *u;
093d3ff1
RD
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435}
436
437/*
438 Unpack binary data from a string
439*/
440SWIGRUNTIME const char *
441SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
7449af73 443 register const unsigned char *eu = u + sz;
093d3ff1 444 for (; u != eu; ++u) {
7449af73 445 register char d = *(c++);
093d3ff1
RD
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463}
464
093d3ff1
RD
465/*
466 Pack 'void *' into a string buffer.
467*/
468SWIGRUNTIME char *
469SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477}
478
479SWIGRUNTIME const char *
480SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490}
491
492SWIGRUNTIME char *
493SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505}
d55e5bfc 506
093d3ff1
RD
507SWIGRUNTIME const char *
508SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518}
d55e5bfc
RD
519
520#ifdef __cplusplus
521}
522#endif
523
093d3ff1
RD
524/* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
d55e5bfc 527
093d3ff1
RD
528#ifdef __cplusplus
529extern "C" {
530#endif
c32bde28 531
093d3ff1
RD
532/* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
d55e5bfc 535
093d3ff1 536#ifndef SWIGINTERN
7449af73 537# define SWIGINTERN static SWIGUNUSED
093d3ff1 538#endif
d55e5bfc 539
7449af73
RD
540#ifndef SWIGINTERNINLINE
541# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 542#endif
d55e5bfc 543
093d3ff1
RD
544/*
545 Exception handling in wrappers
546*/
547#define SWIG_fail goto fail
548#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554/*
555 Contract support
556*/
557#define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560/* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
d55e5bfc 563
093d3ff1
RD
564/* Constant Types */
565#define SWIG_PY_INT 1
566#define SWIG_PY_FLOAT 2
567#define SWIG_PY_STRING 3
568#define SWIG_PY_POINTER 4
569#define SWIG_PY_BINARY 5
570
571/* Constant information structure */
572typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579} swig_const_info;
d55e5bfc 580
c32bde28 581
093d3ff1
RD
582/* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
c32bde28
RD
585#define SWIG_OLDOBJ 1
586#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
588
589#ifdef __cplusplus
093d3ff1
RD
590}
591#endif
d55e5bfc 592
d55e5bfc 593
093d3ff1
RD
594/***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
d55e5bfc 603
093d3ff1
RD
604/* Common SWIG API */
605#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
9d7dfdff 608
d55e5bfc 609
093d3ff1
RD
610/* Python-specific SWIG API */
611#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 613
7449af73
RD
614/* Runtime API */
615#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 617
093d3ff1
RD
618/* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621/*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625*/
626#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627# define SWIG_COBJECT_TYPES
628#endif
d55e5bfc 629
093d3ff1
RD
630/* Flags for pointer conversion */
631#define SWIG_POINTER_EXCEPTION 0x1
632#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 633
d55e5bfc 634
7449af73
RD
635/* Add PyOS_snprintf for old Pythons */
636#if PY_VERSION_HEX < 0x02020000
637#define PyOS_snprintf snprintf
638#endif
639
093d3ff1
RD
640#ifdef __cplusplus
641extern "C" {
642#endif
d55e5bfc 643
093d3ff1
RD
644/* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
093d3ff1
RD
647#ifndef SWIG_BUFFER_SIZE
648#define SWIG_BUFFER_SIZE 1024
649#endif
d55e5bfc 650
7449af73
RD
651/* A crude PyString_FromFormat implementation for old Pythons */
652#if PY_VERSION_HEX < 0x02020000
653static PyObject *
654PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662}
663#endif
664
665#if PY_VERSION_HEX < 0x01060000
666#define PyObject_Del(op) PyMem_DEL((op))
667#endif
668
093d3ff1
RD
669#if defined(SWIG_COBJECT_TYPES)
670#if !defined(SWIG_COBJECT_PYTHON)
671/* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
d55e5bfc 674
093d3ff1
RD
675typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679} PySwigObject;
680
681/* Declarations for objects of type PySwigObject */
682
683SWIGRUNTIME int
684PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 685{
093d3ff1 686 char result[SWIG_BUFFER_SIZE];
7449af73 687 flags = flags;
093d3ff1
RD
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
d55e5bfc 693 }
093d3ff1 694}
9d7dfdff 695
093d3ff1
RD
696SWIGRUNTIME PyObject *
697PySwigObject_repr(PySwigObject *v)
698{
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
702}
703
093d3ff1
RD
704SWIGRUNTIME PyObject *
705PySwigObject_str(PySwigObject *v)
706{
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710}
d55e5bfc 711
093d3ff1
RD
712SWIGRUNTIME PyObject *
713PySwigObject_long(PySwigObject *v)
d55e5bfc 714{
7449af73
RD
715 return PyLong_FromVoidPtr(v->ptr);
716}
717
718SWIGRUNTIME PyObject *
719PySwigObject_format(const char* fmt, PySwigObject *v)
720{
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
093d3ff1
RD
732}
733
734SWIGRUNTIME PyObject *
735PySwigObject_oct(PySwigObject *v)
736{
7449af73 737 return PySwigObject_format("%o",v);
d55e5bfc
RD
738}
739
093d3ff1
RD
740SWIGRUNTIME PyObject *
741PySwigObject_hex(PySwigObject *v)
742{
7449af73 743 return PySwigObject_format("%x",v);
093d3ff1 744}
d55e5bfc 745
093d3ff1
RD
746SWIGRUNTIME int
747PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748{
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
7449af73 751 return (c > 0) ? 1 : -1;
c32bde28 752 } else {
093d3ff1
RD
753 void *i = v->ptr;
754 void *j = w->ptr;
7449af73 755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c32bde28 756 }
d55e5bfc 757}
093d3ff1
RD
758
759SWIGRUNTIME void
760PySwigObject_dealloc(PySwigObject *self)
c32bde28 761{
7449af73 762 PyObject_Del(self);
c32bde28 763}
093d3ff1
RD
764
765SWIGRUNTIME PyTypeObject*
7449af73
RD
766PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
093d3ff1 768 "Swig object carries a C/C++ instance pointer";
9d7dfdff 769
093d3ff1
RD
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 794#if PY_VERSION_HEX >= 0x02020000
093d3ff1 795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
796#elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
798#endif
799 };
800
7449af73
RD
801 static PyTypeObject pyswigobject_type
802#if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
093d3ff1 805 if (!type_init) {
7449af73
RD
806 PyTypeObject tmp
807#endif
808 = {
093d3ff1
RD
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
7449af73 811 (char *)"PySwigObject", /*tp_name*/
093d3ff1
RD
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
7449af73
RD
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
093d3ff1
RD
830#if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833#endif
834#if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837#endif
838#if PY_VERSION_HEX >= 0x02020000
839 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 840#endif
093d3ff1
RD
841#if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843#endif
844#ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846#endif
847 };
7449af73
RD
848#if !defined(__cplusplus)
849 pyswigobject_type = tmp;
093d3ff1
RD
850 type_init = 1;
851 }
7449af73
RD
852#endif
853 return &pyswigobject_type;
093d3ff1
RD
854}
855
856SWIGRUNTIME PyObject *
857PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858{
7449af73
RD
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
093d3ff1
RD
864 return (PyObject *)self;
865}
866
867SWIGRUNTIMEINLINE void *
868PySwigObject_AsVoidPtr(PyObject *self)
869{
870 return ((PySwigObject *)self)->ptr;
871}
872
873SWIGRUNTIMEINLINE const char *
874PySwigObject_GetDesc(PyObject *self)
875{
876 return ((PySwigObject *)self)->desc;
877}
878
879SWIGRUNTIMEINLINE int
880PySwigObject_Check(PyObject *op) {
7449af73 881 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883}
884
885/* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894} PySwigPacked;
895
896SWIGRUNTIME int
897PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898{
899 char result[SWIG_BUFFER_SIZE];
7449af73 900 flags = flags;
093d3ff1
RD
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
905 }
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
909}
9d7dfdff 910
093d3ff1
RD
911SWIGRUNTIME PyObject *
912PySwigPacked_repr(PySwigPacked *v)
913{
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
920}
921
922SWIGRUNTIME PyObject *
923PySwigPacked_str(PySwigPacked *v)
924{
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
7449af73 929 return PyString_FromString(v->desc);
093d3ff1
RD
930 }
931}
932
933SWIGRUNTIME int
934PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935{
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
7449af73 938 return (c > 0) ? 1 : -1;
093d3ff1
RD
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
7449af73 942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1
RD
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945}
946
947SWIGRUNTIME void
948PySwigPacked_dealloc(PySwigPacked *self)
949{
950 free(self->pack);
7449af73 951 PyObject_Del(self);
093d3ff1
RD
952}
953
954SWIGRUNTIME PyTypeObject*
7449af73
RD
955PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
093d3ff1 957 "Swig object carries a C/C++ instance pointer";
7449af73
RD
958 static PyTypeObject pyswigpacked_type
959#if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
093d3ff1 962 if (!type_init) {
7449af73
RD
963 PyTypeObject tmp
964#endif
965 = {
093d3ff1
RD
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
7449af73 968 (char *)"PySwigPacked", /*tp_name*/
093d3ff1
RD
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
7449af73
RD
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
093d3ff1
RD
987#if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990#endif
991#if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994#endif
995#if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997#endif
998#if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000#endif
1001#ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003#endif
1004 };
7449af73
RD
1005#if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
093d3ff1
RD
1007 type_init = 1;
1008 }
7449af73
RD
1009#endif
1010 return &pyswigpacked_type;
093d3ff1
RD
1011}
1012
1013SWIGRUNTIME PyObject *
1014PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015{
7449af73 1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
7449af73
RD
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
093d3ff1
RD
1029 }
1030}
1031
1032SWIGRUNTIMEINLINE const char *
1033PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1034{
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039}
1040
1041SWIGRUNTIMEINLINE const char *
1042PySwigPacked_GetDesc(PyObject *self)
1043{
1044 return ((PySwigPacked *)self)->desc;
1045}
1046
1047SWIGRUNTIMEINLINE int
1048PySwigPacked_Check(PyObject *op) {
7449af73 1049 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051}
1052
1053#else
1054/* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059#define PySwigObject_Check(obj) PyCObject_Check(obj)
1060#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063#endif
1064
1065#endif
1066
1067/* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071SWIGRUNTIME void
1072SWIG_Python_TypeError(const char *type, PyObject *obj)
1073{
1074 if (type) {
1075#if defined(SWIG_COBJECT_TYPES)
7449af73 1076 if (obj && PySwigObject_Check(obj)) {
093d3ff1
RD
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084#endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
7449af73 1097 Py_XDECREF(str);
093d3ff1
RD
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1104 }
1105}
1106
1107SWIGRUNTIMEINLINE void
1108SWIG_Python_NullRef(const char *type)
1109{
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
1115}
1116
1117SWIGRUNTIME int
1118SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119{
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140}
1141
1142SWIGRUNTIME int
1143SWIG_Python_ArgFail(int argnum)
1144{
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
7449af73 1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
093d3ff1
RD
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153}
1154
1155
1156/* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160/* Convert a pointer value */
1161SWIGRUNTIME int
1162SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
7449af73 1163 swig_cast_info *tc;
093d3ff1
RD
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
9d7dfdff 1169
093d3ff1
RD
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176#ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
1193#else
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
7449af73 1206 c = PyString_AsString(obj);
093d3ff1
RD
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
1211#endif
1212
1213type_check:
093d3ff1
RD
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
093d3ff1
RD
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
7449af73 1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
093d3ff1
RD
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
1246 }
1247 }
1248 return -1;
1249}
1250
1251/* Convert a pointer value, signal an exception on a type mismatch */
1252SWIGRUNTIME void *
1253SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
1260 }
1261 }
1262 return result;
1263}
1264
1265/* Convert a packed value value */
1266SWIGRUNTIME int
1267SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
7449af73 1268 swig_cast_info *tc;
093d3ff1
RD
1269 const char *c = 0;
1270
1271#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273#else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
7449af73 1275 c = PyString_AsString(obj);
093d3ff1
RD
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278#endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
1285
1286type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296}
1297
1298/* Create a new array object */
1299SWIGRUNTIME PyObject *
1300SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
7449af73
RD
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
093d3ff1
RD
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312#ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314#else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320#endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336}
1337
1338SWIGRUNTIME PyObject *
1339SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347#else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
1353#endif
1354 return robj;
1355}
1356
1357/* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
1360
1361#ifdef SWIG_LINK_RUNTIME
1362void *SWIG_ReturnGlobalTypeList(void *);
1363#endif
1364
7449af73
RD
1365SWIGRUNTIME swig_module_info *
1366SWIG_Python_GetModule(void) {
093d3ff1
RD
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370#ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372#else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
093d3ff1 1379#endif
7449af73
RD
1380 }
1381 return (swig_module_info *) type_pointer;
093d3ff1
RD
1382}
1383
7449af73
RD
1384#if PY_MAJOR_VERSION < 2
1385/* PyModule_AddObject function was introduced in Python 2.0. The following function
1386is copied out of Python/modsupport.c in python version 2.3.4 */
1387SWIGINTERN int
1388PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389{
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
093d3ff1 1413}
7449af73 1414#endif
093d3ff1 1415
7449af73
RD
1416SWIGRUNTIME void
1417SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426}
093d3ff1
RD
1427
1428#ifdef __cplusplus
1429}
1430#endif
1431
1432
1433/* -------- TYPES TABLE (BEGIN) -------- */
1434
7449af73
RD
1435#define SWIGTYPE_p_bool swig_types[0]
1436#define SWIGTYPE_p_char swig_types[1]
1437#define SWIGTYPE_p_form_ops_t swig_types[2]
1438#define SWIGTYPE_p_int swig_types[3]
1439#define SWIGTYPE_p_long swig_types[4]
1440#define SWIGTYPE_p_unsigned_char swig_types[5]
1441#define SWIGTYPE_p_unsigned_int swig_types[6]
1442#define SWIGTYPE_p_unsigned_long swig_types[7]
1443#define SWIGTYPE_p_void swig_types[8]
1444#define SWIGTYPE_p_wxANIHandler swig_types[9]
1445#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1446#define SWIGTYPE_p_wxActivateEvent swig_types[11]
1447#define SWIGTYPE_p_wxArrayInt swig_types[12]
1448#define SWIGTYPE_p_wxArrayString swig_types[13]
1449#define SWIGTYPE_p_wxBMPHandler swig_types[14]
1450#define SWIGTYPE_p_wxBitmap swig_types[15]
1451#define SWIGTYPE_p_wxBitmapButton swig_types[16]
1452#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1453#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1454#define SWIGTYPE_p_wxBoxSizer swig_types[19]
1455#define SWIGTYPE_p_wxButton swig_types[20]
1456#define SWIGTYPE_p_wxCURHandler swig_types[21]
1457#define SWIGTYPE_p_wxCheckBox swig_types[22]
1458#define SWIGTYPE_p_wxCheckListBox swig_types[23]
1459#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1460#define SWIGTYPE_p_wxChoice swig_types[25]
1461#define SWIGTYPE_p_wxChoicebook swig_types[26]
1462#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1463#define SWIGTYPE_p_wxCloseEvent swig_types[28]
1464#define SWIGTYPE_p_wxColour swig_types[29]
1465#define SWIGTYPE_p_wxComboBox swig_types[30]
1466#define SWIGTYPE_p_wxCommandEvent swig_types[31]
1467#define SWIGTYPE_p_wxContextHelp swig_types[32]
1468#define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1469#define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1470#define SWIGTYPE_p_wxControl swig_types[35]
1471#define SWIGTYPE_p_wxControlWithItems swig_types[36]
1472#define SWIGTYPE_p_wxCursor swig_types[37]
1473#define SWIGTYPE_p_wxDC swig_types[38]
1474#define SWIGTYPE_p_wxDateEvent swig_types[39]
1475#define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1476#define SWIGTYPE_p_wxDateTime swig_types[41]
1477#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1478#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1479#define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1480#define SWIGTYPE_p_wxDuplexMode swig_types[45]
1481#define SWIGTYPE_p_wxEraseEvent swig_types[46]
1482#define SWIGTYPE_p_wxEvent swig_types[47]
1483#define SWIGTYPE_p_wxEvtHandler swig_types[48]
1484#define SWIGTYPE_p_wxFSFile swig_types[49]
1485#define SWIGTYPE_p_wxFileSystem swig_types[50]
1486#define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1487#define SWIGTYPE_p_wxFocusEvent swig_types[52]
1488#define SWIGTYPE_p_wxFont swig_types[53]
1489#define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1490#define SWIGTYPE_p_wxGIFHandler swig_types[55]
1491#define SWIGTYPE_p_wxGauge swig_types[56]
1492#define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1493#define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1494#define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1495#define SWIGTYPE_p_wxGridSizer swig_types[60]
1496#define SWIGTYPE_p_wxHelpEvent swig_types[61]
1497#define SWIGTYPE_p_wxHelpProvider swig_types[62]
1498#define SWIGTYPE_p_wxICOHandler swig_types[63]
1499#define SWIGTYPE_p_wxIcon swig_types[64]
1500#define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1501#define SWIGTYPE_p_wxIdleEvent swig_types[66]
1502#define SWIGTYPE_p_wxImage swig_types[67]
1503#define SWIGTYPE_p_wxImageHandler swig_types[68]
1504#define SWIGTYPE_p_wxImageList swig_types[69]
1505#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1506#define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1507#define SWIGTYPE_p_wxItemContainer swig_types[72]
1508#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509#define SWIGTYPE_p_wxKeyEvent swig_types[74]
1510#define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1511#define SWIGTYPE_p_wxListBox swig_types[76]
1512#define SWIGTYPE_p_wxListEvent swig_types[77]
1513#define SWIGTYPE_p_wxListItem swig_types[78]
1514#define SWIGTYPE_p_wxListItemAttr swig_types[79]
1515#define SWIGTYPE_p_wxListView swig_types[80]
1516#define SWIGTYPE_p_wxListbook swig_types[81]
1517#define SWIGTYPE_p_wxListbookEvent swig_types[82]
1518#define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1519#define SWIGTYPE_p_wxMemoryDC swig_types[84]
1520#define SWIGTYPE_p_wxMenu swig_types[85]
1521#define SWIGTYPE_p_wxMenuBar swig_types[86]
1522#define SWIGTYPE_p_wxMenuEvent swig_types[87]
1523#define SWIGTYPE_p_wxMenuItem swig_types[88]
1524#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1525#define SWIGTYPE_p_wxMouseEvent swig_types[90]
1526#define SWIGTYPE_p_wxMoveEvent swig_types[91]
1527#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1528#define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1529#define SWIGTYPE_p_wxNotebook swig_types[94]
1530#define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1531#define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1532#define SWIGTYPE_p_wxObject swig_types[97]
1533#define SWIGTYPE_p_wxPCXHandler swig_types[98]
1534#define SWIGTYPE_p_wxPNGHandler swig_types[99]
1535#define SWIGTYPE_p_wxPNMHandler swig_types[100]
1536#define SWIGTYPE_p_wxPaintEvent swig_types[101]
1537#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1538#define SWIGTYPE_p_wxPaperSize swig_types[103]
1539#define SWIGTYPE_p_wxPoint swig_types[104]
1540#define SWIGTYPE_p_wxPyApp swig_types[105]
1541#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1542#define SWIGTYPE_p_wxPyControl swig_types[107]
1543#define SWIGTYPE_p_wxPyEvent swig_types[108]
1544#define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1545#define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1546#define SWIGTYPE_p_wxPySizer swig_types[111]
1547#define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1548#define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1549#define SWIGTYPE_p_wxPyValidator swig_types[114]
1550#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1551#define SWIGTYPE_p_wxRadioBox swig_types[116]
1552#define SWIGTYPE_p_wxRadioButton swig_types[117]
1553#define SWIGTYPE_p_wxRect swig_types[118]
1554#define SWIGTYPE_p_wxScrollBar swig_types[119]
1555#define SWIGTYPE_p_wxScrollEvent swig_types[120]
1556#define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1557#define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1558#define SWIGTYPE_p_wxShowEvent swig_types[123]
1559#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1560#define SWIGTYPE_p_wxSize swig_types[125]
1561#define SWIGTYPE_p_wxSizeEvent swig_types[126]
1562#define SWIGTYPE_p_wxSizer swig_types[127]
1563#define SWIGTYPE_p_wxSizerItem swig_types[128]
1564#define SWIGTYPE_p_wxSlider swig_types[129]
1565#define SWIGTYPE_p_wxSpinButton swig_types[130]
1566#define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1567#define SWIGTYPE_p_wxSpinEvent swig_types[132]
1568#define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1569#define SWIGTYPE_p_wxStaticBox swig_types[134]
1570#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1571#define SWIGTYPE_p_wxStaticLine swig_types[136]
1572#define SWIGTYPE_p_wxStaticText swig_types[137]
1573#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1574#define SWIGTYPE_p_wxString swig_types[139]
1575#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1576#define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1577#define SWIGTYPE_p_wxTextAttr swig_types[142]
1578#define SWIGTYPE_p_wxTextCtrl swig_types[143]
1579#define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1580#define SWIGTYPE_p_wxToggleButton swig_types[145]
1581#define SWIGTYPE_p_wxToolBar swig_types[146]
1582#define SWIGTYPE_p_wxToolBarBase swig_types[147]
1583#define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
7e08d4ef
RD
1584#define SWIGTYPE_p_wxToolbook swig_types[149]
1585#define SWIGTYPE_p_wxToolbookEvent swig_types[150]
1586#define SWIGTYPE_p_wxTreeCtrl swig_types[151]
1587#define SWIGTYPE_p_wxTreeEvent swig_types[152]
1588#define SWIGTYPE_p_wxTreeItemId swig_types[153]
1589#define SWIGTYPE_p_wxTreebook swig_types[154]
1590#define SWIGTYPE_p_wxTreebookEvent swig_types[155]
1591#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
1592#define SWIGTYPE_p_wxValidator swig_types[157]
1593#define SWIGTYPE_p_wxVisualAttributes swig_types[158]
1594#define SWIGTYPE_p_wxWindow swig_types[159]
1595#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
1596#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
1597#define SWIGTYPE_p_wxXPMHandler swig_types[162]
1598#define SWIGTYPE_ptrdiff_t swig_types[163]
1599#define SWIGTYPE_std__ptrdiff_t swig_types[164]
1600#define SWIGTYPE_unsigned_int swig_types[165]
1601static swig_type_info *swig_types[167];
1602static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
7449af73
RD
1603#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1604#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
1605
1606/* -------- TYPES TABLE (END) -------- */
1607
1608
1609/*-----------------------------------------------
1610 @(target):= _controls_.so
1611 ------------------------------------------------*/
1612#define SWIG_init init_controls_
1613
1614#define SWIG_name "_controls_"
1615
1616#include "wx/wxPython/wxPython.h"
1617#include "wx/wxPython/pyclasses.h"
1618
1619 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1620 static const wxString wxPyEmptyString(wxEmptyString);
1621 static const wxString wxPyControlNameStr(wxControlNameStr);
1622
1623 const wxArrayString wxPyEmptyStringArray;
1624
1625 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1626
7e08d4ef 1627 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1628#define SWIG_From_int PyInt_FromLong
1629/*@@*/
1630
1631
1632#include <limits.h>
1633
1634
1635SWIGINTERN int
1636 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1637 const char *errmsg)
1638{
1639 if (value < min_value) {
1640 if (errmsg) {
1641 PyErr_Format(PyExc_OverflowError,
1642 "value %ld is less than '%s' minimum %ld",
1643 value, errmsg, min_value);
1644 }
1645 return 0;
1646 } else if (value > max_value) {
1647 if (errmsg) {
1648 PyErr_Format(PyExc_OverflowError,
1649 "value %ld is greater than '%s' maximum %ld",
1650 value, errmsg, max_value);
1651 }
1652 return 0;
1653 }
1654 return 1;
1655}
1656
1657
1658SWIGINTERN int
1659SWIG_AsVal_long(PyObject* obj, long* val)
1660{
1661 if (PyNumber_Check(obj)) {
1662 if (val) *val = PyInt_AsLong(obj);
1663 return 1;
1664 }
1665 else {
7e08d4ef 1666 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
1667 }
1668 return 0;
1669}
1670
1671
1672#if INT_MAX != LONG_MAX
1673SWIGINTERN int
1674 SWIG_AsVal_int(PyObject *obj, int *val)
1675{
1676 const char* errmsg = val ? "int" : (char*)0;
1677 long v;
1678 if (SWIG_AsVal_long(obj, &v)) {
1679 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
7449af73 1680 if (val) *val = static_cast<int >(v);
093d3ff1
RD
1681 return 1;
1682 } else {
1683 return 0;
1684 }
1685 } else {
1686 PyErr_Clear();
1687 }
1688 if (val) {
1689 SWIG_type_error(errmsg, obj);
1690 }
1691 return 0;
1692}
1693#else
7449af73 1694SWIGINTERNINLINE int
093d3ff1
RD
1695 SWIG_AsVal_int(PyObject *obj, int *val)
1696{
1697 return SWIG_AsVal_long(obj,(long*)val);
1698}
1699#endif
1700
1701
7449af73 1702SWIGINTERNINLINE int
c32bde28 1703SWIG_As_int(PyObject* obj)
d55e5bfc 1704{
c32bde28
RD
1705 int v;
1706 if (!SWIG_AsVal_int(obj, &v)) {
1707 /*
093d3ff1 1708 this is needed to make valgrind/purify happier.
c32bde28
RD
1709 */
1710 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1711 }
c32bde28 1712 return v;
d55e5bfc
RD
1713}
1714
1715
7449af73 1716SWIGINTERNINLINE long
c32bde28 1717SWIG_As_long(PyObject* obj)
d55e5bfc 1718{
c32bde28
RD
1719 long v;
1720 if (!SWIG_AsVal_long(obj, &v)) {
1721 /*
093d3ff1 1722 this is needed to make valgrind/purify happier.
c32bde28
RD
1723 */
1724 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1725 }
c32bde28 1726 return v;
d55e5bfc
RD
1727}
1728
c32bde28 1729
7449af73 1730SWIGINTERNINLINE int
c32bde28
RD
1731SWIG_Check_int(PyObject* obj)
1732{
1733 return SWIG_AsVal_int(obj, (int*)0);
1734}
d55e5bfc 1735
c32bde28 1736
7449af73 1737SWIGINTERNINLINE int
c32bde28 1738SWIG_Check_long(PyObject* obj)
d55e5bfc 1739{
c32bde28 1740 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1741}
1742
c32bde28 1743 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1744
093d3ff1 1745SWIGINTERN int
c32bde28 1746 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1747{
c32bde28
RD
1748 if (obj == Py_True) {
1749 if (val) *val = true;
1750 return 1;
1751 }
1752 if (obj == Py_False) {
1753 if (val) *val = false;
d55e5bfc
RD
1754 return 1;
1755 }
c32bde28
RD
1756 int res = 0;
1757 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1758 if (val) *val = res ? true : false;
c32bde28 1759 return 1;
093d3ff1
RD
1760 } else {
1761 PyErr_Clear();
1762 }
c32bde28 1763 if (val) {
093d3ff1 1764 SWIG_type_error("bool", obj);
c32bde28
RD
1765 }
1766 return 0;
1767}
1768
1769
7449af73 1770SWIGINTERNINLINE bool
c32bde28
RD
1771SWIG_As_bool(PyObject* obj)
1772{
1773 bool v;
1774 if (!SWIG_AsVal_bool(obj, &v)) {
1775 /*
093d3ff1 1776 this is needed to make valgrind/purify happier.
c32bde28
RD
1777 */
1778 memset((void*)&v, 0, sizeof(bool));
1779 }
1780 return v;
1781}
1782
1783
7449af73 1784SWIGINTERNINLINE int
c32bde28
RD
1785SWIG_Check_bool(PyObject* obj)
1786{
1787 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1788}
1789
1790 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1791 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
f78cc896 1792
7e08d4ef 1793 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1794#define SWIG_From_long PyInt_FromLong
1795/*@@*/
1796
1797
7e08d4ef
RD
1798 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1799 {
1800 PyObject* o2;
1801 PyObject* o3;
1802 if (!result) {
1803 result = obj;
1804 } else if (result == Py_None) {
1805 Py_DECREF(result);
1806 result = obj;
1807 } else {
1808 if (!PyTuple_Check(result)) {
1809 o2 = result;
1810 result = PyTuple_New(1);
1811 PyTuple_SET_ITEM(result, 0, o2);
1812 }
1813 o3 = PyTuple_New(1);
1814 PyTuple_SetItem(o3, 0, obj);
1815 o2 = result;
1816 result = PySequence_Concat(o2, o3);
1817 Py_DECREF(o2);
1818 Py_DECREF(o3);
1819 }
1820 return result;
1821 }
f78cc896
RD
1822
1823
d55e5bfc
RD
1824 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1825 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1826 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1827 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1828
1829#include <wx/checklst.h>
1830
1831
1832 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
093d3ff1 1833static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1834 if (clientData) {
1835 wxPyClientData* data = new wxPyClientData(clientData);
1836 self->Insert(item, pos, data);
1837 } else
1838 self->Insert(item, pos);
1839 }
093d3ff1 1840static PyObject *wxListBox_GetSelections(wxListBox *self){
7e08d4ef
RD
1841 wxArrayInt lst;
1842 self->GetSelections(lst);
1843 PyObject *tup = PyTuple_New(lst.GetCount());
1844 for(size_t i=0; i<lst.GetCount(); i++) {
1845 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1846 }
1847 return tup;
1848 }
093d3ff1 1849static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1850 #ifdef __WXMSW__
1851 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1852 self->GetItem(item)->SetTextColour(c);
1853 #endif
1854 }
093d3ff1 1855static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1856 #ifdef __WXMSW__
1857 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1858 self->GetItem(item)->SetBackgroundColour(c);
1859 #endif
1860 }
093d3ff1 1861static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1862 #ifdef __WXMSW__
1863 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1864 self->GetItem(item)->SetFont(f);
1865 #endif
1866 }
1867 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1868
093d3ff1 1869SWIGINTERN int
c32bde28 1870SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1871{
c32bde28
RD
1872 long v = 0;
1873 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1874 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1875 }
c32bde28
RD
1876 else if (val)
1877 *val = (unsigned long)v;
1878 return 1;
d55e5bfc
RD
1879}
1880
1881
7449af73 1882SWIGINTERNINLINE unsigned long
c32bde28 1883SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1884{
c32bde28
RD
1885 unsigned long v;
1886 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1887 /*
093d3ff1 1888 this is needed to make valgrind/purify happier.
c32bde28
RD
1889 */
1890 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1891 }
c32bde28
RD
1892 return v;
1893}
1894
1895
7449af73 1896SWIGINTERNINLINE int
c32bde28
RD
1897SWIG_Check_unsigned_SS_long(PyObject* obj)
1898{
1899 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1900}
1901
093d3ff1 1902static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1903 self->AppendText(text);
1904 }
093d3ff1 1905static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1906 return self->GetValue().Mid(from, to - from);
1907 }
1908 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1909 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1910 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1911 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1912 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1913
1914#include <wx/slider.h>
1915
1916
1917 static const wxString wxPySliderNameStr(wxSliderNameStr);
1918 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1919
1920#if !wxUSE_TOGGLEBTN
1921// implement dummy items for platforms that don't have this class
1922
1923#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1924
1925class wxToggleButton : public wxControl
1926{
1927public:
1928 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1929 const wxPoint&, const wxSize&, long,
1930 const wxValidator&, const wxString&)
1931 { wxPyRaiseNotImplemented(); }
1932
1933 wxToggleButton()
1934 { wxPyRaiseNotImplemented(); }
1935};
1936#endif
1937
51b83b37 1938 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1939
7449af73 1940SWIGINTERNINLINE PyObject*
c32bde28 1941 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1942{
1943 return (value > LONG_MAX) ?
1944 PyLong_FromUnsignedLong(value)
7449af73 1945 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
1946}
1947
7e08d4ef
RD
1948
1949#if UINT_MAX < LONG_MAX
1950/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1951#define SWIG_From_unsigned_SS_int SWIG_From_long
1952/*@@*/
1953#else
1954/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1955#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1956/*@@*/
1957#endif
1958
1959
1960SWIGINTERNINLINE int
1961 SWIG_CheckUnsignedLongInRange(unsigned long value,
1962 unsigned long max_value,
1963 const char *errmsg)
1964{
1965 if (value > max_value) {
1966 if (errmsg) {
1967 PyErr_Format(PyExc_OverflowError,
1968 "value %lu is greater than '%s' minimum %lu",
1969 value, errmsg, max_value);
1970 }
1971 return 0;
1972 }
1973 return 1;
1974 }
1975
1976
1977#if UINT_MAX != ULONG_MAX
1978SWIGINTERN int
1979 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1980{
1981 const char* errmsg = val ? "unsigned int" : (char*)0;
1982 unsigned long v;
1983 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1984 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1985 if (val) *val = static_cast<unsigned int >(v);
1986 return 1;
1987 }
1988 } else {
1989 PyErr_Clear();
1990 }
1991 if (val) {
1992 SWIG_type_error(errmsg, obj);
1993 }
1994 return 0;
1995}
1996#else
1997SWIGINTERNINLINE unsigned int
1998 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1999{
2000 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2001}
2002#endif
2003
2004
2005SWIGINTERNINLINE unsigned int
2006SWIG_As_unsigned_SS_int(PyObject* obj)
2007{
2008 unsigned int v;
2009 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2010 /*
2011 this is needed to make valgrind/purify happier.
2012 */
2013 memset((void*)&v, 0, sizeof(unsigned int));
2014 }
2015 return v;
2016}
2017
2018
2019SWIGINTERNINLINE int
2020SWIG_Check_unsigned_SS_int(PyObject* obj)
2021{
2022 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2023}
2024
d55e5bfc 2025 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
093d3ff1 2026static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2027 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2028 if (udata) {
2029 Py_INCREF(udata->m_obj);
2030 return udata->m_obj;
2031 } else {
2032 Py_INCREF(Py_None);
2033 return Py_None;
2034 }
2035 }
093d3ff1 2036static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2037 self->SetClientData(new wxPyUserData(clientData));
2038 }
093d3ff1 2039static 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
2040 wxPyUserData* udata = NULL;
2041 if (clientData && clientData != Py_None)
2042 udata = new wxPyUserData(clientData);
2043 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2044 shortHelp, longHelp, udata);
2045 }
093d3ff1 2046static 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
2047 wxPyUserData* udata = NULL;
2048 if (clientData && clientData != Py_None)
2049 udata = new wxPyUserData(clientData);
2050 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2051 shortHelp, longHelp, udata);
2052 }
093d3ff1 2053static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
2054 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2055 if (udata) {
2056 Py_INCREF(udata->m_obj);
2057 return udata->m_obj;
2058 } else {
2059 Py_INCREF(Py_None);
2060 return Py_None;
2061 }
2062 }
093d3ff1 2063static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
2064 self->SetToolClientData(id, new wxPyUserData(clientData));
2065 }
2066
2067#include <wx/listctrl.h>
2068
fef4c27a 2069 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
093d3ff1 2070static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
2071 // Python aware sorting function for wxPyListCtrl
2072 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
2073 int retval = 0;
2074 PyObject* func = (PyObject*)funcPtr;
5a446332 2075 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2076
2077 PyObject* args = Py_BuildValue("(ii)", item1, item2);
2078 PyObject* result = PyEval_CallObject(func, args);
2079 Py_DECREF(args);
2080 if (result) {
2081 retval = PyInt_AsLong(result);
2082 Py_DECREF(result);
2083 }
2084
2085 wxPyEndBlockThreads(blocked);
2086 return retval;
2087 }
2088
2089 // C++ Version of a Python aware class
2090class wxPyListCtrl : public wxListCtrl {
7449af73 2091 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
2092public:
2093 wxPyListCtrl() : wxListCtrl() {}
2094 wxPyListCtrl(wxWindow* parent, wxWindowID id,
2095 const wxPoint& pos,
2096 const wxSize& size,
2097 long style,
2098 const wxValidator& validator,
2099 const wxString& name) :
2100 wxListCtrl(parent, id, pos, size, style, validator, name) {}
2101
2102 bool Create(wxWindow* parent, wxWindowID id,
2103 const wxPoint& pos,
2104 const wxSize& size,
2105 long style,
2106 const wxValidator& validator,
2107 const wxString& name) {
2108 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
2109 }
2110
2111 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
2112 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
2113
84f85550
RD
2114 // use the virtual version to avoid a confusing assert in the base class
2115 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 2116 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 2117
d55e5bfc
RD
2118 PYPRIVATE;
2119};
2120
2121IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
2122
2123IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 2124IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 2125IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
2126IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
2127
d55e5bfc 2128
093d3ff1 2129static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
2130 wxListItem item;
2131 item.SetMask( wxLIST_MASK_STATE |
2132 wxLIST_MASK_TEXT |
2133 wxLIST_MASK_IMAGE |
2134 wxLIST_MASK_DATA |
2135 wxLIST_SET_ITEM |
2136 wxLIST_MASK_WIDTH |
2137 wxLIST_MASK_FORMAT
2138 );
2139 if (self->GetColumn(col, item))
2140 return new wxListItem(item);
2141 else
2142 return NULL;
2143 }
093d3ff1 2144static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
2145 wxListItem* info = new wxListItem;
2146 info->m_itemId = itemId;
2147 info->m_col = col;
2148 info->m_mask = 0xFFFF;
2149 self->GetItem(*info);
2150 return info;
2151 }
093d3ff1 2152static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
2153 wxPoint pos;
2154 self->GetItemPosition(item, pos);
2155 return pos;
2156 }
093d3ff1 2157static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
2158 wxRect rect;
2159 self->GetItemRect(item, rect, code);
2160 return rect;
2161 }
c32bde28 2162
093d3ff1 2163static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 2164 if (!PyCallable_Check(func))
ae8162c8 2165 return false;
d55e5bfc
RD
2166 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2167 }
093d3ff1 2168static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
2169
2170 return self;
2171
2172
2173
2174 }
2175
2176#include <wx/treectrl.h>
2177#include "wx/wxPython/pytree.h"
2178
2179 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
093d3ff1
RD
2180static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
2181static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
2182static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
2183 // C++ version of Python aware wxTreeCtrl
2184class wxPyTreeCtrl : public wxTreeCtrl {
7449af73 2185 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
2186public:
2187 wxPyTreeCtrl() : wxTreeCtrl() {}
2188 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
2189 const wxPoint& pos,
2190 const wxSize& size,
2191 long style,
2192 const wxValidator& validator,
2193 const wxString& name) :
2194 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
2195
2196 bool Create(wxWindow *parent, wxWindowID id,
2197 const wxPoint& pos,
2198 const wxSize& size,
2199 long style,
2200 const wxValidator& validator,
2201 const wxString& name) {
2202 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
2203 }
2204
2205
2206 int OnCompareItems(const wxTreeItemId& item1,
2207 const wxTreeItemId& item2) {
2208 int rval = 0;
2209 bool found;
5a446332 2210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2211 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
2212 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
2213 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
2214 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2215 Py_DECREF(o1);
2216 Py_DECREF(o2);
2217 }
2218 wxPyEndBlockThreads(blocked);
2219 if (! found)
2220 rval = wxTreeCtrl::OnCompareItems(item1, item2);
2221 return rval;
2222 }
2223 PYPRIVATE;
2224};
2225
2226IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
2227
2228
093d3ff1 2229static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2230 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2231 if (data == NULL) {
2232 data = new wxPyTreeItemData();
2233 data->SetId(item); // set the id
2234 self->SetItemData(item, data);
2235 }
2236 return data;
2237 }
093d3ff1 2238static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2239 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2240 if (data == NULL) {
2241 data = new wxPyTreeItemData();
2242 data->SetId(item); // set the id
2243 self->SetItemData(item, data);
2244 }
2245 return data->GetData();
2246 }
093d3ff1 2247static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2248 data->SetId(item); // set the id
2249 self->SetItemData(item, data);
2250 }
093d3ff1 2251static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2252 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2253 if (data == NULL) {
2254 data = new wxPyTreeItemData(obj);
2255 data->SetId(item); // set the id
2256 self->SetItemData(item, data);
2257 } else
2258 data->SetData(obj);
2259 }
093d3ff1 2260static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2261 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2262 PyObject* rval = PyList_New(0);
2263 wxArrayTreeItemIds array;
2264 size_t num, x;
2265 num = self->GetSelections(array);
2266 for (x=0; x < num; x++) {
2267 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 2268 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2269 PyList_Append(rval, item);
a07a67e6 2270 Py_DECREF(item);
d55e5bfc
RD
2271 }
2272 wxPyEndBlockThreads(blocked);
2273 return rval;
2274 }
093d3ff1 2275static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2276 void* cookie = 0;
2277 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2278 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2279 PyObject* tup = PyTuple_New(2);
ae8162c8 2280 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2281 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2282 wxPyEndBlockThreads(blocked);
2283 return tup;
2284 }
093d3ff1 2285static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 2286 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2287 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2288 PyObject* tup = PyTuple_New(2);
ae8162c8 2289 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2290 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2291 wxPyEndBlockThreads(blocked);
2292 return tup;
2293 }
093d3ff1 2294static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2295 wxRect rect;
2296 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2297 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2298 wxRect* r = new wxRect(rect);
ae8162c8 2299 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2300 wxPyEndBlockThreads(blocked);
2301 return val;
2302 }
2303 else
2304 RETURN_NONE();
2305 }
2306 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 2307
7449af73 2308SWIGINTERNINLINE PyObject*
c32bde28
RD
2309 SWIG_From_bool(bool value)
2310{
2311 PyObject *obj = value ? Py_True : Py_False;
2312 Py_INCREF(obj);
2313 return obj;
2314}
2315
2316
d55e5bfc
RD
2317 // C++ version of Python aware wxControl
2318class wxPyControl : public wxControl
2319{
2320 DECLARE_DYNAMIC_CLASS(wxPyControl)
2321public:
2322 wxPyControl() : wxControl() {}
2323 wxPyControl(wxWindow* parent, const wxWindowID id,
2324 const wxPoint& pos = wxDefaultPosition,
2325 const wxSize& size = wxDefaultSize,
2326 long style = 0,
2327 const wxValidator& validator=wxDefaultValidator,
2328 const wxString& name = wxPyControlNameStr)
2329 : wxControl(parent, id, pos, size, style, validator, name) {}
2330
caef1a4d 2331 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 2332
60d5fcc1
RD
2333 bool DoEraseBackground(wxDC* dc) {
2334#ifdef __WXMSW__
2335 return wxWindow::DoEraseBackground(dc->GetHDC());
2336#else
2337 dc->SetBackground(wxBrush(GetBackgroundColour()));
2338 dc->Clear();
2339 return true;
2340#endif
2341 }
2342
d55e5bfc
RD
2343 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2344 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2345 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2346 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2347
2348 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2349 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2350 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2351
2352 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2353 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2354
2355 DEC_PYCALLBACK__(InitDialog);
2356 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2357 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2358 DEC_PYCALLBACK_BOOL_(Validate);
2359
2360 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2361 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2362 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2363
2364 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2365 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2366
caef1a4d 2367 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2368 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2369
51b83b37
RD
2370 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2371
8d38bd1d
RD
2372 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2373
d55e5bfc
RD
2374 PYPRIVATE;
2375};
2376
2377IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2378
2379IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2380IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2381IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2382IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2383
2384IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2385IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2386IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2387
2388IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2389IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2390
2391IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2392IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2393IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2394IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2395
2396IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2397IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2398IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2399
2400IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2401IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2402
caef1a4d 2403IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
caef1a4d 2404IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2405
51b83b37 2406IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
2407
2408IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2409
d55e5bfc
RD
2410
2411
093d3ff1 2412static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2413
2414#include <wx/generic/dragimgg.h>
2415
53aa7709
RD
2416 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2417static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2418 wxDateTime rv;
2419 self->GetRange(&rv, NULL);
2420 return rv;
2421 }
2422static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2423 wxDateTime rv;
2424 self->GetRange(NULL, &rv);
2425 return rv;
2426 }
d55e5bfc
RD
2427#ifdef __cplusplus
2428extern "C" {
2429#endif
c32bde28 2430static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2431 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2432 return 1;
2433}
2434
2435
093d3ff1 2436static PyObject *_wrap_ButtonNameStr_get(void) {
7449af73 2437 PyObject *pyobj = NULL;
d55e5bfc
RD
2438
2439 {
2440#if wxUSE_UNICODE
2441 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2442#else
2443 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2444#endif
2445 }
2446 return pyobj;
2447}
2448
2449
c32bde28 2450static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2451 PyObject *resultobj = NULL;
d55e5bfc 2452 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2453 int arg2 = (int) -1 ;
2454 wxString const &arg3_defvalue = wxPyEmptyString ;
2455 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2456 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2457 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2458 wxSize const &arg5_defvalue = wxDefaultSize ;
2459 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2460 long arg6 = (long) 0 ;
2461 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2462 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2463 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2464 wxString *arg8 = (wxString *) &arg8_defvalue ;
2465 wxButton *result;
ae8162c8 2466 bool temp3 = false ;
d55e5bfc
RD
2467 wxPoint temp4 ;
2468 wxSize temp5 ;
ae8162c8 2469 bool temp8 = false ;
d55e5bfc
RD
2470 PyObject * obj0 = 0 ;
2471 PyObject * obj1 = 0 ;
2472 PyObject * obj2 = 0 ;
2473 PyObject * obj3 = 0 ;
2474 PyObject * obj4 = 0 ;
2475 PyObject * obj5 = 0 ;
2476 PyObject * obj6 = 0 ;
2477 PyObject * obj7 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2480 };
2481
248ed943 2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2484 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2485 if (obj1) {
093d3ff1 2486 {
7449af73 2487 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
2488 if (SWIG_arg_fail(2)) SWIG_fail;
2489 }
248ed943
RD
2490 }
2491 if (obj2) {
2492 {
2493 arg3 = wxString_in_helper(obj2);
2494 if (arg3 == NULL) SWIG_fail;
ae8162c8 2495 temp3 = true;
248ed943 2496 }
d55e5bfc
RD
2497 }
2498 if (obj3) {
2499 {
2500 arg4 = &temp4;
2501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2502 }
2503 }
2504 if (obj4) {
2505 {
2506 arg5 = &temp5;
2507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2508 }
2509 }
2510 if (obj5) {
093d3ff1 2511 {
7449af73 2512 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2513 if (SWIG_arg_fail(6)) SWIG_fail;
2514 }
d55e5bfc
RD
2515 }
2516 if (obj6) {
093d3ff1
RD
2517 {
2518 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2519 if (SWIG_arg_fail(7)) SWIG_fail;
2520 if (arg7 == NULL) {
2521 SWIG_null_ref("wxValidator");
2522 }
2523 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2524 }
2525 }
2526 if (obj7) {
2527 {
2528 arg8 = wxString_in_helper(obj7);
2529 if (arg8 == NULL) SWIG_fail;
ae8162c8 2530 temp8 = true;
d55e5bfc
RD
2531 }
2532 }
2533 {
0439c23b 2534 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2537
2538 wxPyEndAllowThreads(__tstate);
110da5b0 2539 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2540 }
b0f7404b 2541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2542 {
2543 if (temp3)
2544 delete arg3;
2545 }
2546 {
2547 if (temp8)
2548 delete arg8;
2549 }
2550 return resultobj;
2551 fail:
2552 {
2553 if (temp3)
2554 delete arg3;
2555 }
2556 {
2557 if (temp8)
2558 delete arg8;
2559 }
2560 return NULL;
2561}
2562
2563
c32bde28 2564static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2565 PyObject *resultobj = NULL;
d55e5bfc
RD
2566 wxButton *result;
2567 char *kwnames[] = {
2568 NULL
2569 };
2570
2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2572 {
0439c23b 2573 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
2575 result = (wxButton *)new wxButton();
2576
2577 wxPyEndAllowThreads(__tstate);
110da5b0 2578 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2579 }
b0f7404b 2580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2581 return resultobj;
2582 fail:
2583 return NULL;
2584}
2585
2586
c32bde28 2587static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2588 PyObject *resultobj = NULL;
d55e5bfc
RD
2589 wxButton *arg1 = (wxButton *) 0 ;
2590 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2591 int arg3 = (int) -1 ;
2592 wxString const &arg4_defvalue = wxPyEmptyString ;
2593 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2594 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2595 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2596 wxSize const &arg6_defvalue = wxDefaultSize ;
2597 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2598 long arg7 = (long) 0 ;
2599 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2600 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2601 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2602 wxString *arg9 = (wxString *) &arg9_defvalue ;
2603 bool result;
ae8162c8 2604 bool temp4 = false ;
d55e5bfc
RD
2605 wxPoint temp5 ;
2606 wxSize temp6 ;
ae8162c8 2607 bool temp9 = false ;
d55e5bfc
RD
2608 PyObject * obj0 = 0 ;
2609 PyObject * obj1 = 0 ;
2610 PyObject * obj2 = 0 ;
2611 PyObject * obj3 = 0 ;
2612 PyObject * obj4 = 0 ;
2613 PyObject * obj5 = 0 ;
2614 PyObject * obj6 = 0 ;
2615 PyObject * obj7 = 0 ;
2616 PyObject * obj8 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2619 };
2620
248ed943 2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2623 if (SWIG_arg_fail(1)) SWIG_fail;
2624 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2625 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2626 if (obj2) {
093d3ff1 2627 {
7449af73 2628 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
2629 if (SWIG_arg_fail(3)) SWIG_fail;
2630 }
248ed943
RD
2631 }
2632 if (obj3) {
2633 {
2634 arg4 = wxString_in_helper(obj3);
2635 if (arg4 == NULL) SWIG_fail;
ae8162c8 2636 temp4 = true;
248ed943 2637 }
d55e5bfc
RD
2638 }
2639 if (obj4) {
2640 {
2641 arg5 = &temp5;
2642 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2643 }
2644 }
2645 if (obj5) {
2646 {
2647 arg6 = &temp6;
2648 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2649 }
2650 }
2651 if (obj6) {
093d3ff1 2652 {
7449af73 2653 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
2654 if (SWIG_arg_fail(7)) SWIG_fail;
2655 }
d55e5bfc
RD
2656 }
2657 if (obj7) {
093d3ff1
RD
2658 {
2659 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2660 if (SWIG_arg_fail(8)) SWIG_fail;
2661 if (arg8 == NULL) {
2662 SWIG_null_ref("wxValidator");
2663 }
2664 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2665 }
2666 }
2667 if (obj8) {
2668 {
2669 arg9 = wxString_in_helper(obj8);
2670 if (arg9 == NULL) SWIG_fail;
ae8162c8 2671 temp9 = true;
d55e5bfc
RD
2672 }
2673 }
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 {
2682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2683 }
2684 {
2685 if (temp4)
2686 delete arg4;
2687 }
2688 {
2689 if (temp9)
2690 delete arg9;
2691 }
2692 return resultobj;
2693 fail:
2694 {
2695 if (temp4)
2696 delete arg4;
2697 }
2698 {
2699 if (temp9)
2700 delete arg9;
2701 }
2702 return NULL;
2703}
2704
2705
c32bde28 2706static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2707 PyObject *resultobj = NULL;
d55e5bfc
RD
2708 wxButton *arg1 = (wxButton *) 0 ;
2709 PyObject * obj0 = 0 ;
2710 char *kwnames[] = {
2711 (char *) "self", NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 (arg1)->SetDefault();
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 Py_INCREF(Py_None); resultobj = Py_None;
2725 return resultobj;
2726 fail:
2727 return NULL;
2728}
2729
2730
c32bde28 2731static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2732 PyObject *resultobj = NULL;
d55e5bfc
RD
2733 wxSize result;
2734 char *kwnames[] = {
2735 NULL
2736 };
2737
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 result = wxButton::GetDefaultSize();
2742
2743 wxPyEndAllowThreads(__tstate);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 {
2747 wxSize * resultptr;
7449af73 2748 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
2749 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2750 }
2751 return resultobj;
2752 fail:
2753 return NULL;
2754}
2755
2756
c32bde28 2757static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2758 PyObject *resultobj = NULL;
093d3ff1 2759 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2760 wxVisualAttributes result;
2761 PyObject * obj0 = 0 ;
2762 char *kwnames[] = {
2763 (char *) "variant", NULL
2764 };
2765
2766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2767 if (obj0) {
093d3ff1 2768 {
7449af73 2769 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
2770 if (SWIG_arg_fail(1)) SWIG_fail;
2771 }
f20a2e1f
RD
2772 }
2773 {
19272049 2774 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 2775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 2776 result = wxButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
2777
2778 wxPyEndAllowThreads(__tstate);
110da5b0 2779 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2780 }
2781 {
2782 wxVisualAttributes * resultptr;
7449af73 2783 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
2784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2785 }
2786 return resultobj;
2787 fail:
2788 return NULL;
2789}
2790
2791
c32bde28 2792static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2793 PyObject *obj;
2794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2795 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2796 Py_INCREF(obj);
2797 return Py_BuildValue((char *)"");
2798}
c32bde28 2799static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2800 PyObject *resultobj = NULL;
d55e5bfc 2801 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2802 int arg2 = (int) -1 ;
2803 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2804 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2807 wxSize const &arg5_defvalue = wxDefaultSize ;
2808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2809 long arg6 = (long) wxBU_AUTODRAW ;
2810 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2811 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2812 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2813 wxString *arg8 = (wxString *) &arg8_defvalue ;
2814 wxBitmapButton *result;
2815 wxPoint temp4 ;
2816 wxSize temp5 ;
ae8162c8 2817 bool temp8 = false ;
d55e5bfc
RD
2818 PyObject * obj0 = 0 ;
2819 PyObject * obj1 = 0 ;
2820 PyObject * obj2 = 0 ;
2821 PyObject * obj3 = 0 ;
2822 PyObject * obj4 = 0 ;
2823 PyObject * obj5 = 0 ;
2824 PyObject * obj6 = 0 ;
2825 PyObject * obj7 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2828 };
2829
248ed943 2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2832 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2833 if (obj1) {
093d3ff1 2834 {
7449af73 2835 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
2836 if (SWIG_arg_fail(2)) SWIG_fail;
2837 }
248ed943
RD
2838 }
2839 if (obj2) {
093d3ff1
RD
2840 {
2841 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2842 if (SWIG_arg_fail(3)) SWIG_fail;
2843 if (arg3 == NULL) {
2844 SWIG_null_ref("wxBitmap");
2845 }
2846 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2847 }
d55e5bfc
RD
2848 }
2849 if (obj3) {
2850 {
2851 arg4 = &temp4;
2852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2853 }
2854 }
2855 if (obj4) {
2856 {
2857 arg5 = &temp5;
2858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2859 }
2860 }
2861 if (obj5) {
093d3ff1 2862 {
7449af73 2863 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2864 if (SWIG_arg_fail(6)) SWIG_fail;
2865 }
d55e5bfc
RD
2866 }
2867 if (obj6) {
093d3ff1
RD
2868 {
2869 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2870 if (SWIG_arg_fail(7)) SWIG_fail;
2871 if (arg7 == NULL) {
2872 SWIG_null_ref("wxValidator");
2873 }
2874 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2875 }
2876 }
2877 if (obj7) {
2878 {
2879 arg8 = wxString_in_helper(obj7);
2880 if (arg8 == NULL) SWIG_fail;
ae8162c8 2881 temp8 = true;
d55e5bfc
RD
2882 }
2883 }
2884 {
0439c23b 2885 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2886 PyThreadState* __tstate = wxPyBeginAllowThreads();
2887 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2888
2889 wxPyEndAllowThreads(__tstate);
110da5b0 2890 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2891 }
b0f7404b 2892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2893 {
2894 if (temp8)
2895 delete arg8;
2896 }
2897 return resultobj;
2898 fail:
2899 {
2900 if (temp8)
2901 delete arg8;
2902 }
2903 return NULL;
2904}
2905
2906
c32bde28 2907static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2908 PyObject *resultobj = NULL;
d55e5bfc
RD
2909 wxBitmapButton *result;
2910 char *kwnames[] = {
2911 NULL
2912 };
2913
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2915 {
0439c23b 2916 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 result = (wxBitmapButton *)new wxBitmapButton();
2919
2920 wxPyEndAllowThreads(__tstate);
110da5b0 2921 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2922 }
b0f7404b 2923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2924 return resultobj;
2925 fail:
2926 return NULL;
2927}
2928
2929
c32bde28 2930static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2931 PyObject *resultobj = NULL;
d55e5bfc
RD
2932 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2933 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2934 int arg3 = (int) -1 ;
2935 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2936 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2937 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2938 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2939 wxSize const &arg6_defvalue = wxDefaultSize ;
2940 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2941 long arg7 = (long) wxBU_AUTODRAW ;
2942 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2943 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2944 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2945 wxString *arg9 = (wxString *) &arg9_defvalue ;
2946 bool result;
2947 wxPoint temp5 ;
2948 wxSize temp6 ;
ae8162c8 2949 bool temp9 = false ;
d55e5bfc
RD
2950 PyObject * obj0 = 0 ;
2951 PyObject * obj1 = 0 ;
2952 PyObject * obj2 = 0 ;
2953 PyObject * obj3 = 0 ;
2954 PyObject * obj4 = 0 ;
2955 PyObject * obj5 = 0 ;
2956 PyObject * obj6 = 0 ;
2957 PyObject * obj7 = 0 ;
2958 PyObject * obj8 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2961 };
2962
248ed943 2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail;
2966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2967 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2968 if (obj2) {
093d3ff1 2969 {
7449af73 2970 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
2971 if (SWIG_arg_fail(3)) SWIG_fail;
2972 }
248ed943
RD
2973 }
2974 if (obj3) {
093d3ff1
RD
2975 {
2976 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2977 if (SWIG_arg_fail(4)) SWIG_fail;
2978 if (arg4 == NULL) {
2979 SWIG_null_ref("wxBitmap");
2980 }
2981 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2982 }
d55e5bfc
RD
2983 }
2984 if (obj4) {
2985 {
2986 arg5 = &temp5;
2987 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2988 }
2989 }
2990 if (obj5) {
2991 {
2992 arg6 = &temp6;
2993 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2994 }
2995 }
2996 if (obj6) {
093d3ff1 2997 {
7449af73 2998 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
2999 if (SWIG_arg_fail(7)) SWIG_fail;
3000 }
d55e5bfc
RD
3001 }
3002 if (obj7) {
093d3ff1
RD
3003 {
3004 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3005 if (SWIG_arg_fail(8)) SWIG_fail;
3006 if (arg8 == NULL) {
3007 SWIG_null_ref("wxValidator");
3008 }
3009 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3010 }
3011 }
3012 if (obj8) {
3013 {
3014 arg9 = wxString_in_helper(obj8);
3015 if (arg9 == NULL) SWIG_fail;
ae8162c8 3016 temp9 = true;
d55e5bfc
RD
3017 }
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3028 }
3029 {
3030 if (temp9)
3031 delete arg9;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp9)
3037 delete arg9;
3038 }
3039 return NULL;
3040}
3041
3042
c32bde28 3043static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3044 PyObject *resultobj = NULL;
d55e5bfc
RD
3045 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3046 wxBitmap result;
3047 PyObject * obj0 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
3053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 result = (arg1)->GetBitmapLabel();
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063 wxBitmap * resultptr;
7449af73 3064 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3066 }
3067 return resultobj;
3068 fail:
3069 return NULL;
3070}
3071
3072
c32bde28 3073static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3074 PyObject *resultobj = NULL;
d55e5bfc
RD
3075 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3076 wxBitmap result;
3077 PyObject * obj0 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "self", NULL
3080 };
3081
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
3083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 result = (arg1)->GetBitmapDisabled();
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 {
3093 wxBitmap * resultptr;
7449af73 3094 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3096 }
3097 return resultobj;
3098 fail:
3099 return NULL;
3100}
3101
3102
c32bde28 3103static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3104 PyObject *resultobj = NULL;
d55e5bfc
RD
3105 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3106 wxBitmap result;
3107 PyObject * obj0 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
3113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 result = (arg1)->GetBitmapFocus();
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 {
3123 wxBitmap * resultptr;
7449af73 3124 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3126 }
3127 return resultobj;
3128 fail:
3129 return NULL;
3130}
3131
3132
c32bde28 3133static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3134 PyObject *resultobj = NULL;
d55e5bfc
RD
3135 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3136 wxBitmap result;
3137 PyObject * obj0 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
3143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 result = (arg1)->GetBitmapSelected();
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 {
3153 wxBitmap * resultptr;
7449af73 3154 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
3155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3156 }
3157 return resultobj;
3158 fail:
3159 return NULL;
3160}
3161
3162
c32bde28 3163static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3164 PyObject *resultobj = NULL;
d55e5bfc
RD
3165 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3166 wxBitmap *arg2 = 0 ;
3167 PyObject * obj0 = 0 ;
3168 PyObject * obj1 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "self",(char *) "bitmap", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3175 if (SWIG_arg_fail(1)) SWIG_fail;
3176 {
3177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3178 if (SWIG_arg_fail(2)) SWIG_fail;
3179 if (arg2 == NULL) {
3180 SWIG_null_ref("wxBitmap");
3181 }
3182 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3183 }
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 return resultobj;
3193 fail:
3194 return NULL;
3195}
3196
3197
c32bde28 3198static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3199 PyObject *resultobj = NULL;
d55e5bfc
RD
3200 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3201 wxBitmap *arg2 = 0 ;
3202 PyObject * obj0 = 0 ;
3203 PyObject * obj1 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self",(char *) "bitmap", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3210 if (SWIG_arg_fail(1)) SWIG_fail;
3211 {
3212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3213 if (SWIG_arg_fail(2)) SWIG_fail;
3214 if (arg2 == NULL) {
3215 SWIG_null_ref("wxBitmap");
3216 }
3217 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3218 }
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 Py_INCREF(Py_None); resultobj = Py_None;
3227 return resultobj;
3228 fail:
3229 return NULL;
3230}
3231
3232
c32bde28 3233static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3234 PyObject *resultobj = NULL;
d55e5bfc
RD
3235 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3236 wxBitmap *arg2 = 0 ;
3237 PyObject * obj0 = 0 ;
3238 PyObject * obj1 = 0 ;
3239 char *kwnames[] = {
3240 (char *) "self",(char *) "bitmap", NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3245 if (SWIG_arg_fail(1)) SWIG_fail;
3246 {
3247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3248 if (SWIG_arg_fail(2)) SWIG_fail;
3249 if (arg2 == NULL) {
3250 SWIG_null_ref("wxBitmap");
3251 }
3252 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3253 }
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265}
3266
3267
c32bde28 3268static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3269 PyObject *resultobj = NULL;
d55e5bfc
RD
3270 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3271 wxBitmap *arg2 = 0 ;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "bitmap", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail;
3281 {
3282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3283 if (SWIG_arg_fail(2)) SWIG_fail;
3284 if (arg2 == NULL) {
3285 SWIG_null_ref("wxBitmap");
3286 }
3287 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3288 }
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300}
3301
3302
c32bde28 3303static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3304 PyObject *resultobj = NULL;
d55e5bfc
RD
3305 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3306 int arg2 ;
3307 int arg3 ;
3308 PyObject * obj0 = 0 ;
3309 PyObject * obj1 = 0 ;
3310 PyObject * obj2 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self",(char *) "x",(char *) "y", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3317 if (SWIG_arg_fail(1)) SWIG_fail;
3318 {
7449af73 3319 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3320 if (SWIG_arg_fail(2)) SWIG_fail;
3321 }
3322 {
7449af73 3323 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3324 if (SWIG_arg_fail(3)) SWIG_fail;
3325 }
d55e5bfc
RD
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 (arg1)->SetMargins(arg2,arg3);
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 Py_INCREF(Py_None); resultobj = Py_None;
3334 return resultobj;
3335 fail:
3336 return NULL;
3337}
3338
3339
c32bde28 3340static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3341 PyObject *resultobj = NULL;
d55e5bfc
RD
3342 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3343 int result;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
093d3ff1 3359 {
7449af73 3360 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3361 }
d55e5bfc
RD
3362 return resultobj;
3363 fail:
3364 return NULL;
3365}
3366
3367
c32bde28 3368static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3369 PyObject *resultobj = NULL;
d55e5bfc
RD
3370 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3371 int result;
3372 PyObject * obj0 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
093d3ff1 3387 {
7449af73 3388 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3389 }
d55e5bfc
RD
3390 return resultobj;
3391 fail:
3392 return NULL;
3393}
3394
3395
c32bde28 3396static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3397 PyObject *obj;
3398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3400 Py_INCREF(obj);
3401 return Py_BuildValue((char *)"");
3402}
c32bde28 3403static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3404 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3405 return 1;
3406}
3407
3408
093d3ff1 3409static PyObject *_wrap_CheckBoxNameStr_get(void) {
7449af73 3410 PyObject *pyobj = NULL;
d55e5bfc
RD
3411
3412 {
3413#if wxUSE_UNICODE
3414 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3415#else
3416 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3417#endif
3418 }
3419 return pyobj;
3420}
3421
3422
c32bde28 3423static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3424 PyObject *resultobj = NULL;
d55e5bfc 3425 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3426 int arg2 = (int) -1 ;
3427 wxString const &arg3_defvalue = wxPyEmptyString ;
3428 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3431 wxSize const &arg5_defvalue = wxDefaultSize ;
3432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3433 long arg6 = (long) 0 ;
3434 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3435 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3436 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3437 wxString *arg8 = (wxString *) &arg8_defvalue ;
3438 wxCheckBox *result;
ae8162c8 3439 bool temp3 = false ;
d55e5bfc
RD
3440 wxPoint temp4 ;
3441 wxSize temp5 ;
ae8162c8 3442 bool temp8 = false ;
d55e5bfc
RD
3443 PyObject * obj0 = 0 ;
3444 PyObject * obj1 = 0 ;
3445 PyObject * obj2 = 0 ;
3446 PyObject * obj3 = 0 ;
3447 PyObject * obj4 = 0 ;
3448 PyObject * obj5 = 0 ;
3449 PyObject * obj6 = 0 ;
3450 PyObject * obj7 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3453 };
3454
248ed943 3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3457 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3458 if (obj1) {
093d3ff1 3459 {
7449af73 3460 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3461 if (SWIG_arg_fail(2)) SWIG_fail;
3462 }
248ed943
RD
3463 }
3464 if (obj2) {
3465 {
3466 arg3 = wxString_in_helper(obj2);
3467 if (arg3 == NULL) SWIG_fail;
ae8162c8 3468 temp3 = true;
248ed943 3469 }
d55e5bfc
RD
3470 }
3471 if (obj3) {
3472 {
3473 arg4 = &temp4;
3474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3475 }
3476 }
3477 if (obj4) {
3478 {
3479 arg5 = &temp5;
3480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3481 }
3482 }
3483 if (obj5) {
093d3ff1 3484 {
7449af73 3485 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
3486 if (SWIG_arg_fail(6)) SWIG_fail;
3487 }
d55e5bfc
RD
3488 }
3489 if (obj6) {
093d3ff1
RD
3490 {
3491 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3492 if (SWIG_arg_fail(7)) SWIG_fail;
3493 if (arg7 == NULL) {
3494 SWIG_null_ref("wxValidator");
3495 }
3496 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3497 }
3498 }
3499 if (obj7) {
3500 {
3501 arg8 = wxString_in_helper(obj7);
3502 if (arg8 == NULL) SWIG_fail;
ae8162c8 3503 temp8 = true;
d55e5bfc
RD
3504 }
3505 }
3506 {
0439c23b 3507 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3510
3511 wxPyEndAllowThreads(__tstate);
110da5b0 3512 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3513 }
3514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3515 {
3516 if (temp3)
3517 delete arg3;
3518 }
3519 {
3520 if (temp8)
3521 delete arg8;
3522 }
3523 return resultobj;
3524 fail:
3525 {
3526 if (temp3)
3527 delete arg3;
3528 }
3529 {
3530 if (temp8)
3531 delete arg8;
3532 }
3533 return NULL;
3534}
3535
3536
c32bde28 3537static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3538 PyObject *resultobj = NULL;
d55e5bfc
RD
3539 wxCheckBox *result;
3540 char *kwnames[] = {
3541 NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3545 {
0439c23b 3546 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
3548 result = (wxCheckBox *)new wxCheckBox();
3549
3550 wxPyEndAllowThreads(__tstate);
110da5b0 3551 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3552 }
3553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3554 return resultobj;
3555 fail:
3556 return NULL;
3557}
3558
3559
c32bde28 3560static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3561 PyObject *resultobj = NULL;
d55e5bfc
RD
3562 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3563 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3564 int arg3 = (int) -1 ;
3565 wxString const &arg4_defvalue = wxPyEmptyString ;
3566 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3567 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3568 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3569 wxSize const &arg6_defvalue = wxDefaultSize ;
3570 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3571 long arg7 = (long) 0 ;
3572 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3573 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3574 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3575 wxString *arg9 = (wxString *) &arg9_defvalue ;
3576 bool result;
ae8162c8 3577 bool temp4 = false ;
d55e5bfc
RD
3578 wxPoint temp5 ;
3579 wxSize temp6 ;
ae8162c8 3580 bool temp9 = false ;
d55e5bfc
RD
3581 PyObject * obj0 = 0 ;
3582 PyObject * obj1 = 0 ;
3583 PyObject * obj2 = 0 ;
3584 PyObject * obj3 = 0 ;
3585 PyObject * obj4 = 0 ;
3586 PyObject * obj5 = 0 ;
3587 PyObject * obj6 = 0 ;
3588 PyObject * obj7 = 0 ;
3589 PyObject * obj8 = 0 ;
3590 char *kwnames[] = {
3591 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3592 };
3593
248ed943 3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3596 if (SWIG_arg_fail(1)) SWIG_fail;
3597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3598 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3599 if (obj2) {
093d3ff1 3600 {
7449af73 3601 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3602 if (SWIG_arg_fail(3)) SWIG_fail;
3603 }
248ed943
RD
3604 }
3605 if (obj3) {
3606 {
3607 arg4 = wxString_in_helper(obj3);
3608 if (arg4 == NULL) SWIG_fail;
ae8162c8 3609 temp4 = true;
248ed943 3610 }
d55e5bfc
RD
3611 }
3612 if (obj4) {
3613 {
3614 arg5 = &temp5;
3615 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3616 }
3617 }
3618 if (obj5) {
3619 {
3620 arg6 = &temp6;
3621 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3622 }
3623 }
3624 if (obj6) {
093d3ff1 3625 {
7449af73 3626 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
3627 if (SWIG_arg_fail(7)) SWIG_fail;
3628 }
d55e5bfc
RD
3629 }
3630 if (obj7) {
093d3ff1
RD
3631 {
3632 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3633 if (SWIG_arg_fail(8)) SWIG_fail;
3634 if (arg8 == NULL) {
3635 SWIG_null_ref("wxValidator");
3636 }
3637 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3638 }
3639 }
3640 if (obj8) {
3641 {
3642 arg9 = wxString_in_helper(obj8);
3643 if (arg9 == NULL) SWIG_fail;
ae8162c8 3644 temp9 = true;
d55e5bfc
RD
3645 }
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3656 }
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 {
3662 if (temp9)
3663 delete arg9;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp9)
3673 delete arg9;
3674 }
3675 return NULL;
3676}
3677
3678
c32bde28 3679static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3680 PyObject *resultobj = NULL;
d55e5bfc
RD
3681 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3682 bool result;
3683 PyObject * obj0 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "self", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = (bool)(arg1)->GetValue();
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3700 }
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
c32bde28 3707static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3708 PyObject *resultobj = NULL;
d55e5bfc
RD
3709 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3710 bool result;
3711 PyObject * obj0 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (bool)(arg1)->IsChecked();
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 {
3727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3728 }
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
c32bde28 3735static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3736 PyObject *resultobj = NULL;
d55e5bfc
RD
3737 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3738 bool arg2 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self",(char *) "state", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
3748 {
7449af73 3749 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
093d3ff1
RD
3750 if (SWIG_arg_fail(2)) SWIG_fail;
3751 }
d55e5bfc
RD
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->SetValue(arg2);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 return resultobj;
3761 fail:
3762 return NULL;
3763}
3764
3765
c32bde28 3766static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3767 PyObject *resultobj = NULL;
d55e5bfc 3768 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3769 wxCheckBoxState result;
d55e5bfc
RD
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3780 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
093d3ff1 3785 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
c32bde28 3792static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3793 PyObject *resultobj = NULL;
d55e5bfc 3794 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3795 wxCheckBoxState arg2 ;
d55e5bfc
RD
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self",(char *) "state", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3804 if (SWIG_arg_fail(1)) SWIG_fail;
3805 {
7449af73 3806 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
093d3ff1
RD
3807 if (SWIG_arg_fail(2)) SWIG_fail;
3808 }
d55e5bfc
RD
3809 {
3810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3811 (arg1)->Set3StateValue(arg2);
d55e5bfc
RD
3812
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 Py_INCREF(Py_None); resultobj = Py_None;
3817 return resultobj;
3818 fail:
3819 return NULL;
3820}
3821
3822
c32bde28 3823static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3824 PyObject *resultobj = NULL;
d55e5bfc
RD
3825 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3826 bool result;
3827 PyObject * obj0 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 {
3843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3844 }
3845 return resultobj;
3846 fail:
3847 return NULL;
3848}
3849
3850
c32bde28 3851static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3852 PyObject *resultobj = NULL;
d55e5bfc
RD
3853 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3854 bool result;
3855 PyObject * obj0 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "self", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 {
3871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3872 }
3873 return resultobj;
3874 fail:
3875 return NULL;
3876}
3877
3878
c32bde28 3879static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3880 PyObject *resultobj = NULL;
093d3ff1 3881 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3882 wxVisualAttributes result;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "variant", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3889 if (obj0) {
093d3ff1 3890 {
7449af73 3891 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
3892 if (SWIG_arg_fail(1)) SWIG_fail;
3893 }
f20a2e1f
RD
3894 }
3895 {
19272049 3896 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3898 result = wxCheckBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
3899
3900 wxPyEndAllowThreads(__tstate);
110da5b0 3901 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3902 }
3903 {
3904 wxVisualAttributes * resultptr;
7449af73 3905 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
3906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3907 }
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
c32bde28 3914static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3915 PyObject *obj;
3916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3917 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3918 Py_INCREF(obj);
3919 return Py_BuildValue((char *)"");
3920}
c32bde28 3921static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3922 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3923 return 1;
3924}
3925
3926
093d3ff1 3927static PyObject *_wrap_ChoiceNameStr_get(void) {
7449af73 3928 PyObject *pyobj = NULL;
d55e5bfc
RD
3929
3930 {
3931#if wxUSE_UNICODE
3932 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3933#else
3934 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3935#endif
3936 }
3937 return pyobj;
3938}
3939
3940
c32bde28 3941static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3942 PyObject *resultobj = NULL;
d55e5bfc
RD
3943 wxWindow *arg1 = (wxWindow *) 0 ;
3944 int arg2 = (int) -1 ;
3945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3947 wxSize const &arg4_defvalue = wxDefaultSize ;
3948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3949 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3950 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3951 long arg6 = (long) 0 ;
3952 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3953 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3954 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3955 wxString *arg8 = (wxString *) &arg8_defvalue ;
3956 wxChoice *result;
3957 wxPoint temp3 ;
3958 wxSize temp4 ;
ae8162c8
RD
3959 bool temp5 = false ;
3960 bool temp8 = false ;
d55e5bfc
RD
3961 PyObject * obj0 = 0 ;
3962 PyObject * obj1 = 0 ;
3963 PyObject * obj2 = 0 ;
3964 PyObject * obj3 = 0 ;
3965 PyObject * obj4 = 0 ;
3966 PyObject * obj5 = 0 ;
3967 PyObject * obj6 = 0 ;
3968 PyObject * obj7 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3975 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3976 if (obj1) {
093d3ff1 3977 {
7449af73 3978 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3979 if (SWIG_arg_fail(2)) SWIG_fail;
3980 }
d55e5bfc
RD
3981 }
3982 if (obj2) {
3983 {
3984 arg3 = &temp3;
3985 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3986 }
3987 }
3988 if (obj3) {
3989 {
3990 arg4 = &temp4;
3991 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3992 }
3993 }
3994 if (obj4) {
3995 {
3996 if (! PySequence_Check(obj4)) {
3997 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3998 SWIG_fail;
3999 }
4000 arg5 = new wxArrayString;
ae8162c8 4001 temp5 = true;
d55e5bfc
RD
4002 int i, len=PySequence_Length(obj4);
4003 for (i=0; i<len; i++) {
4004 PyObject* item = PySequence_GetItem(obj4, i);
71237536 4005 wxString* s = wxString_in_helper(item);
d55e5bfc 4006 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4007 arg5->Add(*s);
4008 delete s;
d55e5bfc 4009 Py_DECREF(item);
d55e5bfc
RD
4010 }
4011 }
4012 }
4013 if (obj5) {
093d3ff1 4014 {
7449af73 4015 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
4016 if (SWIG_arg_fail(6)) SWIG_fail;
4017 }
d55e5bfc
RD
4018 }
4019 if (obj6) {
093d3ff1
RD
4020 {
4021 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4022 if (SWIG_arg_fail(7)) SWIG_fail;
4023 if (arg7 == NULL) {
4024 SWIG_null_ref("wxValidator");
4025 }
4026 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
4027 }
4028 }
4029 if (obj7) {
4030 {
4031 arg8 = wxString_in_helper(obj7);
4032 if (arg8 == NULL) SWIG_fail;
ae8162c8 4033 temp8 = true;
d55e5bfc
RD
4034 }
4035 }
4036 {
0439c23b 4037 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4040
4041 wxPyEndAllowThreads(__tstate);
110da5b0 4042 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4043 }
4044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4045 {
4046 if (temp5) delete arg5;
4047 }
4048 {
4049 if (temp8)
4050 delete arg8;
4051 }
4052 return resultobj;
4053 fail:
4054 {
4055 if (temp5) delete arg5;
4056 }
4057 {
4058 if (temp8)
4059 delete arg8;
4060 }
4061 return NULL;
4062}
4063
4064
c32bde28 4065static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4066 PyObject *resultobj = NULL;
d55e5bfc
RD
4067 wxChoice *result;
4068 char *kwnames[] = {
4069 NULL
4070 };
4071
4072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
4073 {
0439c23b 4074 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 result = (wxChoice *)new wxChoice();
4077
4078 wxPyEndAllowThreads(__tstate);
110da5b0 4079 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4080 }
4081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4082 return resultobj;
4083 fail:
4084 return NULL;
4085}
4086
4087
c32bde28 4088static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4089 PyObject *resultobj = NULL;
d55e5bfc
RD
4090 wxChoice *arg1 = (wxChoice *) 0 ;
4091 wxWindow *arg2 = (wxWindow *) 0 ;
4092 int arg3 = (int) -1 ;
4093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4095 wxSize const &arg5_defvalue = wxDefaultSize ;
4096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4097 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4098 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4099 long arg7 = (long) 0 ;
4100 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4101 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4102 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
4103 wxString *arg9 = (wxString *) &arg9_defvalue ;
4104 bool result;
4105 wxPoint temp4 ;
4106 wxSize temp5 ;
ae8162c8
RD
4107 bool temp6 = false ;
4108 bool temp9 = false ;
d55e5bfc
RD
4109 PyObject * obj0 = 0 ;
4110 PyObject * obj1 = 0 ;
4111 PyObject * obj2 = 0 ;
4112 PyObject * obj3 = 0 ;
4113 PyObject * obj4 = 0 ;
4114 PyObject * obj5 = 0 ;
4115 PyObject * obj6 = 0 ;
4116 PyObject * obj7 = 0 ;
4117 PyObject * obj8 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail;
4125 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4126 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4127 if (obj2) {
093d3ff1 4128 {
7449af73 4129 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4130 if (SWIG_arg_fail(3)) SWIG_fail;
4131 }
d55e5bfc
RD
4132 }
4133 if (obj3) {
4134 {
4135 arg4 = &temp4;
4136 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4137 }
4138 }
4139 if (obj4) {
4140 {
4141 arg5 = &temp5;
4142 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4143 }
4144 }
4145 if (obj5) {
4146 {
4147 if (! PySequence_Check(obj5)) {
4148 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4149 SWIG_fail;
4150 }
4151 arg6 = new wxArrayString;
ae8162c8 4152 temp6 = true;
d55e5bfc
RD
4153 int i, len=PySequence_Length(obj5);
4154 for (i=0; i<len; i++) {
4155 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4156 wxString* s = wxString_in_helper(item);
d55e5bfc 4157 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4158 arg6->Add(*s);
4159 delete s;
d55e5bfc 4160 Py_DECREF(item);
d55e5bfc
RD
4161 }
4162 }
4163 }
4164 if (obj6) {
093d3ff1 4165 {
7449af73 4166 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
4167 if (SWIG_arg_fail(7)) SWIG_fail;
4168 }
d55e5bfc
RD
4169 }
4170 if (obj7) {
093d3ff1
RD
4171 {
4172 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4173 if (SWIG_arg_fail(8)) SWIG_fail;
4174 if (arg8 == NULL) {
4175 SWIG_null_ref("wxValidator");
4176 }
4177 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4178 }
4179 }
4180 if (obj8) {
4181 {
4182 arg9 = wxString_in_helper(obj8);
4183 if (arg9 == NULL) SWIG_fail;
ae8162c8 4184 temp9 = true;
d55e5bfc
RD
4185 }
4186 }
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 {
4195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4196 }
4197 {
4198 if (temp6) delete arg6;
4199 }
4200 {
4201 if (temp9)
4202 delete arg9;
4203 }
4204 return resultobj;
4205 fail:
4206 {
4207 if (temp6) delete arg6;
4208 }
4209 {
4210 if (temp9)
4211 delete arg9;
4212 }
4213 return NULL;
4214}
4215
4216
9d7dfdff 4217static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4218 PyObject *resultobj = NULL;
9d7dfdff
RD
4219 wxChoice *arg1 = (wxChoice *) 0 ;
4220 int result;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
4227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4228 if (SWIG_arg_fail(1)) SWIG_fail;
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 {
7449af73 4237 resultobj = SWIG_From_int(static_cast<int >(result));
9d7dfdff
RD
4238 }
4239 return resultobj;
4240 fail:
4241 return NULL;
4242}
4243
4244
c32bde28 4245static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4246 PyObject *resultobj = NULL;
093d3ff1 4247 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4248 wxVisualAttributes result;
4249 PyObject * obj0 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "variant", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4255 if (obj0) {
093d3ff1 4256 {
7449af73 4257 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
4258 if (SWIG_arg_fail(1)) SWIG_fail;
4259 }
f20a2e1f
RD
4260 }
4261 {
19272049 4262 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4264 result = wxChoice::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
4265
4266 wxPyEndAllowThreads(__tstate);
110da5b0 4267 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4268 }
4269 {
4270 wxVisualAttributes * resultptr;
7449af73 4271 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
4272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4273 }
4274 return resultobj;
4275 fail:
4276 return NULL;
4277}
4278
4279
c32bde28 4280static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4281 PyObject *obj;
4282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4283 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4284 Py_INCREF(obj);
4285 return Py_BuildValue((char *)"");
4286}
c32bde28 4287static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4288 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4289 return 1;
4290}
4291
4292
093d3ff1 4293static PyObject *_wrap_ComboBoxNameStr_get(void) {
7449af73 4294 PyObject *pyobj = NULL;
d55e5bfc
RD
4295
4296 {
4297#if wxUSE_UNICODE
4298 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4299#else
4300 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4301#endif
4302 }
4303 return pyobj;
4304}
4305
4306
c32bde28 4307static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4308 PyObject *resultobj = NULL;
d55e5bfc
RD
4309 wxWindow *arg1 = (wxWindow *) 0 ;
4310 int arg2 = (int) -1 ;
4311 wxString const &arg3_defvalue = wxPyEmptyString ;
4312 wxString *arg3 = (wxString *) &arg3_defvalue ;
4313 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4314 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4315 wxSize const &arg5_defvalue = wxDefaultSize ;
4316 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4317 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4318 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4319 long arg7 = (long) 0 ;
4320 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4321 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4322 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4323 wxString *arg9 = (wxString *) &arg9_defvalue ;
4324 wxComboBox *result;
ae8162c8 4325 bool temp3 = false ;
d55e5bfc
RD
4326 wxPoint temp4 ;
4327 wxSize temp5 ;
ae8162c8
RD
4328 bool temp6 = false ;
4329 bool temp9 = false ;
d55e5bfc
RD
4330 PyObject * obj0 = 0 ;
4331 PyObject * obj1 = 0 ;
4332 PyObject * obj2 = 0 ;
4333 PyObject * obj3 = 0 ;
4334 PyObject * obj4 = 0 ;
4335 PyObject * obj5 = 0 ;
4336 PyObject * obj6 = 0 ;
4337 PyObject * obj7 = 0 ;
4338 PyObject * obj8 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4346 if (obj1) {
093d3ff1 4347 {
7449af73 4348 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4349 if (SWIG_arg_fail(2)) SWIG_fail;
4350 }
d55e5bfc
RD
4351 }
4352 if (obj2) {
4353 {
4354 arg3 = wxString_in_helper(obj2);
4355 if (arg3 == NULL) SWIG_fail;
ae8162c8 4356 temp3 = true;
d55e5bfc
RD
4357 }
4358 }
4359 if (obj3) {
4360 {
4361 arg4 = &temp4;
4362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4363 }
4364 }
4365 if (obj4) {
4366 {
4367 arg5 = &temp5;
4368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4369 }
4370 }
4371 if (obj5) {
4372 {
4373 if (! PySequence_Check(obj5)) {
4374 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4375 SWIG_fail;
4376 }
4377 arg6 = new wxArrayString;
ae8162c8 4378 temp6 = true;
d55e5bfc
RD
4379 int i, len=PySequence_Length(obj5);
4380 for (i=0; i<len; i++) {
4381 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4382 wxString* s = wxString_in_helper(item);
d55e5bfc 4383 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4384 arg6->Add(*s);
4385 delete s;
d55e5bfc 4386 Py_DECREF(item);
d55e5bfc
RD
4387 }
4388 }
4389 }
4390 if (obj6) {
093d3ff1 4391 {
7449af73 4392 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
4393 if (SWIG_arg_fail(7)) SWIG_fail;
4394 }
d55e5bfc
RD
4395 }
4396 if (obj7) {
093d3ff1
RD
4397 {
4398 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4399 if (SWIG_arg_fail(8)) SWIG_fail;
4400 if (arg8 == NULL) {
4401 SWIG_null_ref("wxValidator");
4402 }
4403 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4404 }
4405 }
4406 if (obj8) {
4407 {
4408 arg9 = wxString_in_helper(obj8);
4409 if (arg9 == NULL) SWIG_fail;
ae8162c8 4410 temp9 = true;
d55e5bfc
RD
4411 }
4412 }
4413 {
0439c23b 4414 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 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);
4417
4418 wxPyEndAllowThreads(__tstate);
110da5b0 4419 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4420 }
4421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4422 {
4423 if (temp3)
4424 delete arg3;
4425 }
4426 {
4427 if (temp6) delete arg6;
4428 }
4429 {
4430 if (temp9)
4431 delete arg9;
4432 }
4433 return resultobj;
4434 fail:
4435 {
4436 if (temp3)
4437 delete arg3;
4438 }
4439 {
4440 if (temp6) delete arg6;
4441 }
4442 {
4443 if (temp9)
4444 delete arg9;
4445 }
4446 return NULL;
4447}
4448
4449
c32bde28 4450static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4451 PyObject *resultobj = NULL;
d55e5bfc
RD
4452 wxComboBox *result;
4453 char *kwnames[] = {
4454 NULL
4455 };
4456
4457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4458 {
0439c23b 4459 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 result = (wxComboBox *)new wxComboBox();
4462
4463 wxPyEndAllowThreads(__tstate);
110da5b0 4464 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4465 }
4466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4467 return resultobj;
4468 fail:
4469 return NULL;
4470}
4471
4472
c32bde28 4473static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4474 PyObject *resultobj = NULL;
d55e5bfc
RD
4475 wxComboBox *arg1 = (wxComboBox *) 0 ;
4476 wxWindow *arg2 = (wxWindow *) 0 ;
4477 int arg3 = (int) -1 ;
4478 wxString const &arg4_defvalue = wxPyEmptyString ;
4479 wxString *arg4 = (wxString *) &arg4_defvalue ;
4480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4482 wxSize const &arg6_defvalue = wxDefaultSize ;
4483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4484 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4485 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4486 long arg8 = (long) 0 ;
4487 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4488 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4489 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4490 wxString *arg10 = (wxString *) &arg10_defvalue ;
4491 bool result;
ae8162c8 4492 bool temp4 = false ;
d55e5bfc
RD
4493 wxPoint temp5 ;
4494 wxSize temp6 ;
ae8162c8
RD
4495 bool temp7 = false ;
4496 bool temp10 = false ;
d55e5bfc
RD
4497 PyObject * obj0 = 0 ;
4498 PyObject * obj1 = 0 ;
4499 PyObject * obj2 = 0 ;
4500 PyObject * obj3 = 0 ;
4501 PyObject * obj4 = 0 ;
4502 PyObject * obj5 = 0 ;
4503 PyObject * obj6 = 0 ;
4504 PyObject * obj7 = 0 ;
4505 PyObject * obj8 = 0 ;
4506 PyObject * obj9 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
4512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4513 if (SWIG_arg_fail(1)) SWIG_fail;
4514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4516 if (obj2) {
093d3ff1 4517 {
7449af73 4518 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4519 if (SWIG_arg_fail(3)) SWIG_fail;
4520 }
d55e5bfc
RD
4521 }
4522 if (obj3) {
4523 {
4524 arg4 = wxString_in_helper(obj3);
4525 if (arg4 == NULL) SWIG_fail;
ae8162c8 4526 temp4 = true;
d55e5bfc
RD
4527 }
4528 }
4529 if (obj4) {
4530 {
4531 arg5 = &temp5;
4532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4533 }
4534 }
4535 if (obj5) {
4536 {
4537 arg6 = &temp6;
4538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4539 }
4540 }
4541 if (obj6) {
4542 {
4543 if (! PySequence_Check(obj6)) {
4544 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4545 SWIG_fail;
4546 }
4547 arg7 = new wxArrayString;
ae8162c8 4548 temp7 = true;
d55e5bfc
RD
4549 int i, len=PySequence_Length(obj6);
4550 for (i=0; i<len; i++) {
4551 PyObject* item = PySequence_GetItem(obj6, i);
71237536 4552 wxString* s = wxString_in_helper(item);
d55e5bfc 4553 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4554 arg7->Add(*s);
4555 delete s;
d55e5bfc 4556 Py_DECREF(item);
d55e5bfc
RD
4557 }
4558 }
4559 }
4560 if (obj7) {
093d3ff1 4561 {
7449af73 4562 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
4563 if (SWIG_arg_fail(8)) SWIG_fail;
4564 }
d55e5bfc
RD
4565 }
4566 if (obj8) {
093d3ff1
RD
4567 {
4568 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4569 if (SWIG_arg_fail(9)) SWIG_fail;
4570 if (arg9 == NULL) {
4571 SWIG_null_ref("wxValidator");
4572 }
4573 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4574 }
4575 }
4576 if (obj9) {
4577 {
4578 arg10 = wxString_in_helper(obj9);
4579 if (arg10 == NULL) SWIG_fail;
ae8162c8 4580 temp10 = true;
d55e5bfc
RD
4581 }
4582 }
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 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);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 {
4591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4592 }
4593 {
4594 if (temp4)
4595 delete arg4;
4596 }
4597 {
4598 if (temp7) delete arg7;
4599 }
4600 {
4601 if (temp10)
4602 delete arg10;
4603 }
4604 return resultobj;
4605 fail:
4606 {
4607 if (temp4)
4608 delete arg4;
4609 }
4610 {
4611 if (temp7) delete arg7;
4612 }
4613 {
4614 if (temp10)
4615 delete arg10;
4616 }
4617 return NULL;
4618}
4619
4620
c32bde28 4621static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4622 PyObject *resultobj = NULL;
d55e5bfc
RD
4623 wxComboBox *arg1 = (wxComboBox *) 0 ;
4624 wxString result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = ((wxComboBox const *)arg1)->GetValue();
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641#if wxUSE_UNICODE
4642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4643#else
4644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4645#endif
4646 }
4647 return resultobj;
4648 fail:
4649 return NULL;
4650}
4651
4652
c32bde28 4653static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4654 PyObject *resultobj = NULL;
d55e5bfc
RD
4655 wxComboBox *arg1 = (wxComboBox *) 0 ;
4656 wxString *arg2 = 0 ;
ae8162c8 4657 bool temp2 = false ;
d55e5bfc
RD
4658 PyObject * obj0 = 0 ;
4659 PyObject * obj1 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self",(char *) "value", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4666 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4667 {
4668 arg2 = wxString_in_helper(obj1);
4669 if (arg2 == NULL) SWIG_fail;
ae8162c8 4670 temp2 = true;
d55e5bfc
RD
4671 }
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 (arg1)->SetValue((wxString const &)*arg2);
4675
4676 wxPyEndAllowThreads(__tstate);
4677 if (PyErr_Occurred()) SWIG_fail;
4678 }
4679 Py_INCREF(Py_None); resultobj = Py_None;
4680 {
4681 if (temp2)
4682 delete arg2;
4683 }
4684 return resultobj;
4685 fail:
4686 {
4687 if (temp2)
4688 delete arg2;
4689 }
4690 return NULL;
4691}
4692
4693
c32bde28 4694static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4695 PyObject *resultobj = NULL;
d55e5bfc
RD
4696 wxComboBox *arg1 = (wxComboBox *) 0 ;
4697 PyObject * obj0 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 (arg1)->Copy();
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 Py_INCREF(Py_None); resultobj = Py_None;
4713 return resultobj;
4714 fail:
4715 return NULL;
4716}
4717
4718
c32bde28 4719static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4720 PyObject *resultobj = NULL;
d55e5bfc
RD
4721 wxComboBox *arg1 = (wxComboBox *) 0 ;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 (arg1)->Cut();
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 Py_INCREF(Py_None); resultobj = Py_None;
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
c32bde28 4744static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4745 PyObject *resultobj = NULL;
d55e5bfc
RD
4746 wxComboBox *arg1 = (wxComboBox *) 0 ;
4747 PyObject * obj0 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 (arg1)->Paste();
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 Py_INCREF(Py_None); resultobj = Py_None;
4763 return resultobj;
4764 fail:
4765 return NULL;
4766}
4767
4768
c32bde28 4769static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4770 PyObject *resultobj = NULL;
d55e5bfc
RD
4771 wxComboBox *arg1 = (wxComboBox *) 0 ;
4772 long arg2 ;
4773 PyObject * obj0 = 0 ;
4774 PyObject * obj1 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self",(char *) "pos", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4781 if (SWIG_arg_fail(1)) SWIG_fail;
4782 {
7449af73 4783 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4784 if (SWIG_arg_fail(2)) SWIG_fail;
4785 }
d55e5bfc
RD
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->SetInsertionPoint(arg2);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 Py_INCREF(Py_None); resultobj = Py_None;
4794 return resultobj;
4795 fail:
4796 return NULL;
4797}
4798
4799
c32bde28 4800static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4801 PyObject *resultobj = NULL;
d55e5bfc
RD
4802 wxComboBox *arg1 = (wxComboBox *) 0 ;
4803 long result;
4804 PyObject * obj0 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
093d3ff1 4819 {
7449af73 4820 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 4821 }
d55e5bfc
RD
4822 return resultobj;
4823 fail:
4824 return NULL;
4825}
4826
4827
c32bde28 4828static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4829 PyObject *resultobj = NULL;
d55e5bfc
RD
4830 wxComboBox *arg1 = (wxComboBox *) 0 ;
4831 long result;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
093d3ff1 4847 {
7449af73 4848 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 4849 }
d55e5bfc
RD
4850 return resultobj;
4851 fail:
4852 return NULL;
4853}
4854
4855
c32bde28 4856static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4857 PyObject *resultobj = NULL;
d55e5bfc
RD
4858 wxComboBox *arg1 = (wxComboBox *) 0 ;
4859 long arg2 ;
4860 long arg3 ;
4861 wxString *arg4 = 0 ;
ae8162c8 4862 bool temp4 = false ;
d55e5bfc
RD
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
4865 PyObject * obj2 = 0 ;
4866 PyObject * obj3 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail;
4874 {
7449af73 4875 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4876 if (SWIG_arg_fail(2)) SWIG_fail;
4877 }
4878 {
7449af73 4879 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
4880 if (SWIG_arg_fail(3)) SWIG_fail;
4881 }
d55e5bfc
RD
4882 {
4883 arg4 = wxString_in_helper(obj3);
4884 if (arg4 == NULL) SWIG_fail;
ae8162c8 4885 temp4 = true;
d55e5bfc
RD
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 {
4896 if (temp4)
4897 delete arg4;
4898 }
4899 return resultobj;
4900 fail:
4901 {
4902 if (temp4)
4903 delete arg4;
4904 }
4905 return NULL;
4906}
4907
4908
c32bde28 4909static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4910 PyObject *resultobj = NULL;
d55e5bfc
RD
4911 wxComboBox *arg1 = (wxComboBox *) 0 ;
4912 int arg2 ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 char *kwnames[] = {
4916 (char *) "self",(char *) "n", NULL
4917 };
4918
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail;
4922 {
7449af73 4923 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4924 if (SWIG_arg_fail(2)) SWIG_fail;
4925 }
d55e5bfc
RD
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 (arg1)->SetSelection(arg2);
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 Py_INCREF(Py_None); resultobj = Py_None;
4934 return resultobj;
4935 fail:
4936 return NULL;
4937}
4938
4939
c32bde28 4940static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4941 PyObject *resultobj = NULL;
d55e5bfc
RD
4942 wxComboBox *arg1 = (wxComboBox *) 0 ;
4943 long arg2 ;
4944 long arg3 ;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 PyObject * obj2 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self",(char *) "from",(char *) "to", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4954 if (SWIG_arg_fail(1)) SWIG_fail;
4955 {
7449af73 4956 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4957 if (SWIG_arg_fail(2)) SWIG_fail;
4958 }
4959 {
7449af73 4960 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
4961 if (SWIG_arg_fail(3)) SWIG_fail;
4962 }
d55e5bfc
RD
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 (arg1)->SetSelection(arg2,arg3);
4966
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 Py_INCREF(Py_None); resultobj = Py_None;
4971 return resultobj;
4972 fail:
4973 return NULL;
4974}
4975
4976
f78cc896 4977static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4978 PyObject *resultobj = NULL;
f78cc896
RD
4979 wxComboBox *arg1 = (wxComboBox *) 0 ;
4980 long *arg2 = (long *) 0 ;
4981 long *arg3 = (long *) 0 ;
4982 long temp2 ;
4983 int res2 = 0 ;
4984 long temp3 ;
4985 int res3 = 0 ;
4986 PyObject * obj0 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "self", NULL
4989 };
4990
4991 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4992 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
093d3ff1
RD
4994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4995 if (SWIG_arg_fail(1)) SWIG_fail;
f78cc896
RD
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 (arg1)->GetSelection(arg2,arg3);
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 Py_INCREF(Py_None); resultobj = Py_None;
5004 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5005 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
5006 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5007 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
5008 return resultobj;
5009 fail:
5010 return NULL;
5011}
5012
5013
9d7dfdff 5014static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5015 PyObject *resultobj = NULL;
9d7dfdff
RD
5016 wxComboBox *arg1 = (wxComboBox *) 0 ;
5017 int result;
5018 PyObject * obj0 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
5024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5025 if (SWIG_arg_fail(1)) SWIG_fail;
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 {
7449af73 5034 resultobj = SWIG_From_int(static_cast<int >(result));
9d7dfdff
RD
5035 }
5036 return resultobj;
5037 fail:
5038 return NULL;
5039}
5040
5041
c32bde28 5042static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5043 PyObject *resultobj = NULL;
121b9a67
RD
5044 wxComboBox *arg1 = (wxComboBox *) 0 ;
5045 wxString *arg2 = 0 ;
5046 bool result;
ae8162c8 5047 bool temp2 = false ;
121b9a67
RD
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self",(char *) "string", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
5057 {
5058 arg2 = wxString_in_helper(obj1);
5059 if (arg2 == NULL) SWIG_fail;
ae8162c8 5060 temp2 = true;
121b9a67
RD
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 {
5070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5071 }
5072 {
5073 if (temp2)
5074 delete arg2;
5075 }
5076 return resultobj;
5077 fail:
5078 {
5079 if (temp2)
5080 delete arg2;
5081 }
5082 return NULL;
5083}
5084
5085
c32bde28 5086static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5087 PyObject *resultobj = NULL;
121b9a67
RD
5088 wxComboBox *arg1 = (wxComboBox *) 0 ;
5089 int arg2 ;
5090 wxString *arg3 = 0 ;
ae8162c8 5091 bool temp3 = false ;
121b9a67
RD
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 PyObject * obj2 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "n",(char *) "string", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
5102 {
7449af73 5103 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5104 if (SWIG_arg_fail(2)) SWIG_fail;
5105 }
121b9a67
RD
5106 {
5107 arg3 = wxString_in_helper(obj2);
5108 if (arg3 == NULL) SWIG_fail;
ae8162c8 5109 temp3 = true;
121b9a67
RD
5110 }
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 (arg1)->SetString(arg2,(wxString const &)*arg3);
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 Py_INCREF(Py_None); resultobj = Py_None;
5119 {
5120 if (temp3)
5121 delete arg3;
5122 }
5123 return resultobj;
5124 fail:
5125 {
5126 if (temp3)
5127 delete arg3;
5128 }
5129 return NULL;
5130}
5131
5132
c32bde28 5133static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5134 PyObject *resultobj = NULL;
d55e5bfc
RD
5135 wxComboBox *arg1 = (wxComboBox *) 0 ;
5136 bool arg2 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self",(char *) "editable", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5145 if (SWIG_arg_fail(1)) SWIG_fail;
5146 {
7449af73 5147 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
5148 if (SWIG_arg_fail(2)) SWIG_fail;
5149 }
d55e5bfc
RD
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 (arg1)->SetEditable(arg2);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 Py_INCREF(Py_None); resultobj = Py_None;
5158 return resultobj;
5159 fail:
5160 return NULL;
5161}
5162
5163
c32bde28 5164static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5165 PyObject *resultobj = NULL;
d55e5bfc
RD
5166 wxComboBox *arg1 = (wxComboBox *) 0 ;
5167 PyObject * obj0 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "self", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
5173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->SetInsertionPointEnd();
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 return resultobj;
5184 fail:
5185 return NULL;
5186}
5187
5188
c32bde28 5189static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5190 PyObject *resultobj = NULL;
d55e5bfc
RD
5191 wxComboBox *arg1 = (wxComboBox *) 0 ;
5192 long arg2 ;
5193 long arg3 ;
5194 PyObject * obj0 = 0 ;
5195 PyObject * obj1 = 0 ;
5196 PyObject * obj2 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self",(char *) "from",(char *) "to", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail;
5204 {
7449af73 5205 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5206 if (SWIG_arg_fail(2)) SWIG_fail;
5207 }
5208 {
7449af73 5209 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5210 if (SWIG_arg_fail(3)) SWIG_fail;
5211 }
d55e5bfc
RD
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 (arg1)->Remove(arg2,arg3);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 Py_INCREF(Py_None); resultobj = Py_None;
5220 return resultobj;
5221 fail:
5222 return NULL;
5223}
5224
5225
b519803b 5226static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5227 PyObject *resultobj = NULL;
b519803b
RD
5228 wxComboBox *arg1 = (wxComboBox *) 0 ;
5229 bool result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5237 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251}
5252
5253
5254static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5255 PyObject *resultobj = NULL;
b519803b
RD
5256 wxComboBox *arg1 = (wxComboBox *) 0 ;
5257 PyObject * obj0 = 0 ;
5258 char *kwnames[] = {
5259 (char *) "self", NULL
5260 };
5261
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 (arg1)->Undo();
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 Py_INCREF(Py_None); resultobj = Py_None;
5273 return resultobj;
5274 fail:
5275 return NULL;
5276}
5277
5278
5279static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5280 PyObject *resultobj = NULL;
b519803b
RD
5281 wxComboBox *arg1 = (wxComboBox *) 0 ;
5282 PyObject * obj0 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5289 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 (arg1)->Redo();
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 Py_INCREF(Py_None); resultobj = Py_None;
5298 return resultobj;
5299 fail:
5300 return NULL;
5301}
5302
5303
5304static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5305 PyObject *resultobj = NULL;
b519803b
RD
5306 wxComboBox *arg1 = (wxComboBox *) 0 ;
5307 PyObject * obj0 = 0 ;
5308 char *kwnames[] = {
5309 (char *) "self", NULL
5310 };
5311
5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5314 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->SelectAll();
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326}
5327
5328
5329static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5330 PyObject *resultobj = NULL;
b519803b
RD
5331 wxComboBox *arg1 = (wxComboBox *) 0 ;
5332 bool result;
5333 PyObject * obj0 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 {
5349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5350 }
5351 return resultobj;
5352 fail:
5353 return NULL;
5354}
5355
5356
5357static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5358 PyObject *resultobj = NULL;
b519803b
RD
5359 wxComboBox *arg1 = (wxComboBox *) 0 ;
5360 bool result;
5361 PyObject * obj0 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5368 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (bool)((wxComboBox const *)arg1)->CanCut();
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 {
5377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5378 }
5379 return resultobj;
5380 fail:
5381 return NULL;
5382}
5383
5384
5385static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5386 PyObject *resultobj = NULL;
b519803b
RD
5387 wxComboBox *arg1 = (wxComboBox *) 0 ;
5388 bool result;
5389 PyObject * obj0 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5396 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 {
5405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5406 }
5407 return resultobj;
5408 fail:
5409 return NULL;
5410}
5411
5412
5413static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5414 PyObject *resultobj = NULL;
b519803b
RD
5415 wxComboBox *arg1 = (wxComboBox *) 0 ;
5416 bool result;
5417 PyObject * obj0 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5424 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 {
5433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5434 }
5435 return resultobj;
5436 fail:
5437 return NULL;
5438}
5439
5440
5441static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5442 PyObject *resultobj = NULL;
b519803b
RD
5443 wxComboBox *arg1 = (wxComboBox *) 0 ;
5444 bool result;
5445 PyObject * obj0 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5452 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 {
5461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5462 }
5463 return resultobj;
5464 fail:
5465 return NULL;
5466}
5467
5468
c32bde28 5469static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5470 PyObject *resultobj = NULL;
093d3ff1 5471 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5472 wxVisualAttributes result;
5473 PyObject * obj0 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "variant", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5479 if (obj0) {
093d3ff1 5480 {
7449af73 5481 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
5482 if (SWIG_arg_fail(1)) SWIG_fail;
5483 }
f20a2e1f
RD
5484 }
5485 {
19272049 5486 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 5488 result = wxComboBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
5489
5490 wxPyEndAllowThreads(__tstate);
110da5b0 5491 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5492 }
5493 {
5494 wxVisualAttributes * resultptr;
7449af73 5495 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
5496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5497 }
5498 return resultobj;
5499 fail:
5500 return NULL;
5501}
5502
5503
c32bde28 5504static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5505 PyObject *obj;
5506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5507 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5508 Py_INCREF(obj);
5509 return Py_BuildValue((char *)"");
5510}
c32bde28 5511static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5512 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5513 return 1;
5514}
5515
5516
093d3ff1 5517static PyObject *_wrap_GaugeNameStr_get(void) {
7449af73 5518 PyObject *pyobj = NULL;
d55e5bfc
RD
5519
5520 {
5521#if wxUSE_UNICODE
5522 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5523#else
5524 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5525#endif
5526 }
5527 return pyobj;
5528}
5529
5530
c32bde28 5531static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5532 PyObject *resultobj = NULL;
d55e5bfc 5533 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5534 int arg2 = (int) -1 ;
5535 int arg3 = (int) 100 ;
d55e5bfc
RD
5536 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5537 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5538 wxSize const &arg5_defvalue = wxDefaultSize ;
5539 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5540 long arg6 = (long) wxGA_HORIZONTAL ;
5541 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5542 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5543 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5544 wxString *arg8 = (wxString *) &arg8_defvalue ;
5545 wxGauge *result;
5546 wxPoint temp4 ;
5547 wxSize temp5 ;
ae8162c8 5548 bool temp8 = false ;
d55e5bfc
RD
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 PyObject * obj2 = 0 ;
5552 PyObject * obj3 = 0 ;
5553 PyObject * obj4 = 0 ;
5554 PyObject * obj5 = 0 ;
5555 PyObject * obj6 = 0 ;
5556 PyObject * obj7 = 0 ;
5557 char *kwnames[] = {
5558 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5559 };
5560
248ed943 5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5563 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5564 if (obj1) {
093d3ff1 5565 {
7449af73 5566 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5567 if (SWIG_arg_fail(2)) SWIG_fail;
5568 }
248ed943
RD
5569 }
5570 if (obj2) {
093d3ff1 5571 {
7449af73 5572 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5573 if (SWIG_arg_fail(3)) SWIG_fail;
5574 }
248ed943 5575 }
d55e5bfc
RD
5576 if (obj3) {
5577 {
5578 arg4 = &temp4;
5579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5580 }
5581 }
5582 if (obj4) {
5583 {
5584 arg5 = &temp5;
5585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5586 }
5587 }
5588 if (obj5) {
093d3ff1 5589 {
7449af73 5590 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
5591 if (SWIG_arg_fail(6)) SWIG_fail;
5592 }
d55e5bfc
RD
5593 }
5594 if (obj6) {
093d3ff1
RD
5595 {
5596 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5597 if (SWIG_arg_fail(7)) SWIG_fail;
5598 if (arg7 == NULL) {
5599 SWIG_null_ref("wxValidator");
5600 }
5601 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5602 }
5603 }
5604 if (obj7) {
5605 {
5606 arg8 = wxString_in_helper(obj7);
5607 if (arg8 == NULL) SWIG_fail;
ae8162c8 5608 temp8 = true;
d55e5bfc
RD
5609 }
5610 }
5611 {
0439c23b 5612 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5615
5616 wxPyEndAllowThreads(__tstate);
110da5b0 5617 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5618 }
5619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5620 {
5621 if (temp8)
5622 delete arg8;
5623 }
5624 return resultobj;
5625 fail:
5626 {
5627 if (temp8)
5628 delete arg8;
5629 }
5630 return NULL;
5631}
5632
5633
c32bde28 5634static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5635 PyObject *resultobj = NULL;
d55e5bfc
RD
5636 wxGauge *result;
5637 char *kwnames[] = {
5638 NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5642 {
0439c23b 5643 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxGauge *)new wxGauge();
5646
5647 wxPyEndAllowThreads(__tstate);
110da5b0 5648 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5649 }
5650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5651 return resultobj;
5652 fail:
5653 return NULL;
5654}
5655
5656
c32bde28 5657static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5658 PyObject *resultobj = NULL;
d55e5bfc
RD
5659 wxGauge *arg1 = (wxGauge *) 0 ;
5660 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5661 int arg3 = (int) -1 ;
5662 int arg4 = (int) 100 ;
d55e5bfc
RD
5663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5665 wxSize const &arg6_defvalue = wxDefaultSize ;
5666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5667 long arg7 = (long) wxGA_HORIZONTAL ;
5668 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5669 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5670 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5671 wxString *arg9 = (wxString *) &arg9_defvalue ;
5672 bool result;
5673 wxPoint temp5 ;
5674 wxSize temp6 ;
ae8162c8 5675 bool temp9 = false ;
d55e5bfc
RD
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj2 = 0 ;
5679 PyObject * obj3 = 0 ;
5680 PyObject * obj4 = 0 ;
5681 PyObject * obj5 = 0 ;
5682 PyObject * obj6 = 0 ;
5683 PyObject * obj7 = 0 ;
5684 PyObject * obj8 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5687 };
5688
248ed943 5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5691 if (SWIG_arg_fail(1)) SWIG_fail;
5692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5693 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5694 if (obj2) {
093d3ff1 5695 {
7449af73 5696 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5697 if (SWIG_arg_fail(3)) SWIG_fail;
5698 }
248ed943
RD
5699 }
5700 if (obj3) {
093d3ff1 5701 {
7449af73 5702 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
5703 if (SWIG_arg_fail(4)) SWIG_fail;
5704 }
248ed943 5705 }
d55e5bfc
RD
5706 if (obj4) {
5707 {
5708 arg5 = &temp5;
5709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5710 }
5711 }
5712 if (obj5) {
5713 {
5714 arg6 = &temp6;
5715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5716 }
5717 }
5718 if (obj6) {
093d3ff1 5719 {
7449af73 5720 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
5721 if (SWIG_arg_fail(7)) SWIG_fail;
5722 }
d55e5bfc
RD
5723 }
5724 if (obj7) {
093d3ff1
RD
5725 {
5726 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5727 if (SWIG_arg_fail(8)) SWIG_fail;
5728 if (arg8 == NULL) {
5729 SWIG_null_ref("wxValidator");
5730 }
5731 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5732 }
5733 }
5734 if (obj8) {
5735 {
5736 arg9 = wxString_in_helper(obj8);
5737 if (arg9 == NULL) SWIG_fail;
ae8162c8 5738 temp9 = true;
d55e5bfc
RD
5739 }
5740 }
5741 {
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5744
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5750 }
5751 {
5752 if (temp9)
5753 delete arg9;
5754 }
5755 return resultobj;
5756 fail:
5757 {
5758 if (temp9)
5759 delete arg9;
5760 }
5761 return NULL;
5762}
5763
5764
c32bde28 5765static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5766 PyObject *resultobj = NULL;
d55e5bfc
RD
5767 wxGauge *arg1 = (wxGauge *) 0 ;
5768 int arg2 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "range", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
5778 {
7449af73 5779 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5780 if (SWIG_arg_fail(2)) SWIG_fail;
5781 }
d55e5bfc
RD
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 (arg1)->SetRange(arg2);
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 Py_INCREF(Py_None); resultobj = Py_None;
5790 return resultobj;
5791 fail:
5792 return NULL;
5793}
5794
5795
c32bde28 5796static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5797 PyObject *resultobj = NULL;
d55e5bfc
RD
5798 wxGauge *arg1 = (wxGauge *) 0 ;
5799 int result;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (int)((wxGauge const *)arg1)->GetRange();
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
093d3ff1 5815 {
7449af73 5816 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5817 }
d55e5bfc
RD
5818 return resultobj;
5819 fail:
5820 return NULL;
5821}
5822
5823
c32bde28 5824static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5825 PyObject *resultobj = NULL;
d55e5bfc
RD
5826 wxGauge *arg1 = (wxGauge *) 0 ;
5827 int arg2 ;
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj1 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self",(char *) "pos", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail;
5837 {
7449af73 5838 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5839 if (SWIG_arg_fail(2)) SWIG_fail;
5840 }
d55e5bfc
RD
5841 {
5842 PyThreadState* __tstate = wxPyBeginAllowThreads();
5843 (arg1)->SetValue(arg2);
5844
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 Py_INCREF(Py_None); resultobj = Py_None;
5849 return resultobj;
5850 fail:
5851 return NULL;
5852}
5853
5854
c32bde28 5855static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5856 PyObject *resultobj = NULL;
d55e5bfc
RD
5857 wxGauge *arg1 = (wxGauge *) 0 ;
5858 int result;
5859 PyObject * obj0 = 0 ;
5860 char *kwnames[] = {
5861 (char *) "self", NULL
5862 };
5863
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (int)((wxGauge const *)arg1)->GetValue();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
093d3ff1 5874 {
7449af73 5875 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5876 }
d55e5bfc
RD
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
c32bde28 5883static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5884 PyObject *resultobj = NULL;
d55e5bfc
RD
5885 wxGauge *arg1 = (wxGauge *) 0 ;
5886 bool result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (bool)((wxGauge const *)arg1)->IsVertical();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 {
5903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5904 }
5905 return resultobj;
5906 fail:
5907 return NULL;
5908}
5909
5910
c32bde28 5911static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5912 PyObject *resultobj = NULL;
d55e5bfc
RD
5913 wxGauge *arg1 = (wxGauge *) 0 ;
5914 int arg2 ;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self",(char *) "w", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5923 if (SWIG_arg_fail(1)) SWIG_fail;
5924 {
7449af73 5925 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5926 if (SWIG_arg_fail(2)) SWIG_fail;
5927 }
d55e5bfc
RD
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 (arg1)->SetShadowWidth(arg2);
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 Py_INCREF(Py_None); resultobj = Py_None;
5936 return resultobj;
5937 fail:
5938 return NULL;
5939}
5940
5941
c32bde28 5942static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5943 PyObject *resultobj = NULL;
d55e5bfc
RD
5944 wxGauge *arg1 = (wxGauge *) 0 ;
5945 int result;
5946 PyObject * obj0 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
093d3ff1 5961 {
7449af73 5962 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5963 }
d55e5bfc
RD
5964 return resultobj;
5965 fail:
5966 return NULL;
5967}
5968
5969
c32bde28 5970static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5971 PyObject *resultobj = NULL;
d55e5bfc
RD
5972 wxGauge *arg1 = (wxGauge *) 0 ;
5973 int arg2 ;
5974 PyObject * obj0 = 0 ;
5975 PyObject * obj1 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self",(char *) "w", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5982 if (SWIG_arg_fail(1)) SWIG_fail;
5983 {
7449af73 5984 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5985 if (SWIG_arg_fail(2)) SWIG_fail;
5986 }
d55e5bfc
RD
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 (arg1)->SetBezelFace(arg2);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998}
5999
6000
c32bde28 6001static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6002 PyObject *resultobj = NULL;
d55e5bfc
RD
6003 wxGauge *arg1 = (wxGauge *) 0 ;
6004 int result;
6005 PyObject * obj0 = 0 ;
6006 char *kwnames[] = {
6007 (char *) "self", NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
6011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (int)((wxGauge const *)arg1)->GetBezelFace();
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
093d3ff1 6020 {
7449af73 6021 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6022 }
d55e5bfc
RD
6023 return resultobj;
6024 fail:
6025 return NULL;
6026}
6027
6028
c32bde28 6029static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6030 PyObject *resultobj = NULL;
093d3ff1 6031 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6032 wxVisualAttributes result;
6033 PyObject * obj0 = 0 ;
6034 char *kwnames[] = {
6035 (char *) "variant", NULL
6036 };
6037
6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6039 if (obj0) {
093d3ff1 6040 {
7449af73 6041 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6042 if (SWIG_arg_fail(1)) SWIG_fail;
6043 }
f20a2e1f
RD
6044 }
6045 {
19272049 6046 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6048 result = wxGauge::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6049
6050 wxPyEndAllowThreads(__tstate);
110da5b0 6051 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6052 }
6053 {
6054 wxVisualAttributes * resultptr;
7449af73 6055 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6057 }
6058 return resultobj;
6059 fail:
6060 return NULL;
6061}
6062
6063
c32bde28 6064static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6065 PyObject *obj;
6066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6067 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6068 Py_INCREF(obj);
6069 return Py_BuildValue((char *)"");
6070}
c32bde28 6071static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
6072 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6073 return 1;
6074}
6075
6076
093d3ff1 6077static PyObject *_wrap_StaticBitmapNameStr_get(void) {
7449af73 6078 PyObject *pyobj = NULL;
d55e5bfc
RD
6079
6080 {
6081#if wxUSE_UNICODE
6082 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6083#else
6084 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6085#endif
6086 }
6087 return pyobj;
6088}
6089
6090
c32bde28 6091static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
6092 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6093 return 1;
6094}
6095
6096
093d3ff1 6097static PyObject *_wrap_StaticBoxNameStr_get(void) {
7449af73 6098 PyObject *pyobj = NULL;
d55e5bfc
RD
6099
6100 {
6101#if wxUSE_UNICODE
6102 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6103#else
6104 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6105#endif
6106 }
6107 return pyobj;
6108}
6109
6110
c32bde28 6111static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
6112 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6113 return 1;
6114}
6115
6116
093d3ff1 6117static PyObject *_wrap_StaticTextNameStr_get(void) {
7449af73 6118 PyObject *pyobj = NULL;
d55e5bfc
RD
6119
6120 {
6121#if wxUSE_UNICODE
6122 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6123#else
6124 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6125#endif
6126 }
6127 return pyobj;
6128}
6129
6130
c32bde28 6131static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6132 PyObject *resultobj = NULL;
d55e5bfc 6133 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6134 int arg2 = (int) -1 ;
6135 wxString const &arg3_defvalue = wxPyEmptyString ;
6136 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6137 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6138 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6139 wxSize const &arg5_defvalue = wxDefaultSize ;
6140 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6141 long arg6 = (long) 0 ;
6142 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6143 wxString *arg7 = (wxString *) &arg7_defvalue ;
6144 wxStaticBox *result;
ae8162c8 6145 bool temp3 = false ;
d55e5bfc
RD
6146 wxPoint temp4 ;
6147 wxSize temp5 ;
ae8162c8 6148 bool temp7 = false ;
d55e5bfc
RD
6149 PyObject * obj0 = 0 ;
6150 PyObject * obj1 = 0 ;
6151 PyObject * obj2 = 0 ;
6152 PyObject * obj3 = 0 ;
6153 PyObject * obj4 = 0 ;
6154 PyObject * obj5 = 0 ;
6155 PyObject * obj6 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6158 };
6159
248ed943 6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6163 if (obj1) {
093d3ff1 6164 {
7449af73 6165 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6166 if (SWIG_arg_fail(2)) SWIG_fail;
6167 }
248ed943
RD
6168 }
6169 if (obj2) {
6170 {
6171 arg3 = wxString_in_helper(obj2);
6172 if (arg3 == NULL) SWIG_fail;
ae8162c8 6173 temp3 = true;
248ed943 6174 }
d55e5bfc
RD
6175 }
6176 if (obj3) {
6177 {
6178 arg4 = &temp4;
6179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6180 }
6181 }
6182 if (obj4) {
6183 {
6184 arg5 = &temp5;
6185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6186 }
6187 }
6188 if (obj5) {
093d3ff1 6189 {
7449af73 6190 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6191 if (SWIG_arg_fail(6)) SWIG_fail;
6192 }
d55e5bfc
RD
6193 }
6194 if (obj6) {
6195 {
6196 arg7 = wxString_in_helper(obj6);
6197 if (arg7 == NULL) SWIG_fail;
ae8162c8 6198 temp7 = true;
d55e5bfc
RD
6199 }
6200 }
6201 {
0439c23b 6202 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6205
6206 wxPyEndAllowThreads(__tstate);
110da5b0 6207 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6208 }
b0f7404b 6209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6210 {
6211 if (temp3)
6212 delete arg3;
6213 }
6214 {
6215 if (temp7)
6216 delete arg7;
6217 }
6218 return resultobj;
6219 fail:
6220 {
6221 if (temp3)
6222 delete arg3;
6223 }
6224 {
6225 if (temp7)
6226 delete arg7;
6227 }
6228 return NULL;
6229}
6230
6231
c32bde28 6232static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6233 PyObject *resultobj = NULL;
d55e5bfc
RD
6234 wxStaticBox *result;
6235 char *kwnames[] = {
6236 NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6240 {
0439c23b 6241 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (wxStaticBox *)new wxStaticBox();
6244
6245 wxPyEndAllowThreads(__tstate);
110da5b0 6246 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6247 }
b0f7404b 6248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
6249 return resultobj;
6250 fail:
6251 return NULL;
6252}
6253
6254
c32bde28 6255static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6256 PyObject *resultobj = NULL;
d55e5bfc
RD
6257 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6258 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6259 int arg3 = (int) -1 ;
6260 wxString const &arg4_defvalue = wxPyEmptyString ;
6261 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6262 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6263 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6264 wxSize const &arg6_defvalue = wxDefaultSize ;
6265 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6266 long arg7 = (long) 0 ;
6267 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6268 wxString *arg8 = (wxString *) &arg8_defvalue ;
6269 bool result;
ae8162c8 6270 bool temp4 = false ;
d55e5bfc
RD
6271 wxPoint temp5 ;
6272 wxSize temp6 ;
ae8162c8 6273 bool temp8 = false ;
d55e5bfc
RD
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 PyObject * obj2 = 0 ;
6277 PyObject * obj3 = 0 ;
6278 PyObject * obj4 = 0 ;
6279 PyObject * obj5 = 0 ;
6280 PyObject * obj6 = 0 ;
6281 PyObject * obj7 = 0 ;
6282 char *kwnames[] = {
6283 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6284 };
6285
248ed943 6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail;
6289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6290 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6291 if (obj2) {
093d3ff1 6292 {
7449af73 6293 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6294 if (SWIG_arg_fail(3)) SWIG_fail;
6295 }
248ed943
RD
6296 }
6297 if (obj3) {
6298 {
6299 arg4 = wxString_in_helper(obj3);
6300 if (arg4 == NULL) SWIG_fail;
ae8162c8 6301 temp4 = true;
248ed943 6302 }
d55e5bfc
RD
6303 }
6304 if (obj4) {
6305 {
6306 arg5 = &temp5;
6307 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6308 }
6309 }
6310 if (obj5) {
6311 {
6312 arg6 = &temp6;
6313 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6314 }
6315 }
6316 if (obj6) {
093d3ff1 6317 {
7449af73 6318 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6319 if (SWIG_arg_fail(7)) SWIG_fail;
6320 }
d55e5bfc
RD
6321 }
6322 if (obj7) {
6323 {
6324 arg8 = wxString_in_helper(obj7);
6325 if (arg8 == NULL) SWIG_fail;
ae8162c8 6326 temp8 = true;
d55e5bfc
RD
6327 }
6328 }
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 {
6337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6338 }
6339 {
6340 if (temp4)
6341 delete arg4;
6342 }
6343 {
6344 if (temp8)
6345 delete arg8;
6346 }
6347 return resultobj;
6348 fail:
6349 {
6350 if (temp4)
6351 delete arg4;
6352 }
6353 {
6354 if (temp8)
6355 delete arg8;
6356 }
6357 return NULL;
6358}
6359
6360
c32bde28 6361static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6362 PyObject *resultobj = NULL;
093d3ff1 6363 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6364 wxVisualAttributes result;
6365 PyObject * obj0 = 0 ;
6366 char *kwnames[] = {
6367 (char *) "variant", NULL
6368 };
6369
6370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6371 if (obj0) {
093d3ff1 6372 {
7449af73 6373 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6374 if (SWIG_arg_fail(1)) SWIG_fail;
6375 }
f20a2e1f
RD
6376 }
6377 {
19272049 6378 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6380 result = wxStaticBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6381
6382 wxPyEndAllowThreads(__tstate);
110da5b0 6383 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6384 }
6385 {
6386 wxVisualAttributes * resultptr;
7449af73 6387 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6389 }
6390 return resultobj;
6391 fail:
6392 return NULL;
6393}
6394
6395
c32bde28 6396static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6397 PyObject *obj;
6398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6399 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6400 Py_INCREF(obj);
6401 return Py_BuildValue((char *)"");
6402}
c32bde28 6403static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6404 PyObject *resultobj = NULL;
d55e5bfc 6405 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6406 int arg2 = (int) -1 ;
d55e5bfc
RD
6407 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6408 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6409 wxSize const &arg4_defvalue = wxDefaultSize ;
6410 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6411 long arg5 = (long) wxLI_HORIZONTAL ;
6412 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6413 wxString *arg6 = (wxString *) &arg6_defvalue ;
6414 wxStaticLine *result;
6415 wxPoint temp3 ;
6416 wxSize temp4 ;
ae8162c8 6417 bool temp6 = false ;
d55e5bfc
RD
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 PyObject * obj2 = 0 ;
6421 PyObject * obj3 = 0 ;
6422 PyObject * obj4 = 0 ;
6423 PyObject * obj5 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6426 };
6427
248ed943 6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6430 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6431 if (obj1) {
093d3ff1 6432 {
7449af73 6433 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6434 if (SWIG_arg_fail(2)) SWIG_fail;
6435 }
248ed943 6436 }
d55e5bfc
RD
6437 if (obj2) {
6438 {
6439 arg3 = &temp3;
6440 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6441 }
6442 }
6443 if (obj3) {
6444 {
6445 arg4 = &temp4;
6446 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6447 }
6448 }
6449 if (obj4) {
093d3ff1 6450 {
7449af73 6451 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
6452 if (SWIG_arg_fail(5)) SWIG_fail;
6453 }
d55e5bfc
RD
6454 }
6455 if (obj5) {
6456 {
6457 arg6 = wxString_in_helper(obj5);
6458 if (arg6 == NULL) SWIG_fail;
ae8162c8 6459 temp6 = true;
d55e5bfc
RD
6460 }
6461 }
6462 {
0439c23b 6463 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6466
6467 wxPyEndAllowThreads(__tstate);
110da5b0 6468 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6469 }
6470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6471 {
6472 if (temp6)
6473 delete arg6;
6474 }
6475 return resultobj;
6476 fail:
6477 {
6478 if (temp6)
6479 delete arg6;
6480 }
6481 return NULL;
6482}
6483
6484
c32bde28 6485static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6486 PyObject *resultobj = NULL;
d55e5bfc
RD
6487 wxStaticLine *result;
6488 char *kwnames[] = {
6489 NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6493 {
0439c23b 6494 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 result = (wxStaticLine *)new wxStaticLine();
6497
6498 wxPyEndAllowThreads(__tstate);
110da5b0 6499 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6500 }
6501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6502 return resultobj;
6503 fail:
6504 return NULL;
6505}
6506
6507
c32bde28 6508static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6509 PyObject *resultobj = NULL;
d55e5bfc
RD
6510 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6511 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6512 int arg3 = (int) -1 ;
d55e5bfc
RD
6513 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6514 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6515 wxSize const &arg5_defvalue = wxDefaultSize ;
6516 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6517 long arg6 = (long) wxLI_HORIZONTAL ;
6518 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6519 wxString *arg7 = (wxString *) &arg7_defvalue ;
6520 bool result;
6521 wxPoint temp4 ;
6522 wxSize temp5 ;
ae8162c8 6523 bool temp7 = false ;
d55e5bfc
RD
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 PyObject * obj2 = 0 ;
6527 PyObject * obj3 = 0 ;
6528 PyObject * obj4 = 0 ;
6529 PyObject * obj5 = 0 ;
6530 PyObject * obj6 = 0 ;
6531 char *kwnames[] = {
6532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6533 };
6534
248ed943 6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail;
6538 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6539 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6540 if (obj2) {
093d3ff1 6541 {
7449af73 6542 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6543 if (SWIG_arg_fail(3)) SWIG_fail;
6544 }
248ed943 6545 }
d55e5bfc
RD
6546 if (obj3) {
6547 {
6548 arg4 = &temp4;
6549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6550 }
6551 }
6552 if (obj4) {
6553 {
6554 arg5 = &temp5;
6555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6556 }
6557 }
6558 if (obj5) {
093d3ff1 6559 {
7449af73 6560 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6561 if (SWIG_arg_fail(6)) SWIG_fail;
6562 }
d55e5bfc
RD
6563 }
6564 if (obj6) {
6565 {
6566 arg7 = wxString_in_helper(obj6);
6567 if (arg7 == NULL) SWIG_fail;
ae8162c8 6568 temp7 = true;
d55e5bfc
RD
6569 }
6570 }
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 {
6579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6580 }
6581 {
6582 if (temp7)
6583 delete arg7;
6584 }
6585 return resultobj;
6586 fail:
6587 {
6588 if (temp7)
6589 delete arg7;
6590 }
6591 return NULL;
6592}
6593
6594
c32bde28 6595static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6596 PyObject *resultobj = NULL;
d55e5bfc
RD
6597 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6598 bool result;
6599 PyObject * obj0 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "self", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6610
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 {
6615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6616 }
6617 return resultobj;
6618 fail:
6619 return NULL;
6620}
6621
6622
c32bde28 6623static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6624 PyObject *resultobj = NULL;
d55e5bfc
RD
6625 int result;
6626 char *kwnames[] = {
6627 NULL
6628 };
6629
6630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = (int)wxStaticLine::GetDefaultSize();
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
093d3ff1 6638 {
7449af73 6639 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6640 }
d55e5bfc
RD
6641 return resultobj;
6642 fail:
6643 return NULL;
6644}
6645
6646
c32bde28 6647static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6648 PyObject *resultobj = NULL;
093d3ff1 6649 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6650 wxVisualAttributes result;
6651 PyObject * obj0 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "variant", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6657 if (obj0) {
093d3ff1 6658 {
7449af73 6659 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6660 if (SWIG_arg_fail(1)) SWIG_fail;
6661 }
f20a2e1f
RD
6662 }
6663 {
19272049 6664 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6666 result = wxStaticLine::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6667
6668 wxPyEndAllowThreads(__tstate);
110da5b0 6669 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6670 }
6671 {
6672 wxVisualAttributes * resultptr;
7449af73 6673 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6675 }
6676 return resultobj;
6677 fail:
6678 return NULL;
6679}
6680
6681
c32bde28 6682static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6683 PyObject *obj;
6684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6685 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6686 Py_INCREF(obj);
6687 return Py_BuildValue((char *)"");
6688}
c32bde28 6689static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6690 PyObject *resultobj = NULL;
d55e5bfc 6691 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6692 int arg2 = (int) -1 ;
6693 wxString const &arg3_defvalue = wxPyEmptyString ;
6694 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6697 wxSize const &arg5_defvalue = wxDefaultSize ;
6698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6699 long arg6 = (long) 0 ;
6700 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6701 wxString *arg7 = (wxString *) &arg7_defvalue ;
6702 wxStaticText *result;
ae8162c8 6703 bool temp3 = false ;
d55e5bfc
RD
6704 wxPoint temp4 ;
6705 wxSize temp5 ;
ae8162c8 6706 bool temp7 = false ;
d55e5bfc
RD
6707 PyObject * obj0 = 0 ;
6708 PyObject * obj1 = 0 ;
6709 PyObject * obj2 = 0 ;
6710 PyObject * obj3 = 0 ;
6711 PyObject * obj4 = 0 ;
6712 PyObject * obj5 = 0 ;
6713 PyObject * obj6 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6716 };
6717
248ed943 6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6720 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6721 if (obj1) {
093d3ff1 6722 {
7449af73 6723 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6724 if (SWIG_arg_fail(2)) SWIG_fail;
6725 }
248ed943
RD
6726 }
6727 if (obj2) {
6728 {
6729 arg3 = wxString_in_helper(obj2);
6730 if (arg3 == NULL) SWIG_fail;
ae8162c8 6731 temp3 = true;
248ed943 6732 }
d55e5bfc
RD
6733 }
6734 if (obj3) {
6735 {
6736 arg4 = &temp4;
6737 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6738 }
6739 }
6740 if (obj4) {
6741 {
6742 arg5 = &temp5;
6743 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6744 }
6745 }
6746 if (obj5) {
093d3ff1 6747 {
7449af73 6748 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6749 if (SWIG_arg_fail(6)) SWIG_fail;
6750 }
d55e5bfc
RD
6751 }
6752 if (obj6) {
6753 {
6754 arg7 = wxString_in_helper(obj6);
6755 if (arg7 == NULL) SWIG_fail;
ae8162c8 6756 temp7 = true;
d55e5bfc
RD
6757 }
6758 }
6759 {
0439c23b 6760 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6763
6764 wxPyEndAllowThreads(__tstate);
110da5b0 6765 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6766 }
6767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6768 {
6769 if (temp3)
6770 delete arg3;
6771 }
6772 {
6773 if (temp7)
6774 delete arg7;
6775 }
6776 return resultobj;
6777 fail:
6778 {
6779 if (temp3)
6780 delete arg3;
6781 }
6782 {
6783 if (temp7)
6784 delete arg7;
6785 }
6786 return NULL;
6787}
6788
6789
c32bde28 6790static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6791 PyObject *resultobj = NULL;
d55e5bfc
RD
6792 wxStaticText *result;
6793 char *kwnames[] = {
6794 NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6798 {
0439c23b 6799 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 result = (wxStaticText *)new wxStaticText();
6802
6803 wxPyEndAllowThreads(__tstate);
110da5b0 6804 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6805 }
6806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6807 return resultobj;
6808 fail:
6809 return NULL;
6810}
6811
6812
c32bde28 6813static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6814 PyObject *resultobj = NULL;
d55e5bfc
RD
6815 wxStaticText *arg1 = (wxStaticText *) 0 ;
6816 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6817 int arg3 = (int) -1 ;
6818 wxString const &arg4_defvalue = wxPyEmptyString ;
6819 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6822 wxSize const &arg6_defvalue = wxDefaultSize ;
6823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6824 long arg7 = (long) 0 ;
6825 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6826 wxString *arg8 = (wxString *) &arg8_defvalue ;
6827 bool result;
ae8162c8 6828 bool temp4 = false ;
d55e5bfc
RD
6829 wxPoint temp5 ;
6830 wxSize temp6 ;
ae8162c8 6831 bool temp8 = false ;
d55e5bfc
RD
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 PyObject * obj2 = 0 ;
6835 PyObject * obj3 = 0 ;
6836 PyObject * obj4 = 0 ;
6837 PyObject * obj5 = 0 ;
6838 PyObject * obj6 = 0 ;
6839 PyObject * obj7 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6842 };
6843
248ed943 6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail;
6847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6848 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6849 if (obj2) {
093d3ff1 6850 {
7449af73 6851 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6852 if (SWIG_arg_fail(3)) SWIG_fail;
6853 }
248ed943
RD
6854 }
6855 if (obj3) {
6856 {
6857 arg4 = wxString_in_helper(obj3);
6858 if (arg4 == NULL) SWIG_fail;
ae8162c8 6859 temp4 = true;
248ed943 6860 }
d55e5bfc
RD
6861 }
6862 if (obj4) {
6863 {
6864 arg5 = &temp5;
6865 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6866 }
6867 }
6868 if (obj5) {
6869 {
6870 arg6 = &temp6;
6871 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6872 }
6873 }
6874 if (obj6) {
093d3ff1 6875 {
7449af73 6876 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6877 if (SWIG_arg_fail(7)) SWIG_fail;
6878 }
d55e5bfc
RD
6879 }
6880 if (obj7) {
6881 {
6882 arg8 = wxString_in_helper(obj7);
6883 if (arg8 == NULL) SWIG_fail;
ae8162c8 6884 temp8 = true;
d55e5bfc
RD
6885 }
6886 }
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) SWIG_fail;
6893 }
6894 {
6895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6896 }
6897 {
6898 if (temp4)
6899 delete arg4;
6900 }
6901 {
6902 if (temp8)
6903 delete arg8;
6904 }
6905 return resultobj;
6906 fail:
6907 {
6908 if (temp4)
6909 delete arg4;
6910 }
6911 {
6912 if (temp8)
6913 delete arg8;
6914 }
6915 return NULL;
6916}
6917
6918
9d7dfdff 6919static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6920 PyObject *resultobj = NULL;
9d7dfdff
RD
6921 wxStaticText *arg1 = (wxStaticText *) 0 ;
6922 int arg2 ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "width", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail;
6932 {
7449af73 6933 arg2 = static_cast<int >(SWIG_As_int(obj1));
9d7dfdff
RD
6934 if (SWIG_arg_fail(2)) SWIG_fail;
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 (arg1)->Wrap(arg2);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 Py_INCREF(Py_None); resultobj = Py_None;
6944 return resultobj;
6945 fail:
6946 return NULL;
6947}
6948
6949
c32bde28 6950static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6951 PyObject *resultobj = NULL;
093d3ff1 6952 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6953 wxVisualAttributes result;
6954 PyObject * obj0 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "variant", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6960 if (obj0) {
093d3ff1 6961 {
7449af73 6962 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6963 if (SWIG_arg_fail(1)) SWIG_fail;
6964 }
f20a2e1f
RD
6965 }
6966 {
19272049 6967 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6969 result = wxStaticText::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
6970
6971 wxPyEndAllowThreads(__tstate);
110da5b0 6972 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6973 }
6974 {
6975 wxVisualAttributes * resultptr;
7449af73 6976 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
6977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6978 }
6979 return resultobj;
6980 fail:
6981 return NULL;
6982}
6983
6984
c32bde28 6985static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6986 PyObject *obj;
6987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6988 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6989 Py_INCREF(obj);
6990 return Py_BuildValue((char *)"");
6991}
c32bde28 6992static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6993 PyObject *resultobj = NULL;
d55e5bfc 6994 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6995 int arg2 = (int) -1 ;
6996 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6997 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6998 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6999 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7000 wxSize const &arg5_defvalue = wxDefaultSize ;
7001 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7002 long arg6 = (long) 0 ;
7003 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
7004 wxString *arg7 = (wxString *) &arg7_defvalue ;
7005 wxStaticBitmap *result;
7006 wxPoint temp4 ;
7007 wxSize temp5 ;
ae8162c8 7008 bool temp7 = false ;
d55e5bfc
RD
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 PyObject * obj2 = 0 ;
7012 PyObject * obj3 = 0 ;
7013 PyObject * obj4 = 0 ;
7014 PyObject * obj5 = 0 ;
7015 PyObject * obj6 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7018 };
7019
248ed943 7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7022 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7023 if (obj1) {
093d3ff1 7024 {
7449af73 7025 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7026 if (SWIG_arg_fail(2)) SWIG_fail;
7027 }
248ed943
RD
7028 }
7029 if (obj2) {
093d3ff1
RD
7030 {
7031 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7032 if (SWIG_arg_fail(3)) SWIG_fail;
7033 if (arg3 == NULL) {
7034 SWIG_null_ref("wxBitmap");
7035 }
7036 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 7037 }
d55e5bfc
RD
7038 }
7039 if (obj3) {
7040 {
7041 arg4 = &temp4;
7042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7043 }
7044 }
7045 if (obj4) {
7046 {
7047 arg5 = &temp5;
7048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7049 }
7050 }
7051 if (obj5) {
093d3ff1 7052 {
7449af73 7053 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7054 if (SWIG_arg_fail(6)) SWIG_fail;
7055 }
d55e5bfc
RD
7056 }
7057 if (obj6) {
7058 {
7059 arg7 = wxString_in_helper(obj6);
7060 if (arg7 == NULL) SWIG_fail;
ae8162c8 7061 temp7 = true;
d55e5bfc
RD
7062 }
7063 }
7064 {
0439c23b 7065 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7068
7069 wxPyEndAllowThreads(__tstate);
110da5b0 7070 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7071 }
7072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7073 {
7074 if (temp7)
7075 delete arg7;
7076 }
7077 return resultobj;
7078 fail:
7079 {
7080 if (temp7)
7081 delete arg7;
7082 }
7083 return NULL;
7084}
7085
7086
c32bde28 7087static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7088 PyObject *resultobj = NULL;
d55e5bfc
RD
7089 wxStaticBitmap *result;
7090 char *kwnames[] = {
7091 NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7095 {
0439c23b 7096 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 result = (wxStaticBitmap *)new wxStaticBitmap();
7099
7100 wxPyEndAllowThreads(__tstate);
110da5b0 7101 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7102 }
7103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7104 return resultobj;
7105 fail:
7106 return NULL;
7107}
7108
7109
c32bde28 7110static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7111 PyObject *resultobj = NULL;
d55e5bfc
RD
7112 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7113 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
7114 int arg3 = (int) -1 ;
7115 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7116 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
7117 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7118 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7119 wxSize const &arg6_defvalue = wxDefaultSize ;
7120 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7121 long arg7 = (long) 0 ;
7122 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7123 wxString *arg8 = (wxString *) &arg8_defvalue ;
7124 bool result;
7125 wxPoint temp5 ;
7126 wxSize temp6 ;
ae8162c8 7127 bool temp8 = false ;
d55e5bfc
RD
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 PyObject * obj2 = 0 ;
7131 PyObject * obj3 = 0 ;
7132 PyObject * obj4 = 0 ;
7133 PyObject * obj5 = 0 ;
7134 PyObject * obj6 = 0 ;
7135 PyObject * obj7 = 0 ;
7136 char *kwnames[] = {
7137 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7138 };
7139
248ed943 7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7142 if (SWIG_arg_fail(1)) SWIG_fail;
7143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7144 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7145 if (obj2) {
093d3ff1 7146 {
7449af73 7147 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7148 if (SWIG_arg_fail(3)) SWIG_fail;
7149 }
248ed943
RD
7150 }
7151 if (obj3) {
093d3ff1
RD
7152 {
7153 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7154 if (SWIG_arg_fail(4)) SWIG_fail;
7155 if (arg4 == NULL) {
7156 SWIG_null_ref("wxBitmap");
7157 }
7158 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 7159 }
d55e5bfc
RD
7160 }
7161 if (obj4) {
7162 {
7163 arg5 = &temp5;
7164 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7165 }
7166 }
7167 if (obj5) {
7168 {
7169 arg6 = &temp6;
7170 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7171 }
7172 }
7173 if (obj6) {
093d3ff1 7174 {
7449af73 7175 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
7176 if (SWIG_arg_fail(7)) SWIG_fail;
7177 }
d55e5bfc
RD
7178 }
7179 if (obj7) {
7180 {
7181 arg8 = wxString_in_helper(obj7);
7182 if (arg8 == NULL) SWIG_fail;
ae8162c8 7183 temp8 = true;
d55e5bfc
RD
7184 }
7185 }
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 {
7194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7195 }
7196 {
7197 if (temp8)
7198 delete arg8;
7199 }
7200 return resultobj;
7201 fail:
7202 {
7203 if (temp8)
7204 delete arg8;
7205 }
7206 return NULL;
7207}
7208
7209
c32bde28 7210static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7211 PyObject *resultobj = NULL;
d55e5bfc
RD
7212 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7213 wxBitmap result;
7214 PyObject * obj0 = 0 ;
7215 char *kwnames[] = {
7216 (char *) "self", NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
7220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7221 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (arg1)->GetBitmap();
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230 wxBitmap * resultptr;
7449af73 7231 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
7232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7233 }
7234 return resultobj;
7235 fail:
7236 return NULL;
7237}
7238
7239
c32bde28 7240static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7241 PyObject *resultobj = NULL;
d55e5bfc
RD
7242 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7243 wxBitmap *arg2 = 0 ;
7244 PyObject * obj0 = 0 ;
7245 PyObject * obj1 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self",(char *) "bitmap", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail;
7253 {
7254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7255 if (SWIG_arg_fail(2)) SWIG_fail;
7256 if (arg2 == NULL) {
7257 SWIG_null_ref("wxBitmap");
7258 }
7259 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7260 }
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 Py_INCREF(Py_None); resultobj = Py_None;
7269 return resultobj;
7270 fail:
7271 return NULL;
7272}
7273
7274
c32bde28 7275static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7276 PyObject *resultobj = NULL;
d55e5bfc
RD
7277 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7278 wxIcon *arg2 = 0 ;
7279 PyObject * obj0 = 0 ;
7280 PyObject * obj1 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self",(char *) "icon", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7287 if (SWIG_arg_fail(1)) SWIG_fail;
7288 {
7289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7290 if (SWIG_arg_fail(2)) SWIG_fail;
7291 if (arg2 == NULL) {
7292 SWIG_null_ref("wxIcon");
7293 }
7294 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7295 }
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 (arg1)->SetIcon((wxIcon const &)*arg2);
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 Py_INCREF(Py_None); resultobj = Py_None;
7304 return resultobj;
7305 fail:
7306 return NULL;
7307}
7308
7309
c32bde28 7310static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7311 PyObject *resultobj = NULL;
093d3ff1 7312 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7313 wxVisualAttributes result;
7314 PyObject * obj0 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "variant", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7320 if (obj0) {
093d3ff1 7321 {
7449af73 7322 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
7323 if (SWIG_arg_fail(1)) SWIG_fail;
7324 }
f20a2e1f
RD
7325 }
7326 {
19272049 7327 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 7329 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
7330
7331 wxPyEndAllowThreads(__tstate);
110da5b0 7332 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7333 }
7334 {
7335 wxVisualAttributes * resultptr;
7449af73 7336 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
7337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7338 }
7339 return resultobj;
7340 fail:
7341 return NULL;
7342}
7343
7344
c32bde28 7345static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7346 PyObject *obj;
7347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7348 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7349 Py_INCREF(obj);
7350 return Py_BuildValue((char *)"");
7351}
c32bde28 7352static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7353 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7354 return 1;
7355}
7356
7357
093d3ff1 7358static PyObject *_wrap_ListBoxNameStr_get(void) {
7449af73 7359 PyObject *pyobj = NULL;
d55e5bfc
RD
7360
7361 {
7362#if wxUSE_UNICODE
7363 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7364#else
7365 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7366#endif
7367 }
7368 return pyobj;
7369}
7370
7371
c32bde28 7372static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7373 PyObject *resultobj = NULL;
d55e5bfc 7374 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7375 int arg2 = (int) -1 ;
d55e5bfc
RD
7376 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7377 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7378 wxSize const &arg4_defvalue = wxDefaultSize ;
7379 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7380 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7381 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7382 long arg6 = (long) 0 ;
7383 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7384 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7385 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7386 wxString *arg8 = (wxString *) &arg8_defvalue ;
7387 wxListBox *result;
7388 wxPoint temp3 ;
7389 wxSize temp4 ;
ae8162c8
RD
7390 bool temp5 = false ;
7391 bool temp8 = false ;
d55e5bfc
RD
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 PyObject * obj2 = 0 ;
7395 PyObject * obj3 = 0 ;
7396 PyObject * obj4 = 0 ;
7397 PyObject * obj5 = 0 ;
7398 PyObject * obj6 = 0 ;
7399 PyObject * obj7 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7402 };
7403
248ed943 7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7407 if (obj1) {
093d3ff1 7408 {
7449af73 7409 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7410 if (SWIG_arg_fail(2)) SWIG_fail;
7411 }
248ed943 7412 }
d55e5bfc
RD
7413 if (obj2) {
7414 {
7415 arg3 = &temp3;
7416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7417 }
7418 }
7419 if (obj3) {
7420 {
7421 arg4 = &temp4;
7422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7423 }
7424 }
7425 if (obj4) {
7426 {
7427 if (! PySequence_Check(obj4)) {
7428 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7429 SWIG_fail;
7430 }
7431 arg5 = new wxArrayString;
ae8162c8 7432 temp5 = true;
d55e5bfc
RD
7433 int i, len=PySequence_Length(obj4);
7434 for (i=0; i<len; i++) {
7435 PyObject* item = PySequence_GetItem(obj4, i);
71237536 7436 wxString* s = wxString_in_helper(item);
d55e5bfc 7437 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7438 arg5->Add(*s);
7439 delete s;
d55e5bfc 7440 Py_DECREF(item);
d55e5bfc
RD
7441 }
7442 }
7443 }
7444 if (obj5) {
093d3ff1 7445 {
7449af73 7446 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7447 if (SWIG_arg_fail(6)) SWIG_fail;
7448 }
d55e5bfc
RD
7449 }
7450 if (obj6) {
093d3ff1
RD
7451 {
7452 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7453 if (SWIG_arg_fail(7)) SWIG_fail;
7454 if (arg7 == NULL) {
7455 SWIG_null_ref("wxValidator");
7456 }
7457 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7458 }
7459 }
7460 if (obj7) {
7461 {
7462 arg8 = wxString_in_helper(obj7);
7463 if (arg8 == NULL) SWIG_fail;
ae8162c8 7464 temp8 = true;
d55e5bfc
RD
7465 }
7466 }
7467 {
0439c23b 7468 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7471
7472 wxPyEndAllowThreads(__tstate);
110da5b0 7473 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7474 }
7475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7476 {
7477 if (temp5) delete arg5;
7478 }
7479 {
7480 if (temp8)
7481 delete arg8;
7482 }
7483 return resultobj;
7484 fail:
7485 {
7486 if (temp5) delete arg5;
7487 }
7488 {
7489 if (temp8)
7490 delete arg8;
7491 }
7492 return NULL;
7493}
7494
7495
c32bde28 7496static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7497 PyObject *resultobj = NULL;
d55e5bfc
RD
7498 wxListBox *result;
7499 char *kwnames[] = {
7500 NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7504 {
0439c23b 7505 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (wxListBox *)new wxListBox();
7508
7509 wxPyEndAllowThreads(__tstate);
110da5b0 7510 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7511 }
7512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7513 return resultobj;
7514 fail:
7515 return NULL;
7516}
7517
7518
c32bde28 7519static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7520 PyObject *resultobj = NULL;
d55e5bfc
RD
7521 wxListBox *arg1 = (wxListBox *) 0 ;
7522 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7523 int arg3 = (int) -1 ;
d55e5bfc
RD
7524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7526 wxSize const &arg5_defvalue = wxDefaultSize ;
7527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7528 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7529 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7530 long arg7 = (long) 0 ;
7531 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7532 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7533 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7534 wxString *arg9 = (wxString *) &arg9_defvalue ;
7535 bool result;
7536 wxPoint temp4 ;
7537 wxSize temp5 ;
ae8162c8
RD
7538 bool temp6 = false ;
7539 bool temp9 = false ;
d55e5bfc
RD
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 PyObject * obj2 = 0 ;
7543 PyObject * obj3 = 0 ;
7544 PyObject * obj4 = 0 ;
7545 PyObject * obj5 = 0 ;
7546 PyObject * obj6 = 0 ;
7547 PyObject * obj7 = 0 ;
7548 PyObject * obj8 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7551 };
7552
248ed943 7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7555 if (SWIG_arg_fail(1)) SWIG_fail;
7556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7557 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7558 if (obj2) {
093d3ff1 7559 {
7449af73 7560 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7561 if (SWIG_arg_fail(3)) SWIG_fail;
7562 }
248ed943 7563 }
d55e5bfc
RD
7564 if (obj3) {
7565 {
7566 arg4 = &temp4;
7567 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7568 }
7569 }
7570 if (obj4) {
7571 {
7572 arg5 = &temp5;
7573 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7574 }
7575 }
7576 if (obj5) {
7577 {
7578 if (! PySequence_Check(obj5)) {
7579 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7580 SWIG_fail;
7581 }
7582 arg6 = new wxArrayString;
ae8162c8 7583 temp6 = true;
d55e5bfc
RD
7584 int i, len=PySequence_Length(obj5);
7585 for (i=0; i<len; i++) {
7586 PyObject* item = PySequence_GetItem(obj5, i);
71237536 7587 wxString* s = wxString_in_helper(item);
d55e5bfc 7588 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7589 arg6->Add(*s);
7590 delete s;
d55e5bfc 7591 Py_DECREF(item);
d55e5bfc
RD
7592 }
7593 }
7594 }
7595 if (obj6) {
093d3ff1 7596 {
7449af73 7597 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
7598 if (SWIG_arg_fail(7)) SWIG_fail;
7599 }
d55e5bfc
RD
7600 }
7601 if (obj7) {
093d3ff1
RD
7602 {
7603 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7604 if (SWIG_arg_fail(8)) SWIG_fail;
7605 if (arg8 == NULL) {
7606 SWIG_null_ref("wxValidator");
7607 }
7608 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7609 }
7610 }
7611 if (obj8) {
7612 {
7613 arg9 = wxString_in_helper(obj8);
7614 if (arg9 == NULL) SWIG_fail;
ae8162c8 7615 temp9 = true;
d55e5bfc
RD
7616 }
7617 }
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 {
7626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7627 }
7628 {
7629 if (temp6) delete arg6;
7630 }
7631 {
7632 if (temp9)
7633 delete arg9;
7634 }
7635 return resultobj;
7636 fail:
7637 {
7638 if (temp6) delete arg6;
7639 }
7640 {
7641 if (temp9)
7642 delete arg9;
7643 }
7644 return NULL;
7645}
7646
7647
c32bde28 7648static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7649 PyObject *resultobj = NULL;
d55e5bfc
RD
7650 wxListBox *arg1 = (wxListBox *) 0 ;
7651 wxString *arg2 = 0 ;
7652 int arg3 ;
7653 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7654 bool temp2 = false ;
d55e5bfc
RD
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 PyObject * obj2 = 0 ;
7658 PyObject * obj3 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7666 {
7667 arg2 = wxString_in_helper(obj1);
7668 if (arg2 == NULL) SWIG_fail;
ae8162c8 7669 temp2 = true;
d55e5bfc 7670 }
093d3ff1 7671 {
7449af73 7672 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7673 if (SWIG_arg_fail(3)) SWIG_fail;
7674 }
d55e5bfc
RD
7675 if (obj3) {
7676 arg4 = obj3;
7677 }
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 Py_INCREF(Py_None); resultobj = Py_None;
7686 {
7687 if (temp2)
7688 delete arg2;
7689 }
7690 return resultobj;
7691 fail:
7692 {
7693 if (temp2)
7694 delete arg2;
7695 }
7696 return NULL;
7697}
7698
7699
c32bde28 7700static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7701 PyObject *resultobj = NULL;
d55e5bfc
RD
7702 wxListBox *arg1 = (wxListBox *) 0 ;
7703 wxArrayString *arg2 = 0 ;
7704 int arg3 ;
ae8162c8 7705 bool temp2 = false ;
d55e5bfc
RD
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 PyObject * obj2 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self",(char *) "items",(char *) "pos", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7716 {
7717 if (! PySequence_Check(obj1)) {
7718 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7719 SWIG_fail;
7720 }
7721 arg2 = new wxArrayString;
ae8162c8 7722 temp2 = true;
d55e5bfc
RD
7723 int i, len=PySequence_Length(obj1);
7724 for (i=0; i<len; i++) {
7725 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7726 wxString* s = wxString_in_helper(item);
d55e5bfc 7727 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7728 arg2->Add(*s);
7729 delete s;
d55e5bfc 7730 Py_DECREF(item);
d55e5bfc
RD
7731 }
7732 }
093d3ff1 7733 {
7449af73 7734 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7735 if (SWIG_arg_fail(3)) SWIG_fail;
7736 }
d55e5bfc
RD
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 {
7746 if (temp2) delete arg2;
7747 }
7748 return resultobj;
7749 fail:
7750 {
7751 if (temp2) delete arg2;
7752 }
7753 return NULL;
7754}
7755
7756
c32bde28 7757static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7758 PyObject *resultobj = NULL;
d55e5bfc
RD
7759 wxListBox *arg1 = (wxListBox *) 0 ;
7760 wxArrayString *arg2 = 0 ;
ae8162c8 7761 bool temp2 = false ;
d55e5bfc
RD
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "items", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7771 {
7772 if (! PySequence_Check(obj1)) {
7773 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7774 SWIG_fail;
7775 }
7776 arg2 = new wxArrayString;
ae8162c8 7777 temp2 = true;
d55e5bfc
RD
7778 int i, len=PySequence_Length(obj1);
7779 for (i=0; i<len; i++) {
7780 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7781 wxString* s = wxString_in_helper(item);
d55e5bfc 7782 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7783 arg2->Add(*s);
7784 delete s;
d55e5bfc 7785 Py_DECREF(item);
d55e5bfc
RD
7786 }
7787 }
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 (arg1)->Set((wxArrayString const &)*arg2);
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 Py_INCREF(Py_None); resultobj = Py_None;
7796 {
7797 if (temp2) delete arg2;
7798 }
7799 return resultobj;
7800 fail:
7801 {
7802 if (temp2) delete arg2;
7803 }
7804 return NULL;
7805}
7806
7807
c32bde28 7808static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7809 PyObject *resultobj = NULL;
d55e5bfc
RD
7810 wxListBox *arg1 = (wxListBox *) 0 ;
7811 int arg2 ;
7812 bool result;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "n", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail;
7822 {
7449af73 7823 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7824 if (SWIG_arg_fail(2)) SWIG_fail;
7825 }
d55e5bfc
RD
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 {
7834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7835 }
7836 return resultobj;
7837 fail:
7838 return NULL;
7839}
7840
7841
c32bde28 7842static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7843 PyObject *resultobj = NULL;
d55e5bfc
RD
7844 wxListBox *arg1 = (wxListBox *) 0 ;
7845 int arg2 ;
ae8162c8 7846 bool arg3 = (bool) true ;
d55e5bfc
RD
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 PyObject * obj2 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self",(char *) "n",(char *) "select", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail;
7857 {
7449af73 7858 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7859 if (SWIG_arg_fail(2)) SWIG_fail;
7860 }
d55e5bfc 7861 if (obj2) {
093d3ff1 7862 {
7449af73 7863 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
7864 if (SWIG_arg_fail(3)) SWIG_fail;
7865 }
d55e5bfc
RD
7866 }
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->SetSelection(arg2,arg3);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 return resultobj;
7876 fail:
7877 return NULL;
7878}
7879
7880
c32bde28 7881static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7882 PyObject *resultobj = NULL;
d55e5bfc
RD
7883 wxListBox *arg1 = (wxListBox *) 0 ;
7884 int arg2 ;
7885 PyObject * obj0 = 0 ;
7886 PyObject * obj1 = 0 ;
7887 char *kwnames[] = {
7888 (char *) "self",(char *) "n", NULL
7889 };
7890
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail;
7894 {
7449af73 7895 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7896 if (SWIG_arg_fail(2)) SWIG_fail;
7897 }
d55e5bfc
RD
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 (arg1)->Select(arg2);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 Py_INCREF(Py_None); resultobj = Py_None;
7906 return resultobj;
7907 fail:
7908 return NULL;
7909}
7910
7911
c32bde28 7912static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7913 PyObject *resultobj = NULL;
d55e5bfc
RD
7914 wxListBox *arg1 = (wxListBox *) 0 ;
7915 int arg2 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self",(char *) "n", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail;
7925 {
7449af73 7926 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7927 if (SWIG_arg_fail(2)) SWIG_fail;
7928 }
d55e5bfc
RD
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 (arg1)->Deselect(arg2);
7932
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 Py_INCREF(Py_None); resultobj = Py_None;
7937 return resultobj;
7938 fail:
7939 return NULL;
7940}
7941
7942
c32bde28 7943static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7944 PyObject *resultobj = NULL;
d55e5bfc
RD
7945 wxListBox *arg1 = (wxListBox *) 0 ;
7946 int arg2 = (int) -1 ;
7947 PyObject * obj0 = 0 ;
7948 PyObject * obj1 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self",(char *) "itemToLeaveSelected", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7956 if (obj1) {
093d3ff1 7957 {
7449af73 7958 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7959 if (SWIG_arg_fail(2)) SWIG_fail;
7960 }
d55e5bfc
RD
7961 }
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 (arg1)->DeselectAll(arg2);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 return resultobj;
7971 fail:
7972 return NULL;
7973}
7974
7975
c32bde28 7976static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7977 PyObject *resultobj = NULL;
d55e5bfc
RD
7978 wxListBox *arg1 = (wxListBox *) 0 ;
7979 wxString *arg2 = 0 ;
ae8162c8 7980 bool arg3 = (bool) true ;
d55e5bfc 7981 bool result;
ae8162c8 7982 bool temp2 = false ;
d55e5bfc
RD
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 PyObject * obj2 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "s",(char *) "select", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7993 {
7994 arg2 = wxString_in_helper(obj1);
7995 if (arg2 == NULL) SWIG_fail;
ae8162c8 7996 temp2 = true;
d55e5bfc
RD
7997 }
7998 if (obj2) {
093d3ff1 7999 {
7449af73 8000 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8001 if (SWIG_arg_fail(3)) SWIG_fail;
8002 }
d55e5bfc
RD
8003 }
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 {
8012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8013 }
8014 {
8015 if (temp2)
8016 delete arg2;
8017 }
8018 return resultobj;
8019 fail:
8020 {
8021 if (temp2)
8022 delete arg2;
8023 }
8024 return NULL;
8025}
8026
8027
c32bde28 8028static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8029 PyObject *resultobj = NULL;
d55e5bfc
RD
8030 wxListBox *arg1 = (wxListBox *) 0 ;
8031 PyObject *result;
8032 PyObject * obj0 = 0 ;
8033 char *kwnames[] = {
8034 (char *) "self", NULL
8035 };
8036
8037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
8038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 result = (PyObject *)wxListBox_GetSelections(arg1);
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 resultobj = result;
8048 return resultobj;
8049 fail:
8050 return NULL;
8051}
8052
8053
c32bde28 8054static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8055 PyObject *resultobj = NULL;
d55e5bfc
RD
8056 wxListBox *arg1 = (wxListBox *) 0 ;
8057 int arg2 ;
8058 PyObject * obj0 = 0 ;
8059 PyObject * obj1 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "n", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail;
8067 {
7449af73 8068 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8069 if (SWIG_arg_fail(2)) SWIG_fail;
8070 }
d55e5bfc
RD
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 (arg1)->SetFirstItem(arg2);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 Py_INCREF(Py_None); resultobj = Py_None;
8079 return resultobj;
8080 fail:
8081 return NULL;
8082}
8083
8084
c32bde28 8085static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8086 PyObject *resultobj = NULL;
d55e5bfc
RD
8087 wxListBox *arg1 = (wxListBox *) 0 ;
8088 wxString *arg2 = 0 ;
ae8162c8 8089 bool temp2 = false ;
d55e5bfc
RD
8090 PyObject * obj0 = 0 ;
8091 PyObject * obj1 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "self",(char *) "s", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8099 {
8100 arg2 = wxString_in_helper(obj1);
8101 if (arg2 == NULL) SWIG_fail;
ae8162c8 8102 temp2 = true;
d55e5bfc
RD
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->SetFirstItem((wxString const &)*arg2);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 {
8113 if (temp2)
8114 delete arg2;
8115 }
8116 return resultobj;
8117 fail:
8118 {
8119 if (temp2)
8120 delete arg2;
8121 }
8122 return NULL;
8123}
8124
8125
c32bde28 8126static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8127 PyObject *resultobj = NULL;
d55e5bfc
RD
8128 wxListBox *arg1 = (wxListBox *) 0 ;
8129 int arg2 ;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "n", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail;
8139 {
7449af73 8140 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8141 if (SWIG_arg_fail(2)) SWIG_fail;
8142 }
d55e5bfc
RD
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 (arg1)->EnsureVisible(arg2);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 return resultobj;
8152 fail:
8153 return NULL;
8154}
8155
8156
c32bde28 8157static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8158 PyObject *resultobj = NULL;
d55e5bfc
RD
8159 wxListBox *arg1 = (wxListBox *) 0 ;
8160 wxString *arg2 = 0 ;
ae8162c8 8161 bool temp2 = false ;
d55e5bfc
RD
8162 PyObject * obj0 = 0 ;
8163 PyObject * obj1 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self",(char *) "s", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8171 {
8172 arg2 = wxString_in_helper(obj1);
8173 if (arg2 == NULL) SWIG_fail;
ae8162c8 8174 temp2 = true;
d55e5bfc
RD
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 Py_INCREF(Py_None); resultobj = Py_None;
8184 {
8185 if (temp2)
8186 delete arg2;
8187 }
8188 return resultobj;
8189 fail:
8190 {
8191 if (temp2)
8192 delete arg2;
8193 }
8194 return NULL;
8195}
8196
8197
c32bde28 8198static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8199 PyObject *resultobj = NULL;
d55e5bfc
RD
8200 wxListBox *arg1 = (wxListBox *) 0 ;
8201 bool result;
8202 PyObject * obj0 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
8208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 result = (bool)((wxListBox const *)arg1)->IsSorted();
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 {
8218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8219 }
8220 return resultobj;
8221 fail:
8222 return NULL;
8223}
8224
8225
c32bde28 8226static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8227 PyObject *resultobj = NULL;
d55e5bfc
RD
8228 wxListBox *arg1 = (wxListBox *) 0 ;
8229 int arg2 ;
8230 wxColour *arg3 = 0 ;
8231 wxColour temp3 ;
8232 PyObject * obj0 = 0 ;
8233 PyObject * obj1 = 0 ;
8234 PyObject * obj2 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "self",(char *) "item",(char *) "c", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail;
8242 {
7449af73 8243 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8244 if (SWIG_arg_fail(2)) SWIG_fail;
8245 }
d55e5bfc
RD
8246 {
8247 arg3 = &temp3;
8248 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8249 }
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 Py_INCREF(Py_None); resultobj = Py_None;
8258 return resultobj;
8259 fail:
8260 return NULL;
8261}
8262
8263
c32bde28 8264static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8265 PyObject *resultobj = NULL;
d55e5bfc
RD
8266 wxListBox *arg1 = (wxListBox *) 0 ;
8267 int arg2 ;
8268 wxColour *arg3 = 0 ;
8269 wxColour temp3 ;
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 PyObject * obj2 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self",(char *) "item",(char *) "c", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail;
8280 {
7449af73 8281 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8282 if (SWIG_arg_fail(2)) SWIG_fail;
8283 }
d55e5bfc
RD
8284 {
8285 arg3 = &temp3;
8286 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 Py_INCREF(Py_None); resultobj = Py_None;
8296 return resultobj;
8297 fail:
8298 return NULL;
8299}
8300
8301
c32bde28 8302static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8303 PyObject *resultobj = NULL;
d55e5bfc
RD
8304 wxListBox *arg1 = (wxListBox *) 0 ;
8305 int arg2 ;
8306 wxFont *arg3 = 0 ;
8307 PyObject * obj0 = 0 ;
8308 PyObject * obj1 = 0 ;
8309 PyObject * obj2 = 0 ;
8310 char *kwnames[] = {
8311 (char *) "self",(char *) "item",(char *) "f", NULL
8312 };
8313
8314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8316 if (SWIG_arg_fail(1)) SWIG_fail;
8317 {
7449af73 8318 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8319 if (SWIG_arg_fail(2)) SWIG_fail;
8320 }
8321 {
8322 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8323 if (SWIG_arg_fail(3)) SWIG_fail;
8324 if (arg3 == NULL) {
8325 SWIG_null_ref("wxFont");
8326 }
8327 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 Py_INCREF(Py_None); resultobj = Py_None;
8337 return resultobj;
8338 fail:
8339 return NULL;
8340}
8341
8342
c32bde28 8343static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8344 PyObject *resultobj = NULL;
093d3ff1 8345 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8346 wxVisualAttributes result;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "variant", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8353 if (obj0) {
093d3ff1 8354 {
7449af73 8355 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
8356 if (SWIG_arg_fail(1)) SWIG_fail;
8357 }
d55e5bfc
RD
8358 }
8359 {
19272049 8360 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8362 result = wxListBox::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
8363
8364 wxPyEndAllowThreads(__tstate);
110da5b0 8365 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8366 }
8367 {
8368 wxVisualAttributes * resultptr;
7449af73 8369 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
8370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8371 }
8372 return resultobj;
8373 fail:
8374 return NULL;
8375}
8376
8377
c32bde28 8378static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8379 PyObject *obj;
8380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8381 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8382 Py_INCREF(obj);
8383 return Py_BuildValue((char *)"");
8384}
c32bde28 8385static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8386 PyObject *resultobj = NULL;
d55e5bfc 8387 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8388 int arg2 = (int) -1 ;
d55e5bfc
RD
8389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8391 wxSize const &arg4_defvalue = wxDefaultSize ;
8392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8393 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8394 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8395 long arg6 = (long) 0 ;
8396 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8397 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8398 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8399 wxString *arg8 = (wxString *) &arg8_defvalue ;
8400 wxCheckListBox *result;
8401 wxPoint temp3 ;
8402 wxSize temp4 ;
ae8162c8
RD
8403 bool temp5 = false ;
8404 bool temp8 = false ;
d55e5bfc
RD
8405 PyObject * obj0 = 0 ;
8406 PyObject * obj1 = 0 ;
8407 PyObject * obj2 = 0 ;
8408 PyObject * obj3 = 0 ;
8409 PyObject * obj4 = 0 ;
8410 PyObject * obj5 = 0 ;
8411 PyObject * obj6 = 0 ;
8412 PyObject * obj7 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8415 };
8416
248ed943 8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8420 if (obj1) {
093d3ff1 8421 {
7449af73 8422 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8423 if (SWIG_arg_fail(2)) SWIG_fail;
8424 }
248ed943 8425 }
d55e5bfc
RD
8426 if (obj2) {
8427 {
8428 arg3 = &temp3;
8429 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8430 }
8431 }
8432 if (obj3) {
8433 {
8434 arg4 = &temp4;
8435 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8436 }
8437 }
8438 if (obj4) {
8439 {
8440 if (! PySequence_Check(obj4)) {
8441 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8442 SWIG_fail;
8443 }
8444 arg5 = new wxArrayString;
ae8162c8 8445 temp5 = true;
d55e5bfc
RD
8446 int i, len=PySequence_Length(obj4);
8447 for (i=0; i<len; i++) {
8448 PyObject* item = PySequence_GetItem(obj4, i);
71237536 8449 wxString* s = wxString_in_helper(item);
d55e5bfc 8450 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8451 arg5->Add(*s);
8452 delete s;
d55e5bfc 8453 Py_DECREF(item);
d55e5bfc
RD
8454 }
8455 }
8456 }
8457 if (obj5) {
093d3ff1 8458 {
7449af73 8459 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
8460 if (SWIG_arg_fail(6)) SWIG_fail;
8461 }
d55e5bfc
RD
8462 }
8463 if (obj6) {
093d3ff1
RD
8464 {
8465 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8466 if (SWIG_arg_fail(7)) SWIG_fail;
8467 if (arg7 == NULL) {
8468 SWIG_null_ref("wxValidator");
8469 }
8470 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8471 }
8472 }
8473 if (obj7) {
8474 {
8475 arg8 = wxString_in_helper(obj7);
8476 if (arg8 == NULL) SWIG_fail;
ae8162c8 8477 temp8 = true;
d55e5bfc
RD
8478 }
8479 }
8480 {
0439c23b 8481 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8484
8485 wxPyEndAllowThreads(__tstate);
110da5b0 8486 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8487 }
8488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8489 {
8490 if (temp5) delete arg5;
8491 }
8492 {
8493 if (temp8)
8494 delete arg8;
8495 }
8496 return resultobj;
8497 fail:
8498 {
8499 if (temp5) delete arg5;
8500 }
8501 {
8502 if (temp8)
8503 delete arg8;
8504 }
8505 return NULL;
8506}
8507
8508
c32bde28 8509static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8510 PyObject *resultobj = NULL;
d55e5bfc
RD
8511 wxCheckListBox *result;
8512 char *kwnames[] = {
8513 NULL
8514 };
8515
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8517 {
0439c23b 8518 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (wxCheckListBox *)new wxCheckListBox();
8521
8522 wxPyEndAllowThreads(__tstate);
110da5b0 8523 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8524 }
8525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8526 return resultobj;
8527 fail:
8528 return NULL;
8529}
8530
8531
c32bde28 8532static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8533 PyObject *resultobj = NULL;
d55e5bfc
RD
8534 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8535 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8536 int arg3 = (int) -1 ;
d55e5bfc
RD
8537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8539 wxSize const &arg5_defvalue = wxDefaultSize ;
8540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8541 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8542 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8543 long arg7 = (long) 0 ;
8544 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8545 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8546 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8547 wxString *arg9 = (wxString *) &arg9_defvalue ;
8548 bool result;
8549 wxPoint temp4 ;
8550 wxSize temp5 ;
ae8162c8
RD
8551 bool temp6 = false ;
8552 bool temp9 = false ;
d55e5bfc
RD
8553 PyObject * obj0 = 0 ;
8554 PyObject * obj1 = 0 ;
8555 PyObject * obj2 = 0 ;
8556 PyObject * obj3 = 0 ;
8557 PyObject * obj4 = 0 ;
8558 PyObject * obj5 = 0 ;
8559 PyObject * obj6 = 0 ;
8560 PyObject * obj7 = 0 ;
8561 PyObject * obj8 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8564 };
8565
248ed943 8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8568 if (SWIG_arg_fail(1)) SWIG_fail;
8569 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8570 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8571 if (obj2) {
093d3ff1 8572 {
7449af73 8573 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8574 if (SWIG_arg_fail(3)) SWIG_fail;
8575 }
248ed943 8576 }
d55e5bfc
RD
8577 if (obj3) {
8578 {
8579 arg4 = &temp4;
8580 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8581 }
8582 }
8583 if (obj4) {
8584 {
8585 arg5 = &temp5;
8586 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8587 }
8588 }
8589 if (obj5) {
8590 {
8591 if (! PySequence_Check(obj5)) {
8592 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8593 SWIG_fail;
8594 }
8595 arg6 = new wxArrayString;
ae8162c8 8596 temp6 = true;
d55e5bfc
RD
8597 int i, len=PySequence_Length(obj5);
8598 for (i=0; i<len; i++) {
8599 PyObject* item = PySequence_GetItem(obj5, i);
71237536 8600 wxString* s = wxString_in_helper(item);
d55e5bfc 8601 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8602 arg6->Add(*s);
8603 delete s;
d55e5bfc 8604 Py_DECREF(item);
d55e5bfc
RD
8605 }
8606 }
8607 }
8608 if (obj6) {
093d3ff1 8609 {
7449af73 8610 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
8611 if (SWIG_arg_fail(7)) SWIG_fail;
8612 }
d55e5bfc
RD
8613 }
8614 if (obj7) {
093d3ff1
RD
8615 {
8616 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8617 if (SWIG_arg_fail(8)) SWIG_fail;
8618 if (arg8 == NULL) {
8619 SWIG_null_ref("wxValidator");
8620 }
8621 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8622 }
8623 }
8624 if (obj8) {
8625 {
8626 arg9 = wxString_in_helper(obj8);
8627 if (arg9 == NULL) SWIG_fail;
ae8162c8 8628 temp9 = true;
d55e5bfc
RD
8629 }
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 {
8639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8640 }
8641 {
8642 if (temp6) delete arg6;
8643 }
8644 {
8645 if (temp9)
8646 delete arg9;
8647 }
8648 return resultobj;
8649 fail:
8650 {
8651 if (temp6) delete arg6;
8652 }
8653 {
8654 if (temp9)
8655 delete arg9;
8656 }
8657 return NULL;
8658}
8659
8660
c32bde28 8661static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8662 PyObject *resultobj = NULL;
d55e5bfc
RD
8663 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8664 int arg2 ;
8665 bool result;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self",(char *) "index", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8674 if (SWIG_arg_fail(1)) SWIG_fail;
8675 {
7449af73 8676 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8677 if (SWIG_arg_fail(2)) SWIG_fail;
8678 }
d55e5bfc
RD
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (bool)(arg1)->IsChecked(arg2);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 {
8687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8688 }
8689 return resultobj;
8690 fail:
8691 return NULL;
8692}
8693
8694
c32bde28 8695static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8696 PyObject *resultobj = NULL;
d55e5bfc
RD
8697 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8698 int arg2 ;
ae8162c8 8699 int arg3 = (int) true ;
d55e5bfc
RD
8700 PyObject * obj0 = 0 ;
8701 PyObject * obj1 = 0 ;
8702 PyObject * obj2 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self",(char *) "index",(char *) "check", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail;
8710 {
7449af73 8711 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8712 if (SWIG_arg_fail(2)) SWIG_fail;
8713 }
d55e5bfc 8714 if (obj2) {
093d3ff1 8715 {
7449af73 8716 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8717 if (SWIG_arg_fail(3)) SWIG_fail;
8718 }
d55e5bfc
RD
8719 }
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 (arg1)->Check(arg2,arg3);
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 Py_INCREF(Py_None); resultobj = Py_None;
8728 return resultobj;
8729 fail:
8730 return NULL;
8731}
8732
8733
c32bde28 8734static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8735 PyObject *resultobj = NULL;
d55e5bfc
RD
8736 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8737 int result;
8738 PyObject * obj0 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (int)(arg1)->GetItemHeight();
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
093d3ff1 8753 {
7449af73 8754 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8755 }
d55e5bfc
RD
8756 return resultobj;
8757 fail:
8758 return NULL;
8759}
8760
8761
c32bde28 8762static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8763 PyObject *resultobj = NULL;
d55e5bfc
RD
8764 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8765 wxPoint *arg2 = 0 ;
8766 int result;
8767 wxPoint temp2 ;
8768 PyObject * obj0 = 0 ;
8769 PyObject * obj1 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "pt", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8777 {
8778 arg2 = &temp2;
8779 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8780 }
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
093d3ff1 8788 {
7449af73 8789 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8790 }
d55e5bfc
RD
8791 return resultobj;
8792 fail:
8793 return NULL;
8794}
8795
8796
c32bde28 8797static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8798 PyObject *resultobj = NULL;
d55e5bfc
RD
8799 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8800 int arg2 ;
8801 int arg3 ;
8802 int result;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 PyObject * obj2 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self",(char *) "x",(char *) "y", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail;
8813 {
7449af73 8814 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8815 if (SWIG_arg_fail(2)) SWIG_fail;
8816 }
8817 {
7449af73 8818 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8819 if (SWIG_arg_fail(3)) SWIG_fail;
8820 }
d55e5bfc
RD
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
093d3ff1 8828 {
7449af73 8829 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8830 }
d55e5bfc
RD
8831 return resultobj;
8832 fail:
8833 return NULL;
8834}
8835
8836
c32bde28 8837static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8838 PyObject *obj;
8839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8840 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8841 Py_INCREF(obj);
8842 return Py_BuildValue((char *)"");
8843}
c32bde28 8844static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8845 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8846 return 1;
8847}
8848
8849
093d3ff1 8850static PyObject *_wrap_TextCtrlNameStr_get(void) {
7449af73 8851 PyObject *pyobj = NULL;
d55e5bfc
RD
8852
8853 {
8854#if wxUSE_UNICODE
8855 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8856#else
8857 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8858#endif
8859 }
8860 return pyobj;
8861}
8862
8863
c32bde28 8864static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8865 PyObject *resultobj = NULL;
908b74cd
RD
8866 wxColour const &arg1_defvalue = wxNullColour ;
8867 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8868 wxColour const &arg2_defvalue = wxNullColour ;
8869 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8870 wxFont const &arg3_defvalue = wxNullFont ;
8871 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8872 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8873 wxTextAttr *result;
8874 wxColour temp1 ;
8875 wxColour temp2 ;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 PyObject * obj2 = 0 ;
8879 PyObject * obj3 = 0 ;
908b74cd
RD
8880 char *kwnames[] = {
8881 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8882 };
d55e5bfc 8883
908b74cd
RD
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8885 if (obj0) {
8886 {
8887 arg1 = &temp1;
8888 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8889 }
d55e5bfc
RD
8890 }
8891 if (obj1) {
8892 {
8893 arg2 = &temp2;
8894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8895 }
8896 }
8897 if (obj2) {
093d3ff1
RD
8898 {
8899 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8900 if (SWIG_arg_fail(3)) SWIG_fail;
8901 if (arg3 == NULL) {
8902 SWIG_null_ref("wxFont");
8903 }
8904 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8905 }
8906 }
8907 if (obj3) {
093d3ff1 8908 {
7449af73 8909 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
093d3ff1
RD
8910 if (SWIG_arg_fail(4)) SWIG_fail;
8911 }
d55e5bfc
RD
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8915 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
d55e5bfc
RD
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924}
8925
8926
c32bde28 8927static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8928 PyObject *resultobj = NULL;
d55e5bfc
RD
8929 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8930 PyObject * obj0 = 0 ;
8931 char *kwnames[] = {
8932 (char *) "self", NULL
8933 };
8934
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
8936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 delete arg1;
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 Py_INCREF(Py_None); resultobj = Py_None;
8946 return resultobj;
8947 fail:
8948 return NULL;
8949}
8950
8951
c32bde28 8952static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8953 PyObject *resultobj = NULL;
d55e5bfc
RD
8954 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8955 PyObject * obj0 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
8961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->Init();
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 Py_INCREF(Py_None); resultobj = Py_None;
8971 return resultobj;
8972 fail:
8973 return NULL;
8974}
8975
8976
c32bde28 8977static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8978 PyObject *resultobj = NULL;
d55e5bfc
RD
8979 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8980 wxColour *arg2 = 0 ;
8981 wxColour temp2 ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "colText", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8991 {
8992 arg2 = &temp2;
8993 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8994 }
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 (arg1)->SetTextColour((wxColour const &)*arg2);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 Py_INCREF(Py_None); resultobj = Py_None;
9003 return resultobj;
9004 fail:
9005 return NULL;
9006}
9007
9008
c32bde28 9009static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9010 PyObject *resultobj = NULL;
d55e5bfc
RD
9011 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9012 wxColour *arg2 = 0 ;
9013 wxColour temp2 ;
9014 PyObject * obj0 = 0 ;
9015 PyObject * obj1 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self",(char *) "colBack", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9023 {
9024 arg2 = &temp2;
9025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9026 }
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038}
9039
9040
c32bde28 9041static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9042 PyObject *resultobj = NULL;
d55e5bfc
RD
9043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9044 wxFont *arg2 = 0 ;
9045 long arg3 = (long) wxTEXT_ATTR_FONT ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 PyObject * obj2 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "font",(char *) "flags", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail;
9056 {
9057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9058 if (SWIG_arg_fail(2)) SWIG_fail;
9059 if (arg2 == NULL) {
9060 SWIG_null_ref("wxFont");
9061 }
9062 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9063 }
9064 if (obj2) {
093d3ff1 9065 {
7449af73 9066 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
9067 if (SWIG_arg_fail(3)) SWIG_fail;
9068 }
d55e5bfc
RD
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 Py_INCREF(Py_None); resultobj = Py_None;
9078 return resultobj;
9079 fail:
9080 return NULL;
9081}
9082
9083
c32bde28 9084static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9085 PyObject *resultobj = NULL;
d55e5bfc 9086 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9087 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
9088 PyObject * obj0 = 0 ;
9089 PyObject * obj1 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self",(char *) "alignment", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail;
9097 {
7449af73 9098 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
093d3ff1
RD
9099 if (SWIG_arg_fail(2)) SWIG_fail;
9100 }
d55e5bfc
RD
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9103 (arg1)->SetAlignment(arg2);
d55e5bfc
RD
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112}
9113
9114
c32bde28 9115static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9116 PyObject *resultobj = NULL;
d55e5bfc
RD
9117 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9118 wxArrayInt *arg2 = 0 ;
ae8162c8 9119 bool temp2 = false ;
d55e5bfc
RD
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "tabs", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9129 {
9130 if (! PySequence_Check(obj1)) {
9131 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9132 SWIG_fail;
9133 }
9134 arg2 = new wxArrayInt;
ae8162c8 9135 temp2 = true;
d55e5bfc
RD
9136 int i, len=PySequence_Length(obj1);
9137 for (i=0; i<len; i++) {
9138 PyObject* item = PySequence_GetItem(obj1, i);
9139 PyObject* number = PyNumber_Int(item);
9140 arg2->Add(PyInt_AS_LONG(number));
9141 Py_DECREF(item);
9142 Py_DECREF(number);
9143 }
9144 }
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 Py_INCREF(Py_None); resultobj = Py_None;
9153 {
9154 if (temp2) delete arg2;
9155 }
9156 return resultobj;
9157 fail:
9158 {
9159 if (temp2) delete arg2;
9160 }
9161 return NULL;
9162}
9163
9164
c32bde28 9165static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9166 PyObject *resultobj = NULL;
d55e5bfc
RD
9167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9168 int arg2 ;
a07a67e6 9169 int arg3 = (int) 0 ;
d55e5bfc
RD
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
a07a67e6 9172 PyObject * obj2 = 0 ;
d55e5bfc 9173 char *kwnames[] = {
a07a67e6 9174 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
9175 };
9176
a07a67e6 9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail;
9180 {
7449af73 9181 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9182 if (SWIG_arg_fail(2)) SWIG_fail;
9183 }
a07a67e6 9184 if (obj2) {
093d3ff1 9185 {
7449af73 9186 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9187 if (SWIG_arg_fail(3)) SWIG_fail;
9188 }
a07a67e6 9189 }
d55e5bfc
RD
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 9192 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 Py_INCREF(Py_None); resultobj = Py_None;
9198 return resultobj;
9199 fail:
9200 return NULL;
9201}
9202
9203
c32bde28 9204static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9205 PyObject *resultobj = NULL;
d55e5bfc
RD
9206 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9207 int arg2 ;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self",(char *) "indent", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail;
9217 {
7449af73 9218 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9219 if (SWIG_arg_fail(2)) SWIG_fail;
9220 }
d55e5bfc
RD
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 (arg1)->SetRightIndent(arg2);
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 Py_INCREF(Py_None); resultobj = Py_None;
9229 return resultobj;
9230 fail:
9231 return NULL;
9232}
9233
9234
c32bde28 9235static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9236 PyObject *resultobj = NULL;
d55e5bfc
RD
9237 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9238 long arg2 ;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "self",(char *) "flags", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9247 if (SWIG_arg_fail(1)) SWIG_fail;
9248 {
7449af73 9249 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
9250 if (SWIG_arg_fail(2)) SWIG_fail;
9251 }
d55e5bfc
RD
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 (arg1)->SetFlags(arg2);
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 Py_INCREF(Py_None); resultobj = Py_None;
9260 return resultobj;
9261 fail:
9262 return NULL;
9263}
9264
9265
c32bde28 9266static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9267 PyObject *resultobj = NULL;
d55e5bfc
RD
9268 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9269 bool result;
9270 PyObject * obj0 = 0 ;
9271 char *kwnames[] = {
9272 (char *) "self", NULL
9273 };
9274
9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 {
9286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9287 }
9288 return resultobj;
9289 fail:
9290 return NULL;
9291}
9292
9293
c32bde28 9294static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9295 PyObject *resultobj = NULL;
d55e5bfc
RD
9296 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9297 bool result;
9298 PyObject * obj0 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 {
9314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9315 }
9316 return resultobj;
9317 fail:
9318 return NULL;
9319}
9320
9321
c32bde28 9322static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9323 PyObject *resultobj = NULL;
d55e5bfc
RD
9324 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9325 bool result;
9326 PyObject * obj0 = 0 ;
9327 char *kwnames[] = {
9328 (char *) "self", NULL
9329 };
9330
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 {
9342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9343 }
9344 return resultobj;
9345 fail:
9346 return NULL;
9347}
9348
9349
c32bde28 9350static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9351 PyObject *resultobj = NULL;
d55e5bfc
RD
9352 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9353 bool result;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 {
9370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9371 }
9372 return resultobj;
9373 fail:
9374 return NULL;
9375}
9376
9377
c32bde28 9378static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9379 PyObject *resultobj = NULL;
d55e5bfc
RD
9380 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9381 bool result;
9382 PyObject * obj0 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 {
9398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9399 }
9400 return resultobj;
9401 fail:
9402 return NULL;
9403}
9404
9405
c32bde28 9406static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9407 PyObject *resultobj = NULL;
d55e5bfc
RD
9408 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9409 bool result;
9410 PyObject * obj0 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 {
9426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9427 }
9428 return resultobj;
9429 fail:
9430 return NULL;
9431}
9432
9433
c32bde28 9434static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9435 PyObject *resultobj = NULL;
d55e5bfc
RD
9436 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9437 bool result;
9438 PyObject * obj0 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 {
9454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9455 }
9456 return resultobj;
9457 fail:
9458 return NULL;
9459}
9460
9461
c32bde28 9462static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9463 PyObject *resultobj = NULL;
d55e5bfc
RD
9464 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9465 long arg2 ;
9466 bool result;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "flag", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
9476 {
7449af73 9477 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
9478 if (SWIG_arg_fail(2)) SWIG_fail;
9479 }
d55e5bfc
RD
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 {
9488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9489 }
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
c32bde28 9496static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9497 PyObject *resultobj = NULL;
d55e5bfc
RD
9498 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9499 wxColour *result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 {
9511 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9512 result = (wxColour *) &_result_ref;
9513 }
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9519 return resultobj;
9520 fail:
9521 return NULL;
9522}
9523
9524
c32bde28 9525static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9526 PyObject *resultobj = NULL;
d55e5bfc
RD
9527 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9528 wxColour *result;
9529 PyObject * obj0 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 {
9540 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9541 result = (wxColour *) &_result_ref;
9542 }
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9548 return resultobj;
9549 fail:
9550 return NULL;
9551}
9552
9553
c32bde28 9554static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9555 PyObject *resultobj = NULL;
d55e5bfc
RD
9556 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9557 wxFont *result;
9558 PyObject * obj0 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 {
9569 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9570 result = (wxFont *) &_result_ref;
9571 }
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 {
9577 wxFont* resultptr = new wxFont(*result);
9578 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9579 }
9580 return resultobj;
9581 fail:
9582 return NULL;
9583}
9584
9585
c32bde28 9586static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9587 PyObject *resultobj = NULL;
d55e5bfc 9588 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9589 wxTextAttrAlignment result;
d55e5bfc
RD
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9600 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
093d3ff1 9605 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9606 return resultobj;
9607 fail:
9608 return NULL;
9609}
9610
9611
c32bde28 9612static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9613 PyObject *resultobj = NULL;
d55e5bfc
RD
9614 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9615 wxArrayInt *result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 {
9627 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9628 result = (wxArrayInt *) &_result_ref;
9629 }
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 {
9635 resultobj = PyList_New(0);
9636 size_t idx;
9637 for (idx = 0; idx < result->GetCount(); idx += 1) {
9638 PyObject* val = PyInt_FromLong( result->Item(idx) );
9639 PyList_Append(resultobj, val);
9640 Py_DECREF(val);
9641 }
9642 }
9643 return resultobj;
9644 fail:
9645 return NULL;
9646}
9647
9648
c32bde28 9649static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9650 PyObject *resultobj = NULL;
d55e5bfc
RD
9651 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9652 long result;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
093d3ff1 9668 {
7449af73 9669 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9670 }
d55e5bfc
RD
9671 return resultobj;
9672 fail:
9673 return NULL;
9674}
9675
9676
c32bde28 9677static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9678 PyObject *resultobj = NULL;
a07a67e6
RD
9679 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9680 long result;
9681 PyObject * obj0 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
093d3ff1 9696 {
7449af73 9697 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9698 }
a07a67e6
RD
9699 return resultobj;
9700 fail:
9701 return NULL;
9702}
9703
9704
c32bde28 9705static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9706 PyObject *resultobj = NULL;
d55e5bfc
RD
9707 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9708 long result;
9709 PyObject * obj0 = 0 ;
9710 char *kwnames[] = {
9711 (char *) "self", NULL
9712 };
9713
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
093d3ff1 9724 {
7449af73 9725 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9726 }
d55e5bfc
RD
9727 return resultobj;
9728 fail:
9729 return NULL;
9730}
9731
9732
c32bde28 9733static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9734 PyObject *resultobj = NULL;
d55e5bfc
RD
9735 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9736 long result;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
093d3ff1 9752 {
7449af73 9753 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 9754 }
d55e5bfc
RD
9755 return resultobj;
9756 fail:
9757 return NULL;
9758}
9759
9760
c32bde28 9761static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9762 PyObject *resultobj = NULL;
d55e5bfc
RD
9763 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9764 bool result;
9765 PyObject * obj0 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 {
9781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9782 }
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
c32bde28 9789static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9790 PyObject *resultobj = NULL;
d55e5bfc
RD
9791 wxTextAttr *arg1 = 0 ;
9792 wxTextAttr *arg2 = 0 ;
9793 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9794 wxTextAttr result;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 PyObject * obj2 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9803 {
9804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9805 if (SWIG_arg_fail(1)) SWIG_fail;
9806 if (arg1 == NULL) {
9807 SWIG_null_ref("wxTextAttr");
9808 }
9809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9810 }
093d3ff1
RD
9811 {
9812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9813 if (SWIG_arg_fail(2)) SWIG_fail;
9814 if (arg2 == NULL) {
9815 SWIG_null_ref("wxTextAttr");
9816 }
9817 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9818 }
093d3ff1
RD
9819 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9820 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 {
9829 wxTextAttr * resultptr;
7449af73 9830 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
d55e5bfc
RD
9831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9832 }
9833 return resultobj;
9834 fail:
9835 return NULL;
9836}
9837
9838
c32bde28 9839static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9840 PyObject *obj;
9841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9842 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9843 Py_INCREF(obj);
9844 return Py_BuildValue((char *)"");
9845}
c32bde28 9846static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9847 PyObject *resultobj = NULL;
d55e5bfc 9848 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9849 int arg2 = (int) -1 ;
d55e5bfc
RD
9850 wxString const &arg3_defvalue = wxPyEmptyString ;
9851 wxString *arg3 = (wxString *) &arg3_defvalue ;
9852 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9853 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9854 wxSize const &arg5_defvalue = wxDefaultSize ;
9855 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9856 long arg6 = (long) 0 ;
9857 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9858 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9859 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9860 wxString *arg8 = (wxString *) &arg8_defvalue ;
9861 wxTextCtrl *result;
ae8162c8 9862 bool temp3 = false ;
d55e5bfc
RD
9863 wxPoint temp4 ;
9864 wxSize temp5 ;
ae8162c8 9865 bool temp8 = false ;
d55e5bfc
RD
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 PyObject * obj2 = 0 ;
9869 PyObject * obj3 = 0 ;
9870 PyObject * obj4 = 0 ;
9871 PyObject * obj5 = 0 ;
9872 PyObject * obj6 = 0 ;
9873 PyObject * obj7 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9876 };
9877
248ed943 9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9881 if (obj1) {
093d3ff1 9882 {
7449af73 9883 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9884 if (SWIG_arg_fail(2)) SWIG_fail;
9885 }
248ed943 9886 }
d55e5bfc
RD
9887 if (obj2) {
9888 {
9889 arg3 = wxString_in_helper(obj2);
9890 if (arg3 == NULL) SWIG_fail;
ae8162c8 9891 temp3 = true;
d55e5bfc
RD
9892 }
9893 }
9894 if (obj3) {
9895 {
9896 arg4 = &temp4;
9897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9898 }
9899 }
9900 if (obj4) {
9901 {
9902 arg5 = &temp5;
9903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9904 }
9905 }
9906 if (obj5) {
093d3ff1 9907 {
7449af73 9908 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
9909 if (SWIG_arg_fail(6)) SWIG_fail;
9910 }
d55e5bfc
RD
9911 }
9912 if (obj6) {
093d3ff1
RD
9913 {
9914 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9915 if (SWIG_arg_fail(7)) SWIG_fail;
9916 if (arg7 == NULL) {
9917 SWIG_null_ref("wxValidator");
9918 }
9919 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9920 }
9921 }
9922 if (obj7) {
9923 {
9924 arg8 = wxString_in_helper(obj7);
9925 if (arg8 == NULL) SWIG_fail;
ae8162c8 9926 temp8 = true;
d55e5bfc
RD
9927 }
9928 }
9929 {
0439c23b 9930 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9933
9934 wxPyEndAllowThreads(__tstate);
110da5b0 9935 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9936 }
b0f7404b 9937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9938 {
9939 if (temp3)
9940 delete arg3;
9941 }
9942 {
9943 if (temp8)
9944 delete arg8;
9945 }
9946 return resultobj;
9947 fail:
9948 {
9949 if (temp3)
9950 delete arg3;
9951 }
9952 {
9953 if (temp8)
9954 delete arg8;
9955 }
9956 return NULL;
9957}
9958
9959
c32bde28 9960static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9961 PyObject *resultobj = NULL;
d55e5bfc
RD
9962 wxTextCtrl *result;
9963 char *kwnames[] = {
9964 NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9968 {
0439c23b 9969 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (wxTextCtrl *)new wxTextCtrl();
9972
9973 wxPyEndAllowThreads(__tstate);
110da5b0 9974 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9975 }
b0f7404b 9976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9977 return resultobj;
9978 fail:
9979 return NULL;
9980}
9981
9982
c32bde28 9983static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9984 PyObject *resultobj = NULL;
d55e5bfc
RD
9985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9986 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9987 int arg3 = (int) -1 ;
d55e5bfc
RD
9988 wxString const &arg4_defvalue = wxPyEmptyString ;
9989 wxString *arg4 = (wxString *) &arg4_defvalue ;
9990 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9991 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9992 wxSize const &arg6_defvalue = wxDefaultSize ;
9993 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9994 long arg7 = (long) 0 ;
9995 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9996 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9997 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9998 wxString *arg9 = (wxString *) &arg9_defvalue ;
9999 bool result;
ae8162c8 10000 bool temp4 = false ;
d55e5bfc
RD
10001 wxPoint temp5 ;
10002 wxSize temp6 ;
ae8162c8 10003 bool temp9 = false ;
d55e5bfc
RD
10004 PyObject * obj0 = 0 ;
10005 PyObject * obj1 = 0 ;
10006 PyObject * obj2 = 0 ;
10007 PyObject * obj3 = 0 ;
10008 PyObject * obj4 = 0 ;
10009 PyObject * obj5 = 0 ;
10010 PyObject * obj6 = 0 ;
10011 PyObject * obj7 = 0 ;
10012 PyObject * obj8 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10015 };
10016
248ed943 10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
10020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10021 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10022 if (obj2) {
093d3ff1 10023 {
7449af73 10024 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10025 if (SWIG_arg_fail(3)) SWIG_fail;
10026 }
248ed943 10027 }
d55e5bfc
RD
10028 if (obj3) {
10029 {
10030 arg4 = wxString_in_helper(obj3);
10031 if (arg4 == NULL) SWIG_fail;
ae8162c8 10032 temp4 = true;
d55e5bfc
RD
10033 }
10034 }
10035 if (obj4) {
10036 {
10037 arg5 = &temp5;
10038 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10039 }
10040 }
10041 if (obj5) {
10042 {
10043 arg6 = &temp6;
10044 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10045 }
10046 }
10047 if (obj6) {
093d3ff1 10048 {
7449af73 10049 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
10050 if (SWIG_arg_fail(7)) SWIG_fail;
10051 }
d55e5bfc
RD
10052 }
10053 if (obj7) {
093d3ff1
RD
10054 {
10055 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
10056 if (SWIG_arg_fail(8)) SWIG_fail;
10057 if (arg8 == NULL) {
10058 SWIG_null_ref("wxValidator");
10059 }
10060 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
10061 }
10062 }
10063 if (obj8) {
10064 {
10065 arg9 = wxString_in_helper(obj8);
10066 if (arg9 == NULL) SWIG_fail;
ae8162c8 10067 temp9 = true;
d55e5bfc
RD
10068 }
10069 }
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 {
10078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10079 }
10080 {
10081 if (temp4)
10082 delete arg4;
10083 }
10084 {
10085 if (temp9)
10086 delete arg9;
10087 }
10088 return resultobj;
10089 fail:
10090 {
10091 if (temp4)
10092 delete arg4;
10093 }
10094 {
10095 if (temp9)
10096 delete arg9;
10097 }
10098 return NULL;
10099}
10100
10101
c32bde28 10102static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10103 PyObject *resultobj = NULL;
d55e5bfc
RD
10104 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10105 wxString result;
10106 PyObject * obj0 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "self", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
10112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = ((wxTextCtrl const *)arg1)->GetValue();
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 {
10122#if wxUSE_UNICODE
10123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10124#else
10125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10126#endif
10127 }
10128 return resultobj;
10129 fail:
10130 return NULL;
10131}
10132
10133
c32bde28 10134static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10135 PyObject *resultobj = NULL;
d55e5bfc
RD
10136 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10137 wxString *arg2 = 0 ;
ae8162c8 10138 bool temp2 = false ;
d55e5bfc
RD
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "value", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10148 {
10149 arg2 = wxString_in_helper(obj1);
10150 if (arg2 == NULL) SWIG_fail;
ae8162c8 10151 temp2 = true;
d55e5bfc
RD
10152 }
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 (arg1)->SetValue((wxString const &)*arg2);
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 Py_INCREF(Py_None); resultobj = Py_None;
10161 {
10162 if (temp2)
10163 delete arg2;
10164 }
10165 return resultobj;
10166 fail:
10167 {
10168 if (temp2)
10169 delete arg2;
10170 }
10171 return NULL;
10172}
10173
10174
c32bde28 10175static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10176 PyObject *resultobj = NULL;
d55e5bfc
RD
10177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10178 long arg2 ;
10179 long arg3 ;
10180 wxString result;
10181 PyObject * obj0 = 0 ;
10182 PyObject * obj1 = 0 ;
10183 PyObject * obj2 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self",(char *) "from",(char *) "to", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail;
10191 {
7449af73 10192 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10193 if (SWIG_arg_fail(2)) SWIG_fail;
10194 }
10195 {
7449af73 10196 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10197 if (SWIG_arg_fail(3)) SWIG_fail;
10198 }
d55e5bfc
RD
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 {
10207#if wxUSE_UNICODE
10208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10209#else
10210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10211#endif
10212 }
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
c32bde28 10219static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10220 PyObject *resultobj = NULL;
d55e5bfc
RD
10221 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10222 long arg2 ;
10223 int result;
10224 PyObject * obj0 = 0 ;
10225 PyObject * obj1 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self",(char *) "lineNo", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10232 if (SWIG_arg_fail(1)) SWIG_fail;
10233 {
7449af73 10234 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10235 if (SWIG_arg_fail(2)) SWIG_fail;
10236 }
d55e5bfc
RD
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
093d3ff1 10244 {
7449af73 10245 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10246 }
d55e5bfc
RD
10247 return resultobj;
10248 fail:
10249 return NULL;
10250}
10251
10252
c32bde28 10253static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10254 PyObject *resultobj = NULL;
d55e5bfc
RD
10255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10256 long arg2 ;
10257 wxString result;
10258 PyObject * obj0 = 0 ;
10259 PyObject * obj1 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "lineNo", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail;
10267 {
7449af73 10268 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10269 if (SWIG_arg_fail(2)) SWIG_fail;
10270 }
d55e5bfc
RD
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 {
10279#if wxUSE_UNICODE
10280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10281#else
10282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10283#endif
10284 }
10285 return resultobj;
10286 fail:
10287 return NULL;
10288}
10289
10290
c32bde28 10291static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10292 PyObject *resultobj = NULL;
d55e5bfc
RD
10293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10294 int result;
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
093d3ff1 10310 {
7449af73 10311 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10312 }
d55e5bfc
RD
10313 return resultobj;
10314 fail:
10315 return NULL;
10316}
10317
10318
c32bde28 10319static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10320 PyObject *resultobj = NULL;
d55e5bfc
RD
10321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10322 bool result;
10323 PyObject * obj0 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 {
10339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10340 }
10341 return resultobj;
10342 fail:
10343 return NULL;
10344}
10345
10346
c32bde28 10347static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10348 PyObject *resultobj = NULL;
d55e5bfc
RD
10349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10350 bool result;
10351 PyObject * obj0 = 0 ;
10352 char *kwnames[] = {
10353 (char *) "self", NULL
10354 };
10355
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 {
10367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10368 }
10369 return resultobj;
10370 fail:
10371 return NULL;
10372}
10373
10374
c32bde28 10375static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10376 PyObject *resultobj = NULL;
d55e5bfc
RD
10377 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10378 bool result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 {
10395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10396 }
10397 return resultobj;
10398 fail:
10399 return NULL;
10400}
10401
10402
c32bde28 10403static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10404 PyObject *resultobj = NULL;
d55e5bfc
RD
10405 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10406 bool result;
10407 PyObject * obj0 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "self", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 {
10423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10424 }
10425 return resultobj;
10426 fail:
10427 return NULL;
10428}
10429
10430
c32bde28 10431static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10432 PyObject *resultobj = NULL;
d55e5bfc
RD
10433 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10434 long *arg2 = (long *) 0 ;
10435 long *arg3 = (long *) 0 ;
10436 long temp2 ;
c32bde28 10437 int res2 = 0 ;
d55e5bfc 10438 long temp3 ;
c32bde28 10439 int res3 = 0 ;
d55e5bfc
RD
10440 PyObject * obj0 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self", NULL
10443 };
10444
c32bde28
RD
10445 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10446 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10458 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10459 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10460 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10461 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10462 return resultobj;
10463 fail:
10464 return NULL;
10465}
10466
10467
c32bde28 10468static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10469 PyObject *resultobj = NULL;
d55e5bfc
RD
10470 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10471 wxString result;
10472 PyObject * obj0 = 0 ;
10473 char *kwnames[] = {
10474 (char *) "self", NULL
10475 };
10476
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 {
10488#if wxUSE_UNICODE
10489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10490#else
10491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10492#endif
10493 }
10494 return resultobj;
10495 fail:
10496 return NULL;
10497}
10498
10499
c32bde28 10500static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10501 PyObject *resultobj = NULL;
d55e5bfc
RD
10502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10503 PyObject * obj0 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->Clear();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 return resultobj;
10520 fail:
10521 return NULL;
10522}
10523
10524
c32bde28 10525static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10526 PyObject *resultobj = NULL;
d55e5bfc
RD
10527 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10528 long arg2 ;
10529 long arg3 ;
10530 wxString *arg4 = 0 ;
ae8162c8 10531 bool temp4 = false ;
d55e5bfc
RD
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj1 = 0 ;
10534 PyObject * obj2 = 0 ;
10535 PyObject * obj3 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail;
10543 {
7449af73 10544 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10545 if (SWIG_arg_fail(2)) SWIG_fail;
10546 }
10547 {
7449af73 10548 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10549 if (SWIG_arg_fail(3)) SWIG_fail;
10550 }
d55e5bfc
RD
10551 {
10552 arg4 = wxString_in_helper(obj3);
10553 if (arg4 == NULL) SWIG_fail;
ae8162c8 10554 temp4 = true;
d55e5bfc
RD
10555 }
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 {
10565 if (temp4)
10566 delete arg4;
10567 }
10568 return resultobj;
10569 fail:
10570 {
10571 if (temp4)
10572 delete arg4;
10573 }
10574 return NULL;
10575}
10576
10577
c32bde28 10578static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10579 PyObject *resultobj = NULL;
d55e5bfc
RD
10580 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10581 long arg2 ;
10582 long arg3 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 PyObject * obj2 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "from",(char *) "to", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail;
10593 {
7449af73 10594 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10595 if (SWIG_arg_fail(2)) SWIG_fail;
10596 }
10597 {
7449af73 10598 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10599 if (SWIG_arg_fail(3)) SWIG_fail;
10600 }
d55e5bfc
RD
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 (arg1)->Remove(arg2,arg3);
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 Py_INCREF(Py_None); resultobj = Py_None;
10609 return resultobj;
10610 fail:
10611 return NULL;
10612}
10613
10614
c32bde28 10615static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10616 PyObject *resultobj = NULL;
d55e5bfc
RD
10617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10618 wxString *arg2 = 0 ;
10619 bool result;
ae8162c8 10620 bool temp2 = false ;
d55e5bfc
RD
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self",(char *) "file", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10630 {
10631 arg2 = wxString_in_helper(obj1);
10632 if (arg2 == NULL) SWIG_fail;
ae8162c8 10633 temp2 = true;
d55e5bfc
RD
10634 }
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10644 }
10645 {
10646 if (temp2)
10647 delete arg2;
10648 }
10649 return resultobj;
10650 fail:
10651 {
10652 if (temp2)
10653 delete arg2;
10654 }
10655 return NULL;
10656}
10657
10658
c32bde28 10659static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10660 PyObject *resultobj = NULL;
d55e5bfc
RD
10661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10662 wxString const &arg2_defvalue = wxPyEmptyString ;
10663 wxString *arg2 = (wxString *) &arg2_defvalue ;
10664 bool result;
ae8162c8 10665 bool temp2 = false ;
d55e5bfc
RD
10666 PyObject * obj0 = 0 ;
10667 PyObject * obj1 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self",(char *) "file", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10675 if (obj1) {
10676 {
10677 arg2 = wxString_in_helper(obj1);
10678 if (arg2 == NULL) SWIG_fail;
ae8162c8 10679 temp2 = true;
d55e5bfc
RD
10680 }
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 {
10690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10691 }
10692 {
10693 if (temp2)
10694 delete arg2;
10695 }
10696 return resultobj;
10697 fail:
10698 {
10699 if (temp2)
10700 delete arg2;
10701 }
10702 return NULL;
10703}
10704
10705
c32bde28 10706static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10707 PyObject *resultobj = NULL;
d55e5bfc
RD
10708 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10709 PyObject * obj0 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 (arg1)->MarkDirty();
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 Py_INCREF(Py_None); resultobj = Py_None;
10725 return resultobj;
10726 fail:
10727 return NULL;
10728}
10729
10730
c32bde28 10731static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10732 PyObject *resultobj = NULL;
d55e5bfc
RD
10733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10734 PyObject * obj0 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 (arg1)->DiscardEdits();
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 Py_INCREF(Py_None); resultobj = Py_None;
10750 return resultobj;
10751 fail:
10752 return NULL;
10753}
10754
10755
c32bde28 10756static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10757 PyObject *resultobj = NULL;
d55e5bfc
RD
10758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10759 unsigned long arg2 ;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self",(char *) "len", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10768 if (SWIG_arg_fail(1)) SWIG_fail;
10769 {
7449af73 10770 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
10771 if (SWIG_arg_fail(2)) SWIG_fail;
10772 }
d55e5bfc
RD
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetMaxLength(arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784}
10785
10786
c32bde28 10787static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10788 PyObject *resultobj = NULL;
d55e5bfc
RD
10789 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10790 wxString *arg2 = 0 ;
ae8162c8 10791 bool temp2 = false ;
d55e5bfc
RD
10792 PyObject * obj0 = 0 ;
10793 PyObject * obj1 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "text", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10801 {
10802 arg2 = wxString_in_helper(obj1);
10803 if (arg2 == NULL) SWIG_fail;
ae8162c8 10804 temp2 = true;
d55e5bfc
RD
10805 }
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->WriteText((wxString const &)*arg2);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 {
10815 if (temp2)
10816 delete arg2;
10817 }
10818 return resultobj;
10819 fail:
10820 {
10821 if (temp2)
10822 delete arg2;
10823 }
10824 return NULL;
10825}
10826
10827
c32bde28 10828static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10829 PyObject *resultobj = NULL;
d55e5bfc
RD
10830 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10831 wxString *arg2 = 0 ;
ae8162c8 10832 bool temp2 = false ;
d55e5bfc
RD
10833 PyObject * obj0 = 0 ;
10834 PyObject * obj1 = 0 ;
10835 char *kwnames[] = {
10836 (char *) "self",(char *) "text", NULL
10837 };
10838
10839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10842 {
10843 arg2 = wxString_in_helper(obj1);
10844 if (arg2 == NULL) SWIG_fail;
ae8162c8 10845 temp2 = true;
d55e5bfc
RD
10846 }
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 (arg1)->AppendText((wxString const &)*arg2);
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 Py_INCREF(Py_None); resultobj = Py_None;
10855 {
10856 if (temp2)
10857 delete arg2;
10858 }
10859 return resultobj;
10860 fail:
10861 {
10862 if (temp2)
10863 delete arg2;
10864 }
10865 return NULL;
10866}
10867
10868
c32bde28 10869static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10870 PyObject *resultobj = NULL;
d55e5bfc
RD
10871 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10872 wxKeyEvent *arg2 = 0 ;
10873 bool result;
10874 PyObject * obj0 = 0 ;
10875 PyObject * obj1 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self",(char *) "event", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail;
10883 {
10884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10885 if (SWIG_arg_fail(2)) SWIG_fail;
10886 if (arg2 == NULL) {
10887 SWIG_null_ref("wxKeyEvent");
10888 }
10889 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10890 }
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 {
10899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10900 }
10901 return resultobj;
10902 fail:
10903 return NULL;
10904}
10905
10906
c32bde28 10907static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10908 PyObject *resultobj = NULL;
d55e5bfc
RD
10909 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10910 long arg2 ;
10911 long arg3 ;
10912 wxTextAttr *arg4 = 0 ;
10913 bool result;
10914 PyObject * obj0 = 0 ;
10915 PyObject * obj1 = 0 ;
10916 PyObject * obj2 = 0 ;
10917 PyObject * obj3 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail;
10925 {
7449af73 10926 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10927 if (SWIG_arg_fail(2)) SWIG_fail;
10928 }
10929 {
7449af73 10930 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
10931 if (SWIG_arg_fail(3)) SWIG_fail;
10932 }
10933 {
10934 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10935 if (SWIG_arg_fail(4)) SWIG_fail;
10936 if (arg4 == NULL) {
10937 SWIG_null_ref("wxTextAttr");
10938 }
10939 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10940 }
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 {
10949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10950 }
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
c32bde28 10957static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10958 PyObject *resultobj = NULL;
d55e5bfc
RD
10959 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10960 long arg2 ;
10961 wxTextAttr *arg3 = 0 ;
10962 bool result;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 PyObject * obj2 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self",(char *) "position",(char *) "style", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail;
10973 {
7449af73 10974 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10975 if (SWIG_arg_fail(2)) SWIG_fail;
10976 }
10977 {
10978 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10979 if (SWIG_arg_fail(3)) SWIG_fail;
10980 if (arg3 == NULL) {
10981 SWIG_null_ref("wxTextAttr");
10982 }
10983 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10984 }
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 {
10993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10994 }
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
c32bde28 11001static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11002 PyObject *resultobj = NULL;
d55e5bfc
RD
11003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11004 wxTextAttr *arg2 = 0 ;
11005 bool result;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "style", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail;
11015 {
11016 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11017 if (SWIG_arg_fail(2)) SWIG_fail;
11018 if (arg2 == NULL) {
11019 SWIG_null_ref("wxTextAttr");
11020 }
11021 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
11022 }
11023 {
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
11026
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 {
11031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11032 }
11033 return resultobj;
11034 fail:
11035 return NULL;
11036}
11037
11038
c32bde28 11039static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11040 PyObject *resultobj = NULL;
d55e5bfc
RD
11041 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11042 wxTextAttr *result;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
11049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 {
11054 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
11055 result = (wxTextAttr *) &_result_ref;
11056 }
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
11062 return resultobj;
11063 fail:
11064 return NULL;
11065}
11066
11067
c32bde28 11068static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11069 PyObject *resultobj = NULL;
d55e5bfc
RD
11070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11071 long arg2 ;
11072 long arg3 ;
11073 long result;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 PyObject * obj2 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self",(char *) "x",(char *) "y", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11083 if (SWIG_arg_fail(1)) SWIG_fail;
11084 {
7449af73 11085 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11086 if (SWIG_arg_fail(2)) SWIG_fail;
11087 }
11088 {
7449af73 11089 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11090 if (SWIG_arg_fail(3)) SWIG_fail;
11091 }
d55e5bfc
RD
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
093d3ff1 11099 {
7449af73 11100 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11101 }
d55e5bfc
RD
11102 return resultobj;
11103 fail:
11104 return NULL;
11105}
11106
11107
c32bde28 11108static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11109 PyObject *resultobj = NULL;
d55e5bfc
RD
11110 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11111 long arg2 ;
11112 long *arg3 = (long *) 0 ;
11113 long *arg4 = (long *) 0 ;
11114 long temp3 ;
c32bde28 11115 int res3 = 0 ;
d55e5bfc 11116 long temp4 ;
c32bde28 11117 int res4 = 0 ;
d55e5bfc
RD
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self",(char *) "pos", NULL
11122 };
11123
c32bde28
RD
11124 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11125 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail;
11129 {
7449af73 11130 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11131 if (SWIG_arg_fail(2)) SWIG_fail;
11132 }
d55e5bfc
RD
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
11141 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11142 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11143 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11144 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11145 return resultobj;
11146 fail:
11147 return NULL;
11148}
11149
11150
c32bde28 11151static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11152 PyObject *resultobj = NULL;
d55e5bfc
RD
11153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11154 long arg2 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self",(char *) "pos", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail;
11164 {
7449af73 11165 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11166 if (SWIG_arg_fail(2)) SWIG_fail;
11167 }
d55e5bfc
RD
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 (arg1)->ShowPosition(arg2);
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 Py_INCREF(Py_None); resultobj = Py_None;
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
c32bde28 11182static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11183 PyObject *resultobj = NULL;
d55e5bfc
RD
11184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11185 wxPoint *arg2 = 0 ;
11186 long *arg3 = (long *) 0 ;
11187 long *arg4 = (long *) 0 ;
093d3ff1 11188 wxTextCtrlHitTestResult result;
d55e5bfc
RD
11189 wxPoint temp2 ;
11190 long temp3 ;
c32bde28 11191 int res3 = 0 ;
d55e5bfc 11192 long temp4 ;
c32bde28 11193 int res4 = 0 ;
d55e5bfc
RD
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "self",(char *) "pt", NULL
11198 };
11199
c32bde28
RD
11200 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11201 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11205 {
11206 arg2 = &temp2;
11207 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11211 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
093d3ff1 11216 resultobj = SWIG_From_int((result));
c32bde28
RD
11217 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11218 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11219 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11220 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
11221 return resultobj;
11222 fail:
11223 return NULL;
11224}
11225
11226
c32bde28 11227static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11228 PyObject *resultobj = NULL;
4896ac9e
RD
11229 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11230 wxPoint *arg2 = 0 ;
11231 long *arg3 = (long *) 0 ;
093d3ff1 11232 wxTextCtrlHitTestResult result;
4896ac9e
RD
11233 wxPoint temp2 ;
11234 long temp3 ;
c32bde28 11235 int res3 = 0 ;
4896ac9e
RD
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self",(char *) "pt", NULL
11240 };
11241
c32bde28 11242 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11245 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11246 {
11247 arg2 = &temp2;
11248 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11249 }
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11252 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
093d3ff1 11257 resultobj = SWIG_From_int((result));
c32bde28
RD
11258 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11259 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11260 return resultobj;
11261 fail:
11262 return NULL;
11263}
11264
11265
c32bde28 11266static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11267 PyObject *resultobj = NULL;
d55e5bfc
RD
11268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11269 PyObject * obj0 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 (arg1)->Copy();
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 Py_INCREF(Py_None); resultobj = Py_None;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288}
11289
11290
c32bde28 11291static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11292 PyObject *resultobj = NULL;
d55e5bfc
RD
11293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11294 PyObject * obj0 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 (arg1)->Cut();
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 Py_INCREF(Py_None); resultobj = Py_None;
11310 return resultobj;
11311 fail:
11312 return NULL;
11313}
11314
11315
c32bde28 11316static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11317 PyObject *resultobj = NULL;
d55e5bfc
RD
11318 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11319 PyObject * obj0 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "self", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 (arg1)->Paste();
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 Py_INCREF(Py_None); resultobj = Py_None;
11335 return resultobj;
11336 fail:
11337 return NULL;
11338}
11339
11340
c32bde28 11341static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11342 PyObject *resultobj = NULL;
d55e5bfc
RD
11343 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11344 bool result;
11345 PyObject * obj0 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11356
11357 wxPyEndAllowThreads(__tstate);
11358 if (PyErr_Occurred()) SWIG_fail;
11359 }
11360 {
11361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11362 }
11363 return resultobj;
11364 fail:
11365 return NULL;
11366}
11367
11368
c32bde28 11369static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11370 PyObject *resultobj = NULL;
d55e5bfc
RD
11371 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11372 bool result;
11373 PyObject * obj0 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "self", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11380 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
11383 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11384
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 {
11389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11390 }
11391 return resultobj;
11392 fail:
11393 return NULL;
11394}
11395
11396
c32bde28 11397static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11398 PyObject *resultobj = NULL;
d55e5bfc
RD
11399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11400 bool result;
11401 PyObject * obj0 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "self", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 {
11417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11418 }
11419 return resultobj;
11420 fail:
11421 return NULL;
11422}
11423
11424
c32bde28 11425static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11426 PyObject *resultobj = NULL;
d55e5bfc
RD
11427 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11428 PyObject * obj0 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 (arg1)->Undo();
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 Py_INCREF(Py_None); resultobj = Py_None;
11444 return resultobj;
11445 fail:
11446 return NULL;
11447}
11448
11449
c32bde28 11450static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11451 PyObject *resultobj = NULL;
d55e5bfc
RD
11452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11453 PyObject * obj0 = 0 ;
11454 char *kwnames[] = {
11455 (char *) "self", NULL
11456 };
11457
11458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 (arg1)->Redo();
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 Py_INCREF(Py_None); resultobj = Py_None;
11469 return resultobj;
11470 fail:
11471 return NULL;
11472}
11473
11474
c32bde28 11475static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11476 PyObject *resultobj = NULL;
d55e5bfc
RD
11477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11478 bool result;
11479 PyObject * obj0 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 {
11495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11496 }
11497 return resultobj;
11498 fail:
11499 return NULL;
11500}
11501
11502
c32bde28 11503static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11504 PyObject *resultobj = NULL;
d55e5bfc
RD
11505 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11506 bool result;
11507 PyObject * obj0 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 {
11523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11524 }
11525 return resultobj;
11526 fail:
11527 return NULL;
11528}
11529
11530
c32bde28 11531static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11532 PyObject *resultobj = NULL;
d55e5bfc
RD
11533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11534 long arg2 ;
11535 PyObject * obj0 = 0 ;
11536 PyObject * obj1 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "pos", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail;
11544 {
7449af73 11545 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11546 if (SWIG_arg_fail(2)) SWIG_fail;
11547 }
d55e5bfc
RD
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 (arg1)->SetInsertionPoint(arg2);
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 Py_INCREF(Py_None); resultobj = Py_None;
11556 return resultobj;
11557 fail:
11558 return NULL;
11559}
11560
11561
c32bde28 11562static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11563 PyObject *resultobj = NULL;
d55e5bfc
RD
11564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11565 PyObject * obj0 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self", NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 (arg1)->SetInsertionPointEnd();
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 Py_INCREF(Py_None); resultobj = Py_None;
11581 return resultobj;
11582 fail:
11583 return NULL;
11584}
11585
11586
c32bde28 11587static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11588 PyObject *resultobj = NULL;
d55e5bfc
RD
11589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11590 long result;
11591 PyObject * obj0 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
093d3ff1 11606 {
7449af73 11607 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11608 }
d55e5bfc
RD
11609 return resultobj;
11610 fail:
11611 return NULL;
11612}
11613
11614
c32bde28 11615static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11616 PyObject *resultobj = NULL;
d55e5bfc
RD
11617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11618 long result;
11619 PyObject * obj0 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "self", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
093d3ff1 11634 {
7449af73 11635 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 11636 }
d55e5bfc
RD
11637 return resultobj;
11638 fail:
11639 return NULL;
11640}
11641
11642
c32bde28 11643static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11644 PyObject *resultobj = NULL;
d55e5bfc
RD
11645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11646 long arg2 ;
11647 long arg3 ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 PyObject * obj2 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "from",(char *) "to", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail;
11658 {
7449af73 11659 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11660 if (SWIG_arg_fail(2)) SWIG_fail;
11661 }
11662 {
7449af73 11663 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11664 if (SWIG_arg_fail(3)) SWIG_fail;
11665 }
d55e5bfc
RD
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 (arg1)->SetSelection(arg2,arg3);
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 Py_INCREF(Py_None); resultobj = Py_None;
11674 return resultobj;
11675 fail:
11676 return NULL;
11677}
11678
11679
c32bde28 11680static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11681 PyObject *resultobj = NULL;
d55e5bfc
RD
11682 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11683 PyObject * obj0 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 (arg1)->SelectAll();
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 Py_INCREF(Py_None); resultobj = Py_None;
11699 return resultobj;
11700 fail:
11701 return NULL;
11702}
11703
11704
c32bde28 11705static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11706 PyObject *resultobj = NULL;
d55e5bfc
RD
11707 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11708 bool arg2 ;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self",(char *) "editable", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11717 if (SWIG_arg_fail(1)) SWIG_fail;
11718 {
7449af73 11719 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
11720 if (SWIG_arg_fail(2)) SWIG_fail;
11721 }
d55e5bfc
RD
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 (arg1)->SetEditable(arg2);
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 Py_INCREF(Py_None); resultobj = Py_None;
11730 return resultobj;
11731 fail:
11732 return NULL;
11733}
11734
11735
c32bde28 11736static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11737 PyObject *resultobj = NULL;
d55e5bfc 11738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
ae8162c8 11739 bool arg2 = (bool) true ;
d55e5bfc
RD
11740 bool result;
11741 PyObject * obj0 = 0 ;
11742 PyObject * obj1 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self",(char *) "show", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11750 if (obj1) {
093d3ff1 11751 {
7449af73 11752 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
11753 if (SWIG_arg_fail(2)) SWIG_fail;
11754 }
d55e5bfc
RD
11755 }
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (bool)(arg1)->ShowNativeCaret(arg2);
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 {
11764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11765 }
11766 return resultobj;
11767 fail:
11768 return NULL;
11769}
11770
11771
c32bde28 11772static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11773 PyObject *resultobj = NULL;
d55e5bfc
RD
11774 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11775 bool result;
11776 PyObject * obj0 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self", NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
093d3ff1
RD
11782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 result = (bool)(arg1)->HideNativeCaret();
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 {
11792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11793 }
11794 return resultobj;
11795 fail:
11796 return NULL;
11797}
11798
11799
c32bde28 11800static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11801 PyObject *resultobj = NULL;
d55e5bfc
RD
11802 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11803 wxString *arg2 = 0 ;
ae8162c8 11804 bool temp2 = false ;
d55e5bfc
RD
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self",(char *) "text", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11814 {
11815 arg2 = wxString_in_helper(obj1);
11816 if (arg2 == NULL) SWIG_fail;
ae8162c8 11817 temp2 = true;
d55e5bfc
RD
11818 }
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 Py_INCREF(Py_None); resultobj = Py_None;
11827 {
11828 if (temp2)
11829 delete arg2;
11830 }
11831 return resultobj;
11832 fail:
11833 {
11834 if (temp2)
11835 delete arg2;
11836 }
11837 return NULL;
11838}
11839
11840
c32bde28 11841static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11842 PyObject *resultobj = NULL;
d55e5bfc
RD
11843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11844 long arg2 ;
11845 long arg3 ;
11846 wxString result;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 PyObject * obj2 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self",(char *) "from",(char *) "to", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11856 if (SWIG_arg_fail(1)) SWIG_fail;
11857 {
7449af73 11858 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11859 if (SWIG_arg_fail(2)) SWIG_fail;
11860 }
11861 {
7449af73 11862 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11863 if (SWIG_arg_fail(3)) SWIG_fail;
11864 }
d55e5bfc
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 {
11873#if wxUSE_UNICODE
11874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11875#else
11876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11877#endif
11878 }
11879 return resultobj;
11880 fail:
11881 return NULL;
11882}
11883
11884
c32bde28 11885static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11886 PyObject *resultobj = NULL;
093d3ff1 11887 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11888 wxVisualAttributes result;
11889 PyObject * obj0 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "variant", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11895 if (obj0) {
093d3ff1 11896 {
7449af73 11897 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
11898 if (SWIG_arg_fail(1)) SWIG_fail;
11899 }
f20a2e1f
RD
11900 }
11901 {
19272049 11902 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 11904 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
11905
11906 wxPyEndAllowThreads(__tstate);
110da5b0 11907 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11908 }
11909 {
11910 wxVisualAttributes * resultptr;
7449af73 11911 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
11912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11913 }
11914 return resultobj;
11915 fail:
11916 return NULL;
11917}
11918
11919
c32bde28 11920static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11921 PyObject *obj;
11922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11923 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11924 Py_INCREF(obj);
11925 return Py_BuildValue((char *)"");
11926}
c32bde28 11927static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11928 PyObject *resultobj = NULL;
d55e5bfc
RD
11929 int arg1 ;
11930 wxMouseEvent *arg2 = 0 ;
11931 long arg3 ;
11932 long arg4 ;
11933 wxTextUrlEvent *result;
11934 PyObject * obj0 = 0 ;
11935 PyObject * obj1 = 0 ;
11936 PyObject * obj2 = 0 ;
11937 PyObject * obj3 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1 11943 {
7449af73 11944 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11945 if (SWIG_arg_fail(1)) SWIG_fail;
11946 }
11947 {
11948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11949 if (SWIG_arg_fail(2)) SWIG_fail;
11950 if (arg2 == NULL) {
11951 SWIG_null_ref("wxMouseEvent");
11952 }
11953 if (SWIG_arg_fail(2)) SWIG_fail;
11954 }
11955 {
7449af73 11956 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
11957 if (SWIG_arg_fail(3)) SWIG_fail;
11958 }
11959 {
7449af73 11960 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1 11961 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11962 }
d55e5bfc
RD
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11971 return resultobj;
11972 fail:
11973 return NULL;
11974}
11975
11976
c32bde28 11977static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11978 PyObject *resultobj = NULL;
d55e5bfc
RD
11979 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11980 wxMouseEvent *result;
11981 PyObject * obj0 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "self", NULL
11984 };
11985
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 {
11992 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11993 result = (wxMouseEvent *) &_result_ref;
11994 }
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
12000 return resultobj;
12001 fail:
12002 return NULL;
12003}
12004
12005
c32bde28 12006static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12007 PyObject *resultobj = NULL;
d55e5bfc
RD
12008 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12009 long result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
12016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
093d3ff1 12025 {
7449af73 12026 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12027 }
d55e5bfc
RD
12028 return resultobj;
12029 fail:
12030 return NULL;
12031}
12032
12033
c32bde28 12034static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12035 PyObject *resultobj = NULL;
d55e5bfc
RD
12036 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12037 long result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
12044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
093d3ff1 12053 {
7449af73 12054 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12055 }
d55e5bfc
RD
12056 return resultobj;
12057 fail:
12058 return NULL;
12059}
12060
12061
c32bde28 12062static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12063 PyObject *obj;
12064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12065 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
12066 Py_INCREF(obj);
12067 return Py_BuildValue((char *)"");
12068}
c32bde28 12069static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
12070 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
12071 return 1;
12072}
12073
12074
093d3ff1 12075static PyObject *_wrap_ScrollBarNameStr_get(void) {
7449af73 12076 PyObject *pyobj = NULL;
d55e5bfc
RD
12077
12078 {
12079#if wxUSE_UNICODE
12080 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12081#else
12082 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12083#endif
12084 }
12085 return pyobj;
12086}
12087
12088
c32bde28 12089static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12090 PyObject *resultobj = NULL;
d55e5bfc
RD
12091 wxWindow *arg1 = (wxWindow *) 0 ;
12092 int arg2 = (int) -1 ;
12093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12095 wxSize const &arg4_defvalue = wxDefaultSize ;
12096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12097 long arg5 = (long) wxSB_HORIZONTAL ;
12098 wxValidator const &arg6_defvalue = wxDefaultValidator ;
12099 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
12100 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
12101 wxString *arg7 = (wxString *) &arg7_defvalue ;
12102 wxScrollBar *result;
12103 wxPoint temp3 ;
12104 wxSize temp4 ;
ae8162c8 12105 bool temp7 = false ;
d55e5bfc
RD
12106 PyObject * obj0 = 0 ;
12107 PyObject * obj1 = 0 ;
12108 PyObject * obj2 = 0 ;
12109 PyObject * obj3 = 0 ;
12110 PyObject * obj4 = 0 ;
12111 PyObject * obj5 = 0 ;
12112 PyObject * obj6 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12120 if (obj1) {
093d3ff1 12121 {
7449af73 12122 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12123 if (SWIG_arg_fail(2)) SWIG_fail;
12124 }
d55e5bfc
RD
12125 }
12126 if (obj2) {
12127 {
12128 arg3 = &temp3;
12129 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12130 }
12131 }
12132 if (obj3) {
12133 {
12134 arg4 = &temp4;
12135 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12136 }
12137 }
12138 if (obj4) {
093d3ff1 12139 {
7449af73 12140 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12141 if (SWIG_arg_fail(5)) SWIG_fail;
12142 }
d55e5bfc
RD
12143 }
12144 if (obj5) {
093d3ff1
RD
12145 {
12146 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12147 if (SWIG_arg_fail(6)) SWIG_fail;
12148 if (arg6 == NULL) {
12149 SWIG_null_ref("wxValidator");
12150 }
12151 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
12152 }
12153 }
12154 if (obj6) {
12155 {
12156 arg7 = wxString_in_helper(obj6);
12157 if (arg7 == NULL) SWIG_fail;
ae8162c8 12158 temp7 = true;
d55e5bfc
RD
12159 }
12160 }
12161 {
0439c23b 12162 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12165
12166 wxPyEndAllowThreads(__tstate);
110da5b0 12167 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12168 }
12169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12170 {
12171 if (temp7)
12172 delete arg7;
12173 }
12174 return resultobj;
12175 fail:
12176 {
12177 if (temp7)
12178 delete arg7;
12179 }
12180 return NULL;
12181}
12182
12183
c32bde28 12184static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12185 PyObject *resultobj = NULL;
d55e5bfc
RD
12186 wxScrollBar *result;
12187 char *kwnames[] = {
12188 NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12192 {
0439c23b 12193 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = (wxScrollBar *)new wxScrollBar();
12196
12197 wxPyEndAllowThreads(__tstate);
110da5b0 12198 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12199 }
12200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12201 return resultobj;
12202 fail:
12203 return NULL;
12204}
12205
12206
c32bde28 12207static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12208 PyObject *resultobj = NULL;
d55e5bfc
RD
12209 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12210 wxWindow *arg2 = (wxWindow *) 0 ;
12211 int arg3 = (int) -1 ;
12212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12214 wxSize const &arg5_defvalue = wxDefaultSize ;
12215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12216 long arg6 = (long) wxSB_HORIZONTAL ;
12217 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12218 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12219 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12220 wxString *arg8 = (wxString *) &arg8_defvalue ;
12221 bool result;
12222 wxPoint temp4 ;
12223 wxSize temp5 ;
ae8162c8 12224 bool temp8 = false ;
d55e5bfc
RD
12225 PyObject * obj0 = 0 ;
12226 PyObject * obj1 = 0 ;
12227 PyObject * obj2 = 0 ;
12228 PyObject * obj3 = 0 ;
12229 PyObject * obj4 = 0 ;
12230 PyObject * obj5 = 0 ;
12231 PyObject * obj6 = 0 ;
12232 PyObject * obj7 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
12238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail;
12240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12241 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12242 if (obj2) {
093d3ff1 12243 {
7449af73 12244 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12245 if (SWIG_arg_fail(3)) SWIG_fail;
12246 }
d55e5bfc
RD
12247 }
12248 if (obj3) {
12249 {
12250 arg4 = &temp4;
12251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12252 }
12253 }
12254 if (obj4) {
12255 {
12256 arg5 = &temp5;
12257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12258 }
12259 }
12260 if (obj5) {
093d3ff1 12261 {
7449af73 12262 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12263 if (SWIG_arg_fail(6)) SWIG_fail;
12264 }
d55e5bfc
RD
12265 }
12266 if (obj6) {
093d3ff1
RD
12267 {
12268 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12269 if (SWIG_arg_fail(7)) SWIG_fail;
12270 if (arg7 == NULL) {
12271 SWIG_null_ref("wxValidator");
12272 }
12273 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
12274 }
12275 }
12276 if (obj7) {
12277 {
12278 arg8 = wxString_in_helper(obj7);
12279 if (arg8 == NULL) SWIG_fail;
ae8162c8 12280 temp8 = true;
d55e5bfc
RD
12281 }
12282 }
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 {
12291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12292 }
12293 {
12294 if (temp8)
12295 delete arg8;
12296 }
12297 return resultobj;
12298 fail:
12299 {
12300 if (temp8)
12301 delete arg8;
12302 }
12303 return NULL;
12304}
12305
12306
c32bde28 12307static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12308 PyObject *resultobj = NULL;
d55e5bfc
RD
12309 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12310 int result;
12311 PyObject * obj0 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self", NULL
12314 };
12315
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
093d3ff1 12326 {
7449af73 12327 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12328 }
d55e5bfc
RD
12329 return resultobj;
12330 fail:
12331 return NULL;
12332}
12333
12334
c32bde28 12335static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12336 PyObject *resultobj = NULL;
d55e5bfc
RD
12337 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12338 int result;
12339 PyObject * obj0 = 0 ;
12340 char *kwnames[] = {
12341 (char *) "self", NULL
12342 };
12343
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12347 {
12348 PyThreadState* __tstate = wxPyBeginAllowThreads();
12349 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12350
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
093d3ff1 12354 {
7449af73 12355 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12356 }
d55e5bfc
RD
12357 return resultobj;
12358 fail:
12359 return NULL;
12360}
12361
12362
c32bde28 12363static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12364 PyObject *resultobj = NULL;
d55e5bfc
RD
12365 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12366 int result;
12367 PyObject * obj0 = 0 ;
12368 char *kwnames[] = {
12369 (char *) "self", NULL
12370 };
12371
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
093d3ff1 12382 {
7449af73 12383 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12384 }
d55e5bfc
RD
12385 return resultobj;
12386 fail:
12387 return NULL;
12388}
12389
12390
c32bde28 12391static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12392 PyObject *resultobj = NULL;
d55e5bfc
RD
12393 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12394 int result;
12395 PyObject * obj0 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (int)((wxScrollBar const *)arg1)->GetRange();
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
093d3ff1 12410 {
7449af73 12411 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12412 }
d55e5bfc
RD
12413 return resultobj;
12414 fail:
12415 return NULL;
12416}
12417
12418
c32bde28 12419static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12420 PyObject *resultobj = NULL;
d55e5bfc
RD
12421 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12422 bool result;
12423 PyObject * obj0 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "self", NULL
12426 };
12427
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12434
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 {
12439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12440 }
12441 return resultobj;
12442 fail:
12443 return NULL;
12444}
12445
12446
c32bde28 12447static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12448 PyObject *resultobj = NULL;
d55e5bfc
RD
12449 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12450 int arg2 ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self",(char *) "viewStart", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail;
12460 {
7449af73 12461 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12462 if (SWIG_arg_fail(2)) SWIG_fail;
12463 }
d55e5bfc
RD
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 (arg1)->SetThumbPosition(arg2);
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 Py_INCREF(Py_None); resultobj = Py_None;
12472 return resultobj;
12473 fail:
12474 return NULL;
12475}
12476
12477
c32bde28 12478static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12479 PyObject *resultobj = NULL;
d55e5bfc
RD
12480 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12481 int arg2 ;
12482 int arg3 ;
12483 int arg4 ;
12484 int arg5 ;
ae8162c8 12485 bool arg6 = (bool) true ;
d55e5bfc
RD
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 PyObject * obj2 = 0 ;
12489 PyObject * obj3 = 0 ;
12490 PyObject * obj4 = 0 ;
12491 PyObject * obj5 = 0 ;
12492 char *kwnames[] = {
12493 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12494 };
12495
12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12498 if (SWIG_arg_fail(1)) SWIG_fail;
12499 {
7449af73 12500 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12501 if (SWIG_arg_fail(2)) SWIG_fail;
12502 }
12503 {
7449af73 12504 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12505 if (SWIG_arg_fail(3)) SWIG_fail;
12506 }
12507 {
7449af73 12508 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12509 if (SWIG_arg_fail(4)) SWIG_fail;
12510 }
12511 {
7449af73 12512 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
12513 if (SWIG_arg_fail(5)) SWIG_fail;
12514 }
d55e5bfc 12515 if (obj5) {
093d3ff1 12516 {
7449af73 12517 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
12518 if (SWIG_arg_fail(6)) SWIG_fail;
12519 }
d55e5bfc
RD
12520 }
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 Py_INCREF(Py_None); resultobj = Py_None;
12529 return resultobj;
12530 fail:
12531 return NULL;
12532}
12533
12534
c32bde28 12535static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12536 PyObject *resultobj = NULL;
093d3ff1 12537 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12538 wxVisualAttributes result;
12539 PyObject * obj0 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "variant", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12545 if (obj0) {
093d3ff1 12546 {
7449af73 12547 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
12548 if (SWIG_arg_fail(1)) SWIG_fail;
12549 }
f20a2e1f
RD
12550 }
12551 {
19272049 12552 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 12554 result = wxScrollBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
12555
12556 wxPyEndAllowThreads(__tstate);
110da5b0 12557 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12558 }
12559 {
12560 wxVisualAttributes * resultptr;
7449af73 12561 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
12562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12563 }
12564 return resultobj;
12565 fail:
12566 return NULL;
12567}
12568
12569
c32bde28 12570static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12571 PyObject *obj;
12572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12573 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12574 Py_INCREF(obj);
12575 return Py_BuildValue((char *)"");
12576}
c32bde28 12577static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12578 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12579 return 1;
12580}
12581
12582
093d3ff1 12583static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
7449af73 12584 PyObject *pyobj = NULL;
d55e5bfc
RD
12585
12586 {
12587#if wxUSE_UNICODE
12588 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12589#else
12590 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12591#endif
12592 }
12593 return pyobj;
12594}
12595
12596
c32bde28 12597static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12598 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12599 return 1;
12600}
12601
12602
093d3ff1 12603static PyObject *_wrap_SpinCtrlNameStr_get(void) {
7449af73 12604 PyObject *pyobj = NULL;
d55e5bfc
RD
12605
12606 {
12607#if wxUSE_UNICODE
12608 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12609#else
12610 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12611#endif
12612 }
12613 return pyobj;
12614}
12615
12616
c32bde28 12617static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12618 PyObject *resultobj = NULL;
d55e5bfc
RD
12619 wxWindow *arg1 = (wxWindow *) 0 ;
12620 int arg2 = (int) -1 ;
12621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12623 wxSize const &arg4_defvalue = wxDefaultSize ;
12624 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12625 long arg5 = (long) wxSP_HORIZONTAL ;
12626 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12627 wxString *arg6 = (wxString *) &arg6_defvalue ;
12628 wxSpinButton *result;
12629 wxPoint temp3 ;
12630 wxSize temp4 ;
ae8162c8 12631 bool temp6 = false ;
d55e5bfc
RD
12632 PyObject * obj0 = 0 ;
12633 PyObject * obj1 = 0 ;
12634 PyObject * obj2 = 0 ;
12635 PyObject * obj3 = 0 ;
12636 PyObject * obj4 = 0 ;
12637 PyObject * obj5 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12645 if (obj1) {
093d3ff1 12646 {
7449af73 12647 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12648 if (SWIG_arg_fail(2)) SWIG_fail;
12649 }
d55e5bfc
RD
12650 }
12651 if (obj2) {
12652 {
12653 arg3 = &temp3;
12654 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12655 }
12656 }
12657 if (obj3) {
12658 {
12659 arg4 = &temp4;
12660 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12661 }
12662 }
12663 if (obj4) {
093d3ff1 12664 {
7449af73 12665 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12666 if (SWIG_arg_fail(5)) SWIG_fail;
12667 }
d55e5bfc
RD
12668 }
12669 if (obj5) {
12670 {
12671 arg6 = wxString_in_helper(obj5);
12672 if (arg6 == NULL) SWIG_fail;
ae8162c8 12673 temp6 = true;
d55e5bfc
RD
12674 }
12675 }
12676 {
0439c23b 12677 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12680
12681 wxPyEndAllowThreads(__tstate);
110da5b0 12682 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12683 }
12684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12685 {
12686 if (temp6)
12687 delete arg6;
12688 }
12689 return resultobj;
12690 fail:
12691 {
12692 if (temp6)
12693 delete arg6;
12694 }
12695 return NULL;
12696}
12697
12698
c32bde28 12699static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12700 PyObject *resultobj = NULL;
d55e5bfc
RD
12701 wxSpinButton *result;
12702 char *kwnames[] = {
12703 NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12707 {
0439c23b 12708 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12709 PyThreadState* __tstate = wxPyBeginAllowThreads();
12710 result = (wxSpinButton *)new wxSpinButton();
12711
12712 wxPyEndAllowThreads(__tstate);
110da5b0 12713 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12714 }
12715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12716 return resultobj;
12717 fail:
12718 return NULL;
12719}
12720
12721
c32bde28 12722static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12723 PyObject *resultobj = NULL;
d55e5bfc
RD
12724 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12725 wxWindow *arg2 = (wxWindow *) 0 ;
12726 int arg3 = (int) -1 ;
12727 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12728 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12729 wxSize const &arg5_defvalue = wxDefaultSize ;
12730 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12731 long arg6 = (long) wxSP_HORIZONTAL ;
12732 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12733 wxString *arg7 = (wxString *) &arg7_defvalue ;
12734 bool result;
12735 wxPoint temp4 ;
12736 wxSize temp5 ;
ae8162c8 12737 bool temp7 = false ;
d55e5bfc
RD
12738 PyObject * obj0 = 0 ;
12739 PyObject * obj1 = 0 ;
12740 PyObject * obj2 = 0 ;
12741 PyObject * obj3 = 0 ;
12742 PyObject * obj4 = 0 ;
12743 PyObject * obj5 = 0 ;
12744 PyObject * obj6 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail;
12752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12753 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12754 if (obj2) {
093d3ff1 12755 {
7449af73 12756 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12757 if (SWIG_arg_fail(3)) SWIG_fail;
12758 }
d55e5bfc
RD
12759 }
12760 if (obj3) {
12761 {
12762 arg4 = &temp4;
12763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12764 }
12765 }
12766 if (obj4) {
12767 {
12768 arg5 = &temp5;
12769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12770 }
12771 }
12772 if (obj5) {
093d3ff1 12773 {
7449af73 12774 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12775 if (SWIG_arg_fail(6)) SWIG_fail;
12776 }
d55e5bfc
RD
12777 }
12778 if (obj6) {
12779 {
12780 arg7 = wxString_in_helper(obj6);
12781 if (arg7 == NULL) SWIG_fail;
ae8162c8 12782 temp7 = true;
d55e5bfc
RD
12783 }
12784 }
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 {
12793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12794 }
12795 {
12796 if (temp7)
12797 delete arg7;
12798 }
12799 return resultobj;
12800 fail:
12801 {
12802 if (temp7)
12803 delete arg7;
12804 }
12805 return NULL;
12806}
12807
12808
c32bde28 12809static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12810 PyObject *resultobj = NULL;
d55e5bfc
RD
12811 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12812 int result;
12813 PyObject * obj0 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
12823 result = (int)((wxSpinButton const *)arg1)->GetValue();
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
093d3ff1 12828 {
7449af73 12829 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12830 }
d55e5bfc
RD
12831 return resultobj;
12832 fail:
12833 return NULL;
12834}
12835
12836
c32bde28 12837static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12838 PyObject *resultobj = NULL;
d55e5bfc
RD
12839 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12840 int result;
12841 PyObject * obj0 = 0 ;
12842 char *kwnames[] = {
12843 (char *) "self", NULL
12844 };
12845
12846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12848 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 result = (int)((wxSpinButton const *)arg1)->GetMin();
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
093d3ff1 12856 {
7449af73 12857 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12858 }
d55e5bfc
RD
12859 return resultobj;
12860 fail:
12861 return NULL;
12862}
12863
12864
c32bde28 12865static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12866 PyObject *resultobj = NULL;
d55e5bfc
RD
12867 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12868 int result;
12869 PyObject * obj0 = 0 ;
12870 char *kwnames[] = {
12871 (char *) "self", NULL
12872 };
12873
12874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (int)((wxSpinButton const *)arg1)->GetMax();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
093d3ff1 12884 {
7449af73 12885 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12886 }
d55e5bfc
RD
12887 return resultobj;
12888 fail:
12889 return NULL;
12890}
12891
12892
c32bde28 12893static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12894 PyObject *resultobj = NULL;
d55e5bfc
RD
12895 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12896 int arg2 ;
12897 PyObject * obj0 = 0 ;
12898 PyObject * obj1 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self",(char *) "val", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12905 if (SWIG_arg_fail(1)) SWIG_fail;
12906 {
7449af73 12907 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12908 if (SWIG_arg_fail(2)) SWIG_fail;
12909 }
d55e5bfc
RD
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 (arg1)->SetValue(arg2);
12913
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) SWIG_fail;
12916 }
12917 Py_INCREF(Py_None); resultobj = Py_None;
12918 return resultobj;
12919 fail:
12920 return NULL;
12921}
12922
12923
c32bde28 12924static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12925 PyObject *resultobj = NULL;
d55e5bfc
RD
12926 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12927 int arg2 ;
12928 PyObject * obj0 = 0 ;
12929 PyObject * obj1 = 0 ;
12930 char *kwnames[] = {
12931 (char *) "self",(char *) "minVal", NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail;
12937 {
7449af73 12938 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12939 if (SWIG_arg_fail(2)) SWIG_fail;
12940 }
d55e5bfc
RD
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 (arg1)->SetMin(arg2);
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 Py_INCREF(Py_None); resultobj = Py_None;
12949 return resultobj;
12950 fail:
12951 return NULL;
12952}
12953
12954
c32bde28 12955static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12956 PyObject *resultobj = NULL;
d55e5bfc
RD
12957 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12958 int arg2 ;
12959 PyObject * obj0 = 0 ;
12960 PyObject * obj1 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self",(char *) "maxVal", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail;
12968 {
7449af73 12969 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12970 if (SWIG_arg_fail(2)) SWIG_fail;
12971 }
d55e5bfc
RD
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 (arg1)->SetMax(arg2);
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 Py_INCREF(Py_None); resultobj = Py_None;
12980 return resultobj;
12981 fail:
12982 return NULL;
12983}
12984
12985
c32bde28 12986static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12987 PyObject *resultobj = NULL;
d55e5bfc
RD
12988 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12989 int arg2 ;
12990 int arg3 ;
12991 PyObject * obj0 = 0 ;
12992 PyObject * obj1 = 0 ;
12993 PyObject * obj2 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13000 if (SWIG_arg_fail(1)) SWIG_fail;
13001 {
7449af73 13002 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13003 if (SWIG_arg_fail(2)) SWIG_fail;
13004 }
13005 {
7449af73 13006 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13007 if (SWIG_arg_fail(3)) SWIG_fail;
13008 }
d55e5bfc
RD
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 (arg1)->SetRange(arg2,arg3);
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
f20a2e1f
RD
13016 Py_INCREF(Py_None); resultobj = Py_None;
13017 return resultobj;
13018 fail:
13019 return NULL;
13020}
13021
13022
c32bde28 13023static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13024 PyObject *resultobj = NULL;
f20a2e1f
RD
13025 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13026 bool result;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
13033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 {
13043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13044 }
d55e5bfc
RD
13045 return resultobj;
13046 fail:
13047 return NULL;
13048}
13049
13050
c32bde28 13051static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13052 PyObject *resultobj = NULL;
093d3ff1 13053 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 13054 wxVisualAttributes result;
d55e5bfc
RD
13055 PyObject * obj0 = 0 ;
13056 char *kwnames[] = {
f20a2e1f 13057 (char *) "variant", NULL
d55e5bfc
RD
13058 };
13059
f20a2e1f
RD
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13061 if (obj0) {
093d3ff1 13062 {
7449af73 13063 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
13064 if (SWIG_arg_fail(1)) SWIG_fail;
13065 }
f20a2e1f 13066 }
d55e5bfc 13067 {
19272049 13068 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 13070 result = wxSpinButton::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
13071
13072 wxPyEndAllowThreads(__tstate);
110da5b0 13073 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13074 }
13075 {
f20a2e1f 13076 wxVisualAttributes * resultptr;
7449af73 13077 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f 13078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
13079 }
13080 return resultobj;
13081 fail:
13082 return NULL;
13083}
13084
13085
c32bde28 13086static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13087 PyObject *obj;
13088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13089 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
13090 Py_INCREF(obj);
13091 return Py_BuildValue((char *)"");
13092}
c32bde28 13093static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13094 PyObject *resultobj = NULL;
d55e5bfc
RD
13095 wxWindow *arg1 = (wxWindow *) 0 ;
13096 int arg2 = (int) -1 ;
13097 wxString const &arg3_defvalue = wxPyEmptyString ;
13098 wxString *arg3 = (wxString *) &arg3_defvalue ;
13099 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13100 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13101 wxSize const &arg5_defvalue = wxDefaultSize ;
13102 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13103 long arg6 = (long) wxSP_ARROW_KEYS ;
13104 int arg7 = (int) 0 ;
13105 int arg8 = (int) 100 ;
13106 int arg9 = (int) 0 ;
13107 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
13108 wxString *arg10 = (wxString *) &arg10_defvalue ;
13109 wxSpinCtrl *result;
ae8162c8 13110 bool temp3 = false ;
d55e5bfc
RD
13111 wxPoint temp4 ;
13112 wxSize temp5 ;
ae8162c8 13113 bool temp10 = false ;
d55e5bfc
RD
13114 PyObject * obj0 = 0 ;
13115 PyObject * obj1 = 0 ;
13116 PyObject * obj2 = 0 ;
13117 PyObject * obj3 = 0 ;
13118 PyObject * obj4 = 0 ;
13119 PyObject * obj5 = 0 ;
13120 PyObject * obj6 = 0 ;
13121 PyObject * obj7 = 0 ;
13122 PyObject * obj8 = 0 ;
13123 PyObject * obj9 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13131 if (obj1) {
093d3ff1 13132 {
7449af73 13133 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13134 if (SWIG_arg_fail(2)) SWIG_fail;
13135 }
d55e5bfc
RD
13136 }
13137 if (obj2) {
13138 {
13139 arg3 = wxString_in_helper(obj2);
13140 if (arg3 == NULL) SWIG_fail;
ae8162c8 13141 temp3 = true;
d55e5bfc
RD
13142 }
13143 }
13144 if (obj3) {
13145 {
13146 arg4 = &temp4;
13147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13148 }
13149 }
13150 if (obj4) {
13151 {
13152 arg5 = &temp5;
13153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13154 }
13155 }
13156 if (obj5) {
093d3ff1 13157 {
7449af73 13158 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
13159 if (SWIG_arg_fail(6)) SWIG_fail;
13160 }
d55e5bfc
RD
13161 }
13162 if (obj6) {
093d3ff1 13163 {
7449af73 13164 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
13165 if (SWIG_arg_fail(7)) SWIG_fail;
13166 }
d55e5bfc
RD
13167 }
13168 if (obj7) {
093d3ff1 13169 {
7449af73 13170 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
13171 if (SWIG_arg_fail(8)) SWIG_fail;
13172 }
d55e5bfc
RD
13173 }
13174 if (obj8) {
093d3ff1 13175 {
7449af73 13176 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
13177 if (SWIG_arg_fail(9)) SWIG_fail;
13178 }
d55e5bfc
RD
13179 }
13180 if (obj9) {
13181 {
13182 arg10 = wxString_in_helper(obj9);
13183 if (arg10 == NULL) SWIG_fail;
ae8162c8 13184 temp10 = true;
d55e5bfc
RD
13185 }
13186 }
13187 {
0439c23b 13188 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13191
13192 wxPyEndAllowThreads(__tstate);
110da5b0 13193 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13194 }
13195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13196 {
13197 if (temp3)
13198 delete arg3;
13199 }
13200 {
13201 if (temp10)
13202 delete arg10;
13203 }
13204 return resultobj;
13205 fail:
13206 {
13207 if (temp3)
13208 delete arg3;
13209 }
13210 {
13211 if (temp10)
13212 delete arg10;
13213 }
13214 return NULL;
13215}
13216
13217
c32bde28 13218static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13219 PyObject *resultobj = NULL;
d55e5bfc
RD
13220 wxSpinCtrl *result;
13221 char *kwnames[] = {
13222 NULL
13223 };
13224
13225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13226 {
0439c23b 13227 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (wxSpinCtrl *)new wxSpinCtrl();
13230
13231 wxPyEndAllowThreads(__tstate);
110da5b0 13232 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13233 }
13234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13235 return resultobj;
13236 fail:
13237 return NULL;
13238}
13239
13240
c32bde28 13241static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13242 PyObject *resultobj = NULL;
d55e5bfc
RD
13243 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13244 wxWindow *arg2 = (wxWindow *) 0 ;
13245 int arg3 = (int) -1 ;
13246 wxString const &arg4_defvalue = wxPyEmptyString ;
13247 wxString *arg4 = (wxString *) &arg4_defvalue ;
13248 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13249 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13250 wxSize const &arg6_defvalue = wxDefaultSize ;
13251 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13252 long arg7 = (long) wxSP_ARROW_KEYS ;
13253 int arg8 = (int) 0 ;
13254 int arg9 = (int) 100 ;
13255 int arg10 = (int) 0 ;
13256 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13257 wxString *arg11 = (wxString *) &arg11_defvalue ;
13258 bool result;
ae8162c8 13259 bool temp4 = false ;
d55e5bfc
RD
13260 wxPoint temp5 ;
13261 wxSize temp6 ;
ae8162c8 13262 bool temp11 = false ;
d55e5bfc
RD
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 PyObject * obj2 = 0 ;
13266 PyObject * obj3 = 0 ;
13267 PyObject * obj4 = 0 ;
13268 PyObject * obj5 = 0 ;
13269 PyObject * obj6 = 0 ;
13270 PyObject * obj7 = 0 ;
13271 PyObject * obj8 = 0 ;
13272 PyObject * obj9 = 0 ;
13273 PyObject * obj10 = 0 ;
13274 char *kwnames[] = {
13275 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
13279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13280 if (SWIG_arg_fail(1)) SWIG_fail;
13281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13282 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13283 if (obj2) {
093d3ff1 13284 {
7449af73 13285 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13286 if (SWIG_arg_fail(3)) SWIG_fail;
13287 }
d55e5bfc
RD
13288 }
13289 if (obj3) {
13290 {
13291 arg4 = wxString_in_helper(obj3);
13292 if (arg4 == NULL) SWIG_fail;
ae8162c8 13293 temp4 = true;
d55e5bfc
RD
13294 }
13295 }
13296 if (obj4) {
13297 {
13298 arg5 = &temp5;
13299 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13300 }
13301 }
13302 if (obj5) {
13303 {
13304 arg6 = &temp6;
13305 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13306 }
13307 }
13308 if (obj6) {
093d3ff1 13309 {
7449af73 13310 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
13311 if (SWIG_arg_fail(7)) SWIG_fail;
13312 }
d55e5bfc
RD
13313 }
13314 if (obj7) {
093d3ff1 13315 {
7449af73 13316 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
13317 if (SWIG_arg_fail(8)) SWIG_fail;
13318 }
d55e5bfc
RD
13319 }
13320 if (obj8) {
093d3ff1 13321 {
7449af73 13322 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
13323 if (SWIG_arg_fail(9)) SWIG_fail;
13324 }
d55e5bfc
RD
13325 }
13326 if (obj9) {
093d3ff1 13327 {
7449af73 13328 arg10 = static_cast<int >(SWIG_As_int(obj9));
093d3ff1
RD
13329 if (SWIG_arg_fail(10)) SWIG_fail;
13330 }
d55e5bfc
RD
13331 }
13332 if (obj10) {
13333 {
13334 arg11 = wxString_in_helper(obj10);
13335 if (arg11 == NULL) SWIG_fail;
ae8162c8 13336 temp11 = true;
d55e5bfc
RD
13337 }
13338 }
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 {
13347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13348 }
13349 {
13350 if (temp4)
13351 delete arg4;
13352 }
13353 {
13354 if (temp11)
13355 delete arg11;
13356 }
13357 return resultobj;
13358 fail:
13359 {
13360 if (temp4)
13361 delete arg4;
13362 }
13363 {
13364 if (temp11)
13365 delete arg11;
13366 }
13367 return NULL;
13368}
13369
13370
c32bde28 13371static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13372 PyObject *resultobj = NULL;
d55e5bfc
RD
13373 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13374 int result;
13375 PyObject * obj0 = 0 ;
13376 char *kwnames[] = {
13377 (char *) "self", NULL
13378 };
13379
13380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13383 {
13384 PyThreadState* __tstate = wxPyBeginAllowThreads();
13385 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13386
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
093d3ff1 13390 {
7449af73 13391 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13392 }
d55e5bfc
RD
13393 return resultobj;
13394 fail:
13395 return NULL;
13396}
13397
13398
c32bde28 13399static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13400 PyObject *resultobj = NULL;
d55e5bfc
RD
13401 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13402 int arg2 ;
13403 PyObject * obj0 = 0 ;
13404 PyObject * obj1 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "value", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13411 if (SWIG_arg_fail(1)) SWIG_fail;
13412 {
7449af73 13413 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13414 if (SWIG_arg_fail(2)) SWIG_fail;
13415 }
d55e5bfc
RD
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->SetValue(arg2);
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 Py_INCREF(Py_None); resultobj = Py_None;
13424 return resultobj;
13425 fail:
13426 return NULL;
13427}
13428
13429
c32bde28 13430static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13431 PyObject *resultobj = NULL;
d55e5bfc
RD
13432 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13433 wxString *arg2 = 0 ;
ae8162c8 13434 bool temp2 = false ;
d55e5bfc
RD
13435 PyObject * obj0 = 0 ;
13436 PyObject * obj1 = 0 ;
13437 char *kwnames[] = {
13438 (char *) "self",(char *) "text", NULL
13439 };
13440
13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13444 {
13445 arg2 = wxString_in_helper(obj1);
13446 if (arg2 == NULL) SWIG_fail;
ae8162c8 13447 temp2 = true;
d55e5bfc
RD
13448 }
13449 {
13450 PyThreadState* __tstate = wxPyBeginAllowThreads();
13451 (arg1)->SetValue((wxString const &)*arg2);
13452
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 Py_INCREF(Py_None); resultobj = Py_None;
13457 {
13458 if (temp2)
13459 delete arg2;
13460 }
13461 return resultobj;
13462 fail:
13463 {
13464 if (temp2)
13465 delete arg2;
13466 }
13467 return NULL;
13468}
13469
13470
c32bde28 13471static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13472 PyObject *resultobj = NULL;
d55e5bfc
RD
13473 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13474 int arg2 ;
13475 int arg3 ;
13476 PyObject * obj0 = 0 ;
13477 PyObject * obj1 = 0 ;
13478 PyObject * obj2 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail;
13486 {
7449af73 13487 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13488 if (SWIG_arg_fail(2)) SWIG_fail;
13489 }
13490 {
7449af73 13491 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13492 if (SWIG_arg_fail(3)) SWIG_fail;
13493 }
d55e5bfc
RD
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 (arg1)->SetRange(arg2,arg3);
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 Py_INCREF(Py_None); resultobj = Py_None;
13502 return resultobj;
13503 fail:
13504 return NULL;
13505}
13506
13507
c32bde28 13508static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13509 PyObject *resultobj = NULL;
d55e5bfc
RD
13510 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13511 int result;
13512 PyObject * obj0 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
093d3ff1 13527 {
7449af73 13528 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13529 }
d55e5bfc
RD
13530 return resultobj;
13531 fail:
13532 return NULL;
13533}
13534
13535
c32bde28 13536static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13537 PyObject *resultobj = NULL;
d55e5bfc
RD
13538 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13539 int result;
13540 PyObject * obj0 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13547 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
093d3ff1 13555 {
7449af73 13556 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13557 }
d55e5bfc
RD
13558 return resultobj;
13559 fail:
13560 return NULL;
13561}
13562
13563
c32bde28 13564static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13565 PyObject *resultobj = NULL;
d55e5bfc
RD
13566 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13567 long arg2 ;
13568 long arg3 ;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 PyObject * obj2 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "from",(char *) "to", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail;
13579 {
7449af73 13580 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
13581 if (SWIG_arg_fail(2)) SWIG_fail;
13582 }
13583 {
7449af73 13584 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
13585 if (SWIG_arg_fail(3)) SWIG_fail;
13586 }
d55e5bfc
RD
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 (arg1)->SetSelection(arg2,arg3);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 Py_INCREF(Py_None); resultobj = Py_None;
13595 return resultobj;
13596 fail:
13597 return NULL;
13598}
13599
13600
c32bde28 13601static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13602 PyObject *resultobj = NULL;
093d3ff1 13603 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13604 wxVisualAttributes result;
13605 PyObject * obj0 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "variant", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13611 if (obj0) {
093d3ff1 13612 {
7449af73 13613 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
13614 if (SWIG_arg_fail(1)) SWIG_fail;
13615 }
f20a2e1f
RD
13616 }
13617 {
19272049 13618 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 13620 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
13621
13622 wxPyEndAllowThreads(__tstate);
110da5b0 13623 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13624 }
13625 {
13626 wxVisualAttributes * resultptr;
7449af73 13627 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
13628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13629 }
13630 return resultobj;
13631 fail:
13632 return NULL;
13633}
13634
13635
c32bde28 13636static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13637 PyObject *obj;
13638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13639 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13640 Py_INCREF(obj);
13641 return Py_BuildValue((char *)"");
13642}
c32bde28 13643static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13644 PyObject *resultobj = NULL;
d55e5bfc
RD
13645 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13646 int arg2 = (int) 0 ;
13647 wxSpinEvent *result;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "commandType",(char *) "winid", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13655 if (obj0) {
093d3ff1 13656 {
7449af73 13657 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
13658 if (SWIG_arg_fail(1)) SWIG_fail;
13659 }
d55e5bfc
RD
13660 }
13661 if (obj1) {
093d3ff1 13662 {
7449af73 13663 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13664 if (SWIG_arg_fail(2)) SWIG_fail;
13665 }
d55e5bfc
RD
13666 }
13667 {
13668 PyThreadState* __tstate = wxPyBeginAllowThreads();
13669 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13670
13671 wxPyEndAllowThreads(__tstate);
13672 if (PyErr_Occurred()) SWIG_fail;
13673 }
13674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13675 return resultobj;
13676 fail:
13677 return NULL;
13678}
13679
13680
c32bde28 13681static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13682 PyObject *resultobj = NULL;
d55e5bfc
RD
13683 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13684 int result;
13685 PyObject * obj0 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
093d3ff1 13700 {
7449af73 13701 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13702 }
d55e5bfc
RD
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
c32bde28 13709static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13710 PyObject *resultobj = NULL;
d55e5bfc
RD
13711 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13712 int arg2 ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj1 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "pos", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail;
13722 {
7449af73 13723 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13724 if (SWIG_arg_fail(2)) SWIG_fail;
13725 }
d55e5bfc
RD
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->SetPosition(arg2);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737}
13738
13739
c32bde28 13740static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13741 PyObject *obj;
13742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13743 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13744 Py_INCREF(obj);
13745 return Py_BuildValue((char *)"");
13746}
c32bde28 13747static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13748 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13749 return 1;
13750}
13751
13752
093d3ff1 13753static PyObject *_wrap_RadioBoxNameStr_get(void) {
7449af73 13754 PyObject *pyobj = NULL;
d55e5bfc
RD
13755
13756 {
13757#if wxUSE_UNICODE
13758 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13759#else
13760 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13761#endif
13762 }
13763 return pyobj;
13764}
13765
13766
c32bde28 13767static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13768 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13769 return 1;
13770}
13771
13772
093d3ff1 13773static PyObject *_wrap_RadioButtonNameStr_get(void) {
7449af73 13774 PyObject *pyobj = NULL;
d55e5bfc
RD
13775
13776 {
13777#if wxUSE_UNICODE
13778 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13779#else
13780 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13781#endif
13782 }
13783 return pyobj;
13784}
13785
13786
c32bde28 13787static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13788 PyObject *resultobj = NULL;
d55e5bfc 13789 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13790 int arg2 = (int) -1 ;
13791 wxString const &arg3_defvalue = wxPyEmptyString ;
13792 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13793 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13794 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13795 wxSize const &arg5_defvalue = wxDefaultSize ;
13796 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13797 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13798 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13799 int arg7 = (int) 0 ;
13800 long arg8 = (long) wxRA_HORIZONTAL ;
13801 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13802 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13803 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13804 wxString *arg10 = (wxString *) &arg10_defvalue ;
13805 wxRadioBox *result;
ae8162c8 13806 bool temp3 = false ;
d55e5bfc
RD
13807 wxPoint temp4 ;
13808 wxSize temp5 ;
ae8162c8
RD
13809 bool temp6 = false ;
13810 bool temp10 = false ;
d55e5bfc
RD
13811 PyObject * obj0 = 0 ;
13812 PyObject * obj1 = 0 ;
13813 PyObject * obj2 = 0 ;
13814 PyObject * obj3 = 0 ;
13815 PyObject * obj4 = 0 ;
13816 PyObject * obj5 = 0 ;
13817 PyObject * obj6 = 0 ;
13818 PyObject * obj7 = 0 ;
13819 PyObject * obj8 = 0 ;
13820 PyObject * obj9 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13823 };
13824
248ed943 13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
13826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13828 if (obj1) {
093d3ff1 13829 {
7449af73 13830 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13831 if (SWIG_arg_fail(2)) SWIG_fail;
13832 }
248ed943
RD
13833 }
13834 if (obj2) {
13835 {
13836 arg3 = wxString_in_helper(obj2);
13837 if (arg3 == NULL) SWIG_fail;
ae8162c8 13838 temp3 = true;
248ed943 13839 }
d55e5bfc
RD
13840 }
13841 if (obj3) {
13842 {
13843 arg4 = &temp4;
13844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13845 }
13846 }
13847 if (obj4) {
13848 {
13849 arg5 = &temp5;
13850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13851 }
13852 }
13853 if (obj5) {
13854 {
13855 if (! PySequence_Check(obj5)) {
13856 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13857 SWIG_fail;
13858 }
13859 arg6 = new wxArrayString;
ae8162c8 13860 temp6 = true;
d55e5bfc
RD
13861 int i, len=PySequence_Length(obj5);
13862 for (i=0; i<len; i++) {
13863 PyObject* item = PySequence_GetItem(obj5, i);
71237536 13864 wxString* s = wxString_in_helper(item);
d55e5bfc 13865 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13866 arg6->Add(*s);
13867 delete s;
d55e5bfc 13868 Py_DECREF(item);
d55e5bfc
RD
13869 }
13870 }
13871 }
13872 if (obj6) {
093d3ff1 13873 {
7449af73 13874 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
13875 if (SWIG_arg_fail(7)) SWIG_fail;
13876 }
d55e5bfc
RD
13877 }
13878 if (obj7) {
093d3ff1 13879 {
7449af73 13880 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
13881 if (SWIG_arg_fail(8)) SWIG_fail;
13882 }
d55e5bfc
RD
13883 }
13884 if (obj8) {
093d3ff1
RD
13885 {
13886 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13887 if (SWIG_arg_fail(9)) SWIG_fail;
13888 if (arg9 == NULL) {
13889 SWIG_null_ref("wxValidator");
13890 }
13891 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13892 }
13893 }
13894 if (obj9) {
13895 {
13896 arg10 = wxString_in_helper(obj9);
13897 if (arg10 == NULL) SWIG_fail;
ae8162c8 13898 temp10 = true;
d55e5bfc
RD
13899 }
13900 }
13901 {
0439c23b 13902 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 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);
13905
13906 wxPyEndAllowThreads(__tstate);
110da5b0 13907 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13908 }
13909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13910 {
13911 if (temp3)
13912 delete arg3;
13913 }
13914 {
13915 if (temp6) delete arg6;
13916 }
13917 {
13918 if (temp10)
13919 delete arg10;
13920 }
13921 return resultobj;
13922 fail:
13923 {
13924 if (temp3)
13925 delete arg3;
13926 }
13927 {
13928 if (temp6) delete arg6;
13929 }
13930 {
13931 if (temp10)
13932 delete arg10;
13933 }
13934 return NULL;
13935}
13936
13937
c32bde28 13938static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13939 PyObject *resultobj = NULL;
d55e5bfc
RD
13940 wxRadioBox *result;
13941 char *kwnames[] = {
13942 NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13946 {
0439c23b 13947 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (wxRadioBox *)new wxRadioBox();
13950
13951 wxPyEndAllowThreads(__tstate);
110da5b0 13952 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13953 }
13954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13955 return resultobj;
13956 fail:
13957 return NULL;
13958}
13959
13960
c32bde28 13961static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13962 PyObject *resultobj = NULL;
d55e5bfc
RD
13963 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13964 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13965 int arg3 = (int) -1 ;
13966 wxString const &arg4_defvalue = wxPyEmptyString ;
13967 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13970 wxSize const &arg6_defvalue = wxDefaultSize ;
13971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13972 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13973 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13974 int arg8 = (int) 0 ;
13975 long arg9 = (long) wxRA_HORIZONTAL ;
13976 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13977 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13978 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13979 wxString *arg11 = (wxString *) &arg11_defvalue ;
13980 bool result;
ae8162c8 13981 bool temp4 = false ;
d55e5bfc
RD
13982 wxPoint temp5 ;
13983 wxSize temp6 ;
ae8162c8
RD
13984 bool temp7 = false ;
13985 bool temp11 = false ;
d55e5bfc
RD
13986 PyObject * obj0 = 0 ;
13987 PyObject * obj1 = 0 ;
13988 PyObject * obj2 = 0 ;
13989 PyObject * obj3 = 0 ;
13990 PyObject * obj4 = 0 ;
13991 PyObject * obj5 = 0 ;
13992 PyObject * obj6 = 0 ;
13993 PyObject * obj7 = 0 ;
13994 PyObject * obj8 = 0 ;
13995 PyObject * obj9 = 0 ;
13996 PyObject * obj10 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13999 };
14000
248ed943 14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
14002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14003 if (SWIG_arg_fail(1)) SWIG_fail;
14004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14005 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14006 if (obj2) {
093d3ff1 14007 {
7449af73 14008 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14009 if (SWIG_arg_fail(3)) SWIG_fail;
14010 }
248ed943
RD
14011 }
14012 if (obj3) {
14013 {
14014 arg4 = wxString_in_helper(obj3);
14015 if (arg4 == NULL) SWIG_fail;
ae8162c8 14016 temp4 = true;
248ed943 14017 }
d55e5bfc
RD
14018 }
14019 if (obj4) {
14020 {
14021 arg5 = &temp5;
14022 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14023 }
14024 }
14025 if (obj5) {
14026 {
14027 arg6 = &temp6;
14028 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14029 }
14030 }
14031 if (obj6) {
14032 {
14033 if (! PySequence_Check(obj6)) {
14034 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14035 SWIG_fail;
14036 }
14037 arg7 = new wxArrayString;
ae8162c8 14038 temp7 = true;
d55e5bfc
RD
14039 int i, len=PySequence_Length(obj6);
14040 for (i=0; i<len; i++) {
14041 PyObject* item = PySequence_GetItem(obj6, i);
71237536 14042 wxString* s = wxString_in_helper(item);
d55e5bfc 14043 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
14044 arg7->Add(*s);
14045 delete s;
d55e5bfc 14046 Py_DECREF(item);
d55e5bfc
RD
14047 }
14048 }
14049 }
14050 if (obj7) {
093d3ff1 14051 {
7449af73 14052 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
14053 if (SWIG_arg_fail(8)) SWIG_fail;
14054 }
d55e5bfc
RD
14055 }
14056 if (obj8) {
093d3ff1 14057 {
7449af73 14058 arg9 = static_cast<long >(SWIG_As_long(obj8));
093d3ff1
RD
14059 if (SWIG_arg_fail(9)) SWIG_fail;
14060 }
d55e5bfc
RD
14061 }
14062 if (obj9) {
093d3ff1
RD
14063 {
14064 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14065 if (SWIG_arg_fail(10)) SWIG_fail;
14066 if (arg10 == NULL) {
14067 SWIG_null_ref("wxValidator");
14068 }
14069 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
14070 }
14071 }
14072 if (obj10) {
14073 {
14074 arg11 = wxString_in_helper(obj10);
14075 if (arg11 == NULL) SWIG_fail;
ae8162c8 14076 temp11 = true;
d55e5bfc
RD
14077 }
14078 }
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 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);
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14088 }
14089 {
14090 if (temp4)
14091 delete arg4;
14092 }
14093 {
14094 if (temp7) delete arg7;
14095 }
14096 {
14097 if (temp11)
14098 delete arg11;
14099 }
14100 return resultobj;
14101 fail:
14102 {
14103 if (temp4)
14104 delete arg4;
14105 }
14106 {
14107 if (temp7) delete arg7;
14108 }
14109 {
14110 if (temp11)
14111 delete arg11;
14112 }
14113 return NULL;
14114}
14115
14116
c32bde28 14117static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14118 PyObject *resultobj = NULL;
d55e5bfc
RD
14119 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14120 int arg2 ;
14121 PyObject * obj0 = 0 ;
14122 PyObject * obj1 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self",(char *) "n", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14129 if (SWIG_arg_fail(1)) SWIG_fail;
14130 {
7449af73 14131 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14132 if (SWIG_arg_fail(2)) SWIG_fail;
14133 }
d55e5bfc
RD
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 (arg1)->SetSelection(arg2);
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 Py_INCREF(Py_None); resultobj = Py_None;
14142 return resultobj;
14143 fail:
14144 return NULL;
14145}
14146
14147
c32bde28 14148static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14149 PyObject *resultobj = NULL;
d55e5bfc
RD
14150 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14151 int result;
14152 PyObject * obj0 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
093d3ff1 14167 {
7449af73 14168 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14169 }
d55e5bfc
RD
14170 return resultobj;
14171 fail:
14172 return NULL;
14173}
14174
14175
c32bde28 14176static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14177 PyObject *resultobj = NULL;
d55e5bfc
RD
14178 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14179 wxString result;
14180 PyObject * obj0 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 {
14196#if wxUSE_UNICODE
14197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14198#else
14199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14200#endif
14201 }
14202 return resultobj;
14203 fail:
14204 return NULL;
14205}
14206
14207
c32bde28 14208static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14209 PyObject *resultobj = NULL;
d55e5bfc
RD
14210 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14211 wxString *arg2 = 0 ;
14212 bool result;
ae8162c8 14213 bool temp2 = false ;
d55e5bfc
RD
14214 PyObject * obj0 = 0 ;
14215 PyObject * obj1 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self",(char *) "s", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14223 {
14224 arg2 = wxString_in_helper(obj1);
14225 if (arg2 == NULL) SWIG_fail;
ae8162c8 14226 temp2 = true;
d55e5bfc
RD
14227 }
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14231
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 {
14236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14237 }
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return NULL;
14249}
14250
14251
c32bde28 14252static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14253 PyObject *resultobj = NULL;
d55e5bfc
RD
14254 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14255 int result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (int)((wxRadioBox const *)arg1)->GetCount();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
093d3ff1 14271 {
7449af73 14272 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14273 }
d55e5bfc
RD
14274 return resultobj;
14275 fail:
14276 return NULL;
14277}
14278
14279
c32bde28 14280static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14281 PyObject *resultobj = NULL;
d55e5bfc
RD
14282 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14283 wxString *arg2 = 0 ;
14284 int result;
ae8162c8 14285 bool temp2 = false ;
d55e5bfc
RD
14286 PyObject * obj0 = 0 ;
14287 PyObject * obj1 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self",(char *) "s", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14295 {
14296 arg2 = wxString_in_helper(obj1);
14297 if (arg2 == NULL) SWIG_fail;
ae8162c8 14298 temp2 = true;
d55e5bfc
RD
14299 }
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
093d3ff1 14307 {
7449af73 14308 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14309 }
d55e5bfc
RD
14310 {
14311 if (temp2)
14312 delete arg2;
14313 }
14314 return resultobj;
14315 fail:
14316 {
14317 if (temp2)
14318 delete arg2;
14319 }
14320 return NULL;
14321}
14322
14323
c32bde28 14324static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14325 PyObject *resultobj = NULL;
d55e5bfc
RD
14326 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14327 int arg2 ;
14328 wxString result;
14329 PyObject * obj0 = 0 ;
14330 PyObject * obj1 = 0 ;
14331 char *kwnames[] = {
14332 (char *) "self",(char *) "n", NULL
14333 };
14334
14335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14337 if (SWIG_arg_fail(1)) SWIG_fail;
14338 {
7449af73 14339 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14340 if (SWIG_arg_fail(2)) SWIG_fail;
14341 }
d55e5bfc
RD
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 {
14350#if wxUSE_UNICODE
14351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14352#else
14353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14354#endif
14355 }
14356 return resultobj;
14357 fail:
14358 return NULL;
14359}
14360
14361
c32bde28 14362static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14363 PyObject *resultobj = NULL;
d55e5bfc
RD
14364 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14365 int arg2 ;
14366 wxString *arg3 = 0 ;
ae8162c8 14367 bool temp3 = false ;
d55e5bfc
RD
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj1 = 0 ;
14370 PyObject * obj2 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self",(char *) "n",(char *) "label", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14377 if (SWIG_arg_fail(1)) SWIG_fail;
14378 {
7449af73 14379 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14380 if (SWIG_arg_fail(2)) SWIG_fail;
14381 }
d55e5bfc
RD
14382 {
14383 arg3 = wxString_in_helper(obj2);
14384 if (arg3 == NULL) SWIG_fail;
ae8162c8 14385 temp3 = true;
d55e5bfc
RD
14386 }
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 (arg1)->SetString(arg2,(wxString const &)*arg3);
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 Py_INCREF(Py_None); resultobj = Py_None;
14395 {
14396 if (temp3)
14397 delete arg3;
14398 }
14399 return resultobj;
14400 fail:
14401 {
14402 if (temp3)
14403 delete arg3;
14404 }
14405 return NULL;
14406}
14407
14408
c32bde28 14409static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14410 PyObject *resultobj = NULL;
d55e5bfc
RD
14411 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14412 int arg2 ;
ae8162c8 14413 bool arg3 = (bool) true ;
d55e5bfc
RD
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 PyObject * obj2 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self",(char *) "n",(char *) "enable", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail;
14424 {
7449af73 14425 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14426 if (SWIG_arg_fail(2)) SWIG_fail;
14427 }
d55e5bfc 14428 if (obj2) {
093d3ff1 14429 {
7449af73 14430 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
14431 if (SWIG_arg_fail(3)) SWIG_fail;
14432 }
d55e5bfc
RD
14433 }
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 (arg1)->Enable(arg2,arg3);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 return resultobj;
14443 fail:
14444 return NULL;
14445}
14446
14447
c32bde28 14448static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14449 PyObject *resultobj = NULL;
d55e5bfc
RD
14450 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14451 int arg2 ;
ae8162c8 14452 bool arg3 = (bool) true ;
d55e5bfc
RD
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 PyObject * obj2 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "n",(char *) "show", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14462 if (SWIG_arg_fail(1)) SWIG_fail;
14463 {
7449af73 14464 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14465 if (SWIG_arg_fail(2)) SWIG_fail;
14466 }
d55e5bfc 14467 if (obj2) {
093d3ff1 14468 {
7449af73 14469 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
14470 if (SWIG_arg_fail(3)) SWIG_fail;
14471 }
d55e5bfc
RD
14472 }
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 (arg1)->Show(arg2,arg3);
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 Py_INCREF(Py_None); resultobj = Py_None;
14481 return resultobj;
14482 fail:
14483 return NULL;
14484}
14485
14486
c32bde28 14487static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14488 PyObject *resultobj = NULL;
d55e5bfc
RD
14489 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14490 int result;
14491 PyObject * obj0 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14498 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
093d3ff1 14506 {
7449af73 14507 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14508 }
d55e5bfc
RD
14509 return resultobj;
14510 fail:
14511 return NULL;
14512}
14513
14514
c32bde28 14515static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14516 PyObject *resultobj = NULL;
d55e5bfc
RD
14517 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14518 int result;
14519 PyObject * obj0 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
093d3ff1 14534 {
7449af73 14535 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14536 }
d55e5bfc
RD
14537 return resultobj;
14538 fail:
14539 return NULL;
14540}
14541
14542
c32bde28 14543static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14544 PyObject *resultobj = NULL;
d55e5bfc
RD
14545 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14546 int arg2 ;
093d3ff1 14547 wxDirection arg3 ;
d55e5bfc
RD
14548 long arg4 ;
14549 int result;
14550 PyObject * obj0 = 0 ;
14551 PyObject * obj1 = 0 ;
14552 PyObject * obj2 = 0 ;
14553 PyObject * obj3 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail;
14561 {
7449af73 14562 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14563 if (SWIG_arg_fail(2)) SWIG_fail;
14564 }
14565 {
7449af73 14566 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
093d3ff1
RD
14567 if (SWIG_arg_fail(3)) SWIG_fail;
14568 }
14569 {
7449af73 14570 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
14571 if (SWIG_arg_fail(4)) SWIG_fail;
14572 }
d55e5bfc
RD
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 14575 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
d55e5bfc
RD
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
093d3ff1 14580 {
7449af73 14581 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14582 }
d55e5bfc
RD
14583 return resultobj;
14584 fail:
14585 return NULL;
14586}
14587
14588
c32bde28 14589static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14590 PyObject *resultobj = NULL;
093d3ff1 14591 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14592 wxVisualAttributes result;
14593 PyObject * obj0 = 0 ;
14594 char *kwnames[] = {
14595 (char *) "variant", NULL
14596 };
14597
14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14599 if (obj0) {
093d3ff1 14600 {
7449af73 14601 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
14602 if (SWIG_arg_fail(1)) SWIG_fail;
14603 }
f20a2e1f
RD
14604 }
14605 {
19272049 14606 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 14608 result = wxRadioBox::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
14609
14610 wxPyEndAllowThreads(__tstate);
110da5b0 14611 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14612 }
14613 {
14614 wxVisualAttributes * resultptr;
7449af73 14615 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
14616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14617 }
14618 return resultobj;
14619 fail:
14620 return NULL;
14621}
14622
14623
c32bde28 14624static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14625 PyObject *obj;
14626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14627 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14628 Py_INCREF(obj);
14629 return Py_BuildValue((char *)"");
14630}
c32bde28 14631static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14632 PyObject *resultobj = NULL;
d55e5bfc 14633 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14634 int arg2 = (int) -1 ;
14635 wxString const &arg3_defvalue = wxPyEmptyString ;
14636 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14639 wxSize const &arg5_defvalue = wxDefaultSize ;
14640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14641 long arg6 = (long) 0 ;
14642 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14643 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14644 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14645 wxString *arg8 = (wxString *) &arg8_defvalue ;
14646 wxRadioButton *result;
ae8162c8 14647 bool temp3 = false ;
d55e5bfc
RD
14648 wxPoint temp4 ;
14649 wxSize temp5 ;
ae8162c8 14650 bool temp8 = false ;
d55e5bfc
RD
14651 PyObject * obj0 = 0 ;
14652 PyObject * obj1 = 0 ;
14653 PyObject * obj2 = 0 ;
14654 PyObject * obj3 = 0 ;
14655 PyObject * obj4 = 0 ;
14656 PyObject * obj5 = 0 ;
14657 PyObject * obj6 = 0 ;
14658 PyObject * obj7 = 0 ;
14659 char *kwnames[] = {
14660 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14661 };
14662
248ed943 14663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14665 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14666 if (obj1) {
093d3ff1 14667 {
7449af73 14668 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14669 if (SWIG_arg_fail(2)) SWIG_fail;
14670 }
248ed943
RD
14671 }
14672 if (obj2) {
14673 {
14674 arg3 = wxString_in_helper(obj2);
14675 if (arg3 == NULL) SWIG_fail;
ae8162c8 14676 temp3 = true;
248ed943 14677 }
d55e5bfc
RD
14678 }
14679 if (obj3) {
14680 {
14681 arg4 = &temp4;
14682 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14683 }
14684 }
14685 if (obj4) {
14686 {
14687 arg5 = &temp5;
14688 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14689 }
14690 }
14691 if (obj5) {
093d3ff1 14692 {
7449af73 14693 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
14694 if (SWIG_arg_fail(6)) SWIG_fail;
14695 }
d55e5bfc
RD
14696 }
14697 if (obj6) {
093d3ff1
RD
14698 {
14699 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14700 if (SWIG_arg_fail(7)) SWIG_fail;
14701 if (arg7 == NULL) {
14702 SWIG_null_ref("wxValidator");
14703 }
14704 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14705 }
14706 }
14707 if (obj7) {
14708 {
14709 arg8 = wxString_in_helper(obj7);
14710 if (arg8 == NULL) SWIG_fail;
ae8162c8 14711 temp8 = true;
d55e5bfc
RD
14712 }
14713 }
14714 {
0439c23b 14715 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14718
14719 wxPyEndAllowThreads(__tstate);
110da5b0 14720 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14721 }
14722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14723 {
14724 if (temp3)
14725 delete arg3;
14726 }
14727 {
14728 if (temp8)
14729 delete arg8;
14730 }
14731 return resultobj;
14732 fail:
14733 {
14734 if (temp3)
14735 delete arg3;
14736 }
14737 {
14738 if (temp8)
14739 delete arg8;
14740 }
14741 return NULL;
14742}
14743
14744
c32bde28 14745static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14746 PyObject *resultobj = NULL;
d55e5bfc
RD
14747 wxRadioButton *result;
14748 char *kwnames[] = {
14749 NULL
14750 };
14751
14752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14753 {
0439c23b 14754 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 result = (wxRadioButton *)new wxRadioButton();
14757
14758 wxPyEndAllowThreads(__tstate);
110da5b0 14759 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14760 }
14761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14762 return resultobj;
14763 fail:
14764 return NULL;
14765}
14766
14767
c32bde28 14768static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14769 PyObject *resultobj = NULL;
d55e5bfc
RD
14770 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14771 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14772 int arg3 = (int) -1 ;
14773 wxString const &arg4_defvalue = wxPyEmptyString ;
14774 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14775 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14776 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14777 wxSize const &arg6_defvalue = wxDefaultSize ;
14778 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14779 long arg7 = (long) 0 ;
14780 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14781 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14782 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14783 wxString *arg9 = (wxString *) &arg9_defvalue ;
14784 bool result;
ae8162c8 14785 bool temp4 = false ;
d55e5bfc
RD
14786 wxPoint temp5 ;
14787 wxSize temp6 ;
ae8162c8 14788 bool temp9 = false ;
d55e5bfc
RD
14789 PyObject * obj0 = 0 ;
14790 PyObject * obj1 = 0 ;
14791 PyObject * obj2 = 0 ;
14792 PyObject * obj3 = 0 ;
14793 PyObject * obj4 = 0 ;
14794 PyObject * obj5 = 0 ;
14795 PyObject * obj6 = 0 ;
14796 PyObject * obj7 = 0 ;
14797 PyObject * obj8 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14800 };
14801
248ed943 14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail;
14805 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14806 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14807 if (obj2) {
093d3ff1 14808 {
7449af73 14809 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14810 if (SWIG_arg_fail(3)) SWIG_fail;
14811 }
248ed943
RD
14812 }
14813 if (obj3) {
14814 {
14815 arg4 = wxString_in_helper(obj3);
14816 if (arg4 == NULL) SWIG_fail;
ae8162c8 14817 temp4 = true;
248ed943 14818 }
d55e5bfc
RD
14819 }
14820 if (obj4) {
14821 {
14822 arg5 = &temp5;
14823 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14824 }
14825 }
14826 if (obj5) {
14827 {
14828 arg6 = &temp6;
14829 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14830 }
14831 }
14832 if (obj6) {
093d3ff1 14833 {
7449af73 14834 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
14835 if (SWIG_arg_fail(7)) SWIG_fail;
14836 }
d55e5bfc
RD
14837 }
14838 if (obj7) {
093d3ff1
RD
14839 {
14840 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14841 if (SWIG_arg_fail(8)) SWIG_fail;
14842 if (arg8 == NULL) {
14843 SWIG_null_ref("wxValidator");
14844 }
14845 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14846 }
14847 }
14848 if (obj8) {
14849 {
14850 arg9 = wxString_in_helper(obj8);
14851 if (arg9 == NULL) SWIG_fail;
ae8162c8 14852 temp9 = true;
d55e5bfc
RD
14853 }
14854 }
14855 {
14856 PyThreadState* __tstate = wxPyBeginAllowThreads();
14857 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14858
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 {
14863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14864 }
14865 {
14866 if (temp4)
14867 delete arg4;
14868 }
14869 {
14870 if (temp9)
14871 delete arg9;
14872 }
14873 return resultobj;
14874 fail:
14875 {
14876 if (temp4)
14877 delete arg4;
14878 }
14879 {
14880 if (temp9)
14881 delete arg9;
14882 }
14883 return NULL;
14884}
14885
14886
c32bde28 14887static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14888 PyObject *resultobj = NULL;
d55e5bfc
RD
14889 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14890 bool result;
14891 PyObject * obj0 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (bool)(arg1)->GetValue();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14908 }
14909 return resultobj;
14910 fail:
14911 return NULL;
14912}
14913
14914
c32bde28 14915static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14916 PyObject *resultobj = NULL;
d55e5bfc
RD
14917 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14918 bool arg2 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self",(char *) "value", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail;
14928 {
7449af73 14929 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
14930 if (SWIG_arg_fail(2)) SWIG_fail;
14931 }
d55e5bfc
RD
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 (arg1)->SetValue(arg2);
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 Py_INCREF(Py_None); resultobj = Py_None;
14940 return resultobj;
14941 fail:
14942 return NULL;
14943}
14944
14945
c32bde28 14946static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14947 PyObject *resultobj = NULL;
093d3ff1 14948 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14949 wxVisualAttributes result;
14950 PyObject * obj0 = 0 ;
14951 char *kwnames[] = {
14952 (char *) "variant", NULL
14953 };
14954
14955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14956 if (obj0) {
093d3ff1 14957 {
7449af73 14958 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
14959 if (SWIG_arg_fail(1)) SWIG_fail;
14960 }
f20a2e1f
RD
14961 }
14962 {
19272049 14963 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 14965 result = wxRadioButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
14966
14967 wxPyEndAllowThreads(__tstate);
110da5b0 14968 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14969 }
14970 {
14971 wxVisualAttributes * resultptr;
7449af73 14972 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
14973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14974 }
14975 return resultobj;
14976 fail:
14977 return NULL;
14978}
14979
14980
c32bde28 14981static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14982 PyObject *obj;
14983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14984 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14985 Py_INCREF(obj);
14986 return Py_BuildValue((char *)"");
14987}
c32bde28 14988static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14989 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14990 return 1;
14991}
14992
14993
093d3ff1 14994static PyObject *_wrap_SliderNameStr_get(void) {
7449af73 14995 PyObject *pyobj = NULL;
d55e5bfc
RD
14996
14997 {
14998#if wxUSE_UNICODE
14999 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15000#else
15001 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15002#endif
15003 }
15004 return pyobj;
15005}
15006
15007
c32bde28 15008static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15009 PyObject *resultobj = NULL;
d55e5bfc 15010 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15011 int arg2 = (int) -1 ;
15012 int arg3 = (int) 0 ;
15013 int arg4 = (int) 0 ;
15014 int arg5 = (int) 100 ;
d55e5bfc
RD
15015 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15016 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15017 wxSize const &arg7_defvalue = wxDefaultSize ;
15018 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
15019 long arg8 = (long) wxSL_HORIZONTAL ;
15020 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15021 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15022 wxString const &arg10_defvalue = wxPySliderNameStr ;
15023 wxString *arg10 = (wxString *) &arg10_defvalue ;
15024 wxSlider *result;
15025 wxPoint temp6 ;
15026 wxSize temp7 ;
ae8162c8 15027 bool temp10 = false ;
d55e5bfc
RD
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 PyObject * obj2 = 0 ;
15031 PyObject * obj3 = 0 ;
15032 PyObject * obj4 = 0 ;
15033 PyObject * obj5 = 0 ;
15034 PyObject * obj6 = 0 ;
15035 PyObject * obj7 = 0 ;
15036 PyObject * obj8 = 0 ;
15037 PyObject * obj9 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15040 };
15041
248ed943 15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
15043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15045 if (obj1) {
093d3ff1 15046 {
7449af73 15047 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15048 if (SWIG_arg_fail(2)) SWIG_fail;
15049 }
248ed943
RD
15050 }
15051 if (obj2) {
093d3ff1 15052 {
7449af73 15053 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15054 if (SWIG_arg_fail(3)) SWIG_fail;
15055 }
248ed943
RD
15056 }
15057 if (obj3) {
093d3ff1 15058 {
7449af73 15059 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15060 if (SWIG_arg_fail(4)) SWIG_fail;
15061 }
248ed943
RD
15062 }
15063 if (obj4) {
093d3ff1 15064 {
7449af73 15065 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15066 if (SWIG_arg_fail(5)) SWIG_fail;
15067 }
248ed943 15068 }
d55e5bfc
RD
15069 if (obj5) {
15070 {
15071 arg6 = &temp6;
15072 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15073 }
15074 }
15075 if (obj6) {
15076 {
15077 arg7 = &temp7;
15078 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
15079 }
15080 }
15081 if (obj7) {
093d3ff1 15082 {
7449af73 15083 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
15084 if (SWIG_arg_fail(8)) SWIG_fail;
15085 }
d55e5bfc
RD
15086 }
15087 if (obj8) {
093d3ff1
RD
15088 {
15089 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15090 if (SWIG_arg_fail(9)) SWIG_fail;
15091 if (arg9 == NULL) {
15092 SWIG_null_ref("wxValidator");
15093 }
15094 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
15095 }
15096 }
15097 if (obj9) {
15098 {
15099 arg10 = wxString_in_helper(obj9);
15100 if (arg10 == NULL) SWIG_fail;
ae8162c8 15101 temp10 = true;
d55e5bfc
RD
15102 }
15103 }
15104 {
0439c23b 15105 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15108
15109 wxPyEndAllowThreads(__tstate);
110da5b0 15110 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15111 }
15112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15113 {
15114 if (temp10)
15115 delete arg10;
15116 }
15117 return resultobj;
15118 fail:
15119 {
15120 if (temp10)
15121 delete arg10;
15122 }
15123 return NULL;
15124}
15125
15126
c32bde28 15127static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15128 PyObject *resultobj = NULL;
d55e5bfc
RD
15129 wxSlider *result;
15130 char *kwnames[] = {
15131 NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15135 {
0439c23b 15136 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (wxSlider *)new wxSlider();
15139
15140 wxPyEndAllowThreads(__tstate);
110da5b0 15141 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15142 }
15143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15144 return resultobj;
15145 fail:
15146 return NULL;
15147}
15148
15149
c32bde28 15150static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15151 PyObject *resultobj = NULL;
d55e5bfc
RD
15152 wxSlider *arg1 = (wxSlider *) 0 ;
15153 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15154 int arg3 = (int) -1 ;
15155 int arg4 = (int) 0 ;
15156 int arg5 = (int) 0 ;
15157 int arg6 = (int) 100 ;
d55e5bfc
RD
15158 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15159 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15160 wxSize const &arg8_defvalue = wxDefaultSize ;
15161 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15162 long arg9 = (long) wxSL_HORIZONTAL ;
15163 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15164 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15165 wxString const &arg11_defvalue = wxPySliderNameStr ;
15166 wxString *arg11 = (wxString *) &arg11_defvalue ;
15167 bool result;
15168 wxPoint temp7 ;
15169 wxSize temp8 ;
ae8162c8 15170 bool temp11 = false ;
d55e5bfc
RD
15171 PyObject * obj0 = 0 ;
15172 PyObject * obj1 = 0 ;
15173 PyObject * obj2 = 0 ;
15174 PyObject * obj3 = 0 ;
15175 PyObject * obj4 = 0 ;
15176 PyObject * obj5 = 0 ;
15177 PyObject * obj6 = 0 ;
15178 PyObject * obj7 = 0 ;
15179 PyObject * obj8 = 0 ;
15180 PyObject * obj9 = 0 ;
15181 PyObject * obj10 = 0 ;
15182 char *kwnames[] = {
15183 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15184 };
15185
248ed943 15186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
093d3ff1
RD
15187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15188 if (SWIG_arg_fail(1)) SWIG_fail;
15189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15190 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15191 if (obj2) {
093d3ff1 15192 {
7449af73 15193 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15194 if (SWIG_arg_fail(3)) SWIG_fail;
15195 }
248ed943
RD
15196 }
15197 if (obj3) {
093d3ff1 15198 {
7449af73 15199 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15200 if (SWIG_arg_fail(4)) SWIG_fail;
15201 }
248ed943
RD
15202 }
15203 if (obj4) {
093d3ff1 15204 {
7449af73 15205 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15206 if (SWIG_arg_fail(5)) SWIG_fail;
15207 }
248ed943
RD
15208 }
15209 if (obj5) {
093d3ff1 15210 {
7449af73 15211 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
15212 if (SWIG_arg_fail(6)) SWIG_fail;
15213 }
248ed943 15214 }
d55e5bfc
RD
15215 if (obj6) {
15216 {
15217 arg7 = &temp7;
15218 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15219 }
15220 }
15221 if (obj7) {
15222 {
15223 arg8 = &temp8;
15224 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15225 }
15226 }
15227 if (obj8) {
093d3ff1 15228 {
7449af73 15229 arg9 = static_cast<long >(SWIG_As_long(obj8));
093d3ff1
RD
15230 if (SWIG_arg_fail(9)) SWIG_fail;
15231 }
d55e5bfc
RD
15232 }
15233 if (obj9) {
093d3ff1
RD
15234 {
15235 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15236 if (SWIG_arg_fail(10)) SWIG_fail;
15237 if (arg10 == NULL) {
15238 SWIG_null_ref("wxValidator");
15239 }
15240 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
15241 }
15242 }
15243 if (obj10) {
15244 {
15245 arg11 = wxString_in_helper(obj10);
15246 if (arg11 == NULL) SWIG_fail;
ae8162c8 15247 temp11 = true;
d55e5bfc
RD
15248 }
15249 }
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 {
15258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15259 }
15260 {
15261 if (temp11)
15262 delete arg11;
15263 }
15264 return resultobj;
15265 fail:
15266 {
15267 if (temp11)
15268 delete arg11;
15269 }
15270 return NULL;
15271}
15272
15273
c32bde28 15274static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15275 PyObject *resultobj = NULL;
d55e5bfc
RD
15276 wxSlider *arg1 = (wxSlider *) 0 ;
15277 int result;
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (int)((wxSlider const *)arg1)->GetValue();
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
093d3ff1 15293 {
7449af73 15294 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15295 }
d55e5bfc
RD
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
c32bde28 15302static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15303 PyObject *resultobj = NULL;
d55e5bfc
RD
15304 wxSlider *arg1 = (wxSlider *) 0 ;
15305 int arg2 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self",(char *) "value", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15314 if (SWIG_arg_fail(1)) SWIG_fail;
15315 {
7449af73 15316 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15317 if (SWIG_arg_fail(2)) SWIG_fail;
15318 }
d55e5bfc
RD
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 (arg1)->SetValue(arg2);
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 Py_INCREF(Py_None); resultobj = Py_None;
15327 return resultobj;
15328 fail:
15329 return NULL;
15330}
15331
15332
c32bde28 15333static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15334 PyObject *resultobj = NULL;
d55e5bfc
RD
15335 wxSlider *arg1 = (wxSlider *) 0 ;
15336 int arg2 ;
15337 int arg3 ;
15338 PyObject * obj0 = 0 ;
15339 PyObject * obj1 = 0 ;
15340 PyObject * obj2 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail;
15348 {
7449af73 15349 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15350 if (SWIG_arg_fail(2)) SWIG_fail;
15351 }
15352 {
7449af73 15353 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15354 if (SWIG_arg_fail(3)) SWIG_fail;
15355 }
d55e5bfc
RD
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 (arg1)->SetRange(arg2,arg3);
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 Py_INCREF(Py_None); resultobj = Py_None;
15364 return resultobj;
15365 fail:
15366 return NULL;
15367}
15368
15369
c32bde28 15370static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15371 PyObject *resultobj = NULL;
d55e5bfc
RD
15372 wxSlider *arg1 = (wxSlider *) 0 ;
15373 int result;
15374 PyObject * obj0 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "self", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 result = (int)((wxSlider const *)arg1)->GetMin();
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
093d3ff1 15389 {
7449af73 15390 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15391 }
d55e5bfc
RD
15392 return resultobj;
15393 fail:
15394 return NULL;
15395}
15396
15397
c32bde28 15398static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15399 PyObject *resultobj = NULL;
d55e5bfc
RD
15400 wxSlider *arg1 = (wxSlider *) 0 ;
15401 int result;
15402 PyObject * obj0 = 0 ;
15403 char *kwnames[] = {
15404 (char *) "self", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 result = (int)((wxSlider const *)arg1)->GetMax();
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
093d3ff1 15417 {
7449af73 15418 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15419 }
d55e5bfc
RD
15420 return resultobj;
15421 fail:
15422 return NULL;
15423}
15424
15425
c32bde28 15426static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15427 PyObject *resultobj = NULL;
d55e5bfc
RD
15428 wxSlider *arg1 = (wxSlider *) 0 ;
15429 int arg2 ;
15430 PyObject * obj0 = 0 ;
15431 PyObject * obj1 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "minValue", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail;
15439 {
7449af73 15440 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15441 if (SWIG_arg_fail(2)) SWIG_fail;
15442 }
d55e5bfc
RD
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->SetMin(arg2);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 return resultobj;
15452 fail:
15453 return NULL;
15454}
15455
15456
c32bde28 15457static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15458 PyObject *resultobj = NULL;
d55e5bfc
RD
15459 wxSlider *arg1 = (wxSlider *) 0 ;
15460 int arg2 ;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self",(char *) "maxValue", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15469 if (SWIG_arg_fail(1)) SWIG_fail;
15470 {
7449af73 15471 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15472 if (SWIG_arg_fail(2)) SWIG_fail;
15473 }
d55e5bfc
RD
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 (arg1)->SetMax(arg2);
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 Py_INCREF(Py_None); resultobj = Py_None;
15482 return resultobj;
15483 fail:
15484 return NULL;
15485}
15486
15487
c32bde28 15488static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15489 PyObject *resultobj = NULL;
d55e5bfc
RD
15490 wxSlider *arg1 = (wxSlider *) 0 ;
15491 int arg2 ;
15492 PyObject * obj0 = 0 ;
15493 PyObject * obj1 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self",(char *) "lineSize", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15500 if (SWIG_arg_fail(1)) SWIG_fail;
15501 {
7449af73 15502 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15503 if (SWIG_arg_fail(2)) SWIG_fail;
15504 }
d55e5bfc
RD
15505 {
15506 PyThreadState* __tstate = wxPyBeginAllowThreads();
15507 (arg1)->SetLineSize(arg2);
15508
15509 wxPyEndAllowThreads(__tstate);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 }
15512 Py_INCREF(Py_None); resultobj = Py_None;
15513 return resultobj;
15514 fail:
15515 return NULL;
15516}
15517
15518
c32bde28 15519static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15520 PyObject *resultobj = NULL;
d55e5bfc
RD
15521 wxSlider *arg1 = (wxSlider *) 0 ;
15522 int arg2 ;
15523 PyObject * obj0 = 0 ;
15524 PyObject * obj1 = 0 ;
15525 char *kwnames[] = {
15526 (char *) "self",(char *) "pageSize", NULL
15527 };
15528
15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15531 if (SWIG_arg_fail(1)) SWIG_fail;
15532 {
7449af73 15533 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15534 if (SWIG_arg_fail(2)) SWIG_fail;
15535 }
d55e5bfc
RD
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 (arg1)->SetPageSize(arg2);
15539
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 Py_INCREF(Py_None); resultobj = Py_None;
15544 return resultobj;
15545 fail:
15546 return NULL;
15547}
15548
15549
c32bde28 15550static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15551 PyObject *resultobj = NULL;
d55e5bfc
RD
15552 wxSlider *arg1 = (wxSlider *) 0 ;
15553 int result;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (int)((wxSlider const *)arg1)->GetLineSize();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
093d3ff1 15569 {
7449af73 15570 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15571 }
d55e5bfc
RD
15572 return resultobj;
15573 fail:
15574 return NULL;
15575}
15576
15577
c32bde28 15578static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15579 PyObject *resultobj = NULL;
d55e5bfc
RD
15580 wxSlider *arg1 = (wxSlider *) 0 ;
15581 int result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (int)((wxSlider const *)arg1)->GetPageSize();
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
093d3ff1 15597 {
7449af73 15598 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15599 }
d55e5bfc
RD
15600 return resultobj;
15601 fail:
15602 return NULL;
15603}
15604
15605
c32bde28 15606static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15607 PyObject *resultobj = NULL;
d55e5bfc
RD
15608 wxSlider *arg1 = (wxSlider *) 0 ;
15609 int arg2 ;
15610 PyObject * obj0 = 0 ;
15611 PyObject * obj1 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self",(char *) "lenPixels", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15618 if (SWIG_arg_fail(1)) SWIG_fail;
15619 {
7449af73 15620 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15621 if (SWIG_arg_fail(2)) SWIG_fail;
15622 }
d55e5bfc
RD
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 (arg1)->SetThumbLength(arg2);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 Py_INCREF(Py_None); resultobj = Py_None;
15631 return resultobj;
15632 fail:
15633 return NULL;
15634}
15635
15636
c32bde28 15637static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15638 PyObject *resultobj = NULL;
d55e5bfc
RD
15639 wxSlider *arg1 = (wxSlider *) 0 ;
15640 int result;
15641 PyObject * obj0 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15649 {
15650 PyThreadState* __tstate = wxPyBeginAllowThreads();
15651 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15652
15653 wxPyEndAllowThreads(__tstate);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
093d3ff1 15656 {
7449af73 15657 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15658 }
d55e5bfc
RD
15659 return resultobj;
15660 fail:
15661 return NULL;
15662}
15663
15664
c32bde28 15665static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15666 PyObject *resultobj = NULL;
d55e5bfc
RD
15667 wxSlider *arg1 = (wxSlider *) 0 ;
15668 int arg2 ;
15669 int arg3 = (int) 1 ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 PyObject * obj2 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self",(char *) "n",(char *) "pos", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail;
15680 {
7449af73 15681 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15682 if (SWIG_arg_fail(2)) SWIG_fail;
15683 }
d55e5bfc 15684 if (obj2) {
093d3ff1 15685 {
7449af73 15686 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15687 if (SWIG_arg_fail(3)) SWIG_fail;
15688 }
d55e5bfc
RD
15689 }
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 (arg1)->SetTickFreq(arg2,arg3);
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 Py_INCREF(Py_None); resultobj = Py_None;
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
c32bde28 15704static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15705 PyObject *resultobj = NULL;
d55e5bfc
RD
15706 wxSlider *arg1 = (wxSlider *) 0 ;
15707 int result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
093d3ff1 15723 {
7449af73 15724 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15725 }
d55e5bfc
RD
15726 return resultobj;
15727 fail:
15728 return NULL;
15729}
15730
15731
c32bde28 15732static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15733 PyObject *resultobj = NULL;
d55e5bfc
RD
15734 wxSlider *arg1 = (wxSlider *) 0 ;
15735 PyObject * obj0 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 (arg1)->ClearTicks();
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 Py_INCREF(Py_None); resultobj = Py_None;
15751 return resultobj;
15752 fail:
15753 return NULL;
15754}
15755
15756
c32bde28 15757static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15758 PyObject *resultobj = NULL;
d55e5bfc
RD
15759 wxSlider *arg1 = (wxSlider *) 0 ;
15760 int arg2 ;
15761 PyObject * obj0 = 0 ;
15762 PyObject * obj1 = 0 ;
15763 char *kwnames[] = {
15764 (char *) "self",(char *) "tickPos", NULL
15765 };
15766
15767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15769 if (SWIG_arg_fail(1)) SWIG_fail;
15770 {
7449af73 15771 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15772 if (SWIG_arg_fail(2)) SWIG_fail;
15773 }
d55e5bfc
RD
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 (arg1)->SetTick(arg2);
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 Py_INCREF(Py_None); resultobj = Py_None;
15782 return resultobj;
15783 fail:
15784 return NULL;
15785}
15786
15787
c32bde28 15788static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15789 PyObject *resultobj = NULL;
d55e5bfc
RD
15790 wxSlider *arg1 = (wxSlider *) 0 ;
15791 PyObject * obj0 = 0 ;
15792 char *kwnames[] = {
15793 (char *) "self", NULL
15794 };
15795
15796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->ClearSel();
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 return resultobj;
15808 fail:
15809 return NULL;
15810}
15811
15812
c32bde28 15813static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15814 PyObject *resultobj = NULL;
d55e5bfc
RD
15815 wxSlider *arg1 = (wxSlider *) 0 ;
15816 int result;
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15828
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
093d3ff1 15832 {
7449af73 15833 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15834 }
d55e5bfc
RD
15835 return resultobj;
15836 fail:
15837 return NULL;
15838}
15839
15840
c32bde28 15841static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15842 PyObject *resultobj = NULL;
d55e5bfc
RD
15843 wxSlider *arg1 = (wxSlider *) 0 ;
15844 int result;
15845 PyObject * obj0 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 result = (int)((wxSlider const *)arg1)->GetSelStart();
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
093d3ff1 15860 {
7449af73 15861 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15862 }
d55e5bfc
RD
15863 return resultobj;
15864 fail:
15865 return NULL;
15866}
15867
15868
c32bde28 15869static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15870 PyObject *resultobj = NULL;
d55e5bfc
RD
15871 wxSlider *arg1 = (wxSlider *) 0 ;
15872 int arg2 ;
15873 int arg3 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 PyObject * obj2 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self",(char *) "min",(char *) "max", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15883 if (SWIG_arg_fail(1)) SWIG_fail;
15884 {
7449af73 15885 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15886 if (SWIG_arg_fail(2)) SWIG_fail;
15887 }
15888 {
7449af73 15889 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15890 if (SWIG_arg_fail(3)) SWIG_fail;
15891 }
d55e5bfc
RD
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 (arg1)->SetSelection(arg2,arg3);
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 Py_INCREF(Py_None); resultobj = Py_None;
15900 return resultobj;
15901 fail:
15902 return NULL;
15903}
15904
15905
c32bde28 15906static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15907 PyObject *resultobj = NULL;
093d3ff1 15908 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15909 wxVisualAttributes result;
15910 PyObject * obj0 = 0 ;
15911 char *kwnames[] = {
15912 (char *) "variant", NULL
15913 };
15914
15915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15916 if (obj0) {
093d3ff1 15917 {
7449af73 15918 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
15919 if (SWIG_arg_fail(1)) SWIG_fail;
15920 }
f20a2e1f
RD
15921 }
15922 {
19272049 15923 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 15925 result = wxSlider::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
15926
15927 wxPyEndAllowThreads(__tstate);
110da5b0 15928 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15929 }
15930 {
15931 wxVisualAttributes * resultptr;
7449af73 15932 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
15933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15934 }
15935 return resultobj;
15936 fail:
15937 return NULL;
15938}
15939
15940
c32bde28 15941static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15942 PyObject *obj;
15943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15944 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15945 Py_INCREF(obj);
15946 return Py_BuildValue((char *)"");
15947}
c32bde28 15948static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15949 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15950 return 1;
15951}
15952
15953
093d3ff1 15954static PyObject *_wrap_ToggleButtonNameStr_get(void) {
7449af73 15955 PyObject *pyobj = NULL;
d55e5bfc
RD
15956
15957 {
15958#if wxUSE_UNICODE
15959 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15960#else
15961 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15962#endif
15963 }
15964 return pyobj;
15965}
15966
15967
c32bde28 15968static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15969 PyObject *resultobj = NULL;
d55e5bfc 15970 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15971 int arg2 = (int) -1 ;
15972 wxString const &arg3_defvalue = wxPyEmptyString ;
15973 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15974 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15975 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15976 wxSize const &arg5_defvalue = wxDefaultSize ;
15977 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15978 long arg6 = (long) 0 ;
15979 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15980 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15981 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15982 wxString *arg8 = (wxString *) &arg8_defvalue ;
15983 wxToggleButton *result;
ae8162c8 15984 bool temp3 = false ;
d55e5bfc
RD
15985 wxPoint temp4 ;
15986 wxSize temp5 ;
ae8162c8 15987 bool temp8 = false ;
d55e5bfc
RD
15988 PyObject * obj0 = 0 ;
15989 PyObject * obj1 = 0 ;
15990 PyObject * obj2 = 0 ;
15991 PyObject * obj3 = 0 ;
15992 PyObject * obj4 = 0 ;
15993 PyObject * obj5 = 0 ;
15994 PyObject * obj6 = 0 ;
15995 PyObject * obj7 = 0 ;
15996 char *kwnames[] = {
15997 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15998 };
15999
248ed943 16000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16002 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16003 if (obj1) {
093d3ff1 16004 {
7449af73 16005 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16006 if (SWIG_arg_fail(2)) SWIG_fail;
16007 }
248ed943
RD
16008 }
16009 if (obj2) {
16010 {
16011 arg3 = wxString_in_helper(obj2);
16012 if (arg3 == NULL) SWIG_fail;
ae8162c8 16013 temp3 = true;
248ed943 16014 }
d55e5bfc
RD
16015 }
16016 if (obj3) {
16017 {
16018 arg4 = &temp4;
16019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16020 }
16021 }
16022 if (obj4) {
16023 {
16024 arg5 = &temp5;
16025 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16026 }
16027 }
16028 if (obj5) {
093d3ff1 16029 {
7449af73 16030 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
16031 if (SWIG_arg_fail(6)) SWIG_fail;
16032 }
d55e5bfc
RD
16033 }
16034 if (obj6) {
093d3ff1
RD
16035 {
16036 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16037 if (SWIG_arg_fail(7)) SWIG_fail;
16038 if (arg7 == NULL) {
16039 SWIG_null_ref("wxValidator");
16040 }
16041 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
16042 }
16043 }
16044 if (obj7) {
16045 {
16046 arg8 = wxString_in_helper(obj7);
16047 if (arg8 == NULL) SWIG_fail;
ae8162c8 16048 temp8 = true;
d55e5bfc
RD
16049 }
16050 }
16051 {
0439c23b 16052 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16055
16056 wxPyEndAllowThreads(__tstate);
110da5b0 16057 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16058 }
16059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16060 {
16061 if (temp3)
16062 delete arg3;
16063 }
16064 {
16065 if (temp8)
16066 delete arg8;
16067 }
16068 return resultobj;
16069 fail:
16070 {
16071 if (temp3)
16072 delete arg3;
16073 }
16074 {
16075 if (temp8)
16076 delete arg8;
16077 }
16078 return NULL;
16079}
16080
16081
c32bde28 16082static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16083 PyObject *resultobj = NULL;
d55e5bfc
RD
16084 wxToggleButton *result;
16085 char *kwnames[] = {
16086 NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
16090 {
0439c23b 16091 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = (wxToggleButton *)new wxToggleButton();
16094
16095 wxPyEndAllowThreads(__tstate);
110da5b0 16096 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16097 }
16098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16099 return resultobj;
16100 fail:
16101 return NULL;
16102}
16103
16104
c32bde28 16105static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16106 PyObject *resultobj = NULL;
d55e5bfc
RD
16107 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16108 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16109 int arg3 = (int) -1 ;
16110 wxString const &arg4_defvalue = wxPyEmptyString ;
16111 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
16112 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16113 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16114 wxSize const &arg6_defvalue = wxDefaultSize ;
16115 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16116 long arg7 = (long) 0 ;
16117 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16118 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16119 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16120 wxString *arg9 = (wxString *) &arg9_defvalue ;
16121 bool result;
ae8162c8 16122 bool temp4 = false ;
d55e5bfc
RD
16123 wxPoint temp5 ;
16124 wxSize temp6 ;
ae8162c8 16125 bool temp9 = false ;
d55e5bfc
RD
16126 PyObject * obj0 = 0 ;
16127 PyObject * obj1 = 0 ;
16128 PyObject * obj2 = 0 ;
16129 PyObject * obj3 = 0 ;
16130 PyObject * obj4 = 0 ;
16131 PyObject * obj5 = 0 ;
16132 PyObject * obj6 = 0 ;
16133 PyObject * obj7 = 0 ;
16134 PyObject * obj8 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16137 };
16138
248ed943 16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
16140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail;
16142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16143 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16144 if (obj2) {
093d3ff1 16145 {
7449af73 16146 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16147 if (SWIG_arg_fail(3)) SWIG_fail;
16148 }
248ed943
RD
16149 }
16150 if (obj3) {
16151 {
16152 arg4 = wxString_in_helper(obj3);
16153 if (arg4 == NULL) SWIG_fail;
ae8162c8 16154 temp4 = true;
248ed943 16155 }
d55e5bfc
RD
16156 }
16157 if (obj4) {
16158 {
16159 arg5 = &temp5;
16160 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16161 }
16162 }
16163 if (obj5) {
16164 {
16165 arg6 = &temp6;
16166 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16167 }
16168 }
16169 if (obj6) {
093d3ff1 16170 {
7449af73 16171 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
16172 if (SWIG_arg_fail(7)) SWIG_fail;
16173 }
d55e5bfc
RD
16174 }
16175 if (obj7) {
093d3ff1
RD
16176 {
16177 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16178 if (SWIG_arg_fail(8)) SWIG_fail;
16179 if (arg8 == NULL) {
16180 SWIG_null_ref("wxValidator");
16181 }
16182 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
16183 }
16184 }
16185 if (obj8) {
16186 {
16187 arg9 = wxString_in_helper(obj8);
16188 if (arg9 == NULL) SWIG_fail;
ae8162c8 16189 temp9 = true;
d55e5bfc
RD
16190 }
16191 }
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 {
16200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16201 }
16202 {
16203 if (temp4)
16204 delete arg4;
16205 }
16206 {
16207 if (temp9)
16208 delete arg9;
16209 }
16210 return resultobj;
16211 fail:
16212 {
16213 if (temp4)
16214 delete arg4;
16215 }
16216 {
16217 if (temp9)
16218 delete arg9;
16219 }
16220 return NULL;
16221}
16222
16223
c32bde28 16224static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16225 PyObject *resultobj = NULL;
d55e5bfc
RD
16226 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16227 bool arg2 ;
16228 PyObject * obj0 = 0 ;
16229 PyObject * obj1 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self",(char *) "value", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail;
16237 {
7449af73 16238 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
16239 if (SWIG_arg_fail(2)) SWIG_fail;
16240 }
d55e5bfc
RD
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 (arg1)->SetValue(arg2);
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 Py_INCREF(Py_None); resultobj = Py_None;
16249 return resultobj;
16250 fail:
16251 return NULL;
16252}
16253
16254
c32bde28 16255static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16256 PyObject *resultobj = NULL;
d55e5bfc
RD
16257 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16258 bool result;
16259 PyObject * obj0 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
16265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 {
16275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16276 }
16277 return resultobj;
16278 fail:
16279 return NULL;
16280}
16281
16282
c32bde28 16283static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16284 PyObject *resultobj = NULL;
d55e5bfc
RD
16285 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16286 wxString *arg2 = 0 ;
ae8162c8 16287 bool temp2 = false ;
d55e5bfc
RD
16288 PyObject * obj0 = 0 ;
16289 PyObject * obj1 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self",(char *) "label", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16297 {
16298 arg2 = wxString_in_helper(obj1);
16299 if (arg2 == NULL) SWIG_fail;
ae8162c8 16300 temp2 = true;
d55e5bfc
RD
16301 }
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 (arg1)->SetLabel((wxString const &)*arg2);
16305
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 Py_INCREF(Py_None); resultobj = Py_None;
16310 {
16311 if (temp2)
16312 delete arg2;
16313 }
16314 return resultobj;
16315 fail:
16316 {
16317 if (temp2)
16318 delete arg2;
16319 }
16320 return NULL;
16321}
16322
16323
c32bde28 16324static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16325 PyObject *resultobj = NULL;
093d3ff1 16326 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16327 wxVisualAttributes result;
16328 PyObject * obj0 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "variant", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16334 if (obj0) {
093d3ff1 16335 {
7449af73 16336 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
16337 if (SWIG_arg_fail(1)) SWIG_fail;
16338 }
f20a2e1f
RD
16339 }
16340 {
19272049 16341 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 16343 result = wxToggleButton::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
16344
16345 wxPyEndAllowThreads(__tstate);
110da5b0 16346 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16347 }
16348 {
16349 wxVisualAttributes * resultptr;
7449af73 16350 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
16351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16352 }
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
c32bde28 16359static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16360 PyObject *obj;
16361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16362 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16363 Py_INCREF(obj);
16364 return Py_BuildValue((char *)"");
16365}
51b83b37
RD
16366static int _wrap_NotebookNameStr_set(PyObject *) {
16367 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16368 return 1;
16369}
16370
16371
51b83b37 16372static PyObject *_wrap_NotebookNameStr_get(void) {
7449af73 16373 PyObject *pyobj = NULL;
d55e5bfc
RD
16374
16375 {
16376#if wxUSE_UNICODE
51b83b37 16377 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16378#else
51b83b37 16379 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16380#endif
16381 }
16382 return pyobj;
16383}
16384
16385
8ac8dba0 16386static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16387 PyObject *resultobj = NULL;
8ac8dba0 16388 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16389 size_t result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
8ac8dba0 16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16397 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16400 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
093d3ff1 16405 {
7449af73 16406 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 16407 }
d55e5bfc
RD
16408 return resultobj;
16409 fail:
16410 return NULL;
16411}
16412
16413
8ac8dba0 16414static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16415 PyObject *resultobj = NULL;
8ac8dba0 16416 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16417 size_t arg2 ;
16418 wxWindow *result;
16419 PyObject * obj0 = 0 ;
16420 PyObject * obj1 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "self",(char *) "n", NULL
16423 };
16424
8ac8dba0 16425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail;
16428 {
7449af73 16429 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16430 if (SWIG_arg_fail(2)) SWIG_fail;
16431 }
d55e5bfc
RD
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 result = (wxWindow *)(arg1)->GetPage(arg2);
16435
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 {
412d302d 16440 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445}
16446
16447
8ac8dba0 16448static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16449 PyObject *resultobj = NULL;
8ac8dba0 16450 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16451 wxWindow *result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
8ac8dba0 16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16462 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16463
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 {
16468 resultobj = wxPyMake_wxObject(result, 0);
16469 }
16470 return resultobj;
16471 fail:
16472 return NULL;
16473}
16474
16475
8ac8dba0 16476static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16477 PyObject *resultobj = NULL;
8ac8dba0 16478 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16479 int result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
8ac8dba0 16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16490 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
093d3ff1 16495 {
7449af73 16496 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16497 }
d55e5bfc
RD
16498 return resultobj;
16499 fail:
16500 return NULL;
16501}
16502
16503
8ac8dba0 16504static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16505 PyObject *resultobj = NULL;
8ac8dba0 16506 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16507 size_t arg2 ;
16508 wxString *arg3 = 0 ;
16509 bool result;
ae8162c8 16510 bool temp3 = false ;
d55e5bfc
RD
16511 PyObject * obj0 = 0 ;
16512 PyObject * obj1 = 0 ;
16513 PyObject * obj2 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self",(char *) "n",(char *) "strText", NULL
16516 };
16517
8ac8dba0 16518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail;
16521 {
7449af73 16522 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16523 if (SWIG_arg_fail(2)) SWIG_fail;
16524 }
d55e5bfc
RD
16525 {
16526 arg3 = wxString_in_helper(obj2);
16527 if (arg3 == NULL) SWIG_fail;
ae8162c8 16528 temp3 = true;
d55e5bfc
RD
16529 }
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 {
16538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16539 }
16540 {
16541 if (temp3)
16542 delete arg3;
16543 }
16544 return resultobj;
16545 fail:
16546 {
16547 if (temp3)
16548 delete arg3;
16549 }
16550 return NULL;
16551}
16552
16553
8ac8dba0 16554static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16555 PyObject *resultobj = NULL;
8ac8dba0 16556 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16557 size_t arg2 ;
16558 wxString result;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "n", NULL
16563 };
16564
8ac8dba0 16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail;
16568 {
7449af73 16569 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16570 if (SWIG_arg_fail(2)) SWIG_fail;
16571 }
d55e5bfc
RD
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16574 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580#if wxUSE_UNICODE
16581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16582#else
16583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16584#endif
16585 }
16586 return resultobj;
16587 fail:
16588 return NULL;
16589}
16590
16591
8ac8dba0 16592static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16593 PyObject *resultobj = NULL;
8ac8dba0 16594 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16595 wxImageList *arg2 = (wxImageList *) 0 ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self",(char *) "imageList", NULL
16600 };
16601
8ac8dba0 16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16604 if (SWIG_arg_fail(1)) SWIG_fail;
16605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16606 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 (arg1)->SetImageList(arg2);
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 Py_INCREF(Py_None); resultobj = Py_None;
16615 return resultobj;
16616 fail:
16617 return NULL;
16618}
16619
16620
8ac8dba0 16621static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16622 PyObject *resultobj = NULL;
8ac8dba0 16623 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16624 wxImageList *arg2 = (wxImageList *) 0 ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "imageList", NULL
16629 };
16630
8ac8dba0 16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16633 if (SWIG_arg_fail(1)) SWIG_fail;
16634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16635 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 (arg1)->AssignImageList(arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 Py_INCREF(Py_None); resultobj = Py_None;
16644 return resultobj;
16645 fail:
16646 return NULL;
16647}
16648
16649
8ac8dba0 16650static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16651 PyObject *resultobj = NULL;
8ac8dba0 16652 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16653 wxImageList *result;
16654 PyObject * obj0 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self", NULL
16657 };
16658
8ac8dba0 16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16664 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 {
7e08d4ef 16670 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
16671 }
16672 return resultobj;
16673 fail:
16674 return NULL;
16675}
16676
16677
8ac8dba0 16678static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16679 PyObject *resultobj = NULL;
8ac8dba0 16680 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16681 size_t arg2 ;
16682 int result;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "n", NULL
16687 };
16688
8ac8dba0 16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16691 if (SWIG_arg_fail(1)) SWIG_fail;
16692 {
7449af73 16693 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16694 if (SWIG_arg_fail(2)) SWIG_fail;
16695 }
d55e5bfc
RD
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16698 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
093d3ff1 16703 {
7449af73 16704 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16705 }
d55e5bfc
RD
16706 return resultobj;
16707 fail:
16708 return NULL;
16709}
16710
16711
8ac8dba0 16712static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16713 PyObject *resultobj = NULL;
8ac8dba0 16714 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16715 size_t arg2 ;
16716 int arg3 ;
16717 bool result;
16718 PyObject * obj0 = 0 ;
16719 PyObject * obj1 = 0 ;
16720 PyObject * obj2 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self",(char *) "n",(char *) "imageId", NULL
16723 };
16724
8ac8dba0 16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16727 if (SWIG_arg_fail(1)) SWIG_fail;
16728 {
7449af73 16729 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16730 if (SWIG_arg_fail(2)) SWIG_fail;
16731 }
16732 {
7449af73 16733 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16734 if (SWIG_arg_fail(3)) SWIG_fail;
16735 }
d55e5bfc
RD
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749}
16750
16751
8ac8dba0 16752static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16753 PyObject *resultobj = NULL;
8ac8dba0 16754 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16755 wxSize *arg2 = 0 ;
16756 wxSize temp2 ;
16757 PyObject * obj0 = 0 ;
16758 PyObject * obj1 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self",(char *) "size", NULL
16761 };
16762
8ac8dba0 16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16766 {
16767 arg2 = &temp2;
16768 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16769 }
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 (arg1)->SetPageSize((wxSize const &)*arg2);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 Py_INCREF(Py_None); resultobj = Py_None;
16778 return resultobj;
16779 fail:
16780 return NULL;
16781}
16782
16783
8ac8dba0 16784static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16785 PyObject *resultobj = NULL;
8ac8dba0 16786 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16787 wxSize *arg2 = 0 ;
16788 wxSize result;
16789 wxSize temp2 ;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self",(char *) "sizePage", NULL
16794 };
16795
8ac8dba0 16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16799 {
16800 arg2 = &temp2;
16801 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16802 }
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16805 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 wxSize * resultptr;
7449af73 16812 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
16813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16814 }
16815 return resultobj;
16816 fail:
16817 return NULL;
16818}
16819
16820
7e08d4ef
RD
16821static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16822 PyObject *resultobj = NULL;
16823 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16824 unsigned int result;
16825 PyObject * obj0 = 0 ;
16826 char *kwnames[] = {
16827 (char *) "self", NULL
16828 };
16829
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail;
16831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16832 if (SWIG_arg_fail(1)) SWIG_fail;
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 {
16841 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
16842 }
16843 return resultobj;
16844 fail:
16845 return NULL;
16846}
16847
16848
16849static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj = NULL;
16851 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16852 unsigned int arg2 ;
16853 PyObject * obj0 = 0 ;
16854 PyObject * obj1 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self",(char *) "internalBorder", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) goto fail;
16860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16861 if (SWIG_arg_fail(1)) SWIG_fail;
16862 {
16863 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
16864 if (SWIG_arg_fail(2)) SWIG_fail;
16865 }
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 (arg1)->SetInternalBorder(arg2);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 Py_INCREF(Py_None); resultobj = Py_None;
16874 return resultobj;
16875 fail:
16876 return NULL;
16877}
16878
16879
16880static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj = NULL;
16882 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16883 bool result;
16884 PyObject * obj0 = 0 ;
16885 char *kwnames[] = {
16886 (char *) "self", NULL
16887 };
16888
16889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail;
16890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail;
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
16895
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 {
16900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16901 }
16902 return resultobj;
16903 fail:
16904 return NULL;
16905}
16906
16907
b06b3e70 16908static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
16909 PyObject *resultobj = NULL;
16910 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16911 bool arg2 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char *kwnames[] = {
b06b3e70 16915 (char *) "self",(char *) "fit", NULL
7e08d4ef
RD
16916 };
16917
b06b3e70 16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail;
7e08d4ef
RD
16919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail;
16921 {
16922 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16923 if (SWIG_arg_fail(2)) SWIG_fail;
16924 }
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 16927 (arg1)->SetFitToCurrentPage(arg2);
7e08d4ef
RD
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 Py_INCREF(Py_None); resultobj = Py_None;
16933 return resultobj;
16934 fail:
16935 return NULL;
16936}
16937
16938
b06b3e70 16939static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
7e08d4ef
RD
16940 PyObject *resultobj = NULL;
16941 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16942 bool result;
16943 PyObject * obj0 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self", NULL
16946 };
16947
b06b3e70 16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail;
7e08d4ef
RD
16949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16950 if (SWIG_arg_fail(1)) SWIG_fail;
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 16953 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
7e08d4ef
RD
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 {
16959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16960 }
16961 return resultobj;
16962 fail:
16963 return NULL;
16964}
16965
16966
8ac8dba0 16967static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16968 PyObject *resultobj = NULL;
8ac8dba0 16969 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16970 size_t arg2 ;
16971 bool result;
16972 PyObject * obj0 = 0 ;
16973 PyObject * obj1 = 0 ;
16974 char *kwnames[] = {
16975 (char *) "self",(char *) "n", NULL
16976 };
16977
8ac8dba0 16978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16980 if (SWIG_arg_fail(1)) SWIG_fail;
16981 {
7449af73 16982 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
16983 if (SWIG_arg_fail(2)) SWIG_fail;
16984 }
d55e5bfc
RD
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (bool)(arg1)->DeletePage(arg2);
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 {
16993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16994 }
16995 return resultobj;
16996 fail:
16997 return NULL;
16998}
16999
17000
8ac8dba0 17001static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17002 PyObject *resultobj = NULL;
8ac8dba0 17003 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17004 size_t arg2 ;
17005 bool result;
17006 PyObject * obj0 = 0 ;
17007 PyObject * obj1 = 0 ;
17008 char *kwnames[] = {
17009 (char *) "self",(char *) "n", NULL
17010 };
17011
8ac8dba0 17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17014 if (SWIG_arg_fail(1)) SWIG_fail;
17015 {
7449af73 17016 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17017 if (SWIG_arg_fail(2)) SWIG_fail;
17018 }
d55e5bfc
RD
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 result = (bool)(arg1)->RemovePage(arg2);
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 {
17027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17028 }
17029 return resultobj;
17030 fail:
17031 return NULL;
17032}
17033
17034
8ac8dba0 17035static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17036 PyObject *resultobj = NULL;
8ac8dba0 17037 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17038 bool result;
17039 PyObject * obj0 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self", NULL
17042 };
17043
8ac8dba0 17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
17045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17047 {
17048 PyThreadState* __tstate = wxPyBeginAllowThreads();
17049 result = (bool)(arg1)->DeleteAllPages();
17050
17051 wxPyEndAllowThreads(__tstate);
17052 if (PyErr_Occurred()) SWIG_fail;
17053 }
17054 {
17055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17056 }
17057 return resultobj;
17058 fail:
17059 return NULL;
17060}
17061
17062
8ac8dba0 17063static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17064 PyObject *resultobj = NULL;
8ac8dba0 17065 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17066 wxWindow *arg2 = (wxWindow *) 0 ;
17067 wxString *arg3 = 0 ;
ae8162c8 17068 bool arg4 = (bool) false ;
d55e5bfc
RD
17069 int arg5 = (int) -1 ;
17070 bool result;
ae8162c8 17071 bool temp3 = false ;
d55e5bfc
RD
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 PyObject * obj2 = 0 ;
17075 PyObject * obj3 = 0 ;
17076 PyObject * obj4 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17079 };
17080
8ac8dba0 17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17083 if (SWIG_arg_fail(1)) SWIG_fail;
17084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17085 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17086 {
17087 arg3 = wxString_in_helper(obj2);
17088 if (arg3 == NULL) SWIG_fail;
ae8162c8 17089 temp3 = true;
d55e5bfc
RD
17090 }
17091 if (obj3) {
093d3ff1 17092 {
7449af73 17093 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
17094 if (SWIG_arg_fail(4)) SWIG_fail;
17095 }
d55e5bfc
RD
17096 }
17097 if (obj4) {
093d3ff1 17098 {
7449af73 17099 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
17100 if (SWIG_arg_fail(5)) SWIG_fail;
17101 }
d55e5bfc
RD
17102 }
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 {
17111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17112 }
17113 {
17114 if (temp3)
17115 delete arg3;
17116 }
17117 return resultobj;
17118 fail:
17119 {
17120 if (temp3)
17121 delete arg3;
17122 }
17123 return NULL;
17124}
17125
17126
8ac8dba0 17127static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17128 PyObject *resultobj = NULL;
8ac8dba0 17129 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17130 size_t arg2 ;
17131 wxWindow *arg3 = (wxWindow *) 0 ;
17132 wxString *arg4 = 0 ;
ae8162c8 17133 bool arg5 = (bool) false ;
d55e5bfc
RD
17134 int arg6 = (int) -1 ;
17135 bool result;
ae8162c8 17136 bool temp4 = false ;
d55e5bfc
RD
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 PyObject * obj2 = 0 ;
17140 PyObject * obj3 = 0 ;
17141 PyObject * obj4 = 0 ;
17142 PyObject * obj5 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17145 };
17146
8ac8dba0 17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail;
17150 {
7449af73 17151 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17152 if (SWIG_arg_fail(2)) SWIG_fail;
17153 }
17154 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17155 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
17156 {
17157 arg4 = wxString_in_helper(obj3);
17158 if (arg4 == NULL) SWIG_fail;
ae8162c8 17159 temp4 = true;
d55e5bfc
RD
17160 }
17161 if (obj4) {
093d3ff1 17162 {
7449af73 17163 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
17164 if (SWIG_arg_fail(5)) SWIG_fail;
17165 }
d55e5bfc
RD
17166 }
17167 if (obj5) {
093d3ff1 17168 {
7449af73 17169 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
17170 if (SWIG_arg_fail(6)) SWIG_fail;
17171 }
d55e5bfc
RD
17172 }
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 {
17181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17182 }
17183 {
17184 if (temp4)
17185 delete arg4;
17186 }
17187 return resultobj;
17188 fail:
17189 {
17190 if (temp4)
17191 delete arg4;
17192 }
17193 return NULL;
17194}
17195
17196
8ac8dba0 17197static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17198 PyObject *resultobj = NULL;
8ac8dba0 17199 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
17200 size_t arg2 ;
17201 int result;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "self",(char *) "n", NULL
17206 };
17207
8ac8dba0 17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17210 if (SWIG_arg_fail(1)) SWIG_fail;
17211 {
7449af73 17212 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
17213 if (SWIG_arg_fail(2)) SWIG_fail;
17214 }
d55e5bfc
RD
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (int)(arg1)->SetSelection(arg2);
17218
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
093d3ff1 17222 {
7449af73 17223 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17224 }
d55e5bfc
RD
17225 return resultobj;
17226 fail:
17227 return NULL;
17228}
17229
17230
8ac8dba0 17231static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17232 PyObject *resultobj = NULL;
8ac8dba0 17233 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 17234 bool arg2 = (bool) true ;
d55e5bfc
RD
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj1 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self",(char *) "forward", NULL
17239 };
17240
8ac8dba0 17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17244 if (obj1) {
093d3ff1 17245 {
7449af73 17246 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
17247 if (SWIG_arg_fail(2)) SWIG_fail;
17248 }
d55e5bfc
RD
17249 }
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->AdvanceSelection(arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 Py_INCREF(Py_None); resultobj = Py_None;
17258 return resultobj;
17259 fail:
17260 return NULL;
17261}
17262
17263
8ac8dba0 17264static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17265 PyObject *resultobj = NULL;
093d3ff1 17266 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17267 wxVisualAttributes result;
17268 PyObject * obj0 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "variant", NULL
17271 };
17272
8ac8dba0 17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 17274 if (obj0) {
093d3ff1 17275 {
7449af73 17276 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
17277 if (SWIG_arg_fail(1)) SWIG_fail;
17278 }
f20a2e1f
RD
17279 }
17280 {
19272049 17281 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 17283 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
17284
17285 wxPyEndAllowThreads(__tstate);
110da5b0 17286 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17287 }
17288 {
17289 wxVisualAttributes * resultptr;
7449af73 17290 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
17291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17292 }
17293 return resultobj;
17294 fail:
17295 return NULL;
17296}
17297
17298
8ac8dba0 17299static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17300 PyObject *obj;
17301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17302 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
17303 Py_INCREF(obj);
17304 return Py_BuildValue((char *)"");
17305}
8ac8dba0 17306static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17307 PyObject *resultobj = NULL;
d55e5bfc
RD
17308 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17309 int arg2 = (int) 0 ;
17310 int arg3 = (int) -1 ;
17311 int arg4 = (int) -1 ;
8ac8dba0 17312 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 PyObject * obj2 = 0 ;
17316 PyObject * obj3 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17319 };
17320
8ac8dba0 17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 17322 if (obj0) {
093d3ff1 17323 {
7449af73 17324 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
17325 if (SWIG_arg_fail(1)) SWIG_fail;
17326 }
d55e5bfc
RD
17327 }
17328 if (obj1) {
093d3ff1 17329 {
7449af73 17330 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17331 if (SWIG_arg_fail(2)) SWIG_fail;
17332 }
d55e5bfc
RD
17333 }
17334 if (obj2) {
093d3ff1 17335 {
7449af73 17336 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17337 if (SWIG_arg_fail(3)) SWIG_fail;
17338 }
d55e5bfc
RD
17339 }
17340 if (obj3) {
093d3ff1 17341 {
7449af73 17342 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
17343 if (SWIG_arg_fail(4)) SWIG_fail;
17344 }
d55e5bfc
RD
17345 }
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17348 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
8ac8dba0 17353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
17354 return resultobj;
17355 fail:
17356 return NULL;
17357}
17358
17359
8ac8dba0 17360static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17361 PyObject *resultobj = NULL;
8ac8dba0 17362 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17363 int result;
17364 PyObject * obj0 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "self", NULL
17367 };
17368
8ac8dba0 17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17374 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
093d3ff1 17379 {
7449af73 17380 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17381 }
d55e5bfc
RD
17382 return resultobj;
17383 fail:
17384 return NULL;
17385}
17386
17387
8ac8dba0 17388static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17389 PyObject *resultobj = NULL;
8ac8dba0 17390 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17391 int arg2 ;
17392 PyObject * obj0 = 0 ;
17393 PyObject * obj1 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "nSel", NULL
17396 };
17397
8ac8dba0 17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail;
17401 {
7449af73 17402 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17403 if (SWIG_arg_fail(2)) SWIG_fail;
17404 }
d55e5bfc
RD
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 (arg1)->SetSelection(arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 Py_INCREF(Py_None); resultobj = Py_None;
17413 return resultobj;
17414 fail:
17415 return NULL;
17416}
17417
17418
8ac8dba0 17419static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17420 PyObject *resultobj = NULL;
8ac8dba0 17421 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17422 int result;
17423 PyObject * obj0 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "self", NULL
17426 };
17427
8ac8dba0 17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17433 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
093d3ff1 17438 {
7449af73 17439 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17440 }
d55e5bfc
RD
17441 return resultobj;
17442 fail:
17443 return NULL;
17444}
17445
17446
8ac8dba0 17447static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17448 PyObject *resultobj = NULL;
8ac8dba0 17449 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
17450 int arg2 ;
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 char *kwnames[] = {
17454 (char *) "self",(char *) "nOldSel", NULL
17455 };
17456
8ac8dba0 17457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17459 if (SWIG_arg_fail(1)) SWIG_fail;
17460 {
7449af73 17461 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17462 if (SWIG_arg_fail(2)) SWIG_fail;
17463 }
d55e5bfc
RD
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->SetOldSelection(arg2);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475}
17476
17477
8ac8dba0 17478static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17479 PyObject *obj;
17480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17481 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
17482 Py_INCREF(obj);
17483 return Py_BuildValue((char *)"");
17484}
c32bde28 17485static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17486 PyObject *resultobj = NULL;
d55e5bfc
RD
17487 wxWindow *arg1 = (wxWindow *) 0 ;
17488 int arg2 = (int) -1 ;
17489 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17490 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17491 wxSize const &arg4_defvalue = wxDefaultSize ;
17492 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17493 long arg5 = (long) 0 ;
51b83b37 17494 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17495 wxString *arg6 = (wxString *) &arg6_defvalue ;
17496 wxNotebook *result;
17497 wxPoint temp3 ;
17498 wxSize temp4 ;
ae8162c8 17499 bool temp6 = false ;
d55e5bfc
RD
17500 PyObject * obj0 = 0 ;
17501 PyObject * obj1 = 0 ;
17502 PyObject * obj2 = 0 ;
17503 PyObject * obj3 = 0 ;
17504 PyObject * obj4 = 0 ;
17505 PyObject * obj5 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17513 if (obj1) {
093d3ff1 17514 {
7449af73 17515 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17516 if (SWIG_arg_fail(2)) SWIG_fail;
17517 }
d55e5bfc
RD
17518 }
17519 if (obj2) {
17520 {
17521 arg3 = &temp3;
17522 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17523 }
17524 }
17525 if (obj3) {
17526 {
17527 arg4 = &temp4;
17528 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17529 }
17530 }
17531 if (obj4) {
093d3ff1 17532 {
7449af73 17533 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
17534 if (SWIG_arg_fail(5)) SWIG_fail;
17535 }
d55e5bfc
RD
17536 }
17537 if (obj5) {
17538 {
17539 arg6 = wxString_in_helper(obj5);
17540 if (arg6 == NULL) SWIG_fail;
ae8162c8 17541 temp6 = true;
d55e5bfc
RD
17542 }
17543 }
17544 {
0439c23b 17545 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17548
17549 wxPyEndAllowThreads(__tstate);
110da5b0 17550 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17551 }
b0f7404b 17552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17553 {
17554 if (temp6)
17555 delete arg6;
17556 }
17557 return resultobj;
17558 fail:
17559 {
17560 if (temp6)
17561 delete arg6;
17562 }
17563 return NULL;
17564}
17565
17566
c32bde28 17567static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17568 PyObject *resultobj = NULL;
d55e5bfc
RD
17569 wxNotebook *result;
17570 char *kwnames[] = {
17571 NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17575 {
0439c23b 17576 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = (wxNotebook *)new wxNotebook();
17579
17580 wxPyEndAllowThreads(__tstate);
110da5b0 17581 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17582 }
b0f7404b 17583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17584 return resultobj;
17585 fail:
17586 return NULL;
17587}
17588
17589
c32bde28 17590static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17591 PyObject *resultobj = NULL;
d55e5bfc
RD
17592 wxNotebook *arg1 = (wxNotebook *) 0 ;
17593 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17594 int arg3 = (int) -1 ;
d55e5bfc
RD
17595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17597 wxSize const &arg5_defvalue = wxDefaultSize ;
17598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17599 long arg6 = (long) 0 ;
51b83b37 17600 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17601 wxString *arg7 = (wxString *) &arg7_defvalue ;
17602 bool result;
17603 wxPoint temp4 ;
17604 wxSize temp5 ;
ae8162c8 17605 bool temp7 = false ;
d55e5bfc
RD
17606 PyObject * obj0 = 0 ;
17607 PyObject * obj1 = 0 ;
17608 PyObject * obj2 = 0 ;
17609 PyObject * obj3 = 0 ;
17610 PyObject * obj4 = 0 ;
17611 PyObject * obj5 = 0 ;
17612 PyObject * obj6 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17615 };
17616
248ed943 17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17619 if (SWIG_arg_fail(1)) SWIG_fail;
17620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17621 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17622 if (obj2) {
093d3ff1 17623 {
7449af73 17624 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17625 if (SWIG_arg_fail(3)) SWIG_fail;
17626 }
248ed943 17627 }
d55e5bfc
RD
17628 if (obj3) {
17629 {
17630 arg4 = &temp4;
17631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17632 }
17633 }
17634 if (obj4) {
17635 {
17636 arg5 = &temp5;
17637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17638 }
17639 }
17640 if (obj5) {
093d3ff1 17641 {
7449af73 17642 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
17643 if (SWIG_arg_fail(6)) SWIG_fail;
17644 }
d55e5bfc
RD
17645 }
17646 if (obj6) {
17647 {
17648 arg7 = wxString_in_helper(obj6);
17649 if (arg7 == NULL) SWIG_fail;
ae8162c8 17650 temp7 = true;
d55e5bfc
RD
17651 }
17652 }
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 {
17661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17662 }
17663 {
17664 if (temp7)
17665 delete arg7;
17666 }
17667 return resultobj;
17668 fail:
17669 {
17670 if (temp7)
17671 delete arg7;
17672 }
17673 return NULL;
17674}
17675
17676
c32bde28 17677static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17678 PyObject *resultobj = NULL;
d55e5bfc
RD
17679 wxNotebook *arg1 = (wxNotebook *) 0 ;
17680 int result;
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
093d3ff1 17696 {
7449af73 17697 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17698 }
d55e5bfc
RD
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
c32bde28 17705static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17706 PyObject *resultobj = NULL;
d55e5bfc
RD
17707 wxNotebook *arg1 = (wxNotebook *) 0 ;
17708 wxSize *arg2 = 0 ;
17709 wxSize temp2 ;
17710 PyObject * obj0 = 0 ;
17711 PyObject * obj1 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self",(char *) "padding", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17719 {
17720 arg2 = &temp2;
17721 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17722 }
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 (arg1)->SetPadding((wxSize const &)*arg2);
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 Py_INCREF(Py_None); resultobj = Py_None;
17731 return resultobj;
17732 fail:
17733 return NULL;
17734}
17735
17736
c32bde28 17737static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17738 PyObject *resultobj = NULL;
d55e5bfc
RD
17739 wxNotebook *arg1 = (wxNotebook *) 0 ;
17740 wxSize *arg2 = 0 ;
17741 wxSize temp2 ;
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self",(char *) "sz", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17751 {
17752 arg2 = &temp2;
17753 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17754 }
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 (arg1)->SetTabSize((wxSize const &)*arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 Py_INCREF(Py_None); resultobj = Py_None;
17763 return resultobj;
17764 fail:
17765 return NULL;
17766}
17767
17768
c32bde28 17769static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17770 PyObject *resultobj = NULL;
d55e5bfc
RD
17771 wxNotebook *arg1 = (wxNotebook *) 0 ;
17772 wxPoint *arg2 = 0 ;
17773 long *arg3 = (long *) 0 ;
17774 int result;
17775 wxPoint temp2 ;
17776 long temp3 ;
c32bde28 17777 int res3 = 0 ;
d55e5bfc
RD
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj1 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self",(char *) "pt", NULL
17782 };
17783
c32bde28 17784 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17787 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17788 {
17789 arg2 = &temp2;
17790 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17791 }
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17795
17796 wxPyEndAllowThreads(__tstate);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 }
093d3ff1 17799 {
7449af73 17800 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17801 }
c32bde28
RD
17802 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17803 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17804 return resultobj;
17805 fail:
17806 return NULL;
17807}
17808
17809
c32bde28 17810static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17811 PyObject *resultobj = NULL;
d55e5bfc
RD
17812 wxNotebook *arg1 = (wxNotebook *) 0 ;
17813 wxSize *arg2 = 0 ;
17814 wxSize result;
17815 wxSize temp2 ;
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 char *kwnames[] = {
17819 (char *) "self",(char *) "sizePage", NULL
17820 };
17821
17822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17825 {
17826 arg2 = &temp2;
17827 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 {
17837 wxSize * resultptr;
7449af73 17838 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
17839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17840 }
17841 return resultobj;
17842 fail:
17843 return NULL;
17844}
17845
17846
091fdbfa 17847static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17848 PyObject *resultobj = NULL;
091fdbfa
RD
17849 wxNotebook *arg1 = (wxNotebook *) 0 ;
17850 wxColour result;
17851 PyObject * obj0 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17858 if (SWIG_arg_fail(1)) SWIG_fail;
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 {
17867 wxColour * resultptr;
7449af73 17868 resultptr = new wxColour(static_cast<wxColour & >(result));
091fdbfa
RD
17869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17870 }
17871 return resultobj;
17872 fail:
17873 return NULL;
17874}
17875
17876
c32bde28 17877static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17878 PyObject *resultobj = NULL;
093d3ff1 17879 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17880 wxVisualAttributes result;
17881 PyObject * obj0 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "variant", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17887 if (obj0) {
093d3ff1 17888 {
7449af73 17889 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
17890 if (SWIG_arg_fail(1)) SWIG_fail;
17891 }
f20a2e1f
RD
17892 }
17893 {
19272049 17894 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 17896 result = wxNotebook::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
17897
17898 wxPyEndAllowThreads(__tstate);
110da5b0 17899 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17900 }
17901 {
17902 wxVisualAttributes * resultptr;
7449af73 17903 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
17904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17905 }
17906 return resultobj;
17907 fail:
17908 return NULL;
17909}
17910
17911
c32bde28 17912static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17913 PyObject *obj;
17914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17916 Py_INCREF(obj);
17917 return Py_BuildValue((char *)"");
17918}
c32bde28 17919static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17920 PyObject *resultobj = NULL;
d55e5bfc
RD
17921 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17922 int arg2 = (int) 0 ;
17923 int arg3 = (int) -1 ;
17924 int arg4 = (int) -1 ;
17925 wxNotebookEvent *result;
17926 PyObject * obj0 = 0 ;
17927 PyObject * obj1 = 0 ;
17928 PyObject * obj2 = 0 ;
17929 PyObject * obj3 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17935 if (obj0) {
093d3ff1 17936 {
7449af73 17937 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
17938 if (SWIG_arg_fail(1)) SWIG_fail;
17939 }
d55e5bfc
RD
17940 }
17941 if (obj1) {
093d3ff1 17942 {
7449af73 17943 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17944 if (SWIG_arg_fail(2)) SWIG_fail;
17945 }
d55e5bfc
RD
17946 }
17947 if (obj2) {
093d3ff1 17948 {
7449af73 17949 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17950 if (SWIG_arg_fail(3)) SWIG_fail;
17951 }
d55e5bfc
RD
17952 }
17953 if (obj3) {
093d3ff1 17954 {
7449af73 17955 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
17956 if (SWIG_arg_fail(4)) SWIG_fail;
17957 }
d55e5bfc
RD
17958 }
17959 {
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970}
17971
17972
c32bde28 17973static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17974 PyObject *obj;
17975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17976 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17977 Py_INCREF(obj);
17978 return Py_BuildValue((char *)"");
17979}
c32bde28 17980static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17981 PyObject *resultobj = NULL;
d55e5bfc
RD
17982 wxWindow *arg1 = (wxWindow *) 0 ;
17983 int arg2 = (int) -1 ;
17984 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17985 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17986 wxSize const &arg4_defvalue = wxDefaultSize ;
17987 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17988 long arg5 = (long) 0 ;
17989 wxString const &arg6_defvalue = wxPyEmptyString ;
17990 wxString *arg6 = (wxString *) &arg6_defvalue ;
17991 wxListbook *result;
17992 wxPoint temp3 ;
17993 wxSize temp4 ;
ae8162c8 17994 bool temp6 = false ;
d55e5bfc
RD
17995 PyObject * obj0 = 0 ;
17996 PyObject * obj1 = 0 ;
17997 PyObject * obj2 = 0 ;
17998 PyObject * obj3 = 0 ;
17999 PyObject * obj4 = 0 ;
18000 PyObject * obj5 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18008 if (obj1) {
093d3ff1 18009 {
7449af73 18010 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18011 if (SWIG_arg_fail(2)) SWIG_fail;
18012 }
d55e5bfc
RD
18013 }
18014 if (obj2) {
18015 {
18016 arg3 = &temp3;
18017 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18018 }
18019 }
18020 if (obj3) {
18021 {
18022 arg4 = &temp4;
18023 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18024 }
18025 }
18026 if (obj4) {
093d3ff1 18027 {
7449af73 18028 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
18029 if (SWIG_arg_fail(5)) SWIG_fail;
18030 }
d55e5bfc
RD
18031 }
18032 if (obj5) {
18033 {
18034 arg6 = wxString_in_helper(obj5);
18035 if (arg6 == NULL) SWIG_fail;
ae8162c8 18036 temp6 = true;
d55e5bfc
RD
18037 }
18038 }
18039 {
0439c23b 18040 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18043
18044 wxPyEndAllowThreads(__tstate);
110da5b0 18045 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18046 }
18047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18048 {
18049 if (temp6)
18050 delete arg6;
18051 }
18052 return resultobj;
18053 fail:
18054 {
18055 if (temp6)
18056 delete arg6;
18057 }
18058 return NULL;
18059}
18060
18061
c32bde28 18062static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18063 PyObject *resultobj = NULL;
d55e5bfc
RD
18064 wxListbook *result;
18065 char *kwnames[] = {
18066 NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
18070 {
0439c23b 18071 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (wxListbook *)new wxListbook();
18074
18075 wxPyEndAllowThreads(__tstate);
110da5b0 18076 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18077 }
18078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082}
18083
18084
c32bde28 18085static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18086 PyObject *resultobj = NULL;
d55e5bfc
RD
18087 wxListbook *arg1 = (wxListbook *) 0 ;
18088 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 18089 int arg3 = (int) -1 ;
d55e5bfc
RD
18090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18092 wxSize const &arg5_defvalue = wxDefaultSize ;
18093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18094 long arg6 = (long) 0 ;
18095 wxString const &arg7_defvalue = wxPyEmptyString ;
18096 wxString *arg7 = (wxString *) &arg7_defvalue ;
18097 bool result;
18098 wxPoint temp4 ;
18099 wxSize temp5 ;
ae8162c8 18100 bool temp7 = false ;
d55e5bfc
RD
18101 PyObject * obj0 = 0 ;
18102 PyObject * obj1 = 0 ;
18103 PyObject * obj2 = 0 ;
18104 PyObject * obj3 = 0 ;
18105 PyObject * obj4 = 0 ;
18106 PyObject * obj5 = 0 ;
18107 PyObject * obj6 = 0 ;
18108 char *kwnames[] = {
18109 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18110 };
18111
248ed943 18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
18113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18114 if (SWIG_arg_fail(1)) SWIG_fail;
18115 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18116 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 18117 if (obj2) {
093d3ff1 18118 {
7449af73 18119 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18120 if (SWIG_arg_fail(3)) SWIG_fail;
18121 }
248ed943 18122 }
d55e5bfc
RD
18123 if (obj3) {
18124 {
18125 arg4 = &temp4;
18126 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18127 }
18128 }
18129 if (obj4) {
18130 {
18131 arg5 = &temp5;
18132 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18133 }
18134 }
18135 if (obj5) {
093d3ff1 18136 {
7449af73 18137 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
18138 if (SWIG_arg_fail(6)) SWIG_fail;
18139 }
d55e5bfc
RD
18140 }
18141 if (obj6) {
18142 {
18143 arg7 = wxString_in_helper(obj6);
18144 if (arg7 == NULL) SWIG_fail;
ae8162c8 18145 temp7 = true;
d55e5bfc
RD
18146 }
18147 }
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18157 }
18158 {
18159 if (temp7)
18160 delete arg7;
18161 }
18162 return resultobj;
18163 fail:
18164 {
18165 if (temp7)
18166 delete arg7;
18167 }
18168 return NULL;
18169}
18170
18171
7e08d4ef
RD
18172static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj = NULL;
18174 wxListbook *arg1 = (wxListbook *) 0 ;
18175 wxListView *result;
18176 PyObject * obj0 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (wxListView *)(arg1)->GetListView();
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18192 return resultobj;
18193 fail:
18194 return NULL;
18195}
18196
18197
18198static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18199 PyObject *obj;
18200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18201 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18202 Py_INCREF(obj);
18203 return Py_BuildValue((char *)"");
18204}
18205static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj = NULL;
18207 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18208 int arg2 = (int) 0 ;
18209 int arg3 = (int) -1 ;
18210 int arg4 = (int) -1 ;
18211 wxListbookEvent *result;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 PyObject * obj2 = 0 ;
18215 PyObject * obj3 = 0 ;
18216 char *kwnames[] = {
18217 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18221 if (obj0) {
18222 {
18223 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18224 if (SWIG_arg_fail(1)) SWIG_fail;
18225 }
18226 }
18227 if (obj1) {
18228 {
18229 arg2 = static_cast<int >(SWIG_As_int(obj1));
18230 if (SWIG_arg_fail(2)) SWIG_fail;
18231 }
18232 }
18233 if (obj2) {
18234 {
18235 arg3 = static_cast<int >(SWIG_As_int(obj2));
18236 if (SWIG_arg_fail(3)) SWIG_fail;
18237 }
18238 }
18239 if (obj3) {
18240 {
18241 arg4 = static_cast<int >(SWIG_As_int(obj3));
18242 if (SWIG_arg_fail(4)) SWIG_fail;
18243 }
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18253 return resultobj;
18254 fail:
18255 return NULL;
18256}
18257
18258
18259static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18260 PyObject *obj;
18261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18262 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18263 Py_INCREF(obj);
18264 return Py_BuildValue((char *)"");
18265}
18266static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj = NULL;
18268 wxWindow *arg1 = (wxWindow *) 0 ;
18269 int arg2 ;
18270 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18271 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18272 wxSize const &arg4_defvalue = wxDefaultSize ;
18273 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18274 long arg5 = (long) 0 ;
18275 wxString const &arg6_defvalue = wxPyEmptyString ;
18276 wxString *arg6 = (wxString *) &arg6_defvalue ;
18277 wxChoicebook *result;
18278 wxPoint temp3 ;
18279 wxSize temp4 ;
18280 bool temp6 = false ;
18281 PyObject * obj0 = 0 ;
18282 PyObject * obj1 = 0 ;
18283 PyObject * obj2 = 0 ;
18284 PyObject * obj3 = 0 ;
18285 PyObject * obj4 = 0 ;
18286 PyObject * obj5 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
18294 {
18295 arg2 = static_cast<int >(SWIG_As_int(obj1));
18296 if (SWIG_arg_fail(2)) SWIG_fail;
18297 }
18298 if (obj2) {
18299 {
18300 arg3 = &temp3;
18301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18302 }
18303 }
18304 if (obj3) {
18305 {
18306 arg4 = &temp4;
18307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18308 }
18309 }
18310 if (obj4) {
18311 {
18312 arg5 = static_cast<long >(SWIG_As_long(obj4));
18313 if (SWIG_arg_fail(5)) SWIG_fail;
18314 }
18315 }
18316 if (obj5) {
18317 {
18318 arg6 = wxString_in_helper(obj5);
18319 if (arg6 == NULL) SWIG_fail;
18320 temp6 = true;
18321 }
18322 }
18323 {
18324 if (!wxPyCheckForApp()) SWIG_fail;
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18332 {
18333 if (temp6)
18334 delete arg6;
18335 }
18336 return resultobj;
18337 fail:
18338 {
18339 if (temp6)
18340 delete arg6;
18341 }
18342 return NULL;
18343}
18344
18345
18346static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj = NULL;
18348 wxChoicebook *result;
18349 char *kwnames[] = {
18350 NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18354 {
18355 if (!wxPyCheckForApp()) SWIG_fail;
18356 PyThreadState* __tstate = wxPyBeginAllowThreads();
18357 result = (wxChoicebook *)new wxChoicebook();
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18363 return resultobj;
18364 fail:
18365 return NULL;
18366}
18367
18368
18369static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj = NULL;
18371 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18372 wxWindow *arg2 = (wxWindow *) 0 ;
18373 int arg3 ;
18374 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18375 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18376 wxSize const &arg5_defvalue = wxDefaultSize ;
18377 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18378 long arg6 = (long) 0 ;
18379 wxString const &arg7_defvalue = wxPyEmptyString ;
18380 wxString *arg7 = (wxString *) &arg7_defvalue ;
18381 bool result;
18382 wxPoint temp4 ;
18383 wxSize temp5 ;
18384 bool temp7 = false ;
18385 PyObject * obj0 = 0 ;
18386 PyObject * obj1 = 0 ;
18387 PyObject * obj2 = 0 ;
18388 PyObject * obj3 = 0 ;
18389 PyObject * obj4 = 0 ;
18390 PyObject * obj5 = 0 ;
18391 PyObject * obj6 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail;
18399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18400 if (SWIG_arg_fail(2)) SWIG_fail;
18401 {
18402 arg3 = static_cast<int >(SWIG_As_int(obj2));
18403 if (SWIG_arg_fail(3)) SWIG_fail;
18404 }
18405 if (obj3) {
18406 {
18407 arg4 = &temp4;
18408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18409 }
18410 }
18411 if (obj4) {
18412 {
18413 arg5 = &temp5;
18414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18415 }
18416 }
18417 if (obj5) {
18418 {
18419 arg6 = static_cast<long >(SWIG_As_long(obj5));
18420 if (SWIG_arg_fail(6)) SWIG_fail;
18421 }
18422 }
18423 if (obj6) {
18424 {
18425 arg7 = wxString_in_helper(obj6);
18426 if (arg7 == NULL) SWIG_fail;
18427 temp7 = true;
18428 }
18429 }
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 {
18438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18439 }
18440 {
18441 if (temp7)
18442 delete arg7;
18443 }
18444 return resultobj;
18445 fail:
18446 {
18447 if (temp7)
18448 delete arg7;
18449 }
18450 return NULL;
18451}
18452
18453
18454static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj = NULL;
18456 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18457 wxChoice *result;
18458 PyObject * obj0 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18474 return resultobj;
18475 fail:
18476 return NULL;
18477}
18478
18479
18480static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj = NULL;
18482 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18483 bool result;
18484 PyObject * obj0 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail;
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 result = (bool)(arg1)->DeleteAllPages();
18495
18496 wxPyEndAllowThreads(__tstate);
18497 if (PyErr_Occurred()) SWIG_fail;
18498 }
18499 {
18500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18501 }
18502 return resultobj;
18503 fail:
18504 return NULL;
18505}
18506
18507
18508static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18509 PyObject *obj;
18510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18512 Py_INCREF(obj);
18513 return Py_BuildValue((char *)"");
18514}
18515static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj = NULL;
18517 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18518 int arg2 = (int) 0 ;
18519 int arg3 = (int) -1 ;
18520 int arg4 = (int) -1 ;
18521 wxChoicebookEvent *result;
18522 PyObject * obj0 = 0 ;
18523 PyObject * obj1 = 0 ;
18524 PyObject * obj2 = 0 ;
18525 PyObject * obj3 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18531 if (obj0) {
18532 {
18533 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18534 if (SWIG_arg_fail(1)) SWIG_fail;
18535 }
18536 }
18537 if (obj1) {
18538 {
18539 arg2 = static_cast<int >(SWIG_As_int(obj1));
18540 if (SWIG_arg_fail(2)) SWIG_fail;
18541 }
18542 }
18543 if (obj2) {
18544 {
18545 arg3 = static_cast<int >(SWIG_As_int(obj2));
18546 if (SWIG_arg_fail(3)) SWIG_fail;
18547 }
18548 }
18549 if (obj3) {
18550 {
18551 arg4 = static_cast<int >(SWIG_As_int(obj3));
18552 if (SWIG_arg_fail(4)) SWIG_fail;
18553 }
18554 }
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18563 return resultobj;
18564 fail:
18565 return NULL;
18566}
18567
18568
18569static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18570 PyObject *obj;
18571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18572 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18573 Py_INCREF(obj);
18574 return Py_BuildValue((char *)"");
18575}
18576static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj = NULL;
18578 wxWindow *arg1 = (wxWindow *) 0 ;
18579 int arg2 ;
18580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18582 wxSize const &arg4_defvalue = wxDefaultSize ;
18583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18584 long arg5 = (long) wxBK_DEFAULT ;
18585 wxString const &arg6_defvalue = wxPyEmptyString ;
18586 wxString *arg6 = (wxString *) &arg6_defvalue ;
18587 wxTreebook *result;
18588 wxPoint temp3 ;
18589 wxSize temp4 ;
18590 bool temp6 = false ;
18591 PyObject * obj0 = 0 ;
18592 PyObject * obj1 = 0 ;
18593 PyObject * obj2 = 0 ;
18594 PyObject * obj3 = 0 ;
18595 PyObject * obj4 = 0 ;
18596 PyObject * obj5 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18599 };
18600
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18603 if (SWIG_arg_fail(1)) SWIG_fail;
18604 {
18605 arg2 = static_cast<int >(SWIG_As_int(obj1));
18606 if (SWIG_arg_fail(2)) SWIG_fail;
18607 }
18608 if (obj2) {
18609 {
18610 arg3 = &temp3;
18611 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18612 }
18613 }
18614 if (obj3) {
18615 {
18616 arg4 = &temp4;
18617 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18618 }
18619 }
18620 if (obj4) {
18621 {
18622 arg5 = static_cast<long >(SWIG_As_long(obj4));
18623 if (SWIG_arg_fail(5)) SWIG_fail;
18624 }
18625 }
18626 if (obj5) {
18627 {
18628 arg6 = wxString_in_helper(obj5);
18629 if (arg6 == NULL) SWIG_fail;
18630 temp6 = true;
18631 }
18632 }
18633 {
18634 if (!wxPyCheckForApp()) SWIG_fail;
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18642 {
18643 if (temp6)
18644 delete arg6;
18645 }
18646 return resultobj;
18647 fail:
18648 {
18649 if (temp6)
18650 delete arg6;
18651 }
18652 return NULL;
18653}
18654
18655
18656static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj = NULL;
18658 wxTreebook *result;
18659 char *kwnames[] = {
18660 NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
18664 {
18665 if (!wxPyCheckForApp()) SWIG_fail;
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (wxTreebook *)new wxTreebook();
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18673 return resultobj;
18674 fail:
18675 return NULL;
18676}
18677
18678
18679static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18680 PyObject *resultobj = NULL;
18681 wxTreebook *arg1 = (wxTreebook *) 0 ;
18682 wxWindow *arg2 = (wxWindow *) 0 ;
18683 int arg3 ;
18684 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18685 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18686 wxSize const &arg5_defvalue = wxDefaultSize ;
18687 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18688 long arg6 = (long) wxBK_DEFAULT ;
18689 wxString const &arg7_defvalue = wxPyEmptyString ;
18690 wxString *arg7 = (wxString *) &arg7_defvalue ;
18691 bool result;
18692 wxPoint temp4 ;
18693 wxSize temp5 ;
18694 bool temp7 = false ;
18695 PyObject * obj0 = 0 ;
18696 PyObject * obj1 = 0 ;
18697 PyObject * obj2 = 0 ;
18698 PyObject * obj3 = 0 ;
18699 PyObject * obj4 = 0 ;
18700 PyObject * obj5 = 0 ;
18701 PyObject * obj6 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail;
18709 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18710 if (SWIG_arg_fail(2)) SWIG_fail;
18711 {
18712 arg3 = static_cast<int >(SWIG_As_int(obj2));
18713 if (SWIG_arg_fail(3)) SWIG_fail;
18714 }
18715 if (obj3) {
18716 {
18717 arg4 = &temp4;
18718 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18719 }
18720 }
18721 if (obj4) {
18722 {
18723 arg5 = &temp5;
18724 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18725 }
18726 }
18727 if (obj5) {
18728 {
18729 arg6 = static_cast<long >(SWIG_As_long(obj5));
18730 if (SWIG_arg_fail(6)) SWIG_fail;
18731 }
18732 }
18733 if (obj6) {
18734 {
18735 arg7 = wxString_in_helper(obj6);
18736 if (arg7 == NULL) SWIG_fail;
18737 temp7 = true;
18738 }
18739 }
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18749 }
18750 {
18751 if (temp7)
18752 delete arg7;
18753 }
18754 return resultobj;
18755 fail:
18756 {
18757 if (temp7)
18758 delete arg7;
18759 }
18760 return NULL;
18761}
18762
18763
18764static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj = NULL;
18766 wxTreebook *arg1 = (wxTreebook *) 0 ;
18767 size_t arg2 ;
18768 wxWindow *arg3 = (wxWindow *) 0 ;
18769 wxString *arg4 = 0 ;
18770 bool arg5 = (bool) false ;
18771 int arg6 = (int) wxNOT_FOUND ;
18772 bool result;
18773 bool temp4 = false ;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
18776 PyObject * obj2 = 0 ;
18777 PyObject * obj3 = 0 ;
18778 PyObject * obj4 = 0 ;
18779 PyObject * obj5 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail;
18787 {
18788 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18789 if (SWIG_arg_fail(2)) SWIG_fail;
18790 }
18791 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18792 if (SWIG_arg_fail(3)) SWIG_fail;
18793 {
18794 arg4 = wxString_in_helper(obj3);
18795 if (arg4 == NULL) SWIG_fail;
18796 temp4 = true;
18797 }
18798 if (obj4) {
18799 {
18800 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18801 if (SWIG_arg_fail(5)) SWIG_fail;
18802 }
18803 }
18804 if (obj5) {
18805 {
18806 arg6 = static_cast<int >(SWIG_As_int(obj5));
18807 if (SWIG_arg_fail(6)) SWIG_fail;
18808 }
18809 }
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18813
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 {
18818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18819 }
18820 {
18821 if (temp4)
18822 delete arg4;
18823 }
18824 return resultobj;
18825 fail:
18826 {
18827 if (temp4)
18828 delete arg4;
18829 }
18830 return NULL;
18831}
18832
18833
18834static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj = NULL;
18836 wxTreebook *arg1 = (wxTreebook *) 0 ;
18837 size_t arg2 ;
18838 wxWindow *arg3 = (wxWindow *) 0 ;
18839 wxString *arg4 = 0 ;
18840 bool arg5 = (bool) false ;
18841 int arg6 = (int) wxNOT_FOUND ;
18842 bool result;
18843 bool temp4 = false ;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 PyObject * obj2 = 0 ;
18847 PyObject * obj3 = 0 ;
18848 PyObject * obj4 = 0 ;
18849 PyObject * obj5 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18856 if (SWIG_arg_fail(1)) SWIG_fail;
18857 {
18858 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18859 if (SWIG_arg_fail(2)) SWIG_fail;
18860 }
18861 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18862 if (SWIG_arg_fail(3)) SWIG_fail;
18863 {
18864 arg4 = wxString_in_helper(obj3);
18865 if (arg4 == NULL) SWIG_fail;
18866 temp4 = true;
18867 }
18868 if (obj4) {
18869 {
18870 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18871 if (SWIG_arg_fail(5)) SWIG_fail;
18872 }
18873 }
18874 if (obj5) {
18875 {
18876 arg6 = static_cast<int >(SWIG_As_int(obj5));
18877 if (SWIG_arg_fail(6)) SWIG_fail;
18878 }
18879 }
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 18882 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
7e08d4ef
RD
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 {
18888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18889 }
18890 {
18891 if (temp4)
18892 delete arg4;
18893 }
18894 return resultobj;
18895 fail:
18896 {
18897 if (temp4)
18898 delete arg4;
18899 }
18900 return NULL;
18901}
18902
18903
18904static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18905 PyObject *resultobj = NULL;
7e08d4ef
RD
18906 wxTreebook *arg1 = (wxTreebook *) 0 ;
18907 wxWindow *arg2 = (wxWindow *) 0 ;
18908 wxString *arg3 = 0 ;
18909 bool arg4 = (bool) false ;
18910 int arg5 = (int) wxNOT_FOUND ;
d55e5bfc 18911 bool result;
7e08d4ef 18912 bool temp3 = false ;
d55e5bfc 18913 PyObject * obj0 = 0 ;
7e08d4ef
RD
18914 PyObject * obj1 = 0 ;
18915 PyObject * obj2 = 0 ;
18916 PyObject * obj3 = 0 ;
18917 PyObject * obj4 = 0 ;
d55e5bfc 18918 char *kwnames[] = {
7e08d4ef 18919 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
d55e5bfc
RD
18920 };
18921
7e08d4ef
RD
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 18924 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef
RD
18925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18926 if (SWIG_arg_fail(2)) SWIG_fail;
18927 {
18928 arg3 = wxString_in_helper(obj2);
18929 if (arg3 == NULL) SWIG_fail;
18930 temp3 = true;
18931 }
18932 if (obj3) {
18933 {
18934 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18935 if (SWIG_arg_fail(4)) SWIG_fail;
18936 }
18937 }
18938 if (obj4) {
18939 {
18940 arg5 = static_cast<int >(SWIG_As_int(obj4));
18941 if (SWIG_arg_fail(5)) SWIG_fail;
18942 }
18943 }
d55e5bfc
RD
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 18946 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
d55e5bfc
RD
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18953 }
7e08d4ef
RD
18954 {
18955 if (temp3)
18956 delete arg3;
18957 }
d55e5bfc
RD
18958 return resultobj;
18959 fail:
7e08d4ef
RD
18960 {
18961 if (temp3)
18962 delete arg3;
18963 }
d55e5bfc
RD
18964 return NULL;
18965}
18966
18967
7e08d4ef 18968static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18969 PyObject *resultobj = NULL;
7e08d4ef
RD
18970 wxTreebook *arg1 = (wxTreebook *) 0 ;
18971 wxWindow *arg2 = (wxWindow *) 0 ;
18972 wxString *arg3 = 0 ;
18973 bool arg4 = (bool) false ;
18974 int arg5 = (int) wxNOT_FOUND ;
18975 bool result;
18976 bool temp3 = false ;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 PyObject * obj2 = 0 ;
18980 PyObject * obj3 = 0 ;
18981 PyObject * obj4 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail;
18989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18990 if (SWIG_arg_fail(2)) SWIG_fail;
18991 {
18992 arg3 = wxString_in_helper(obj2);
18993 if (arg3 == NULL) SWIG_fail;
18994 temp3 = true;
18995 }
18996 if (obj3) {
18997 {
18998 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18999 if (SWIG_arg_fail(4)) SWIG_fail;
19000 }
19001 }
19002 if (obj4) {
19003 {
19004 arg5 = static_cast<int >(SWIG_As_int(obj4));
19005 if (SWIG_arg_fail(5)) SWIG_fail;
19006 }
19007 }
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 {
19016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19017 }
19018 {
19019 if (temp3)
19020 delete arg3;
19021 }
19022 return resultobj;
19023 fail:
19024 {
19025 if (temp3)
19026 delete arg3;
19027 }
19028 return NULL;
19029}
19030
19031
19032static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj = NULL;
19034 wxTreebook *arg1 = (wxTreebook *) 0 ;
19035 size_t arg2 ;
19036 bool result;
19037 PyObject * obj0 = 0 ;
19038 PyObject * obj1 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self",(char *) "pos", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail;
19044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19045 if (SWIG_arg_fail(1)) SWIG_fail;
19046 {
19047 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19048 if (SWIG_arg_fail(2)) SWIG_fail;
19049 }
19050 {
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 result = (bool)(arg1)->DeletePage(arg2);
19053
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 {
19058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19059 }
19060 return resultobj;
19061 fail:
19062 return NULL;
19063}
19064
19065
19066static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj = NULL;
19068 wxTreebook *arg1 = (wxTreebook *) 0 ;
19069 size_t arg2 ;
19070 bool result;
19071 PyObject * obj0 = 0 ;
19072 PyObject * obj1 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self",(char *) "pos", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail;
19078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail;
19080 {
19081 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19082 if (SWIG_arg_fail(2)) SWIG_fail;
19083 }
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 {
19092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19093 }
19094 return resultobj;
19095 fail:
19096 return NULL;
19097}
19098
19099
19100static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) {
19101 PyObject *resultobj = NULL;
19102 wxTreebook *arg1 = (wxTreebook *) 0 ;
19103 size_t arg2 ;
19104 bool arg3 = (bool) true ;
19105 bool result;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 PyObject * obj2 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self",(char *) "pos",(char *) "expand", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail;
19114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19115 if (SWIG_arg_fail(1)) SWIG_fail;
19116 {
19117 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19118 if (SWIG_arg_fail(2)) SWIG_fail;
19119 }
19120 if (obj2) {
19121 {
19122 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19123 if (SWIG_arg_fail(3)) SWIG_fail;
19124 }
19125 }
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 result = (bool)(arg1)->ExpandNode(arg2,arg3);
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 {
19134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19135 }
19136 return resultobj;
19137 fail:
19138 return NULL;
19139}
19140
19141
19142static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj = NULL;
19144 wxTreebook *arg1 = (wxTreebook *) 0 ;
19145 size_t arg2 ;
19146 bool result;
19147 PyObject * obj0 = 0 ;
19148 PyObject * obj1 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self",(char *) "pos", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail;
19154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19155 if (SWIG_arg_fail(1)) SWIG_fail;
19156 {
19157 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19158 if (SWIG_arg_fail(2)) SWIG_fail;
19159 }
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 result = (bool)(arg1)->CollapseNode(arg2);
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 {
19168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19169 }
19170 return resultobj;
19171 fail:
19172 return NULL;
19173}
19174
19175
19176static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj = NULL;
19178 wxTreebook *arg1 = (wxTreebook *) 0 ;
19179 size_t arg2 ;
19180 int result;
19181 PyObject * obj0 = 0 ;
19182 PyObject * obj1 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self",(char *) "pos", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail;
19188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19189 if (SWIG_arg_fail(1)) SWIG_fail;
19190 {
19191 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19192 if (SWIG_arg_fail(2)) SWIG_fail;
19193 }
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 resultobj = SWIG_From_int(static_cast<int >(result));
19203 }
19204 return resultobj;
19205 fail:
19206 return NULL;
19207}
19208
19209
19210static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19211 PyObject *resultobj = NULL;
19212 wxTreebook *arg1 = (wxTreebook *) 0 ;
19213 wxTreeCtrl *result;
1fbf26be
RD
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self", NULL
19217 };
19218
7e08d4ef
RD
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
19220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19221 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19224 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
1fbf26be
RD
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
7e08d4ef 19229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
1fbf26be
RD
19230 return resultobj;
19231 fail:
19232 return NULL;
19233}
19234
19235
7e08d4ef 19236static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19237 PyObject *obj;
19238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19239 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
d55e5bfc
RD
19240 Py_INCREF(obj);
19241 return Py_BuildValue((char *)"");
19242}
7e08d4ef 19243static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19244 PyObject *resultobj = NULL;
d55e5bfc
RD
19245 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19246 int arg2 = (int) 0 ;
7e08d4ef
RD
19247 int arg3 = (int) wxNOT_FOUND ;
19248 int arg4 = (int) wxNOT_FOUND ;
19249 wxTreebookEvent *result;
d55e5bfc
RD
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj1 = 0 ;
19252 PyObject * obj2 = 0 ;
19253 PyObject * obj3 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19256 };
19257
7e08d4ef 19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 19259 if (obj0) {
093d3ff1 19260 {
7449af73 19261 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
19262 if (SWIG_arg_fail(1)) SWIG_fail;
19263 }
d55e5bfc
RD
19264 }
19265 if (obj1) {
093d3ff1 19266 {
7449af73 19267 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19268 if (SWIG_arg_fail(2)) SWIG_fail;
19269 }
d55e5bfc
RD
19270 }
19271 if (obj2) {
093d3ff1 19272 {
7449af73 19273 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19274 if (SWIG_arg_fail(3)) SWIG_fail;
19275 }
d55e5bfc
RD
19276 }
19277 if (obj3) {
093d3ff1 19278 {
7449af73 19279 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19280 if (SWIG_arg_fail(4)) SWIG_fail;
19281 }
d55e5bfc
RD
19282 }
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19285 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
7e08d4ef 19290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1);
d55e5bfc
RD
19291 return resultobj;
19292 fail:
19293 return NULL;
19294}
19295
19296
7e08d4ef 19297static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19298 PyObject *obj;
19299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19300 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj);
d55e5bfc
RD
19301 Py_INCREF(obj);
19302 return Py_BuildValue((char *)"");
19303}
7e08d4ef 19304static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19305 PyObject *resultobj = NULL;
ae8162c8
RD
19306 wxWindow *arg1 = (wxWindow *) 0 ;
19307 int arg2 ;
19308 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19309 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19310 wxSize const &arg4_defvalue = wxDefaultSize ;
19311 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7e08d4ef 19312 long arg5 = (long) wxBK_DEFAULT ;
ae8162c8
RD
19313 wxString const &arg6_defvalue = wxPyEmptyString ;
19314 wxString *arg6 = (wxString *) &arg6_defvalue ;
7e08d4ef 19315 wxToolbook *result;
ae8162c8
RD
19316 wxPoint temp3 ;
19317 wxSize temp4 ;
19318 bool temp6 = false ;
19319 PyObject * obj0 = 0 ;
19320 PyObject * obj1 = 0 ;
19321 PyObject * obj2 = 0 ;
19322 PyObject * obj3 = 0 ;
19323 PyObject * obj4 = 0 ;
19324 PyObject * obj5 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19327 };
19328
7e08d4ef 19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19331 if (SWIG_arg_fail(1)) SWIG_fail;
19332 {
7449af73 19333 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19334 if (SWIG_arg_fail(2)) SWIG_fail;
19335 }
ae8162c8
RD
19336 if (obj2) {
19337 {
19338 arg3 = &temp3;
19339 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19340 }
19341 }
19342 if (obj3) {
19343 {
19344 arg4 = &temp4;
19345 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19346 }
19347 }
19348 if (obj4) {
093d3ff1 19349 {
7449af73 19350 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19351 if (SWIG_arg_fail(5)) SWIG_fail;
19352 }
ae8162c8
RD
19353 }
19354 if (obj5) {
19355 {
19356 arg6 = wxString_in_helper(obj5);
19357 if (arg6 == NULL) SWIG_fail;
19358 temp6 = true;
19359 }
19360 }
19361 {
ae8162c8 19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19363 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
ae8162c8
RD
19364
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
7e08d4ef 19368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
ae8162c8
RD
19369 {
19370 if (temp6)
19371 delete arg6;
19372 }
19373 return resultobj;
19374 fail:
19375 {
19376 if (temp6)
19377 delete arg6;
19378 }
19379 return NULL;
19380}
19381
19382
7e08d4ef 19383static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19384 PyObject *resultobj = NULL;
7e08d4ef 19385 wxToolbook *result;
ae8162c8
RD
19386 char *kwnames[] = {
19387 NULL
19388 };
19389
7e08d4ef 19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail;
ae8162c8 19391 {
ae8162c8 19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19393 result = (wxToolbook *)new wxToolbook();
ae8162c8
RD
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
7e08d4ef 19398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
ae8162c8
RD
19399 return resultobj;
19400 fail:
19401 return NULL;
19402}
19403
19404
7e08d4ef 19405static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19406 PyObject *resultobj = NULL;
7e08d4ef 19407 wxToolbook *arg1 = (wxToolbook *) 0 ;
ae8162c8
RD
19408 wxWindow *arg2 = (wxWindow *) 0 ;
19409 int arg3 ;
19410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19412 wxSize const &arg5_defvalue = wxDefaultSize ;
19413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19414 long arg6 = (long) 0 ;
7e08d4ef 19415 wxString const &arg7_defvalue = wxEmptyString ;
ae8162c8
RD
19416 wxString *arg7 = (wxString *) &arg7_defvalue ;
19417 bool result;
19418 wxPoint temp4 ;
19419 wxSize temp5 ;
19420 bool temp7 = false ;
19421 PyObject * obj0 = 0 ;
19422 PyObject * obj1 = 0 ;
19423 PyObject * obj2 = 0 ;
19424 PyObject * obj3 = 0 ;
19425 PyObject * obj4 = 0 ;
19426 PyObject * obj5 = 0 ;
19427 PyObject * obj6 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19430 };
19431
7e08d4ef
RD
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1
RD
19434 if (SWIG_arg_fail(1)) SWIG_fail;
19435 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19436 if (SWIG_arg_fail(2)) SWIG_fail;
19437 {
7449af73 19438 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19439 if (SWIG_arg_fail(3)) SWIG_fail;
19440 }
ae8162c8
RD
19441 if (obj3) {
19442 {
19443 arg4 = &temp4;
19444 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19445 }
19446 }
19447 if (obj4) {
19448 {
19449 arg5 = &temp5;
19450 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19451 }
19452 }
19453 if (obj5) {
093d3ff1 19454 {
7449af73 19455 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
19456 if (SWIG_arg_fail(6)) SWIG_fail;
19457 }
ae8162c8
RD
19458 }
19459 if (obj6) {
19460 {
19461 arg7 = wxString_in_helper(obj6);
19462 if (arg7 == NULL) SWIG_fail;
19463 temp7 = true;
19464 }
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 {
19474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19475 }
19476 {
19477 if (temp7)
19478 delete arg7;
19479 }
19480 return resultobj;
19481 fail:
19482 {
19483 if (temp7)
19484 delete arg7;
19485 }
19486 return NULL;
19487}
19488
19489
7e08d4ef 19490static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19491 PyObject *resultobj = NULL;
7e08d4ef
RD
19492 wxToolbook *arg1 = (wxToolbook *) 0 ;
19493 wxToolBarBase *result;
ae8162c8
RD
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
7e08d4ef
RD
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
19500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19501 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19504 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
ae8162c8
RD
19505
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
19509 {
7e08d4ef 19510 resultobj = wxPyMake_wxObject(result, (bool)0);
70b7a5fe 19511 }
70b7a5fe
RD
19512 return resultobj;
19513 fail:
19514 return NULL;
19515}
19516
19517
7e08d4ef 19518static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19519 PyObject *resultobj = NULL;
7e08d4ef 19520 wxToolbook *arg1 = (wxToolbook *) 0 ;
ae8162c8
RD
19521 PyObject * obj0 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self", NULL
19524 };
19525
7e08d4ef
RD
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
19527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 19528 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19531 (arg1)->Realize();
ae8162c8
RD
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
7e08d4ef 19536 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
19537 return resultobj;
19538 fail:
19539 return NULL;
19540}
19541
19542
7e08d4ef 19543static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
ae8162c8
RD
19544 PyObject *obj;
19545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19546 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
ae8162c8
RD
19547 Py_INCREF(obj);
19548 return Py_BuildValue((char *)"");
19549}
7e08d4ef 19550static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19551 PyObject *resultobj = NULL;
ae8162c8
RD
19552 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19553 int arg2 = (int) 0 ;
7e08d4ef
RD
19554 int arg3 = (int) wxNOT_FOUND ;
19555 int arg4 = (int) wxNOT_FOUND ;
19556 wxToolbookEvent *result;
ae8162c8
RD
19557 PyObject * obj0 = 0 ;
19558 PyObject * obj1 = 0 ;
19559 PyObject * obj2 = 0 ;
19560 PyObject * obj3 = 0 ;
19561 char *kwnames[] = {
19562 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19563 };
19564
7e08d4ef 19565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
ae8162c8 19566 if (obj0) {
093d3ff1 19567 {
7449af73 19568 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
19569 if (SWIG_arg_fail(1)) SWIG_fail;
19570 }
ae8162c8
RD
19571 }
19572 if (obj1) {
093d3ff1 19573 {
7449af73 19574 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19575 if (SWIG_arg_fail(2)) SWIG_fail;
19576 }
ae8162c8
RD
19577 }
19578 if (obj2) {
093d3ff1 19579 {
7449af73 19580 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19581 if (SWIG_arg_fail(3)) SWIG_fail;
19582 }
ae8162c8
RD
19583 }
19584 if (obj3) {
093d3ff1 19585 {
7449af73 19586 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19587 if (SWIG_arg_fail(4)) SWIG_fail;
19588 }
ae8162c8
RD
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19592 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
ae8162c8
RD
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
7e08d4ef 19597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
ae8162c8
RD
19598 return resultobj;
19599 fail:
19600 return NULL;
19601}
19602
19603
7e08d4ef 19604static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) {
ae8162c8
RD
19605 PyObject *obj;
19606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7e08d4ef 19607 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj);
ae8162c8
RD
19608 Py_INCREF(obj);
19609 return Py_BuildValue((char *)"");
19610}
c32bde28 19611static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19612 PyObject *resultobj = NULL;
d55e5bfc
RD
19613 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19614 int result;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
19621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (int)(arg1)->GetId();
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
093d3ff1 19630 {
7449af73 19631 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19632 }
d55e5bfc
RD
19633 return resultobj;
19634 fail:
19635 return NULL;
19636}
19637
19638
c32bde28 19639static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19640 PyObject *resultobj = NULL;
d55e5bfc
RD
19641 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19642 wxControl *result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
19649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 result = (wxControl *)(arg1)->GetControl();
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 {
412d302d 19659 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19660 }
19661 return resultobj;
19662 fail:
19663 return NULL;
19664}
19665
19666
c32bde28 19667static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19668 PyObject *resultobj = NULL;
d55e5bfc
RD
19669 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19670 wxToolBarBase *result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
19677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (wxToolBarBase *)(arg1)->GetToolBar();
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 {
7e08d4ef 19687 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
19688 }
19689 return resultobj;
19690 fail:
19691 return NULL;
19692}
19693
19694
c32bde28 19695static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19696 PyObject *resultobj = NULL;
d55e5bfc
RD
19697 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19698 int result;
19699 PyObject * obj0 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
19705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (int)(arg1)->IsButton();
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
093d3ff1 19714 {
7449af73 19715 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19716 }
d55e5bfc
RD
19717 return resultobj;
19718 fail:
19719 return NULL;
19720}
19721
19722
c32bde28 19723static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19724 PyObject *resultobj = NULL;
d55e5bfc
RD
19725 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19726 int result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
19733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (int)(arg1)->IsControl();
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
093d3ff1 19742 {
7449af73 19743 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19744 }
d55e5bfc
RD
19745 return resultobj;
19746 fail:
19747 return NULL;
19748}
19749
19750
c32bde28 19751static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19752 PyObject *resultobj = NULL;
d55e5bfc
RD
19753 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19754 int result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (int)(arg1)->IsSeparator();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
093d3ff1 19770 {
7449af73 19771 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19772 }
d55e5bfc
RD
19773 return resultobj;
19774 fail:
19775 return NULL;
19776}
19777
19778
c32bde28 19779static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19780 PyObject *resultobj = NULL;
d55e5bfc
RD
19781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19782 int result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (int)(arg1)->GetStyle();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
093d3ff1 19798 {
7449af73 19799 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19800 }
d55e5bfc
RD
19801 return resultobj;
19802 fail:
19803 return NULL;
19804}
19805
19806
c32bde28 19807static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19808 PyObject *resultobj = NULL;
d55e5bfc 19809 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 19810 wxItemKind result;
d55e5bfc
RD
19811 PyObject * obj0 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
19817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19821 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
093d3ff1 19826 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
c32bde28 19833static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19834 PyObject *resultobj = NULL;
d55e5bfc
RD
19835 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19836 bool result;
19837 PyObject * obj0 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 result = (bool)(arg1)->IsEnabled();
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 {
19853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858}
19859
19860
c32bde28 19861static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19862 PyObject *resultobj = NULL;
d55e5bfc
RD
19863 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19864 bool result;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 result = (bool)(arg1)->IsToggled();
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 {
19881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19882 }
19883 return resultobj;
19884 fail:
19885 return NULL;
19886}
19887
19888
c32bde28 19889static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19890 PyObject *resultobj = NULL;
d55e5bfc
RD
19891 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19892 bool result;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
19899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (bool)(arg1)->CanBeToggled();
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 {
19909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19910 }
19911 return resultobj;
19912 fail:
19913 return NULL;
19914}
19915
19916
c32bde28 19917static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19918 PyObject *resultobj = NULL;
d55e5bfc
RD
19919 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19920 wxBitmap *result;
19921 PyObject * obj0 = 0 ;
19922 char *kwnames[] = {
19923 (char *) "self", NULL
19924 };
19925
19926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
19927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 {
19932 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
19933 result = (wxBitmap *) &_result_ref;
19934 }
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 {
19940 wxBitmap* resultptr = new wxBitmap(*result);
19941 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19942 }
19943 return resultobj;
19944 fail:
19945 return NULL;
19946}
19947
19948
c32bde28 19949static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19950 PyObject *resultobj = NULL;
d55e5bfc
RD
19951 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19952 wxBitmap *result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
19959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 {
19964 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
19965 result = (wxBitmap *) &_result_ref;
19966 }
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 {
19972 wxBitmap* resultptr = new wxBitmap(*result);
19973 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19974 }
19975 return resultobj;
19976 fail:
19977 return NULL;
19978}
19979
19980
c32bde28 19981static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19982 PyObject *resultobj = NULL;
d55e5bfc
RD
19983 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19984 wxBitmap result;
19985 PyObject * obj0 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
19991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 result = (arg1)->GetBitmap();
19996
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 {
20001 wxBitmap * resultptr;
7449af73 20002 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
20003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
20004 }
20005 return resultobj;
20006 fail:
20007 return NULL;
20008}
20009
20010
c32bde28 20011static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20012 PyObject *resultobj = NULL;
d55e5bfc
RD
20013 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20014 wxString result;
20015 PyObject * obj0 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
20021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (arg1)->GetLabel();
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 {
20031#if wxUSE_UNICODE
20032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20033#else
20034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20035#endif
20036 }
20037 return resultobj;
20038 fail:
20039 return NULL;
20040}
20041
20042
c32bde28 20043static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20044 PyObject *resultobj = NULL;
d55e5bfc
RD
20045 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20046 wxString result;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
20053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (arg1)->GetShortHelp();
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 {
20063#if wxUSE_UNICODE
20064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20065#else
20066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20067#endif
20068 }
20069 return resultobj;
20070 fail:
20071 return NULL;
20072}
20073
20074
c32bde28 20075static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20076 PyObject *resultobj = NULL;
d55e5bfc
RD
20077 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20078 wxString result;
20079 PyObject * obj0 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
20085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (arg1)->GetLongHelp();
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 {
20095#if wxUSE_UNICODE
20096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20097#else
20098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20099#endif
20100 }
20101 return resultobj;
20102 fail:
20103 return NULL;
20104}
20105
20106
c32bde28 20107static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20108 PyObject *resultobj = NULL;
d55e5bfc
RD
20109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20110 bool arg2 ;
20111 bool result;
20112 PyObject * obj0 = 0 ;
20113 PyObject * obj1 = 0 ;
20114 char *kwnames[] = {
20115 (char *) "self",(char *) "enable", NULL
20116 };
20117
20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail;
20121 {
7449af73 20122 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
20123 if (SWIG_arg_fail(2)) SWIG_fail;
20124 }
d55e5bfc
RD
20125 {
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 result = (bool)(arg1)->Enable(arg2);
20128
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 {
20133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20134 }
20135 return resultobj;
20136 fail:
20137 return NULL;
20138}
20139
20140
c32bde28 20141static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20142 PyObject *resultobj = NULL;
d55e5bfc
RD
20143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20144 PyObject * obj0 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
20150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20152 {
20153 PyThreadState* __tstate = wxPyBeginAllowThreads();
20154 (arg1)->Toggle();
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 Py_INCREF(Py_None); resultobj = Py_None;
20160 return resultobj;
20161 fail:
20162 return NULL;
20163}
20164
20165
c32bde28 20166static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20167 PyObject *resultobj = NULL;
d55e5bfc
RD
20168 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20169 bool arg2 ;
20170 bool result;
20171 PyObject * obj0 = 0 ;
20172 PyObject * obj1 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self",(char *) "toggle", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20179 if (SWIG_arg_fail(1)) SWIG_fail;
20180 {
7449af73 20181 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
20182 if (SWIG_arg_fail(2)) SWIG_fail;
20183 }
d55e5bfc
RD
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 result = (bool)(arg1)->SetToggle(arg2);
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 {
20192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20193 }
20194 return resultobj;
20195 fail:
20196 return NULL;
20197}
20198
20199
c32bde28 20200static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20201 PyObject *resultobj = NULL;
d55e5bfc
RD
20202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20203 wxString *arg2 = 0 ;
20204 bool result;
ae8162c8 20205 bool temp2 = false ;
d55e5bfc
RD
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "help", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20215 {
20216 arg2 = wxString_in_helper(obj1);
20217 if (arg2 == NULL) SWIG_fail;
ae8162c8 20218 temp2 = true;
d55e5bfc
RD
20219 }
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 {
20228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20229 }
20230 {
20231 if (temp2)
20232 delete arg2;
20233 }
20234 return resultobj;
20235 fail:
20236 {
20237 if (temp2)
20238 delete arg2;
20239 }
20240 return NULL;
20241}
20242
20243
c32bde28 20244static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20245 PyObject *resultobj = NULL;
d55e5bfc
RD
20246 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20247 wxString *arg2 = 0 ;
20248 bool result;
ae8162c8 20249 bool temp2 = false ;
d55e5bfc
RD
20250 PyObject * obj0 = 0 ;
20251 PyObject * obj1 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self",(char *) "help", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20259 {
20260 arg2 = wxString_in_helper(obj1);
20261 if (arg2 == NULL) SWIG_fail;
ae8162c8 20262 temp2 = true;
d55e5bfc
RD
20263 }
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 {
20272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20273 }
20274 {
20275 if (temp2)
20276 delete arg2;
20277 }
20278 return resultobj;
20279 fail:
20280 {
20281 if (temp2)
20282 delete arg2;
20283 }
20284 return NULL;
20285}
20286
20287
c32bde28 20288static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20289 PyObject *resultobj = NULL;
d55e5bfc
RD
20290 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20291 wxBitmap *arg2 = 0 ;
20292 PyObject * obj0 = 0 ;
20293 PyObject * obj1 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self",(char *) "bmp", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail;
20301 {
20302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20303 if (SWIG_arg_fail(2)) SWIG_fail;
20304 if (arg2 == NULL) {
20305 SWIG_null_ref("wxBitmap");
20306 }
20307 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20308 }
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 Py_INCREF(Py_None); resultobj = Py_None;
20317 return resultobj;
20318 fail:
20319 return NULL;
20320}
20321
20322
c32bde28 20323static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20324 PyObject *resultobj = NULL;
d55e5bfc
RD
20325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20326 wxBitmap *arg2 = 0 ;
20327 PyObject * obj0 = 0 ;
20328 PyObject * obj1 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "bmp", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20335 if (SWIG_arg_fail(1)) SWIG_fail;
20336 {
20337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20338 if (SWIG_arg_fail(2)) SWIG_fail;
20339 if (arg2 == NULL) {
20340 SWIG_null_ref("wxBitmap");
20341 }
20342 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20343 }
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 Py_INCREF(Py_None); resultobj = Py_None;
20352 return resultobj;
20353 fail:
20354 return NULL;
20355}
20356
20357
c32bde28 20358static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20359 PyObject *resultobj = NULL;
d55e5bfc
RD
20360 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20361 wxString *arg2 = 0 ;
ae8162c8 20362 bool temp2 = false ;
d55e5bfc
RD
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "label", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20372 {
20373 arg2 = wxString_in_helper(obj1);
20374 if (arg2 == NULL) SWIG_fail;
ae8162c8 20375 temp2 = true;
d55e5bfc
RD
20376 }
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 (arg1)->SetLabel((wxString const &)*arg2);
20380
20381 wxPyEndAllowThreads(__tstate);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 Py_INCREF(Py_None); resultobj = Py_None;
20385 {
20386 if (temp2)
20387 delete arg2;
20388 }
20389 return resultobj;
20390 fail:
20391 {
20392 if (temp2)
20393 delete arg2;
20394 }
20395 return NULL;
20396}
20397
20398
c32bde28 20399static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20400 PyObject *resultobj = NULL;
d55e5bfc
RD
20401 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20402 PyObject * obj0 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
20408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 (arg1)->Detach();
20413
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 Py_INCREF(Py_None); resultobj = Py_None;
20418 return resultobj;
20419 fail:
20420 return NULL;
20421}
20422
20423
c32bde28 20424static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20425 PyObject *resultobj = NULL;
d55e5bfc
RD
20426 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20427 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self",(char *) "tbar", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail;
20437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20438 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 (arg1)->Attach(arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 Py_INCREF(Py_None); resultobj = Py_None;
20447 return resultobj;
20448 fail:
20449 return NULL;
20450}
20451
20452
c32bde28 20453static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20454 PyObject *resultobj = NULL;
d55e5bfc
RD
20455 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20456 PyObject *result;
20457 PyObject * obj0 = 0 ;
20458 char *kwnames[] = {
20459 (char *) "self", NULL
20460 };
20461
20462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 resultobj = result;
20473 return resultobj;
20474 fail:
20475 return NULL;
20476}
20477
20478
c32bde28 20479static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20480 PyObject *resultobj = NULL;
d55e5bfc
RD
20481 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20482 PyObject *arg2 = (PyObject *) 0 ;
20483 PyObject * obj0 = 0 ;
20484 PyObject * obj1 = 0 ;
20485 char *kwnames[] = {
20486 (char *) "self",(char *) "clientData", NULL
20487 };
20488
20489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20492 arg2 = obj1;
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 wxToolBarToolBase_SetClientData(arg1,arg2);
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 Py_INCREF(Py_None); resultobj = Py_None;
20501 return resultobj;
20502 fail:
20503 return NULL;
20504}
20505
20506
c32bde28 20507static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20508 PyObject *obj;
20509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20510 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
20511 Py_INCREF(obj);
20512 return Py_BuildValue((char *)"");
20513}
c32bde28 20514static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20515 PyObject *resultobj = NULL;
d55e5bfc
RD
20516 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20517 int arg2 ;
20518 wxString *arg3 = 0 ;
20519 wxBitmap *arg4 = 0 ;
20520 wxBitmap const &arg5_defvalue = wxNullBitmap ;
20521 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 20522 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
20523 wxString const &arg7_defvalue = wxPyEmptyString ;
20524 wxString *arg7 = (wxString *) &arg7_defvalue ;
20525 wxString const &arg8_defvalue = wxPyEmptyString ;
20526 wxString *arg8 = (wxString *) &arg8_defvalue ;
20527 PyObject *arg9 = (PyObject *) NULL ;
20528 wxToolBarToolBase *result;
ae8162c8
RD
20529 bool temp3 = false ;
20530 bool temp7 = false ;
20531 bool temp8 = false ;
d55e5bfc
RD
20532 PyObject * obj0 = 0 ;
20533 PyObject * obj1 = 0 ;
20534 PyObject * obj2 = 0 ;
20535 PyObject * obj3 = 0 ;
20536 PyObject * obj4 = 0 ;
20537 PyObject * obj5 = 0 ;
20538 PyObject * obj6 = 0 ;
20539 PyObject * obj7 = 0 ;
20540 PyObject * obj8 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
20546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20547 if (SWIG_arg_fail(1)) SWIG_fail;
20548 {
7449af73 20549 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20550 if (SWIG_arg_fail(2)) SWIG_fail;
20551 }
d55e5bfc
RD
20552 {
20553 arg3 = wxString_in_helper(obj2);
20554 if (arg3 == NULL) SWIG_fail;
ae8162c8 20555 temp3 = true;
d55e5bfc 20556 }
093d3ff1
RD
20557 {
20558 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20559 if (SWIG_arg_fail(4)) SWIG_fail;
20560 if (arg4 == NULL) {
20561 SWIG_null_ref("wxBitmap");
20562 }
20563 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
20564 }
20565 if (obj4) {
093d3ff1
RD
20566 {
20567 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20568 if (SWIG_arg_fail(5)) SWIG_fail;
20569 if (arg5 == NULL) {
20570 SWIG_null_ref("wxBitmap");
20571 }
20572 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
20573 }
20574 }
20575 if (obj5) {
093d3ff1 20576 {
7449af73 20577 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
093d3ff1
RD
20578 if (SWIG_arg_fail(6)) SWIG_fail;
20579 }
d55e5bfc
RD
20580 }
20581 if (obj6) {
20582 {
20583 arg7 = wxString_in_helper(obj6);
20584 if (arg7 == NULL) SWIG_fail;
ae8162c8 20585 temp7 = true;
d55e5bfc
RD
20586 }
20587 }
20588 if (obj7) {
20589 {
20590 arg8 = wxString_in_helper(obj7);
20591 if (arg8 == NULL) SWIG_fail;
ae8162c8 20592 temp8 = true;
d55e5bfc
RD
20593 }
20594 }
20595 if (obj8) {
20596 arg9 = obj8;
20597 }
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20600 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
20601
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 {
7e08d4ef 20606 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20607 }
20608 {
20609 if (temp3)
20610 delete arg3;
20611 }
20612 {
20613 if (temp7)
20614 delete arg7;
20615 }
20616 {
20617 if (temp8)
20618 delete arg8;
20619 }
20620 return resultobj;
20621 fail:
20622 {
20623 if (temp3)
20624 delete arg3;
20625 }
20626 {
20627 if (temp7)
20628 delete arg7;
20629 }
20630 {
20631 if (temp8)
20632 delete arg8;
20633 }
20634 return NULL;
20635}
20636
20637
c32bde28 20638static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20639 PyObject *resultobj = NULL;
d55e5bfc
RD
20640 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20641 size_t arg2 ;
20642 int arg3 ;
20643 wxString *arg4 = 0 ;
20644 wxBitmap *arg5 = 0 ;
20645 wxBitmap const &arg6_defvalue = wxNullBitmap ;
20646 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 20647 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
20648 wxString const &arg8_defvalue = wxPyEmptyString ;
20649 wxString *arg8 = (wxString *) &arg8_defvalue ;
20650 wxString const &arg9_defvalue = wxPyEmptyString ;
20651 wxString *arg9 = (wxString *) &arg9_defvalue ;
20652 PyObject *arg10 = (PyObject *) NULL ;
20653 wxToolBarToolBase *result;
ae8162c8
RD
20654 bool temp4 = false ;
20655 bool temp8 = false ;
20656 bool temp9 = false ;
d55e5bfc
RD
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 PyObject * obj2 = 0 ;
20660 PyObject * obj3 = 0 ;
20661 PyObject * obj4 = 0 ;
20662 PyObject * obj5 = 0 ;
20663 PyObject * obj6 = 0 ;
20664 PyObject * obj7 = 0 ;
20665 PyObject * obj8 = 0 ;
20666 PyObject * obj9 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
20672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail;
20674 {
7449af73 20675 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20676 if (SWIG_arg_fail(2)) SWIG_fail;
20677 }
20678 {
7449af73 20679 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20680 if (SWIG_arg_fail(3)) SWIG_fail;
20681 }
d55e5bfc
RD
20682 {
20683 arg4 = wxString_in_helper(obj3);
20684 if (arg4 == NULL) SWIG_fail;
ae8162c8 20685 temp4 = true;
d55e5bfc 20686 }
093d3ff1
RD
20687 {
20688 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20689 if (SWIG_arg_fail(5)) SWIG_fail;
20690 if (arg5 == NULL) {
20691 SWIG_null_ref("wxBitmap");
20692 }
20693 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
20694 }
20695 if (obj5) {
093d3ff1
RD
20696 {
20697 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20698 if (SWIG_arg_fail(6)) SWIG_fail;
20699 if (arg6 == NULL) {
20700 SWIG_null_ref("wxBitmap");
20701 }
20702 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
20703 }
20704 }
20705 if (obj6) {
093d3ff1 20706 {
7449af73 20707 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
093d3ff1
RD
20708 if (SWIG_arg_fail(7)) SWIG_fail;
20709 }
d55e5bfc
RD
20710 }
20711 if (obj7) {
20712 {
20713 arg8 = wxString_in_helper(obj7);
20714 if (arg8 == NULL) SWIG_fail;
ae8162c8 20715 temp8 = true;
d55e5bfc
RD
20716 }
20717 }
20718 if (obj8) {
20719 {
20720 arg9 = wxString_in_helper(obj8);
20721 if (arg9 == NULL) SWIG_fail;
ae8162c8 20722 temp9 = true;
d55e5bfc
RD
20723 }
20724 }
20725 if (obj9) {
20726 arg10 = obj9;
20727 }
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20730 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
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 {
7e08d4ef 20736 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20737 }
20738 {
20739 if (temp4)
20740 delete arg4;
20741 }
20742 {
20743 if (temp8)
20744 delete arg8;
20745 }
20746 {
20747 if (temp9)
20748 delete arg9;
20749 }
20750 return resultobj;
20751 fail:
20752 {
20753 if (temp4)
20754 delete arg4;
20755 }
20756 {
20757 if (temp8)
20758 delete arg8;
20759 }
20760 {
20761 if (temp9)
20762 delete arg9;
20763 }
20764 return NULL;
20765}
20766
20767
c32bde28 20768static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20769 PyObject *resultobj = NULL;
d55e5bfc
RD
20770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20771 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
20772 wxToolBarToolBase *result;
20773 PyObject * obj0 = 0 ;
20774 PyObject * obj1 = 0 ;
20775 char *kwnames[] = {
20776 (char *) "self",(char *) "tool", NULL
20777 };
20778
20779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail;
20782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20783 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 {
7e08d4ef 20792 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20793 }
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
c32bde28 20800static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20801 PyObject *resultobj = NULL;
d55e5bfc
RD
20802 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20803 size_t arg2 ;
20804 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
20805 wxToolBarToolBase *result;
20806 PyObject * obj0 = 0 ;
20807 PyObject * obj1 = 0 ;
20808 PyObject * obj2 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self",(char *) "pos",(char *) "tool", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20815 if (SWIG_arg_fail(1)) SWIG_fail;
20816 {
7449af73 20817 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20818 if (SWIG_arg_fail(2)) SWIG_fail;
20819 }
20820 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20821 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 {
7e08d4ef 20830 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20831 }
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
c32bde28 20838static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20839 PyObject *resultobj = NULL;
d55e5bfc
RD
20840 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20841 wxControl *arg2 = (wxControl *) 0 ;
20842 wxToolBarToolBase *result;
20843 PyObject * obj0 = 0 ;
20844 PyObject * obj1 = 0 ;
20845 char *kwnames[] = {
20846 (char *) "self",(char *) "control", NULL
20847 };
20848
20849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20851 if (SWIG_arg_fail(1)) SWIG_fail;
20852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20853 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
7e08d4ef 20862 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20863 }
20864 return resultobj;
20865 fail:
20866 return NULL;
20867}
20868
20869
c32bde28 20870static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20871 PyObject *resultobj = NULL;
d55e5bfc
RD
20872 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20873 size_t arg2 ;
20874 wxControl *arg3 = (wxControl *) 0 ;
20875 wxToolBarToolBase *result;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878 PyObject * obj2 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self",(char *) "pos",(char *) "control", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20885 if (SWIG_arg_fail(1)) SWIG_fail;
20886 {
7449af73 20887 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20888 if (SWIG_arg_fail(2)) SWIG_fail;
20889 }
20890 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20891 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
7e08d4ef 20900 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20901 }
20902 return resultobj;
20903 fail:
20904 return NULL;
20905}
20906
20907
c32bde28 20908static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20909 PyObject *resultobj = NULL;
d55e5bfc
RD
20910 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20911 int arg2 ;
20912 wxControl *result;
20913 PyObject * obj0 = 0 ;
20914 PyObject * obj1 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self",(char *) "id", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20921 if (SWIG_arg_fail(1)) SWIG_fail;
20922 {
7449af73 20923 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20924 if (SWIG_arg_fail(2)) SWIG_fail;
20925 }
d55e5bfc
RD
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 result = (wxControl *)(arg1)->FindControl(arg2);
20929
20930 wxPyEndAllowThreads(__tstate);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 }
20933 {
412d302d 20934 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20935 }
20936 return resultobj;
20937 fail:
20938 return NULL;
20939}
20940
20941
c32bde28 20942static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20943 PyObject *resultobj = NULL;
d55e5bfc
RD
20944 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20945 wxToolBarToolBase *result;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "self", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
20952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 {
7e08d4ef 20962 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20963 }
20964 return resultobj;
20965 fail:
20966 return NULL;
20967}
20968
20969
c32bde28 20970static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20971 PyObject *resultobj = NULL;
d55e5bfc
RD
20972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20973 size_t arg2 ;
20974 wxToolBarToolBase *result;
20975 PyObject * obj0 = 0 ;
20976 PyObject * obj1 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "pos", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20983 if (SWIG_arg_fail(1)) SWIG_fail;
20984 {
7449af73 20985 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
20986 if (SWIG_arg_fail(2)) SWIG_fail;
20987 }
d55e5bfc
RD
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 {
7e08d4ef 20996 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
20997 }
20998 return resultobj;
20999 fail:
21000 return NULL;
21001}
21002
21003
c32bde28 21004static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21005 PyObject *resultobj = NULL;
d55e5bfc
RD
21006 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21007 int arg2 ;
21008 wxToolBarToolBase *result;
21009 PyObject * obj0 = 0 ;
21010 PyObject * obj1 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "id", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21017 if (SWIG_arg_fail(1)) SWIG_fail;
21018 {
7449af73 21019 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21020 if (SWIG_arg_fail(2)) SWIG_fail;
21021 }
d55e5bfc
RD
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 {
7e08d4ef 21030 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
21031 }
21032 return resultobj;
21033 fail:
21034 return NULL;
21035}
21036
21037
c32bde28 21038static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21039 PyObject *resultobj = NULL;
d55e5bfc
RD
21040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21041 size_t arg2 ;
21042 bool result;
21043 PyObject * obj0 = 0 ;
21044 PyObject * obj1 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self",(char *) "pos", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21051 if (SWIG_arg_fail(1)) SWIG_fail;
21052 {
7449af73 21053 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
21054 if (SWIG_arg_fail(2)) SWIG_fail;
21055 }
d55e5bfc
RD
21056 {
21057 PyThreadState* __tstate = wxPyBeginAllowThreads();
21058 result = (bool)(arg1)->DeleteToolByPos(arg2);
21059
21060 wxPyEndAllowThreads(__tstate);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
21063 {
21064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21065 }
21066 return resultobj;
21067 fail:
21068 return NULL;
21069}
21070
21071
c32bde28 21072static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21073 PyObject *resultobj = NULL;
d55e5bfc
RD
21074 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21075 int arg2 ;
21076 bool result;
21077 PyObject * obj0 = 0 ;
21078 PyObject * obj1 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self",(char *) "id", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail;
21086 {
7449af73 21087 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21088 if (SWIG_arg_fail(2)) SWIG_fail;
21089 }
d55e5bfc
RD
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 result = (bool)(arg1)->DeleteTool(arg2);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 {
21098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21099 }
21100 return resultobj;
21101 fail:
21102 return NULL;
21103}
21104
21105
c32bde28 21106static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21107 PyObject *resultobj = NULL;
d55e5bfc
RD
21108 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21109 PyObject * obj0 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
21115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 (arg1)->ClearTools();
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
c32bde28 21131static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21132 PyObject *resultobj = NULL;
d55e5bfc
RD
21133 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21134 bool result;
21135 PyObject * obj0 = 0 ;
21136 char *kwnames[] = {
21137 (char *) "self", NULL
21138 };
21139
21140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
21141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21143 {
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 result = (bool)(arg1)->Realize();
21146
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 {
21151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21152 }
21153 return resultobj;
21154 fail:
21155 return NULL;
21156}
21157
21158
c32bde28 21159static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21160 PyObject *resultobj = NULL;
d55e5bfc
RD
21161 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21162 int arg2 ;
21163 bool arg3 ;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 PyObject * obj2 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self",(char *) "id",(char *) "enable", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail;
21174 {
7449af73 21175 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21176 if (SWIG_arg_fail(2)) SWIG_fail;
21177 }
21178 {
7449af73 21179 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21180 if (SWIG_arg_fail(3)) SWIG_fail;
21181 }
d55e5bfc
RD
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 (arg1)->EnableTool(arg2,arg3);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 Py_INCREF(Py_None); resultobj = Py_None;
21190 return resultobj;
21191 fail:
21192 return NULL;
21193}
21194
21195
c32bde28 21196static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21197 PyObject *resultobj = NULL;
d55e5bfc
RD
21198 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21199 int arg2 ;
21200 bool arg3 ;
21201 PyObject * obj0 = 0 ;
21202 PyObject * obj1 = 0 ;
21203 PyObject * obj2 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self",(char *) "id",(char *) "toggle", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail;
21211 {
7449af73 21212 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21213 if (SWIG_arg_fail(2)) SWIG_fail;
21214 }
21215 {
7449af73 21216 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21217 if (SWIG_arg_fail(3)) SWIG_fail;
21218 }
d55e5bfc
RD
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 (arg1)->ToggleTool(arg2,arg3);
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 Py_INCREF(Py_None); resultobj = Py_None;
21227 return resultobj;
21228 fail:
21229 return NULL;
21230}
21231
21232
c32bde28 21233static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21234 PyObject *resultobj = NULL;
d55e5bfc
RD
21235 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21236 int arg2 ;
21237 bool arg3 ;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 PyObject * obj2 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self",(char *) "id",(char *) "toggle", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21247 if (SWIG_arg_fail(1)) SWIG_fail;
21248 {
7449af73 21249 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21250 if (SWIG_arg_fail(2)) SWIG_fail;
21251 }
21252 {
7449af73 21253 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
21254 if (SWIG_arg_fail(3)) SWIG_fail;
21255 }
d55e5bfc
RD
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 (arg1)->SetToggle(arg2,arg3);
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 Py_INCREF(Py_None); resultobj = Py_None;
21264 return resultobj;
21265 fail:
21266 return NULL;
21267}
21268
21269
c32bde28 21270static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21271 PyObject *resultobj = NULL;
d55e5bfc
RD
21272 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21273 int arg2 ;
21274 PyObject *result;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "id", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21283 if (SWIG_arg_fail(1)) SWIG_fail;
21284 {
7449af73 21285 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21286 if (SWIG_arg_fail(2)) SWIG_fail;
21287 }
d55e5bfc
RD
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 resultobj = result;
21296 return resultobj;
21297 fail:
21298 return NULL;
21299}
21300
21301
c32bde28 21302static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21303 PyObject *resultobj = NULL;
d55e5bfc
RD
21304 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21305 int arg2 ;
21306 PyObject *arg3 = (PyObject *) 0 ;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 char *kwnames[] = {
21311 (char *) "self",(char *) "id",(char *) "clientData", NULL
21312 };
21313
21314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail;
21317 {
7449af73 21318 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21319 if (SWIG_arg_fail(2)) SWIG_fail;
21320 }
d55e5bfc
RD
21321 arg3 = obj2;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 Py_INCREF(Py_None); resultobj = Py_None;
21330 return resultobj;
21331 fail:
21332 return NULL;
21333}
21334
21335
c32bde28 21336static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21337 PyObject *resultobj = NULL;
d55e5bfc
RD
21338 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21339 int arg2 ;
21340 int result;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self",(char *) "id", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail;
21350 {
7449af73 21351 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21352 if (SWIG_arg_fail(2)) SWIG_fail;
21353 }
d55e5bfc
RD
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
093d3ff1 21361 {
7449af73 21362 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21363 }
d55e5bfc
RD
21364 return resultobj;
21365 fail:
21366 return NULL;
21367}
21368
21369
c32bde28 21370static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21371 PyObject *resultobj = NULL;
d55e5bfc
RD
21372 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21373 int arg2 ;
21374 bool result;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self",(char *) "id", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail;
21384 {
7449af73 21385 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21386 if (SWIG_arg_fail(2)) SWIG_fail;
21387 }
d55e5bfc
RD
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = (bool)(arg1)->GetToolState(arg2);
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21397 }
21398 return resultobj;
21399 fail:
21400 return NULL;
21401}
21402
21403
c32bde28 21404static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21405 PyObject *resultobj = NULL;
d55e5bfc
RD
21406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21407 int arg2 ;
21408 bool result;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "id", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail;
21418 {
7449af73 21419 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21420 if (SWIG_arg_fail(2)) SWIG_fail;
21421 }
d55e5bfc
RD
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 result = (bool)(arg1)->GetToolEnabled(arg2);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 {
21430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21431 }
21432 return resultobj;
21433 fail:
21434 return NULL;
21435}
21436
21437
c32bde28 21438static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21439 PyObject *resultobj = NULL;
d55e5bfc
RD
21440 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21441 int arg2 ;
21442 wxString *arg3 = 0 ;
ae8162c8 21443 bool temp3 = false ;
d55e5bfc
RD
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 PyObject * obj2 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "id",(char *) "helpString", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail;
21454 {
7449af73 21455 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21456 if (SWIG_arg_fail(2)) SWIG_fail;
21457 }
d55e5bfc
RD
21458 {
21459 arg3 = wxString_in_helper(obj2);
21460 if (arg3 == NULL) SWIG_fail;
ae8162c8 21461 temp3 = true;
d55e5bfc
RD
21462 }
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 Py_INCREF(Py_None); resultobj = Py_None;
21471 {
21472 if (temp3)
21473 delete arg3;
21474 }
21475 return resultobj;
21476 fail:
21477 {
21478 if (temp3)
21479 delete arg3;
21480 }
21481 return NULL;
21482}
21483
21484
c32bde28 21485static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21486 PyObject *resultobj = NULL;
d55e5bfc
RD
21487 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21488 int arg2 ;
21489 wxString result;
21490 PyObject * obj0 = 0 ;
21491 PyObject * obj1 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "self",(char *) "id", NULL
21494 };
21495
21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21498 if (SWIG_arg_fail(1)) SWIG_fail;
21499 {
7449af73 21500 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21501 if (SWIG_arg_fail(2)) SWIG_fail;
21502 }
d55e5bfc
RD
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 result = (arg1)->GetToolShortHelp(arg2);
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 {
21511#if wxUSE_UNICODE
21512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21513#else
21514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21515#endif
21516 }
21517 return resultobj;
21518 fail:
21519 return NULL;
21520}
21521
21522
c32bde28 21523static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21524 PyObject *resultobj = NULL;
d55e5bfc
RD
21525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21526 int arg2 ;
21527 wxString *arg3 = 0 ;
ae8162c8 21528 bool temp3 = false ;
d55e5bfc
RD
21529 PyObject * obj0 = 0 ;
21530 PyObject * obj1 = 0 ;
21531 PyObject * obj2 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "id",(char *) "helpString", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail;
21539 {
7449af73 21540 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21541 if (SWIG_arg_fail(2)) SWIG_fail;
21542 }
d55e5bfc
RD
21543 {
21544 arg3 = wxString_in_helper(obj2);
21545 if (arg3 == NULL) SWIG_fail;
ae8162c8 21546 temp3 = true;
d55e5bfc
RD
21547 }
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 {
21557 if (temp3)
21558 delete arg3;
21559 }
21560 return resultobj;
21561 fail:
21562 {
21563 if (temp3)
21564 delete arg3;
21565 }
21566 return NULL;
21567}
21568
21569
c32bde28 21570static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21571 PyObject *resultobj = NULL;
d55e5bfc
RD
21572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21573 int arg2 ;
21574 wxString result;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 char *kwnames[] = {
21578 (char *) "self",(char *) "id", NULL
21579 };
21580
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21583 if (SWIG_arg_fail(1)) SWIG_fail;
21584 {
7449af73 21585 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21586 if (SWIG_arg_fail(2)) SWIG_fail;
21587 }
d55e5bfc
RD
21588 {
21589 PyThreadState* __tstate = wxPyBeginAllowThreads();
21590 result = (arg1)->GetToolLongHelp(arg2);
21591
21592 wxPyEndAllowThreads(__tstate);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 {
21596#if wxUSE_UNICODE
21597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21598#else
21599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21600#endif
21601 }
21602 return resultobj;
21603 fail:
21604 return NULL;
21605}
21606
21607
c32bde28 21608static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21609 PyObject *resultobj = NULL;
d55e5bfc
RD
21610 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21611 int arg2 ;
21612 int arg3 ;
21613 PyObject * obj0 = 0 ;
21614 PyObject * obj1 = 0 ;
21615 PyObject * obj2 = 0 ;
21616 char *kwnames[] = {
21617 (char *) "self",(char *) "x",(char *) "y", NULL
21618 };
21619
21620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21622 if (SWIG_arg_fail(1)) SWIG_fail;
21623 {
7449af73 21624 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21625 if (SWIG_arg_fail(2)) SWIG_fail;
21626 }
21627 {
7449af73 21628 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21629 if (SWIG_arg_fail(3)) SWIG_fail;
21630 }
d55e5bfc
RD
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 (arg1)->SetMargins(arg2,arg3);
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 Py_INCREF(Py_None); resultobj = Py_None;
21639 return resultobj;
21640 fail:
21641 return NULL;
21642}
21643
21644
c32bde28 21645static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21646 PyObject *resultobj = NULL;
d55e5bfc
RD
21647 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21648 wxSize *arg2 = 0 ;
21649 wxSize temp2 ;
21650 PyObject * obj0 = 0 ;
21651 PyObject * obj1 = 0 ;
21652 char *kwnames[] = {
21653 (char *) "self",(char *) "size", NULL
21654 };
21655
21656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21659 {
21660 arg2 = &temp2;
21661 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21662 }
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->SetMargins((wxSize const &)*arg2);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 return resultobj;
21672 fail:
21673 return NULL;
21674}
21675
21676
c32bde28 21677static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21678 PyObject *resultobj = NULL;
d55e5bfc
RD
21679 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21680 int arg2 ;
21681 PyObject * obj0 = 0 ;
21682 PyObject * obj1 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self",(char *) "packing", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21689 if (SWIG_arg_fail(1)) SWIG_fail;
21690 {
7449af73 21691 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21692 if (SWIG_arg_fail(2)) SWIG_fail;
21693 }
d55e5bfc
RD
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 (arg1)->SetToolPacking(arg2);
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 Py_INCREF(Py_None); resultobj = Py_None;
21702 return resultobj;
21703 fail:
21704 return NULL;
21705}
21706
21707
c32bde28 21708static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21709 PyObject *resultobj = NULL;
d55e5bfc
RD
21710 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21711 int arg2 ;
21712 PyObject * obj0 = 0 ;
21713 PyObject * obj1 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "self",(char *) "separation", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail;
21721 {
7449af73 21722 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21723 if (SWIG_arg_fail(2)) SWIG_fail;
21724 }
d55e5bfc
RD
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 (arg1)->SetToolSeparation(arg2);
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 Py_INCREF(Py_None); resultobj = Py_None;
21733 return resultobj;
21734 fail:
21735 return NULL;
21736}
21737
21738
c32bde28 21739static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21740 PyObject *resultobj = NULL;
d55e5bfc
RD
21741 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21742 wxSize result;
21743 PyObject * obj0 = 0 ;
21744 char *kwnames[] = {
21745 (char *) "self", NULL
21746 };
21747
21748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
21749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 result = (arg1)->GetToolMargins();
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 {
21759 wxSize * resultptr;
7449af73 21760 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21761 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21762 }
21763 return resultobj;
21764 fail:
21765 return NULL;
21766}
21767
21768
c32bde28 21769static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21770 PyObject *resultobj = NULL;
d55e5bfc
RD
21771 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21772 wxSize result;
21773 PyObject * obj0 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self", NULL
21776 };
21777
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
21779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 result = (arg1)->GetMargins();
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 {
21789 wxSize * resultptr;
7449af73 21790 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
21791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21792 }
21793 return resultobj;
21794 fail:
21795 return NULL;
21796}
21797
21798
c32bde28 21799static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21800 PyObject *resultobj = NULL;
d55e5bfc
RD
21801 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21802 int result;
21803 PyObject * obj0 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
21809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21810 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 result = (int)(arg1)->GetToolPacking();
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
093d3ff1 21818 {
7449af73 21819 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21820 }
d55e5bfc
RD
21821 return resultobj;
21822 fail:
21823 return NULL;
21824}
21825
21826
c32bde28 21827static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21828 PyObject *resultobj = NULL;
d55e5bfc
RD
21829 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21830 int result;
21831 PyObject * obj0 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
21837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21838 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 result = (int)(arg1)->GetToolSeparation();
21842
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
093d3ff1 21846 {
7449af73 21847 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21848 }
d55e5bfc
RD
21849 return resultobj;
21850 fail:
21851 return NULL;
21852}
21853
21854
c32bde28 21855static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21856 PyObject *resultobj = NULL;
d55e5bfc
RD
21857 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21858 int arg2 ;
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "nRows", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
21868 {
7449af73 21869 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21870 if (SWIG_arg_fail(2)) SWIG_fail;
21871 }
d55e5bfc
RD
21872 {
21873 PyThreadState* __tstate = wxPyBeginAllowThreads();
21874 (arg1)->SetRows(arg2);
21875
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 Py_INCREF(Py_None); resultobj = Py_None;
21880 return resultobj;
21881 fail:
21882 return NULL;
21883}
21884
21885
c32bde28 21886static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21887 PyObject *resultobj = NULL;
d55e5bfc
RD
21888 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21889 int arg2 ;
21890 int arg3 ;
21891 PyObject * obj0 = 0 ;
21892 PyObject * obj1 = 0 ;
21893 PyObject * obj2 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "rows",(char *) "cols", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail;
21901 {
7449af73 21902 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21903 if (SWIG_arg_fail(2)) SWIG_fail;
21904 }
21905 {
7449af73 21906 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21907 if (SWIG_arg_fail(3)) SWIG_fail;
21908 }
d55e5bfc
RD
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 (arg1)->SetMaxRowsCols(arg2,arg3);
21912
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 Py_INCREF(Py_None); resultobj = Py_None;
21917 return resultobj;
21918 fail:
21919 return NULL;
21920}
21921
21922
c32bde28 21923static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21924 PyObject *resultobj = NULL;
d55e5bfc
RD
21925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21926 int result;
21927 PyObject * obj0 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
21933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 result = (int)(arg1)->GetMaxRows();
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
093d3ff1 21942 {
7449af73 21943 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21944 }
d55e5bfc
RD
21945 return resultobj;
21946 fail:
21947 return NULL;
21948}
21949
21950
c32bde28 21951static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21952 PyObject *resultobj = NULL;
d55e5bfc
RD
21953 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21954 int result;
21955 PyObject * obj0 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
21961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 result = (int)(arg1)->GetMaxCols();
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
093d3ff1 21970 {
7449af73 21971 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21972 }
d55e5bfc
RD
21973 return resultobj;
21974 fail:
21975 return NULL;
21976}
21977
21978
c32bde28 21979static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21980 PyObject *resultobj = NULL;
d55e5bfc
RD
21981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21982 wxSize *arg2 = 0 ;
21983 wxSize temp2 ;
21984 PyObject * obj0 = 0 ;
21985 PyObject * obj1 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "size", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21993 {
21994 arg2 = &temp2;
21995 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21996 }
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 return resultobj;
22006 fail:
22007 return NULL;
22008}
22009
22010
c32bde28 22011static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22012 PyObject *resultobj = NULL;
d55e5bfc
RD
22013 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22014 wxSize result;
22015 PyObject * obj0 = 0 ;
22016 char *kwnames[] = {
22017 (char *) "self", NULL
22018 };
22019
22020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 result = (arg1)->GetToolBitmapSize();
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 {
22031 wxSize * resultptr;
7449af73 22032 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22034 }
22035 return resultobj;
22036 fail:
22037 return NULL;
22038}
22039
22040
c32bde28 22041static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22042 PyObject *resultobj = NULL;
d55e5bfc
RD
22043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22044 wxSize result;
22045 PyObject * obj0 = 0 ;
22046 char *kwnames[] = {
22047 (char *) "self", NULL
22048 };
22049
22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = (arg1)->GetToolSize();
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 {
22061 wxSize * resultptr;
7449af73 22062 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
22063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22064 }
22065 return resultobj;
22066 fail:
22067 return NULL;
22068}
22069
22070
c32bde28 22071static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22072 PyObject *resultobj = NULL;
d55e5bfc
RD
22073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22074 int arg2 ;
22075 int arg3 ;
22076 wxToolBarToolBase *result;
22077 PyObject * obj0 = 0 ;
22078 PyObject * obj1 = 0 ;
22079 PyObject * obj2 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self",(char *) "x",(char *) "y", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail;
22087 {
7449af73 22088 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22089 if (SWIG_arg_fail(2)) SWIG_fail;
22090 }
22091 {
7449af73 22092 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22093 if (SWIG_arg_fail(3)) SWIG_fail;
22094 }
d55e5bfc
RD
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 {
7e08d4ef 22103 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22104 }
22105 return resultobj;
22106 fail:
22107 return NULL;
22108}
22109
22110
c32bde28 22111static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22112 PyObject *resultobj = NULL;
d55e5bfc
RD
22113 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22114 int arg2 ;
22115 wxToolBarToolBase *result;
22116 PyObject * obj0 = 0 ;
22117 PyObject * obj1 = 0 ;
22118 char *kwnames[] = {
22119 (char *) "self",(char *) "toolid", NULL
22120 };
22121
22122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22124 if (SWIG_arg_fail(1)) SWIG_fail;
22125 {
7449af73 22126 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22127 if (SWIG_arg_fail(2)) SWIG_fail;
22128 }
d55e5bfc
RD
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 {
7e08d4ef 22137 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22138 }
22139 return resultobj;
22140 fail:
22141 return NULL;
22142}
22143
22144
c32bde28 22145static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22146 PyObject *resultobj = NULL;
d55e5bfc
RD
22147 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22148 bool result;
22149 PyObject * obj0 = 0 ;
22150 char *kwnames[] = {
22151 (char *) "self", NULL
22152 };
22153
22154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
22155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (bool)(arg1)->IsVertical();
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 {
22165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22166 }
22167 return resultobj;
22168 fail:
22169 return NULL;
22170}
22171
22172
c32bde28 22173static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22174 PyObject *obj;
22175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22176 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
22177 Py_INCREF(obj);
22178 return Py_BuildValue((char *)"");
22179}
c32bde28 22180static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22181 PyObject *resultobj = NULL;
d55e5bfc 22182 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 22183 int arg2 = (int) -1 ;
d55e5bfc
RD
22184 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22185 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22186 wxSize const &arg4_defvalue = wxDefaultSize ;
22187 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22188 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22189 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
22190 wxString *arg6 = (wxString *) &arg6_defvalue ;
22191 wxToolBar *result;
22192 wxPoint temp3 ;
22193 wxSize temp4 ;
ae8162c8 22194 bool temp6 = false ;
d55e5bfc
RD
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
22197 PyObject * obj2 = 0 ;
22198 PyObject * obj3 = 0 ;
22199 PyObject * obj4 = 0 ;
22200 PyObject * obj5 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22203 };
22204
248ed943 22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
22206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 22208 if (obj1) {
093d3ff1 22209 {
7449af73 22210 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22211 if (SWIG_arg_fail(2)) SWIG_fail;
22212 }
248ed943 22213 }
d55e5bfc
RD
22214 if (obj2) {
22215 {
22216 arg3 = &temp3;
22217 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22218 }
22219 }
22220 if (obj3) {
22221 {
22222 arg4 = &temp4;
22223 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22224 }
22225 }
22226 if (obj4) {
093d3ff1 22227 {
7449af73 22228 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
22229 if (SWIG_arg_fail(5)) SWIG_fail;
22230 }
d55e5bfc
RD
22231 }
22232 if (obj5) {
22233 {
22234 arg6 = wxString_in_helper(obj5);
22235 if (arg6 == NULL) SWIG_fail;
ae8162c8 22236 temp6 = true;
d55e5bfc
RD
22237 }
22238 }
22239 {
0439c23b 22240 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22243
22244 wxPyEndAllowThreads(__tstate);
110da5b0 22245 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22246 }
b0f7404b 22247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
22248 {
22249 if (temp6)
22250 delete arg6;
22251 }
22252 return resultobj;
22253 fail:
22254 {
22255 if (temp6)
22256 delete arg6;
22257 }
22258 return NULL;
22259}
22260
22261
c32bde28 22262static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22263 PyObject *resultobj = NULL;
d55e5bfc
RD
22264 wxToolBar *result;
22265 char *kwnames[] = {
22266 NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
22270 {
0439c23b 22271 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (wxToolBar *)new wxToolBar();
22274
22275 wxPyEndAllowThreads(__tstate);
110da5b0 22276 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22277 }
b0f7404b 22278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
22279 return resultobj;
22280 fail:
22281 return NULL;
22282}
22283
22284
c32bde28 22285static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22286 PyObject *resultobj = NULL;
d55e5bfc
RD
22287 wxToolBar *arg1 = (wxToolBar *) 0 ;
22288 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 22289 int arg3 = (int) -1 ;
d55e5bfc
RD
22290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22292 wxSize const &arg5_defvalue = wxDefaultSize ;
22293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22294 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22295 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
22296 wxString *arg7 = (wxString *) &arg7_defvalue ;
22297 bool result;
22298 wxPoint temp4 ;
22299 wxSize temp5 ;
ae8162c8 22300 bool temp7 = false ;
d55e5bfc
RD
22301 PyObject * obj0 = 0 ;
22302 PyObject * obj1 = 0 ;
22303 PyObject * obj2 = 0 ;
22304 PyObject * obj3 = 0 ;
22305 PyObject * obj4 = 0 ;
22306 PyObject * obj5 = 0 ;
22307 PyObject * obj6 = 0 ;
22308 char *kwnames[] = {
22309 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22310 };
22311
248ed943 22312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
22313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail;
22315 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22316 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 22317 if (obj2) {
093d3ff1 22318 {
7449af73 22319 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22320 if (SWIG_arg_fail(3)) SWIG_fail;
22321 }
248ed943 22322 }
d55e5bfc
RD
22323 if (obj3) {
22324 {
22325 arg4 = &temp4;
22326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22327 }
22328 }
22329 if (obj4) {
22330 {
22331 arg5 = &temp5;
22332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22333 }
22334 }
22335 if (obj5) {
093d3ff1 22336 {
7449af73 22337 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
22338 if (SWIG_arg_fail(6)) SWIG_fail;
22339 }
d55e5bfc
RD
22340 }
22341 if (obj6) {
22342 {
22343 arg7 = wxString_in_helper(obj6);
22344 if (arg7 == NULL) SWIG_fail;
ae8162c8 22345 temp7 = true;
d55e5bfc
RD
22346 }
22347 }
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 {
22356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22357 }
22358 {
22359 if (temp7)
22360 delete arg7;
22361 }
22362 return resultobj;
22363 fail:
22364 {
22365 if (temp7)
22366 delete arg7;
22367 }
22368 return NULL;
22369}
22370
22371
c32bde28 22372static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22373 PyObject *resultobj = NULL;
d55e5bfc
RD
22374 wxToolBar *arg1 = (wxToolBar *) 0 ;
22375 int arg2 ;
22376 int arg3 ;
22377 wxToolBarToolBase *result;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 PyObject * obj2 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self",(char *) "x",(char *) "y", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22387 if (SWIG_arg_fail(1)) SWIG_fail;
22388 {
7449af73 22389 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22390 if (SWIG_arg_fail(2)) SWIG_fail;
22391 }
22392 {
7449af73 22393 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22394 if (SWIG_arg_fail(3)) SWIG_fail;
22395 }
d55e5bfc
RD
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 {
7e08d4ef 22404 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
22405 }
22406 return resultobj;
22407 fail:
22408 return NULL;
22409}
22410
22411
c32bde28 22412static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22413 PyObject *resultobj = NULL;
093d3ff1 22414 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
22415 wxVisualAttributes result;
22416 PyObject * obj0 = 0 ;
22417 char *kwnames[] = {
22418 (char *) "variant", NULL
22419 };
22420
22421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22422 if (obj0) {
093d3ff1 22423 {
7449af73 22424 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
22425 if (SWIG_arg_fail(1)) SWIG_fail;
22426 }
f20a2e1f
RD
22427 }
22428 {
19272049 22429 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22431 result = wxToolBar::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
22432
22433 wxPyEndAllowThreads(__tstate);
110da5b0 22434 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
22435 }
22436 {
22437 wxVisualAttributes * resultptr;
7449af73 22438 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
22439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22440 }
22441 return resultobj;
22442 fail:
22443 return NULL;
22444}
22445
22446
c32bde28 22447static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22448 PyObject *obj;
22449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22450 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
22451 Py_INCREF(obj);
22452 return Py_BuildValue((char *)"");
22453}
c32bde28 22454static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
22455 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
22456 return 1;
22457}
22458
22459
093d3ff1 22460static PyObject *_wrap_ListCtrlNameStr_get(void) {
7449af73 22461 PyObject *pyobj = NULL;
d55e5bfc
RD
22462
22463 {
22464#if wxUSE_UNICODE
22465 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22466#else
22467 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22468#endif
22469 }
22470 return pyobj;
22471}
22472
22473
c32bde28 22474static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22475 PyObject *resultobj = NULL;
d55e5bfc
RD
22476 wxColour const &arg1_defvalue = wxNullColour ;
22477 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
22478 wxColour const &arg2_defvalue = wxNullColour ;
22479 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
22480 wxFont const &arg3_defvalue = wxNullFont ;
22481 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
22482 wxListItemAttr *result;
22483 wxColour temp1 ;
22484 wxColour temp2 ;
22485 PyObject * obj0 = 0 ;
22486 PyObject * obj1 = 0 ;
22487 PyObject * obj2 = 0 ;
22488 char *kwnames[] = {
22489 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22490 };
22491
22492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
22493 if (obj0) {
22494 {
22495 arg1 = &temp1;
22496 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
22497 }
22498 }
22499 if (obj1) {
22500 {
22501 arg2 = &temp2;
22502 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22503 }
22504 }
22505 if (obj2) {
093d3ff1
RD
22506 {
22507 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22508 if (SWIG_arg_fail(3)) SWIG_fail;
22509 if (arg3 == NULL) {
22510 SWIG_null_ref("wxFont");
22511 }
22512 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22513 }
22514 }
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
22523 return resultobj;
22524 fail:
22525 return NULL;
22526}
22527
22528
7e08d4ef
RD
22529static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22530 PyObject *resultobj = NULL;
22531 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22532 PyObject * obj0 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail;
22538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22539 if (SWIG_arg_fail(1)) SWIG_fail;
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 delete arg1;
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 Py_INCREF(Py_None); resultobj = Py_None;
22548 return resultobj;
22549 fail:
22550 return NULL;
22551}
22552
22553
c32bde28 22554static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22555 PyObject *resultobj = NULL;
d55e5bfc
RD
22556 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22557 wxColour *arg2 = 0 ;
22558 wxColour temp2 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "colText", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22568 {
22569 arg2 = &temp2;
22570 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22571 }
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 (arg1)->SetTextColour((wxColour const &)*arg2);
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 Py_INCREF(Py_None); resultobj = Py_None;
22580 return resultobj;
22581 fail:
22582 return NULL;
22583}
22584
22585
c32bde28 22586static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22587 PyObject *resultobj = NULL;
d55e5bfc
RD
22588 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22589 wxColour *arg2 = 0 ;
22590 wxColour temp2 ;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self",(char *) "colBack", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
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 arg2 = &temp2;
22602 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22603 }
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615}
22616
22617
c32bde28 22618static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22619 PyObject *resultobj = NULL;
d55e5bfc
RD
22620 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22621 wxFont *arg2 = 0 ;
22622 PyObject * obj0 = 0 ;
22623 PyObject * obj1 = 0 ;
22624 char *kwnames[] = {
22625 (char *) "self",(char *) "font", NULL
22626 };
22627
22628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22630 if (SWIG_arg_fail(1)) SWIG_fail;
22631 {
22632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22633 if (SWIG_arg_fail(2)) SWIG_fail;
22634 if (arg2 == NULL) {
22635 SWIG_null_ref("wxFont");
22636 }
22637 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22638 }
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 (arg1)->SetFont((wxFont const &)*arg2);
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 Py_INCREF(Py_None); resultobj = Py_None;
22647 return resultobj;
22648 fail:
22649 return NULL;
22650}
22651
22652
c32bde28 22653static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22654 PyObject *resultobj = NULL;
d55e5bfc
RD
22655 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22656 bool result;
22657 PyObject * obj0 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self", NULL
22660 };
22661
22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 result = (bool)(arg1)->HasTextColour();
22668
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 {
22673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22674 }
22675 return resultobj;
22676 fail:
22677 return NULL;
22678}
22679
22680
c32bde28 22681static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22682 PyObject *resultobj = NULL;
d55e5bfc
RD
22683 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22684 bool result;
22685 PyObject * obj0 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "self", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 result = (bool)(arg1)->HasBackgroundColour();
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 {
22701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22702 }
22703 return resultobj;
22704 fail:
22705 return NULL;
22706}
22707
22708
c32bde28 22709static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22710 PyObject *resultobj = NULL;
d55e5bfc
RD
22711 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22712 bool result;
22713 PyObject * obj0 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = (bool)(arg1)->HasFont();
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 {
22729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734}
22735
22736
c32bde28 22737static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22738 PyObject *resultobj = NULL;
d55e5bfc
RD
22739 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22740 wxColour result;
22741 PyObject * obj0 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "self", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22749 {
22750 PyThreadState* __tstate = wxPyBeginAllowThreads();
22751 result = (arg1)->GetTextColour();
22752
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 {
22757 wxColour * resultptr;
7449af73 22758 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
22759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22760 }
22761 return resultobj;
22762 fail:
22763 return NULL;
22764}
22765
22766
c32bde28 22767static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22768 PyObject *resultobj = NULL;
d55e5bfc
RD
22769 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22770 wxColour result;
22771 PyObject * obj0 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22779 {
22780 PyThreadState* __tstate = wxPyBeginAllowThreads();
22781 result = (arg1)->GetBackgroundColour();
22782
22783 wxPyEndAllowThreads(__tstate);
22784 if (PyErr_Occurred()) SWIG_fail;
22785 }
22786 {
22787 wxColour * resultptr;
7449af73 22788 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
22789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22790 }
22791 return resultobj;
22792 fail:
22793 return NULL;
22794}
22795
22796
c32bde28 22797static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22798 PyObject *resultobj = NULL;
d55e5bfc
RD
22799 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22800 wxFont result;
22801 PyObject * obj0 = 0 ;
22802 char *kwnames[] = {
22803 (char *) "self", NULL
22804 };
22805
22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 result = (arg1)->GetFont();
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 {
22817 wxFont * resultptr;
7449af73 22818 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
22819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22820 }
22821 return resultobj;
22822 fail:
22823 return NULL;
22824}
22825
22826
7e08d4ef
RD
22827static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) {
22828 PyObject *resultobj = NULL;
22829 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22830 wxListItemAttr *arg2 = 0 ;
22831 PyObject * obj0 = 0 ;
22832 PyObject * obj1 = 0 ;
22833 char *kwnames[] = {
22834 (char *) "self",(char *) "source", NULL
22835 };
22836
22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail;
22838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail;
22840 {
22841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22842 if (SWIG_arg_fail(2)) SWIG_fail;
22843 if (arg2 == NULL) {
22844 SWIG_null_ref("wxListItemAttr");
22845 }
22846 if (SWIG_arg_fail(2)) SWIG_fail;
22847 }
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
22850 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
22851
22852 wxPyEndAllowThreads(__tstate);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 }
22855 Py_INCREF(Py_None); resultobj = Py_None;
22856 return resultobj;
22857 fail:
22858 return NULL;
22859}
22860
22861
c32bde28 22862static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22863 PyObject *resultobj = NULL;
d55e5bfc
RD
22864 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22865 PyObject * obj0 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "self", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
22871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22873 {
22874 PyThreadState* __tstate = wxPyBeginAllowThreads();
22875 wxListItemAttr_Destroy(arg1);
22876
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 Py_INCREF(Py_None); resultobj = Py_None;
22881 return resultobj;
22882 fail:
22883 return NULL;
22884}
22885
22886
c32bde28 22887static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22888 PyObject *obj;
22889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22890 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
22891 Py_INCREF(obj);
22892 return Py_BuildValue((char *)"");
22893}
c32bde28 22894static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22895 PyObject *resultobj = NULL;
d55e5bfc
RD
22896 wxListItem *result;
22897 char *kwnames[] = {
22898 NULL
22899 };
22900
22901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 result = (wxListItem *)new wxListItem();
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 {
7e08d4ef 22910 resultobj = wxPyMake_wxObject(result, (bool)1);
d55e5bfc
RD
22911 }
22912 return resultobj;
22913 fail:
22914 return NULL;
22915}
22916
22917
c32bde28 22918static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22919 PyObject *resultobj = NULL;
d55e5bfc
RD
22920 wxListItem *arg1 = (wxListItem *) 0 ;
22921 PyObject * obj0 = 0 ;
22922 char *kwnames[] = {
22923 (char *) "self", NULL
22924 };
22925
22926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
22927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 delete arg1;
22932
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 Py_INCREF(Py_None); resultobj = Py_None;
22937 return resultobj;
22938 fail:
22939 return NULL;
22940}
22941
22942
c32bde28 22943static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22944 PyObject *resultobj = NULL;
d55e5bfc
RD
22945 wxListItem *arg1 = (wxListItem *) 0 ;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
22952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 (arg1)->Clear();
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 Py_INCREF(Py_None); resultobj = Py_None;
22962 return resultobj;
22963 fail:
22964 return NULL;
22965}
22966
22967
c32bde28 22968static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22969 PyObject *resultobj = NULL;
d55e5bfc
RD
22970 wxListItem *arg1 = (wxListItem *) 0 ;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 (arg1)->ClearAttributes();
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 Py_INCREF(Py_None); resultobj = Py_None;
22987 return resultobj;
22988 fail:
22989 return NULL;
22990}
22991
22992
c32bde28 22993static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22994 PyObject *resultobj = NULL;
d55e5bfc
RD
22995 wxListItem *arg1 = (wxListItem *) 0 ;
22996 long arg2 ;
22997 PyObject * obj0 = 0 ;
22998 PyObject * obj1 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self",(char *) "mask", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23005 if (SWIG_arg_fail(1)) SWIG_fail;
23006 {
7449af73 23007 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23008 if (SWIG_arg_fail(2)) SWIG_fail;
23009 }
d55e5bfc
RD
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 (arg1)->SetMask(arg2);
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 Py_INCREF(Py_None); resultobj = Py_None;
23018 return resultobj;
23019 fail:
23020 return NULL;
23021}
23022
23023
c32bde28 23024static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23025 PyObject *resultobj = NULL;
d55e5bfc
RD
23026 wxListItem *arg1 = (wxListItem *) 0 ;
23027 long arg2 ;
23028 PyObject * obj0 = 0 ;
23029 PyObject * obj1 = 0 ;
23030 char *kwnames[] = {
23031 (char *) "self",(char *) "id", NULL
23032 };
23033
23034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23036 if (SWIG_arg_fail(1)) SWIG_fail;
23037 {
7449af73 23038 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23039 if (SWIG_arg_fail(2)) SWIG_fail;
23040 }
d55e5bfc
RD
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 (arg1)->SetId(arg2);
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
23048 Py_INCREF(Py_None); resultobj = Py_None;
23049 return resultobj;
23050 fail:
23051 return NULL;
23052}
23053
23054
c32bde28 23055static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23056 PyObject *resultobj = NULL;
d55e5bfc
RD
23057 wxListItem *arg1 = (wxListItem *) 0 ;
23058 int arg2 ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 char *kwnames[] = {
23062 (char *) "self",(char *) "col", NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail;
23068 {
7449af73 23069 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23070 if (SWIG_arg_fail(2)) SWIG_fail;
23071 }
d55e5bfc
RD
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 (arg1)->SetColumn(arg2);
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 Py_INCREF(Py_None); resultobj = Py_None;
23080 return resultobj;
23081 fail:
23082 return NULL;
23083}
23084
23085
c32bde28 23086static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23087 PyObject *resultobj = NULL;
d55e5bfc
RD
23088 wxListItem *arg1 = (wxListItem *) 0 ;
23089 long arg2 ;
23090 PyObject * obj0 = 0 ;
23091 PyObject * obj1 = 0 ;
23092 char *kwnames[] = {
23093 (char *) "self",(char *) "state", NULL
23094 };
23095
23096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail;
23099 {
7449af73 23100 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23101 if (SWIG_arg_fail(2)) SWIG_fail;
23102 }
d55e5bfc
RD
23103 {
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 (arg1)->SetState(arg2);
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 Py_INCREF(Py_None); resultobj = Py_None;
23111 return resultobj;
23112 fail:
23113 return NULL;
23114}
23115
23116
c32bde28 23117static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23118 PyObject *resultobj = NULL;
d55e5bfc
RD
23119 wxListItem *arg1 = (wxListItem *) 0 ;
23120 long arg2 ;
23121 PyObject * obj0 = 0 ;
23122 PyObject * obj1 = 0 ;
23123 char *kwnames[] = {
23124 (char *) "self",(char *) "stateMask", NULL
23125 };
23126
23127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23129 if (SWIG_arg_fail(1)) SWIG_fail;
23130 {
7449af73 23131 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23132 if (SWIG_arg_fail(2)) SWIG_fail;
23133 }
d55e5bfc
RD
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 (arg1)->SetStateMask(arg2);
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 Py_INCREF(Py_None); resultobj = Py_None;
23142 return resultobj;
23143 fail:
23144 return NULL;
23145}
23146
23147
c32bde28 23148static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23149 PyObject *resultobj = NULL;
d55e5bfc
RD
23150 wxListItem *arg1 = (wxListItem *) 0 ;
23151 wxString *arg2 = 0 ;
ae8162c8 23152 bool temp2 = false ;
d55e5bfc
RD
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "text", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23162 {
23163 arg2 = wxString_in_helper(obj1);
23164 if (arg2 == NULL) SWIG_fail;
ae8162c8 23165 temp2 = true;
d55e5bfc
RD
23166 }
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 (arg1)->SetText((wxString const &)*arg2);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 Py_INCREF(Py_None); resultobj = Py_None;
23175 {
23176 if (temp2)
23177 delete arg2;
23178 }
23179 return resultobj;
23180 fail:
23181 {
23182 if (temp2)
23183 delete arg2;
23184 }
23185 return NULL;
23186}
23187
23188
c32bde28 23189static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23190 PyObject *resultobj = NULL;
d55e5bfc
RD
23191 wxListItem *arg1 = (wxListItem *) 0 ;
23192 int arg2 ;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "image", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail;
23202 {
7449af73 23203 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23204 if (SWIG_arg_fail(2)) SWIG_fail;
23205 }
d55e5bfc
RD
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 (arg1)->SetImage(arg2);
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 Py_INCREF(Py_None); resultobj = Py_None;
23214 return resultobj;
23215 fail:
23216 return NULL;
23217}
23218
23219
c32bde28 23220static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23221 PyObject *resultobj = NULL;
d55e5bfc
RD
23222 wxListItem *arg1 = (wxListItem *) 0 ;
23223 long arg2 ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self",(char *) "data", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23232 if (SWIG_arg_fail(1)) SWIG_fail;
23233 {
7449af73 23234 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23235 if (SWIG_arg_fail(2)) SWIG_fail;
23236 }
d55e5bfc
RD
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 (arg1)->SetData(arg2);
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 Py_INCREF(Py_None); resultobj = Py_None;
23245 return resultobj;
23246 fail:
23247 return NULL;
23248}
23249
23250
c32bde28 23251static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23252 PyObject *resultobj = NULL;
d55e5bfc
RD
23253 wxListItem *arg1 = (wxListItem *) 0 ;
23254 int arg2 ;
23255 PyObject * obj0 = 0 ;
23256 PyObject * obj1 = 0 ;
23257 char *kwnames[] = {
23258 (char *) "self",(char *) "width", NULL
23259 };
23260
23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail;
23264 {
7449af73 23265 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23266 if (SWIG_arg_fail(2)) SWIG_fail;
23267 }
d55e5bfc
RD
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 (arg1)->SetWidth(arg2);
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 Py_INCREF(Py_None); resultobj = Py_None;
23276 return resultobj;
23277 fail:
23278 return NULL;
23279}
23280
23281
c32bde28 23282static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23283 PyObject *resultobj = NULL;
d55e5bfc 23284 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 23285 wxListColumnFormat arg2 ;
d55e5bfc
RD
23286 PyObject * obj0 = 0 ;
23287 PyObject * obj1 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self",(char *) "align", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail;
23295 {
7449af73 23296 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
093d3ff1
RD
23297 if (SWIG_arg_fail(2)) SWIG_fail;
23298 }
d55e5bfc
RD
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23301 (arg1)->SetAlign(arg2);
d55e5bfc
RD
23302
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 Py_INCREF(Py_None); resultobj = Py_None;
23307 return resultobj;
23308 fail:
23309 return NULL;
23310}
23311
23312
c32bde28 23313static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23314 PyObject *resultobj = NULL;
d55e5bfc
RD
23315 wxListItem *arg1 = (wxListItem *) 0 ;
23316 wxColour *arg2 = 0 ;
23317 wxColour temp2 ;
23318 PyObject * obj0 = 0 ;
23319 PyObject * obj1 = 0 ;
23320 char *kwnames[] = {
23321 (char *) "self",(char *) "colText", NULL
23322 };
23323
23324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23327 {
23328 arg2 = &temp2;
23329 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23330 }
23331 {
23332 PyThreadState* __tstate = wxPyBeginAllowThreads();
23333 (arg1)->SetTextColour((wxColour const &)*arg2);
23334
23335 wxPyEndAllowThreads(__tstate);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 Py_INCREF(Py_None); resultobj = Py_None;
23339 return resultobj;
23340 fail:
23341 return NULL;
23342}
23343
23344
c32bde28 23345static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23346 PyObject *resultobj = NULL;
d55e5bfc
RD
23347 wxListItem *arg1 = (wxListItem *) 0 ;
23348 wxColour *arg2 = 0 ;
23349 wxColour temp2 ;
23350 PyObject * obj0 = 0 ;
23351 PyObject * obj1 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self",(char *) "colBack", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23359 {
23360 arg2 = &temp2;
23361 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23362 }
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374}
23375
23376
c32bde28 23377static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23378 PyObject *resultobj = NULL;
d55e5bfc
RD
23379 wxListItem *arg1 = (wxListItem *) 0 ;
23380 wxFont *arg2 = 0 ;
23381 PyObject * obj0 = 0 ;
23382 PyObject * obj1 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self",(char *) "font", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail;
23390 {
23391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
23392 if (SWIG_arg_fail(2)) SWIG_fail;
23393 if (arg2 == NULL) {
23394 SWIG_null_ref("wxFont");
23395 }
23396 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23397 }
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 (arg1)->SetFont((wxFont const &)*arg2);
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 Py_INCREF(Py_None); resultobj = Py_None;
23406 return resultobj;
23407 fail:
23408 return NULL;
23409}
23410
23411
c32bde28 23412static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23413 PyObject *resultobj = NULL;
d55e5bfc
RD
23414 wxListItem *arg1 = (wxListItem *) 0 ;
23415 long result;
23416 PyObject * obj0 = 0 ;
23417 char *kwnames[] = {
23418 (char *) "self", NULL
23419 };
23420
23421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = (long)(arg1)->GetMask();
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
093d3ff1 23431 {
7449af73 23432 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23433 }
d55e5bfc
RD
23434 return resultobj;
23435 fail:
23436 return NULL;
23437}
23438
23439
c32bde28 23440static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23441 PyObject *resultobj = NULL;
d55e5bfc
RD
23442 wxListItem *arg1 = (wxListItem *) 0 ;
23443 long result;
23444 PyObject * obj0 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
23450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 result = (long)(arg1)->GetId();
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
093d3ff1 23459 {
7449af73 23460 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23461 }
d55e5bfc
RD
23462 return resultobj;
23463 fail:
23464 return NULL;
23465}
23466
23467
c32bde28 23468static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23469 PyObject *resultobj = NULL;
d55e5bfc
RD
23470 wxListItem *arg1 = (wxListItem *) 0 ;
23471 int result;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 result = (int)(arg1)->GetColumn();
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
093d3ff1 23487 {
7449af73 23488 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23489 }
d55e5bfc
RD
23490 return resultobj;
23491 fail:
23492 return NULL;
23493}
23494
23495
c32bde28 23496static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23497 PyObject *resultobj = NULL;
d55e5bfc
RD
23498 wxListItem *arg1 = (wxListItem *) 0 ;
23499 long result;
23500 PyObject * obj0 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
23506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23508 {
23509 PyThreadState* __tstate = wxPyBeginAllowThreads();
23510 result = (long)(arg1)->GetState();
23511
23512 wxPyEndAllowThreads(__tstate);
23513 if (PyErr_Occurred()) SWIG_fail;
23514 }
093d3ff1 23515 {
7449af73 23516 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23517 }
d55e5bfc
RD
23518 return resultobj;
23519 fail:
23520 return NULL;
23521}
23522
23523
c32bde28 23524static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23525 PyObject *resultobj = NULL;
d55e5bfc
RD
23526 wxListItem *arg1 = (wxListItem *) 0 ;
23527 wxString *result;
23528 PyObject * obj0 = 0 ;
23529 char *kwnames[] = {
23530 (char *) "self", NULL
23531 };
23532
23533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 {
23539 wxString const &_result_ref = (arg1)->GetText();
23540 result = (wxString *) &_result_ref;
23541 }
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 {
23547#if wxUSE_UNICODE
23548 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23549#else
23550 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23551#endif
23552 }
23553 return resultobj;
23554 fail:
23555 return NULL;
23556}
23557
23558
c32bde28 23559static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23560 PyObject *resultobj = NULL;
d55e5bfc
RD
23561 wxListItem *arg1 = (wxListItem *) 0 ;
23562 int result;
23563 PyObject * obj0 = 0 ;
23564 char *kwnames[] = {
23565 (char *) "self", NULL
23566 };
23567
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23571 {
23572 PyThreadState* __tstate = wxPyBeginAllowThreads();
23573 result = (int)(arg1)->GetImage();
23574
23575 wxPyEndAllowThreads(__tstate);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
093d3ff1 23578 {
7449af73 23579 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23580 }
d55e5bfc
RD
23581 return resultobj;
23582 fail:
23583 return NULL;
23584}
23585
23586
c32bde28 23587static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23588 PyObject *resultobj = NULL;
d55e5bfc
RD
23589 wxListItem *arg1 = (wxListItem *) 0 ;
23590 long result;
23591 PyObject * obj0 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 result = (long)(arg1)->GetData();
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
093d3ff1 23606 {
7449af73 23607 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23608 }
d55e5bfc
RD
23609 return resultobj;
23610 fail:
23611 return NULL;
23612}
23613
23614
c32bde28 23615static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23616 PyObject *resultobj = NULL;
d55e5bfc
RD
23617 wxListItem *arg1 = (wxListItem *) 0 ;
23618 int result;
23619 PyObject * obj0 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
23625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 result = (int)(arg1)->GetWidth();
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
093d3ff1 23634 {
7449af73 23635 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23636 }
d55e5bfc
RD
23637 return resultobj;
23638 fail:
23639 return NULL;
23640}
23641
23642
c32bde28 23643static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23644 PyObject *resultobj = NULL;
d55e5bfc 23645 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 23646 wxListColumnFormat result;
d55e5bfc
RD
23647 PyObject * obj0 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
23653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23657 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
093d3ff1 23662 resultobj = SWIG_From_int((result));
d55e5bfc
RD
23663 return resultobj;
23664 fail:
23665 return NULL;
23666}
23667
23668
c32bde28 23669static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23670 PyObject *resultobj = NULL;
d55e5bfc
RD
23671 wxListItem *arg1 = (wxListItem *) 0 ;
23672 wxListItemAttr *result;
23673 PyObject * obj0 = 0 ;
23674 char *kwnames[] = {
23675 (char *) "self", NULL
23676 };
23677
23678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 result = (wxListItemAttr *)(arg1)->GetAttributes();
23684
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
23689 return resultobj;
23690 fail:
23691 return NULL;
23692}
23693
23694
c32bde28 23695static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23696 PyObject *resultobj = NULL;
d55e5bfc
RD
23697 wxListItem *arg1 = (wxListItem *) 0 ;
23698 bool result;
23699 PyObject * obj0 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (bool)(arg1)->HasAttributes();
23710
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 {
23715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23716 }
23717 return resultobj;
23718 fail:
23719 return NULL;
23720}
23721
23722
c32bde28 23723static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23724 PyObject *resultobj = NULL;
d55e5bfc
RD
23725 wxListItem *arg1 = (wxListItem *) 0 ;
23726 wxColour result;
23727 PyObject * obj0 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
23733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = ((wxListItem const *)arg1)->GetTextColour();
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 {
23743 wxColour * resultptr;
7449af73 23744 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
23745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750}
23751
23752
c32bde28 23753static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23754 PyObject *resultobj = NULL;
d55e5bfc
RD
23755 wxListItem *arg1 = (wxListItem *) 0 ;
23756 wxColour result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
23763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = ((wxListItem const *)arg1)->GetBackgroundColour();
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 {
23773 wxColour * resultptr;
7449af73 23774 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
23775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23776 }
23777 return resultobj;
23778 fail:
23779 return NULL;
23780}
23781
23782
c32bde28 23783static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23784 PyObject *resultobj = NULL;
d55e5bfc
RD
23785 wxListItem *arg1 = (wxListItem *) 0 ;
23786 wxFont result;
23787 PyObject * obj0 = 0 ;
23788 char *kwnames[] = {
23789 (char *) "self", NULL
23790 };
23791
23792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
23793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23795 {
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 result = ((wxListItem const *)arg1)->GetFont();
23798
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 {
23803 wxFont * resultptr;
7449af73 23804 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
23805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
23806 }
23807 return resultobj;
23808 fail:
23809 return NULL;
23810}
23811
23812
c32bde28 23813static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23814 PyObject *resultobj = NULL;
d55e5bfc
RD
23815 wxListItem *arg1 = (wxListItem *) 0 ;
23816 long arg2 ;
23817 PyObject * obj0 = 0 ;
23818 PyObject * obj1 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self",(char *) "m_mask", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail;
23826 {
7449af73 23827 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23828 if (SWIG_arg_fail(2)) SWIG_fail;
23829 }
d55e5bfc
RD
23830 if (arg1) (arg1)->m_mask = arg2;
23831
23832 Py_INCREF(Py_None); resultobj = Py_None;
23833 return resultobj;
23834 fail:
23835 return NULL;
23836}
23837
23838
c32bde28 23839static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23840 PyObject *resultobj = NULL;
d55e5bfc
RD
23841 wxListItem *arg1 = (wxListItem *) 0 ;
23842 long result;
23843 PyObject * obj0 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23850 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23851 result = (long) ((arg1)->m_mask);
23852
093d3ff1 23853 {
7449af73 23854 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23855 }
d55e5bfc
RD
23856 return resultobj;
23857 fail:
23858 return NULL;
23859}
23860
23861
c32bde28 23862static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23863 PyObject *resultobj = NULL;
d55e5bfc
RD
23864 wxListItem *arg1 = (wxListItem *) 0 ;
23865 long arg2 ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 char *kwnames[] = {
23869 (char *) "self",(char *) "m_itemId", NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail;
23875 {
7449af73 23876 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23877 if (SWIG_arg_fail(2)) SWIG_fail;
23878 }
d55e5bfc
RD
23879 if (arg1) (arg1)->m_itemId = arg2;
23880
23881 Py_INCREF(Py_None); resultobj = Py_None;
23882 return resultobj;
23883 fail:
23884 return NULL;
23885}
23886
23887
c32bde28 23888static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23889 PyObject *resultobj = NULL;
d55e5bfc
RD
23890 wxListItem *arg1 = (wxListItem *) 0 ;
23891 long result;
23892 PyObject * obj0 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23900 result = (long) ((arg1)->m_itemId);
23901
093d3ff1 23902 {
7449af73 23903 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 23904 }
d55e5bfc
RD
23905 return resultobj;
23906 fail:
23907 return NULL;
23908}
23909
23910
c32bde28 23911static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23912 PyObject *resultobj = NULL;
d55e5bfc
RD
23913 wxListItem *arg1 = (wxListItem *) 0 ;
23914 int arg2 ;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "m_col", NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23923 if (SWIG_arg_fail(1)) SWIG_fail;
23924 {
7449af73 23925 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23926 if (SWIG_arg_fail(2)) SWIG_fail;
23927 }
d55e5bfc
RD
23928 if (arg1) (arg1)->m_col = arg2;
23929
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 return resultobj;
23932 fail:
23933 return NULL;
23934}
23935
23936
c32bde28 23937static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23938 PyObject *resultobj = NULL;
d55e5bfc
RD
23939 wxListItem *arg1 = (wxListItem *) 0 ;
23940 int result;
23941 PyObject * obj0 = 0 ;
23942 char *kwnames[] = {
23943 (char *) "self", NULL
23944 };
23945
23946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23949 result = (int) ((arg1)->m_col);
23950
093d3ff1 23951 {
7449af73 23952 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23953 }
d55e5bfc
RD
23954 return resultobj;
23955 fail:
23956 return NULL;
23957}
23958
23959
c32bde28 23960static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23961 PyObject *resultobj = NULL;
d55e5bfc
RD
23962 wxListItem *arg1 = (wxListItem *) 0 ;
23963 long arg2 ;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "m_state", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23972 if (SWIG_arg_fail(1)) SWIG_fail;
23973 {
7449af73 23974 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
23975 if (SWIG_arg_fail(2)) SWIG_fail;
23976 }
d55e5bfc
RD
23977 if (arg1) (arg1)->m_state = arg2;
23978
23979 Py_INCREF(Py_None); resultobj = Py_None;
23980 return resultobj;
23981 fail:
23982 return NULL;
23983}
23984
23985
c32bde28 23986static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23987 PyObject *resultobj = NULL;
d55e5bfc
RD
23988 wxListItem *arg1 = (wxListItem *) 0 ;
23989 long result;
23990 PyObject * obj0 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23998 result = (long) ((arg1)->m_state);
23999
093d3ff1 24000 {
7449af73 24001 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24002 }
d55e5bfc
RD
24003 return resultobj;
24004 fail:
24005 return NULL;
24006}
24007
24008
c32bde28 24009static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24010 PyObject *resultobj = NULL;
d55e5bfc
RD
24011 wxListItem *arg1 = (wxListItem *) 0 ;
24012 long arg2 ;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "m_stateMask", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail;
24022 {
7449af73 24023 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24024 if (SWIG_arg_fail(2)) SWIG_fail;
24025 }
d55e5bfc
RD
24026 if (arg1) (arg1)->m_stateMask = arg2;
24027
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032}
24033
24034
c32bde28 24035static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24036 PyObject *resultobj = NULL;
d55e5bfc
RD
24037 wxListItem *arg1 = (wxListItem *) 0 ;
24038 long result;
24039 PyObject * obj0 = 0 ;
24040 char *kwnames[] = {
24041 (char *) "self", NULL
24042 };
24043
24044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24046 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24047 result = (long) ((arg1)->m_stateMask);
24048
093d3ff1 24049 {
7449af73 24050 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24051 }
d55e5bfc
RD
24052 return resultobj;
24053 fail:
24054 return NULL;
24055}
24056
24057
c32bde28 24058static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24059 PyObject *resultobj = NULL;
d55e5bfc
RD
24060 wxListItem *arg1 = (wxListItem *) 0 ;
24061 wxString *arg2 = (wxString *) 0 ;
ae8162c8 24062 bool temp2 = false ;
d55e5bfc
RD
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "self",(char *) "m_text", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24072 {
24073 arg2 = wxString_in_helper(obj1);
24074 if (arg2 == NULL) SWIG_fail;
ae8162c8 24075 temp2 = true;
d55e5bfc
RD
24076 }
24077 if (arg1) (arg1)->m_text = *arg2;
24078
24079 Py_INCREF(Py_None); resultobj = Py_None;
24080 {
24081 if (temp2)
24082 delete arg2;
24083 }
24084 return resultobj;
24085 fail:
24086 {
24087 if (temp2)
24088 delete arg2;
24089 }
24090 return NULL;
24091}
24092
24093
c32bde28 24094static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24095 PyObject *resultobj = NULL;
d55e5bfc
RD
24096 wxListItem *arg1 = (wxListItem *) 0 ;
24097 wxString *result;
24098 PyObject * obj0 = 0 ;
24099 char *kwnames[] = {
24100 (char *) "self", NULL
24101 };
24102
24103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24106 result = (wxString *)& ((arg1)->m_text);
24107
24108 {
24109#if wxUSE_UNICODE
24110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24111#else
24112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24113#endif
24114 }
24115 return resultobj;
24116 fail:
24117 return NULL;
24118}
24119
24120
c32bde28 24121static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24122 PyObject *resultobj = NULL;
d55e5bfc
RD
24123 wxListItem *arg1 = (wxListItem *) 0 ;
24124 int arg2 ;
24125 PyObject * obj0 = 0 ;
24126 PyObject * obj1 = 0 ;
24127 char *kwnames[] = {
24128 (char *) "self",(char *) "m_image", NULL
24129 };
24130
24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24133 if (SWIG_arg_fail(1)) SWIG_fail;
24134 {
7449af73 24135 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24136 if (SWIG_arg_fail(2)) SWIG_fail;
24137 }
d55e5bfc
RD
24138 if (arg1) (arg1)->m_image = arg2;
24139
24140 Py_INCREF(Py_None); resultobj = Py_None;
24141 return resultobj;
24142 fail:
24143 return NULL;
24144}
24145
24146
c32bde28 24147static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24148 PyObject *resultobj = NULL;
d55e5bfc
RD
24149 wxListItem *arg1 = (wxListItem *) 0 ;
24150 int result;
24151 PyObject * obj0 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "self", NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24159 result = (int) ((arg1)->m_image);
24160
093d3ff1 24161 {
7449af73 24162 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24163 }
d55e5bfc
RD
24164 return resultobj;
24165 fail:
24166 return NULL;
24167}
24168
24169
c32bde28 24170static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24171 PyObject *resultobj = NULL;
d55e5bfc
RD
24172 wxListItem *arg1 = (wxListItem *) 0 ;
24173 long arg2 ;
24174 PyObject * obj0 = 0 ;
24175 PyObject * obj1 = 0 ;
24176 char *kwnames[] = {
24177 (char *) "self",(char *) "m_data", NULL
24178 };
24179
24180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24182 if (SWIG_arg_fail(1)) SWIG_fail;
24183 {
7449af73 24184 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24185 if (SWIG_arg_fail(2)) SWIG_fail;
24186 }
d55e5bfc
RD
24187 if (arg1) (arg1)->m_data = arg2;
24188
24189 Py_INCREF(Py_None); resultobj = Py_None;
24190 return resultobj;
24191 fail:
24192 return NULL;
24193}
24194
24195
c32bde28 24196static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24197 PyObject *resultobj = NULL;
d55e5bfc
RD
24198 wxListItem *arg1 = (wxListItem *) 0 ;
24199 long result;
24200 PyObject * obj0 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24208 result = (long) ((arg1)->m_data);
24209
093d3ff1 24210 {
7449af73 24211 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24212 }
d55e5bfc
RD
24213 return resultobj;
24214 fail:
24215 return NULL;
24216}
24217
24218
c32bde28 24219static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24220 PyObject *resultobj = NULL;
d55e5bfc
RD
24221 wxListItem *arg1 = (wxListItem *) 0 ;
24222 int arg2 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self",(char *) "m_format", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24231 if (SWIG_arg_fail(1)) SWIG_fail;
24232 {
7449af73 24233 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24234 if (SWIG_arg_fail(2)) SWIG_fail;
24235 }
d55e5bfc
RD
24236 if (arg1) (arg1)->m_format = arg2;
24237
24238 Py_INCREF(Py_None); resultobj = Py_None;
24239 return resultobj;
24240 fail:
24241 return NULL;
24242}
24243
24244
c32bde28 24245static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24246 PyObject *resultobj = NULL;
d55e5bfc
RD
24247 wxListItem *arg1 = (wxListItem *) 0 ;
24248 int result;
24249 PyObject * obj0 = 0 ;
24250 char *kwnames[] = {
24251 (char *) "self", NULL
24252 };
24253
24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24257 result = (int) ((arg1)->m_format);
24258
093d3ff1 24259 {
7449af73 24260 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24261 }
d55e5bfc
RD
24262 return resultobj;
24263 fail:
24264 return NULL;
24265}
24266
24267
c32bde28 24268static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24269 PyObject *resultobj = NULL;
d55e5bfc
RD
24270 wxListItem *arg1 = (wxListItem *) 0 ;
24271 int arg2 ;
24272 PyObject * obj0 = 0 ;
24273 PyObject * obj1 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "self",(char *) "m_width", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail;
24281 {
7449af73 24282 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24283 if (SWIG_arg_fail(2)) SWIG_fail;
24284 }
d55e5bfc
RD
24285 if (arg1) (arg1)->m_width = arg2;
24286
24287 Py_INCREF(Py_None); resultobj = Py_None;
24288 return resultobj;
24289 fail:
24290 return NULL;
24291}
24292
24293
c32bde28 24294static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24295 PyObject *resultobj = NULL;
d55e5bfc
RD
24296 wxListItem *arg1 = (wxListItem *) 0 ;
24297 int result;
24298 PyObject * obj0 = 0 ;
24299 char *kwnames[] = {
24300 (char *) "self", NULL
24301 };
24302
24303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24306 result = (int) ((arg1)->m_width);
24307
093d3ff1 24308 {
7449af73 24309 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24310 }
d55e5bfc
RD
24311 return resultobj;
24312 fail:
24313 return NULL;
24314}
24315
24316
c32bde28 24317static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24318 PyObject *obj;
24319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24320 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
24321 Py_INCREF(obj);
24322 return Py_BuildValue((char *)"");
24323}
c32bde28 24324static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24325 PyObject *resultobj = NULL;
d55e5bfc
RD
24326 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24327 int arg2 = (int) 0 ;
24328 wxListEvent *result;
24329 PyObject * obj0 = 0 ;
24330 PyObject * obj1 = 0 ;
24331 char *kwnames[] = {
24332 (char *) "commandType",(char *) "id", NULL
24333 };
24334
24335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
24336 if (obj0) {
093d3ff1 24337 {
7449af73 24338 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
24339 if (SWIG_arg_fail(1)) SWIG_fail;
24340 }
d55e5bfc
RD
24341 }
24342 if (obj1) {
093d3ff1 24343 {
7449af73 24344 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24345 if (SWIG_arg_fail(2)) SWIG_fail;
24346 }
d55e5bfc
RD
24347 }
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (wxListEvent *)new wxListEvent(arg1,arg2);
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
24356 return resultobj;
24357 fail:
24358 return NULL;
24359}
24360
24361
c32bde28 24362static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24363 PyObject *resultobj = NULL;
d55e5bfc
RD
24364 wxListEvent *arg1 = (wxListEvent *) 0 ;
24365 int arg2 ;
24366 PyObject * obj0 = 0 ;
24367 PyObject * obj1 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self",(char *) "m_code", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail;
24375 {
7449af73 24376 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24377 if (SWIG_arg_fail(2)) SWIG_fail;
24378 }
d55e5bfc
RD
24379 if (arg1) (arg1)->m_code = arg2;
24380
24381 Py_INCREF(Py_None); resultobj = Py_None;
24382 return resultobj;
24383 fail:
24384 return NULL;
24385}
24386
24387
c32bde28 24388static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24389 PyObject *resultobj = NULL;
d55e5bfc
RD
24390 wxListEvent *arg1 = (wxListEvent *) 0 ;
24391 int result;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24400 result = (int) ((arg1)->m_code);
24401
093d3ff1 24402 {
7449af73 24403 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24404 }
d55e5bfc
RD
24405 return resultobj;
24406 fail:
24407 return NULL;
24408}
24409
24410
c32bde28 24411static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24412 PyObject *resultobj = NULL;
d55e5bfc
RD
24413 wxListEvent *arg1 = (wxListEvent *) 0 ;
24414 long arg2 ;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self",(char *) "m_oldItemIndex", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24423 if (SWIG_arg_fail(1)) SWIG_fail;
24424 {
7449af73 24425 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24426 if (SWIG_arg_fail(2)) SWIG_fail;
24427 }
d55e5bfc
RD
24428 if (arg1) (arg1)->m_oldItemIndex = arg2;
24429
24430 Py_INCREF(Py_None); resultobj = Py_None;
24431 return resultobj;
24432 fail:
24433 return NULL;
24434}
24435
24436
c32bde28 24437static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24438 PyObject *resultobj = NULL;
d55e5bfc
RD
24439 wxListEvent *arg1 = (wxListEvent *) 0 ;
24440 long result;
24441 PyObject * obj0 = 0 ;
24442 char *kwnames[] = {
24443 (char *) "self", NULL
24444 };
24445
24446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24449 result = (long) ((arg1)->m_oldItemIndex);
24450
093d3ff1 24451 {
7449af73 24452 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24453 }
d55e5bfc
RD
24454 return resultobj;
24455 fail:
24456 return NULL;
24457}
24458
24459
c32bde28 24460static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24461 PyObject *resultobj = NULL;
d55e5bfc
RD
24462 wxListEvent *arg1 = (wxListEvent *) 0 ;
24463 long arg2 ;
24464 PyObject * obj0 = 0 ;
24465 PyObject * obj1 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self",(char *) "m_itemIndex", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail;
24473 {
7449af73 24474 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
24475 if (SWIG_arg_fail(2)) SWIG_fail;
24476 }
d55e5bfc
RD
24477 if (arg1) (arg1)->m_itemIndex = arg2;
24478
24479 Py_INCREF(Py_None); resultobj = Py_None;
24480 return resultobj;
24481 fail:
24482 return NULL;
24483}
24484
24485
c32bde28 24486static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24487 PyObject *resultobj = NULL;
d55e5bfc
RD
24488 wxListEvent *arg1 = (wxListEvent *) 0 ;
24489 long result;
24490 PyObject * obj0 = 0 ;
24491 char *kwnames[] = {
24492 (char *) "self", NULL
24493 };
24494
24495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24497 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24498 result = (long) ((arg1)->m_itemIndex);
24499
093d3ff1 24500 {
7449af73 24501 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24502 }
d55e5bfc
RD
24503 return resultobj;
24504 fail:
24505 return NULL;
24506}
24507
24508
c32bde28 24509static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24510 PyObject *resultobj = NULL;
d55e5bfc
RD
24511 wxListEvent *arg1 = (wxListEvent *) 0 ;
24512 int arg2 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self",(char *) "m_col", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail;
24522 {
7449af73 24523 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24524 if (SWIG_arg_fail(2)) SWIG_fail;
24525 }
d55e5bfc
RD
24526 if (arg1) (arg1)->m_col = arg2;
24527
24528 Py_INCREF(Py_None); resultobj = Py_None;
24529 return resultobj;
24530 fail:
24531 return NULL;
24532}
24533
24534
c32bde28 24535static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24536 PyObject *resultobj = NULL;
d55e5bfc
RD
24537 wxListEvent *arg1 = (wxListEvent *) 0 ;
24538 int result;
24539 PyObject * obj0 = 0 ;
24540 char *kwnames[] = {
24541 (char *) "self", NULL
24542 };
24543
24544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24547 result = (int) ((arg1)->m_col);
24548
093d3ff1 24549 {
7449af73 24550 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24551 }
d55e5bfc
RD
24552 return resultobj;
24553 fail:
24554 return NULL;
24555}
24556
24557
c32bde28 24558static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24559 PyObject *resultobj = NULL;
d55e5bfc
RD
24560 wxListEvent *arg1 = (wxListEvent *) 0 ;
24561 wxPoint *arg2 = (wxPoint *) 0 ;
24562 PyObject * obj0 = 0 ;
24563 PyObject * obj1 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "self",(char *) "m_pointDrag", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail;
24571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
24572 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24573 if (arg1) (arg1)->m_pointDrag = *arg2;
24574
24575 Py_INCREF(Py_None); resultobj = Py_None;
24576 return resultobj;
24577 fail:
24578 return NULL;
24579}
24580
24581
c32bde28 24582static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24583 PyObject *resultobj = NULL;
d55e5bfc
RD
24584 wxListEvent *arg1 = (wxListEvent *) 0 ;
24585 wxPoint *result;
24586 PyObject * obj0 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24594 result = (wxPoint *)& ((arg1)->m_pointDrag);
24595
24596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
24597 return resultobj;
24598 fail:
24599 return NULL;
24600}
24601
24602
c32bde28 24603static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24604 PyObject *resultobj = NULL;
d55e5bfc
RD
24605 wxListEvent *arg1 = (wxListEvent *) 0 ;
24606 wxListItem *result;
24607 PyObject * obj0 = 0 ;
24608 char *kwnames[] = {
24609 (char *) "self", NULL
24610 };
24611
24612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24615 result = (wxListItem *)& ((arg1)->m_item);
24616
24617 {
7e08d4ef 24618 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
24619 }
24620 return resultobj;
24621 fail:
24622 return NULL;
24623}
24624
24625
c32bde28 24626static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24627 PyObject *resultobj = NULL;
d55e5bfc
RD
24628 wxListEvent *arg1 = (wxListEvent *) 0 ;
24629 int result;
24630 PyObject * obj0 = 0 ;
24631 char *kwnames[] = {
24632 (char *) "self", NULL
24633 };
24634
24635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
24636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24638 {
24639 PyThreadState* __tstate = wxPyBeginAllowThreads();
24640 result = (int)(arg1)->GetKeyCode();
24641
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
093d3ff1 24645 {
7449af73 24646 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24647 }
d55e5bfc
RD
24648 return resultobj;
24649 fail:
24650 return NULL;
24651}
24652
24653
c32bde28 24654static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24655 PyObject *resultobj = NULL;
d55e5bfc
RD
24656 wxListEvent *arg1 = (wxListEvent *) 0 ;
24657 long result;
24658 PyObject * obj0 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
24664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 result = (long)(arg1)->GetIndex();
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
093d3ff1 24673 {
7449af73 24674 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24675 }
d55e5bfc
RD
24676 return resultobj;
24677 fail:
24678 return NULL;
24679}
24680
24681
c32bde28 24682static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24683 PyObject *resultobj = NULL;
d55e5bfc
RD
24684 wxListEvent *arg1 = (wxListEvent *) 0 ;
24685 int result;
24686 PyObject * obj0 = 0 ;
24687 char *kwnames[] = {
24688 (char *) "self", NULL
24689 };
24690
24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
24692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (int)(arg1)->GetColumn();
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
093d3ff1 24701 {
7449af73 24702 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24703 }
d55e5bfc
RD
24704 return resultobj;
24705 fail:
24706 return NULL;
24707}
24708
24709
c32bde28 24710static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24711 PyObject *resultobj = NULL;
d55e5bfc
RD
24712 wxListEvent *arg1 = (wxListEvent *) 0 ;
24713 wxPoint result;
24714 PyObject * obj0 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "self", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
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 result = (arg1)->GetPoint();
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 {
24730 wxPoint * resultptr;
7449af73 24731 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
24732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24733 }
24734 return resultobj;
24735 fail:
24736 return NULL;
24737}
24738
24739
c32bde28 24740static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24741 PyObject *resultobj = NULL;
d55e5bfc
RD
24742 wxListEvent *arg1 = (wxListEvent *) 0 ;
24743 wxString *result;
24744 PyObject * obj0 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "self", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
24750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24752 {
24753 PyThreadState* __tstate = wxPyBeginAllowThreads();
24754 {
24755 wxString const &_result_ref = (arg1)->GetLabel();
24756 result = (wxString *) &_result_ref;
24757 }
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 {
24763#if wxUSE_UNICODE
24764 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24765#else
24766 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24767#endif
24768 }
24769 return resultobj;
24770 fail:
24771 return NULL;
24772}
24773
24774
c32bde28 24775static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24776 PyObject *resultobj = NULL;
d55e5bfc
RD
24777 wxListEvent *arg1 = (wxListEvent *) 0 ;
24778 wxString *result;
24779 PyObject * obj0 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
24785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 {
24790 wxString const &_result_ref = (arg1)->GetText();
24791 result = (wxString *) &_result_ref;
24792 }
24793
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 {
24798#if wxUSE_UNICODE
24799 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24800#else
24801 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24802#endif
24803 }
24804 return resultobj;
24805 fail:
24806 return NULL;
24807}
24808
24809
c32bde28 24810static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24811 PyObject *resultobj = NULL;
d55e5bfc
RD
24812 wxListEvent *arg1 = (wxListEvent *) 0 ;
24813 int result;
24814 PyObject * obj0 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 result = (int)(arg1)->GetImage();
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
093d3ff1 24829 {
7449af73 24830 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24831 }
d55e5bfc
RD
24832 return resultobj;
24833 fail:
24834 return NULL;
24835}
24836
24837
c32bde28 24838static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24839 PyObject *resultobj = NULL;
d55e5bfc
RD
24840 wxListEvent *arg1 = (wxListEvent *) 0 ;
24841 long result;
24842 PyObject * obj0 = 0 ;
24843 char *kwnames[] = {
24844 (char *) "self", NULL
24845 };
24846
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24850 {
24851 PyThreadState* __tstate = wxPyBeginAllowThreads();
24852 result = (long)(arg1)->GetData();
24853
24854 wxPyEndAllowThreads(__tstate);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
093d3ff1 24857 {
7449af73 24858 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24859 }
d55e5bfc
RD
24860 return resultobj;
24861 fail:
24862 return NULL;
24863}
24864
24865
c32bde28 24866static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24867 PyObject *resultobj = NULL;
d55e5bfc
RD
24868 wxListEvent *arg1 = (wxListEvent *) 0 ;
24869 long result;
24870 PyObject * obj0 = 0 ;
24871 char *kwnames[] = {
24872 (char *) "self", NULL
24873 };
24874
24875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
24876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 result = (long)(arg1)->GetMask();
24881
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
093d3ff1 24885 {
7449af73 24886 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24887 }
d55e5bfc
RD
24888 return resultobj;
24889 fail:
24890 return NULL;
24891}
24892
24893
c32bde28 24894static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24895 PyObject *resultobj = NULL;
d55e5bfc
RD
24896 wxListEvent *arg1 = (wxListEvent *) 0 ;
24897 wxListItem *result;
24898 PyObject * obj0 = 0 ;
24899 char *kwnames[] = {
24900 (char *) "self", NULL
24901 };
24902
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
24904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 {
24909 wxListItem const &_result_ref = (arg1)->GetItem();
24910 result = (wxListItem *) &_result_ref;
24911 }
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
24917 return resultobj;
24918 fail:
24919 return NULL;
24920}
24921
24922
c32bde28 24923static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24924 PyObject *resultobj = NULL;
d55e5bfc
RD
24925 wxListEvent *arg1 = (wxListEvent *) 0 ;
24926 long result;
24927 PyObject * obj0 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
24933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 result = (long)(arg1)->GetCacheFrom();
24938
24939 wxPyEndAllowThreads(__tstate);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 }
093d3ff1 24942 {
7449af73 24943 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24944 }
d55e5bfc
RD
24945 return resultobj;
24946 fail:
24947 return NULL;
24948}
24949
24950
c32bde28 24951static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24952 PyObject *resultobj = NULL;
d55e5bfc
RD
24953 wxListEvent *arg1 = (wxListEvent *) 0 ;
24954 long result;
24955 PyObject * obj0 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "self", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
24961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 result = (long)(arg1)->GetCacheTo();
24966
24967 wxPyEndAllowThreads(__tstate);
24968 if (PyErr_Occurred()) SWIG_fail;
24969 }
093d3ff1 24970 {
7449af73 24971 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24972 }
d55e5bfc
RD
24973 return resultobj;
24974 fail:
24975 return NULL;
24976}
24977
24978
c32bde28 24979static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24980 PyObject *resultobj = NULL;
d55e5bfc
RD
24981 wxListEvent *arg1 = (wxListEvent *) 0 ;
24982 bool result;
24983 PyObject * obj0 = 0 ;
24984 char *kwnames[] = {
24985 (char *) "self", NULL
24986 };
24987
24988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
24989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
24994
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 {
24999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25000 }
25001 return resultobj;
25002 fail:
25003 return NULL;
25004}
25005
25006
c32bde28 25007static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25008 PyObject *resultobj = NULL;
d55e5bfc
RD
25009 wxListEvent *arg1 = (wxListEvent *) 0 ;
25010 bool arg2 ;
25011 PyObject * obj0 = 0 ;
25012 PyObject * obj1 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self",(char *) "editCancelled", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail;
25020 {
7449af73 25021 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
25022 if (SWIG_arg_fail(2)) SWIG_fail;
25023 }
d55e5bfc
RD
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 (arg1)->SetEditCanceled(arg2);
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 Py_INCREF(Py_None); resultobj = Py_None;
25032 return resultobj;
25033 fail:
25034 return NULL;
25035}
25036
25037
c32bde28 25038static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25039 PyObject *obj;
25040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25041 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
25042 Py_INCREF(obj);
25043 return Py_BuildValue((char *)"");
25044}
c32bde28 25045static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25046 PyObject *resultobj = NULL;
d55e5bfc
RD
25047 wxWindow *arg1 = (wxWindow *) 0 ;
25048 int arg2 = (int) -1 ;
25049 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25050 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25051 wxSize const &arg4_defvalue = wxDefaultSize ;
25052 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25053 long arg5 = (long) wxLC_ICON ;
25054 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25055 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25056 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
25057 wxString *arg7 = (wxString *) &arg7_defvalue ;
25058 wxPyListCtrl *result;
25059 wxPoint temp3 ;
25060 wxSize temp4 ;
ae8162c8 25061 bool temp7 = false ;
d55e5bfc
RD
25062 PyObject * obj0 = 0 ;
25063 PyObject * obj1 = 0 ;
25064 PyObject * obj2 = 0 ;
25065 PyObject * obj3 = 0 ;
25066 PyObject * obj4 = 0 ;
25067 PyObject * obj5 = 0 ;
25068 PyObject * obj6 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25076 if (obj1) {
093d3ff1 25077 {
7449af73 25078 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25079 if (SWIG_arg_fail(2)) SWIG_fail;
25080 }
d55e5bfc
RD
25081 }
25082 if (obj2) {
25083 {
25084 arg3 = &temp3;
25085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25086 }
25087 }
25088 if (obj3) {
25089 {
25090 arg4 = &temp4;
25091 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25092 }
25093 }
25094 if (obj4) {
093d3ff1 25095 {
7449af73 25096 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
25097 if (SWIG_arg_fail(5)) SWIG_fail;
25098 }
d55e5bfc
RD
25099 }
25100 if (obj5) {
093d3ff1
RD
25101 {
25102 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25103 if (SWIG_arg_fail(6)) SWIG_fail;
25104 if (arg6 == NULL) {
25105 SWIG_null_ref("wxValidator");
25106 }
25107 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
25108 }
25109 }
25110 if (obj6) {
25111 {
25112 arg7 = wxString_in_helper(obj6);
25113 if (arg7 == NULL) SWIG_fail;
ae8162c8 25114 temp7 = true;
d55e5bfc
RD
25115 }
25116 }
25117 {
0439c23b 25118 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25121
25122 wxPyEndAllowThreads(__tstate);
110da5b0 25123 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25124 }
25125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25126 {
25127 if (temp7)
25128 delete arg7;
25129 }
25130 return resultobj;
25131 fail:
25132 {
25133 if (temp7)
25134 delete arg7;
25135 }
25136 return NULL;
25137}
25138
25139
c32bde28 25140static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25141 PyObject *resultobj = NULL;
d55e5bfc
RD
25142 wxPyListCtrl *result;
25143 char *kwnames[] = {
25144 NULL
25145 };
25146
25147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
25148 {
0439c23b 25149 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (wxPyListCtrl *)new wxPyListCtrl();
25152
25153 wxPyEndAllowThreads(__tstate);
110da5b0 25154 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25155 }
25156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25157 return resultobj;
25158 fail:
25159 return NULL;
25160}
25161
25162
c32bde28 25163static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25164 PyObject *resultobj = NULL;
d55e5bfc
RD
25165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25166 wxWindow *arg2 = (wxWindow *) 0 ;
25167 int arg3 = (int) -1 ;
25168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25170 wxSize const &arg5_defvalue = wxDefaultSize ;
25171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25172 long arg6 = (long) wxLC_ICON ;
25173 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25174 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25175 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
25176 wxString *arg8 = (wxString *) &arg8_defvalue ;
25177 bool result;
25178 wxPoint temp4 ;
25179 wxSize temp5 ;
ae8162c8 25180 bool temp8 = false ;
d55e5bfc
RD
25181 PyObject * obj0 = 0 ;
25182 PyObject * obj1 = 0 ;
25183 PyObject * obj2 = 0 ;
25184 PyObject * obj3 = 0 ;
25185 PyObject * obj4 = 0 ;
25186 PyObject * obj5 = 0 ;
25187 PyObject * obj6 = 0 ;
25188 PyObject * obj7 = 0 ;
25189 char *kwnames[] = {
25190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25191 };
25192
25193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
25194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25195 if (SWIG_arg_fail(1)) SWIG_fail;
25196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25197 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 25198 if (obj2) {
093d3ff1 25199 {
7449af73 25200 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25201 if (SWIG_arg_fail(3)) SWIG_fail;
25202 }
d55e5bfc
RD
25203 }
25204 if (obj3) {
25205 {
25206 arg4 = &temp4;
25207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25208 }
25209 }
25210 if (obj4) {
25211 {
25212 arg5 = &temp5;
25213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25214 }
25215 }
25216 if (obj5) {
093d3ff1 25217 {
7449af73 25218 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
25219 if (SWIG_arg_fail(6)) SWIG_fail;
25220 }
d55e5bfc
RD
25221 }
25222 if (obj6) {
093d3ff1
RD
25223 {
25224 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25225 if (SWIG_arg_fail(7)) SWIG_fail;
25226 if (arg7 == NULL) {
25227 SWIG_null_ref("wxValidator");
25228 }
25229 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
25230 }
25231 }
25232 if (obj7) {
25233 {
25234 arg8 = wxString_in_helper(obj7);
25235 if (arg8 == NULL) SWIG_fail;
ae8162c8 25236 temp8 = true;
d55e5bfc
RD
25237 }
25238 }
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
25247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25248 }
25249 {
25250 if (temp8)
25251 delete arg8;
25252 }
25253 return resultobj;
25254 fail:
25255 {
25256 if (temp8)
25257 delete arg8;
25258 }
25259 return NULL;
25260}
25261
25262
c32bde28 25263static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25264 PyObject *resultobj = NULL;
d55e5bfc
RD
25265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25266 PyObject *arg2 = (PyObject *) 0 ;
25267 PyObject *arg3 = (PyObject *) 0 ;
25268 PyObject * obj0 = 0 ;
25269 PyObject * obj1 = 0 ;
25270 PyObject * obj2 = 0 ;
25271 char *kwnames[] = {
25272 (char *) "self",(char *) "self",(char *) "_class", NULL
25273 };
25274
25275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25278 arg2 = obj1;
25279 arg3 = obj2;
25280 {
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 (arg1)->_setCallbackInfo(arg2,arg3);
25283
25284 wxPyEndAllowThreads(__tstate);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 Py_INCREF(Py_None); resultobj = Py_None;
25288 return resultobj;
25289 fail:
25290 return NULL;
25291}
25292
25293
c32bde28 25294static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25295 PyObject *resultobj = NULL;
d55e5bfc
RD
25296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25297 wxColour *arg2 = 0 ;
25298 bool result;
25299 wxColour temp2 ;
25300 PyObject * obj0 = 0 ;
25301 PyObject * obj1 = 0 ;
25302 char *kwnames[] = {
25303 (char *) "self",(char *) "col", NULL
25304 };
25305
25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25309 {
25310 arg2 = &temp2;
25311 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25312 }
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 {
25321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25322 }
25323 return resultobj;
25324 fail:
25325 return NULL;
25326}
25327
25328
c32bde28 25329static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25330 PyObject *resultobj = NULL;
d55e5bfc
RD
25331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25332 wxColour *arg2 = 0 ;
25333 bool result;
25334 wxColour temp2 ;
25335 PyObject * obj0 = 0 ;
25336 PyObject * obj1 = 0 ;
25337 char *kwnames[] = {
25338 (char *) "self",(char *) "col", NULL
25339 };
25340
25341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25344 {
25345 arg2 = &temp2;
25346 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25347 }
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 {
25356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25357 }
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
c32bde28 25364static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25365 PyObject *resultobj = NULL;
d55e5bfc
RD
25366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25367 int arg2 ;
25368 wxListItem *result;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "col", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25377 if (SWIG_arg_fail(1)) SWIG_fail;
25378 {
7449af73 25379 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25380 if (SWIG_arg_fail(2)) SWIG_fail;
25381 }
d55e5bfc
RD
25382 {
25383 PyThreadState* __tstate = wxPyBeginAllowThreads();
25384 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
25385
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 {
7e08d4ef 25390 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25391 }
25392 return resultobj;
25393 fail:
25394 return NULL;
25395}
25396
25397
c32bde28 25398static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25399 PyObject *resultobj = NULL;
d55e5bfc
RD
25400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25401 int arg2 ;
25402 wxListItem *arg3 = 0 ;
25403 bool result;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 PyObject * obj2 = 0 ;
25407 char *kwnames[] = {
25408 (char *) "self",(char *) "col",(char *) "item", NULL
25409 };
25410
25411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail;
25414 {
7449af73 25415 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25416 if (SWIG_arg_fail(2)) SWIG_fail;
25417 }
25418 {
25419 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25420 if (SWIG_arg_fail(3)) SWIG_fail;
25421 if (arg3 == NULL) {
25422 SWIG_null_ref("wxListItem");
25423 }
25424 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25425 }
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 result = (bool)(arg1)->SetColumn(arg2,*arg3);
25429
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 {
25434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25435 }
25436 return resultobj;
25437 fail:
25438 return NULL;
25439}
25440
25441
c32bde28 25442static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25443 PyObject *resultobj = NULL;
d55e5bfc
RD
25444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25445 int arg2 ;
25446 int result;
25447 PyObject * obj0 = 0 ;
25448 PyObject * obj1 = 0 ;
25449 char *kwnames[] = {
25450 (char *) "self",(char *) "col", NULL
25451 };
25452
25453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25455 if (SWIG_arg_fail(1)) SWIG_fail;
25456 {
7449af73 25457 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25458 if (SWIG_arg_fail(2)) SWIG_fail;
25459 }
d55e5bfc
RD
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
093d3ff1 25467 {
7449af73 25468 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25469 }
d55e5bfc
RD
25470 return resultobj;
25471 fail:
25472 return NULL;
25473}
25474
25475
c32bde28 25476static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25477 PyObject *resultobj = NULL;
d55e5bfc
RD
25478 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25479 int arg2 ;
25480 int arg3 ;
25481 bool result;
25482 PyObject * obj0 = 0 ;
25483 PyObject * obj1 = 0 ;
25484 PyObject * obj2 = 0 ;
25485 char *kwnames[] = {
25486 (char *) "self",(char *) "col",(char *) "width", NULL
25487 };
25488
25489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail;
25492 {
7449af73 25493 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25494 if (SWIG_arg_fail(2)) SWIG_fail;
25495 }
25496 {
7449af73 25497 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25498 if (SWIG_arg_fail(3)) SWIG_fail;
25499 }
d55e5bfc
RD
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 {
25508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25509 }
25510 return resultobj;
25511 fail:
25512 return NULL;
25513}
25514
25515
c32bde28 25516static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25517 PyObject *resultobj = NULL;
d55e5bfc
RD
25518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25519 int result;
25520 PyObject * obj0 = 0 ;
25521 char *kwnames[] = {
25522 (char *) "self", NULL
25523 };
25524
25525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
25526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25528 {
25529 PyThreadState* __tstate = wxPyBeginAllowThreads();
25530 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
25531
25532 wxPyEndAllowThreads(__tstate);
25533 if (PyErr_Occurred()) SWIG_fail;
25534 }
093d3ff1 25535 {
7449af73 25536 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25537 }
d55e5bfc
RD
25538 return resultobj;
25539 fail:
25540 return NULL;
25541}
25542
25543
c32bde28 25544static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25545 PyObject *resultobj = NULL;
d55e5bfc
RD
25546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25547 wxRect result;
25548 PyObject * obj0 = 0 ;
25549 char *kwnames[] = {
25550 (char *) "self", NULL
25551 };
25552
25553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
25554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25556 {
25557 PyThreadState* __tstate = wxPyBeginAllowThreads();
25558 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
25559
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 {
25564 wxRect * resultptr;
7449af73 25565 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
25566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25567 }
25568 return resultobj;
25569 fail:
25570 return NULL;
25571}
25572
25573
c32bde28 25574static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25575 PyObject *resultobj = NULL;
d55e5bfc
RD
25576 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25577 wxTextCtrl *result;
25578 PyObject * obj0 = 0 ;
25579 char *kwnames[] = {
25580 (char *) "self", NULL
25581 };
25582
25583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 {
412d302d 25594 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25595 }
25596 return resultobj;
25597 fail:
25598 return NULL;
25599}
25600
25601
c32bde28 25602static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25603 PyObject *resultobj = NULL;
d55e5bfc
RD
25604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25605 long arg2 ;
25606 int arg3 = (int) 0 ;
25607 wxListItem *result;
25608 PyObject * obj0 = 0 ;
25609 PyObject * obj1 = 0 ;
25610 PyObject * obj2 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self",(char *) "itemId",(char *) "col", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail;
25618 {
7449af73 25619 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25620 if (SWIG_arg_fail(2)) SWIG_fail;
25621 }
d55e5bfc 25622 if (obj2) {
093d3ff1 25623 {
7449af73 25624 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25625 if (SWIG_arg_fail(3)) SWIG_fail;
25626 }
d55e5bfc
RD
25627 }
25628 {
25629 PyThreadState* __tstate = wxPyBeginAllowThreads();
25630 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
25631
25632 wxPyEndAllowThreads(__tstate);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 {
7e08d4ef 25636 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
25637 }
25638 return resultobj;
25639 fail:
25640 return NULL;
25641}
25642
25643
c32bde28 25644static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25645 PyObject *resultobj = NULL;
d55e5bfc
RD
25646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25647 wxListItem *arg2 = 0 ;
25648 bool result;
25649 PyObject * obj0 = 0 ;
25650 PyObject * obj1 = 0 ;
25651 char *kwnames[] = {
25652 (char *) "self",(char *) "info", NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25657 if (SWIG_arg_fail(1)) SWIG_fail;
25658 {
25659 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25660 if (SWIG_arg_fail(2)) SWIG_fail;
25661 if (arg2 == NULL) {
25662 SWIG_null_ref("wxListItem");
25663 }
25664 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25665 }
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 result = (bool)(arg1)->SetItem(*arg2);
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 {
25674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25675 }
25676 return resultobj;
25677 fail:
25678 return NULL;
25679}
25680
25681
c32bde28 25682static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25683 PyObject *resultobj = NULL;
d55e5bfc
RD
25684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25685 long arg2 ;
25686 int arg3 ;
25687 wxString *arg4 = 0 ;
25688 int arg5 = (int) -1 ;
25689 long result;
ae8162c8 25690 bool temp4 = false ;
d55e5bfc
RD
25691 PyObject * obj0 = 0 ;
25692 PyObject * obj1 = 0 ;
25693 PyObject * obj2 = 0 ;
25694 PyObject * obj3 = 0 ;
25695 PyObject * obj4 = 0 ;
25696 char *kwnames[] = {
25697 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25698 };
25699
25700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
25701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail;
25703 {
7449af73 25704 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25705 if (SWIG_arg_fail(2)) SWIG_fail;
25706 }
25707 {
7449af73 25708 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25709 if (SWIG_arg_fail(3)) SWIG_fail;
25710 }
d55e5bfc
RD
25711 {
25712 arg4 = wxString_in_helper(obj3);
25713 if (arg4 == NULL) SWIG_fail;
ae8162c8 25714 temp4 = true;
d55e5bfc
RD
25715 }
25716 if (obj4) {
093d3ff1 25717 {
7449af73 25718 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
25719 if (SWIG_arg_fail(5)) SWIG_fail;
25720 }
d55e5bfc
RD
25721 }
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
25725
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
093d3ff1 25729 {
7449af73 25730 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 25731 }
d55e5bfc
RD
25732 {
25733 if (temp4)
25734 delete arg4;
25735 }
25736 return resultobj;
25737 fail:
25738 {
25739 if (temp4)
25740 delete arg4;
25741 }
25742 return NULL;
25743}
25744
25745
c32bde28 25746static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25747 PyObject *resultobj = NULL;
d55e5bfc
RD
25748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25749 long arg2 ;
25750 long arg3 ;
25751 int result;
25752 PyObject * obj0 = 0 ;
25753 PyObject * obj1 = 0 ;
25754 PyObject * obj2 = 0 ;
25755 char *kwnames[] = {
25756 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25757 };
25758
25759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25761 if (SWIG_arg_fail(1)) SWIG_fail;
25762 {
7449af73 25763 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25764 if (SWIG_arg_fail(2)) SWIG_fail;
25765 }
25766 {
7449af73 25767 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25768 if (SWIG_arg_fail(3)) SWIG_fail;
25769 }
d55e5bfc
RD
25770 {
25771 PyThreadState* __tstate = wxPyBeginAllowThreads();
25772 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
25773
25774 wxPyEndAllowThreads(__tstate);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 }
093d3ff1 25777 {
7449af73 25778 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25779 }
d55e5bfc
RD
25780 return resultobj;
25781 fail:
25782 return NULL;
25783}
25784
25785
c32bde28 25786static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25787 PyObject *resultobj = NULL;
d55e5bfc
RD
25788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25789 long arg2 ;
25790 long arg3 ;
25791 long arg4 ;
25792 bool result;
25793 PyObject * obj0 = 0 ;
25794 PyObject * obj1 = 0 ;
25795 PyObject * obj2 = 0 ;
25796 PyObject * obj3 = 0 ;
25797 char *kwnames[] = {
25798 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25799 };
25800
25801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25803 if (SWIG_arg_fail(1)) SWIG_fail;
25804 {
7449af73 25805 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25806 if (SWIG_arg_fail(2)) SWIG_fail;
25807 }
25808 {
7449af73 25809 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25810 if (SWIG_arg_fail(3)) SWIG_fail;
25811 }
25812 {
7449af73 25813 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
25814 if (SWIG_arg_fail(4)) SWIG_fail;
25815 }
d55e5bfc
RD
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 {
25824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25825 }
25826 return resultobj;
25827 fail:
25828 return NULL;
25829}
25830
25831
c32bde28 25832static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25833 PyObject *resultobj = NULL;
d55e5bfc
RD
25834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25835 long arg2 ;
25836 int arg3 ;
84f85550 25837 int arg4 = (int) -1 ;
d55e5bfc
RD
25838 bool result;
25839 PyObject * obj0 = 0 ;
25840 PyObject * obj1 = 0 ;
25841 PyObject * obj2 = 0 ;
25842 PyObject * obj3 = 0 ;
25843 char *kwnames[] = {
25844 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25845 };
25846
84f85550 25847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail;
25850 {
7449af73 25851 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25852 if (SWIG_arg_fail(2)) SWIG_fail;
25853 }
25854 {
7449af73 25855 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25856 if (SWIG_arg_fail(3)) SWIG_fail;
25857 }
84f85550 25858 if (obj3) {
093d3ff1 25859 {
7449af73 25860 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
25861 if (SWIG_arg_fail(4)) SWIG_fail;
25862 }
84f85550 25863 }
d55e5bfc
RD
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 {
25872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25873 }
25874 return resultobj;
25875 fail:
25876 return NULL;
25877}
25878
25879
c32bde28 25880static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25881 PyObject *resultobj = NULL;
d55e5bfc
RD
25882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25883 long arg2 ;
25884 wxString result;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 char *kwnames[] = {
25888 (char *) "self",(char *) "item", NULL
25889 };
25890
25891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25893 if (SWIG_arg_fail(1)) SWIG_fail;
25894 {
7449af73 25895 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25896 if (SWIG_arg_fail(2)) SWIG_fail;
25897 }
d55e5bfc
RD
25898 {
25899 PyThreadState* __tstate = wxPyBeginAllowThreads();
25900 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
25901
25902 wxPyEndAllowThreads(__tstate);
25903 if (PyErr_Occurred()) SWIG_fail;
25904 }
25905 {
25906#if wxUSE_UNICODE
25907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25908#else
25909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25910#endif
25911 }
25912 return resultobj;
25913 fail:
25914 return NULL;
25915}
25916
25917
c32bde28 25918static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25919 PyObject *resultobj = NULL;
d55e5bfc
RD
25920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25921 long arg2 ;
25922 wxString *arg3 = 0 ;
ae8162c8 25923 bool temp3 = false ;
d55e5bfc
RD
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 PyObject * obj2 = 0 ;
25927 char *kwnames[] = {
25928 (char *) "self",(char *) "item",(char *) "str", NULL
25929 };
25930
25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail;
25934 {
7449af73 25935 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25936 if (SWIG_arg_fail(2)) SWIG_fail;
25937 }
d55e5bfc
RD
25938 {
25939 arg3 = wxString_in_helper(obj2);
25940 if (arg3 == NULL) SWIG_fail;
ae8162c8 25941 temp3 = true;
d55e5bfc
RD
25942 }
25943 {
25944 PyThreadState* __tstate = wxPyBeginAllowThreads();
25945 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
25946
25947 wxPyEndAllowThreads(__tstate);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 }
25950 Py_INCREF(Py_None); resultobj = Py_None;
25951 {
25952 if (temp3)
25953 delete arg3;
25954 }
25955 return resultobj;
25956 fail:
25957 {
25958 if (temp3)
25959 delete arg3;
25960 }
25961 return NULL;
25962}
25963
25964
c32bde28 25965static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25966 PyObject *resultobj = NULL;
d55e5bfc
RD
25967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25968 long arg2 ;
25969 long result;
25970 PyObject * obj0 = 0 ;
25971 PyObject * obj1 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "self",(char *) "item", NULL
25974 };
25975
25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail;
25979 {
7449af73 25980 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25981 if (SWIG_arg_fail(2)) SWIG_fail;
25982 }
d55e5bfc
RD
25983 {
25984 PyThreadState* __tstate = wxPyBeginAllowThreads();
25985 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
25986
25987 wxPyEndAllowThreads(__tstate);
25988 if (PyErr_Occurred()) SWIG_fail;
25989 }
093d3ff1 25990 {
7449af73 25991 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 25992 }
d55e5bfc
RD
25993 return resultobj;
25994 fail:
25995 return NULL;
25996}
25997
25998
c32bde28 25999static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26000 PyObject *resultobj = NULL;
d55e5bfc
RD
26001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26002 long arg2 ;
26003 long arg3 ;
26004 bool result;
26005 PyObject * obj0 = 0 ;
26006 PyObject * obj1 = 0 ;
26007 PyObject * obj2 = 0 ;
26008 char *kwnames[] = {
26009 (char *) "self",(char *) "item",(char *) "data", NULL
26010 };
26011
26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail;
26015 {
7449af73 26016 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26017 if (SWIG_arg_fail(2)) SWIG_fail;
26018 }
26019 {
7449af73 26020 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
26021 if (SWIG_arg_fail(3)) SWIG_fail;
26022 }
d55e5bfc
RD
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (bool)(arg1)->SetItemData(arg2,arg3);
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 {
26031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26032 }
26033 return resultobj;
26034 fail:
26035 return NULL;
26036}
26037
26038
c32bde28 26039static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26040 PyObject *resultobj = NULL;
d55e5bfc
RD
26041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26042 long arg2 ;
26043 wxPoint result;
26044 PyObject * obj0 = 0 ;
26045 PyObject * obj1 = 0 ;
26046 char *kwnames[] = {
26047 (char *) "self",(char *) "item", NULL
26048 };
26049
26050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26052 if (SWIG_arg_fail(1)) SWIG_fail;
26053 {
7449af73 26054 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26055 if (SWIG_arg_fail(2)) SWIG_fail;
26056 }
d55e5bfc
RD
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 {
26065 wxPoint * resultptr;
7449af73 26066 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
26067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26068 }
26069 return resultobj;
26070 fail:
26071 return NULL;
26072}
26073
26074
c32bde28 26075static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26076 PyObject *resultobj = NULL;
d55e5bfc
RD
26077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26078 long arg2 ;
26079 int arg3 = (int) wxLIST_RECT_BOUNDS ;
26080 wxRect result;
26081 PyObject * obj0 = 0 ;
26082 PyObject * obj1 = 0 ;
26083 PyObject * obj2 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "item",(char *) "code", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail;
26091 {
7449af73 26092 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26093 if (SWIG_arg_fail(2)) SWIG_fail;
26094 }
d55e5bfc 26095 if (obj2) {
093d3ff1 26096 {
7449af73 26097 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26098 if (SWIG_arg_fail(3)) SWIG_fail;
26099 }
d55e5bfc
RD
26100 }
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
26104
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 {
26109 wxRect * resultptr;
7449af73 26110 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
26111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26112 }
26113 return resultobj;
26114 fail:
26115 return NULL;
26116}
26117
26118
c32bde28 26119static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26120 PyObject *resultobj = NULL;
d55e5bfc
RD
26121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26122 long arg2 ;
26123 wxPoint *arg3 = 0 ;
26124 bool result;
26125 wxPoint temp3 ;
26126 PyObject * obj0 = 0 ;
26127 PyObject * obj1 = 0 ;
26128 PyObject * obj2 = 0 ;
26129 char *kwnames[] = {
26130 (char *) "self",(char *) "item",(char *) "pos", NULL
26131 };
26132
26133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26135 if (SWIG_arg_fail(1)) SWIG_fail;
26136 {
7449af73 26137 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26138 if (SWIG_arg_fail(2)) SWIG_fail;
26139 }
d55e5bfc
RD
26140 {
26141 arg3 = &temp3;
26142 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26143 }
26144 {
26145 PyThreadState* __tstate = wxPyBeginAllowThreads();
26146 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
26147
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
26151 {
26152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26153 }
26154 return resultobj;
26155 fail:
26156 return NULL;
26157}
26158
26159
c32bde28 26160static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26161 PyObject *resultobj = NULL;
d55e5bfc
RD
26162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26163 int result;
26164 PyObject * obj0 = 0 ;
26165 char *kwnames[] = {
26166 (char *) "self", NULL
26167 };
26168
26169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
093d3ff1 26179 {
7449af73 26180 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26181 }
d55e5bfc
RD
26182 return resultobj;
26183 fail:
26184 return NULL;
26185}
26186
26187
c32bde28 26188static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26189 PyObject *resultobj = NULL;
d55e5bfc
RD
26190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26191 int result;
26192 PyObject * obj0 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
093d3ff1 26207 {
7449af73 26208 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26209 }
d55e5bfc
RD
26210 return resultobj;
26211 fail:
26212 return NULL;
26213}
26214
26215
c32bde28 26216static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26217 PyObject *resultobj = NULL;
d55e5bfc
RD
26218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26219 wxSize result;
26220 PyObject * obj0 = 0 ;
26221 char *kwnames[] = {
26222 (char *) "self", NULL
26223 };
26224
26225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
26226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 {
26236 wxSize * resultptr;
7449af73 26237 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
26238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26239 }
26240 return resultobj;
26241 fail:
26242 return NULL;
26243}
26244
26245
c32bde28 26246static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26247 PyObject *resultobj = NULL;
d55e5bfc
RD
26248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26249 int result;
26250 PyObject * obj0 = 0 ;
26251 char *kwnames[] = {
26252 (char *) "self", NULL
26253 };
26254
26255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
26256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
26261
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
093d3ff1 26265 {
7449af73 26266 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26267 }
d55e5bfc
RD
26268 return resultobj;
26269 fail:
26270 return NULL;
26271}
26272
26273
c32bde28 26274static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26275 PyObject *resultobj = NULL;
d55e5bfc
RD
26276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26277 wxColour result;
26278 PyObject * obj0 = 0 ;
26279 char *kwnames[] = {
26280 (char *) "self", NULL
26281 };
26282
26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
26284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 {
26294 wxColour * resultptr;
7449af73 26295 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
26296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26297 }
26298 return resultobj;
26299 fail:
26300 return NULL;
26301}
26302
26303
c32bde28 26304static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26305 PyObject *resultobj = NULL;
d55e5bfc
RD
26306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26307 wxColour *arg2 = 0 ;
26308 wxColour temp2 ;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "col", NULL
26313 };
26314
26315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26318 {
26319 arg2 = &temp2;
26320 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26321 }
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 (arg1)->SetTextColour((wxColour const &)*arg2);
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 Py_INCREF(Py_None); resultobj = Py_None;
26330 return resultobj;
26331 fail:
26332 return NULL;
26333}
26334
26335
c32bde28 26336static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26337 PyObject *resultobj = NULL;
d55e5bfc
RD
26338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26339 long result;
26340 PyObject * obj0 = 0 ;
26341 char *kwnames[] = {
26342 (char *) "self", NULL
26343 };
26344
26345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
093d3ff1 26355 {
7449af73 26356 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 26357 }
d55e5bfc
RD
26358 return resultobj;
26359 fail:
26360 return NULL;
26361}
26362
26363
c32bde28 26364static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26365 PyObject *resultobj = NULL;
d55e5bfc
RD
26366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26367 long arg2 ;
ae8162c8 26368 bool arg3 = (bool) true ;
d55e5bfc
RD
26369 PyObject * obj0 = 0 ;
26370 PyObject * obj1 = 0 ;
26371 PyObject * obj2 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self",(char *) "style",(char *) "add", NULL
26374 };
26375
26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail;
26379 {
7449af73 26380 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26381 if (SWIG_arg_fail(2)) SWIG_fail;
26382 }
d55e5bfc 26383 if (obj2) {
093d3ff1 26384 {
7449af73 26385 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
26386 if (SWIG_arg_fail(3)) SWIG_fail;
26387 }
d55e5bfc
RD
26388 }
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
26391 (arg1)->SetSingleStyle(arg2,arg3);
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 Py_INCREF(Py_None); resultobj = Py_None;
26397 return resultobj;
26398 fail:
26399 return NULL;
26400}
26401
26402
c32bde28 26403static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26404 PyObject *resultobj = NULL;
d55e5bfc
RD
26405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26406 long arg2 ;
26407 PyObject * obj0 = 0 ;
26408 PyObject * obj1 = 0 ;
26409 char *kwnames[] = {
26410 (char *) "self",(char *) "style", NULL
26411 };
26412
26413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26415 if (SWIG_arg_fail(1)) SWIG_fail;
26416 {
7449af73 26417 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26418 if (SWIG_arg_fail(2)) SWIG_fail;
26419 }
d55e5bfc
RD
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 (arg1)->SetWindowStyleFlag(arg2);
26423
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 Py_INCREF(Py_None); resultobj = Py_None;
26428 return resultobj;
26429 fail:
26430 return NULL;
26431}
26432
26433
c32bde28 26434static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26435 PyObject *resultobj = NULL;
d55e5bfc
RD
26436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26437 long arg2 ;
26438 int arg3 = (int) wxLIST_NEXT_ALL ;
26439 int arg4 = (int) wxLIST_STATE_DONTCARE ;
26440 long result;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 PyObject * obj2 = 0 ;
26444 PyObject * obj3 = 0 ;
26445 char *kwnames[] = {
26446 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26447 };
26448
26449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26451 if (SWIG_arg_fail(1)) SWIG_fail;
26452 {
7449af73 26453 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26454 if (SWIG_arg_fail(2)) SWIG_fail;
26455 }
d55e5bfc 26456 if (obj2) {
093d3ff1 26457 {
7449af73 26458 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26459 if (SWIG_arg_fail(3)) SWIG_fail;
26460 }
d55e5bfc
RD
26461 }
26462 if (obj3) {
093d3ff1 26463 {
7449af73 26464 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
26465 if (SWIG_arg_fail(4)) SWIG_fail;
26466 }
d55e5bfc
RD
26467 }
26468 {
26469 PyThreadState* __tstate = wxPyBeginAllowThreads();
26470 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
26471
26472 wxPyEndAllowThreads(__tstate);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 }
093d3ff1 26475 {
7449af73 26476 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 26477 }
d55e5bfc
RD
26478 return resultobj;
26479 fail:
26480 return NULL;
26481}
26482
26483
c32bde28 26484static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26485 PyObject *resultobj = NULL;
d55e5bfc
RD
26486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26487 int arg2 ;
26488 wxImageList *result;
26489 PyObject * obj0 = 0 ;
26490 PyObject * obj1 = 0 ;
26491 char *kwnames[] = {
26492 (char *) "self",(char *) "which", NULL
26493 };
26494
26495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail;
26498 {
7449af73 26499 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26500 if (SWIG_arg_fail(2)) SWIG_fail;
26501 }
d55e5bfc
RD
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
26505
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 {
7e08d4ef 26510 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
26511 }
26512 return resultobj;
26513 fail:
26514 return NULL;
26515}
26516
26517
c32bde28 26518static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26519 PyObject *resultobj = NULL;
d55e5bfc
RD
26520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26521 wxImageList *arg2 = (wxImageList *) 0 ;
26522 int arg3 ;
26523 PyObject * obj0 = 0 ;
26524 PyObject * obj1 = 0 ;
26525 PyObject * obj2 = 0 ;
26526 char *kwnames[] = {
26527 (char *) "self",(char *) "imageList",(char *) "which", NULL
26528 };
26529
26530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26532 if (SWIG_arg_fail(1)) SWIG_fail;
26533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
26534 if (SWIG_arg_fail(2)) SWIG_fail;
26535 {
7449af73 26536 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26537 if (SWIG_arg_fail(3)) SWIG_fail;
26538 }
d55e5bfc
RD
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 (arg1)->SetImageList(arg2,arg3);
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 Py_INCREF(Py_None); resultobj = Py_None;
26547 return resultobj;
26548 fail:
26549 return NULL;
26550}
26551
26552
c32bde28 26553static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26554 PyObject *resultobj = NULL;
d55e5bfc
RD
26555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26556 wxImageList *arg2 = (wxImageList *) 0 ;
26557 int arg3 ;
26558 PyObject * obj0 = 0 ;
26559 PyObject * obj1 = 0 ;
26560 PyObject * obj2 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self",(char *) "imageList",(char *) "which", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail;
26568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26569 if (SWIG_arg_fail(2)) SWIG_fail;
26570 {
7449af73 26571 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26572 if (SWIG_arg_fail(3)) SWIG_fail;
26573 }
d55e5bfc
RD
26574 {
26575 PyThreadState* __tstate = wxPyBeginAllowThreads();
26576 (arg1)->AssignImageList(arg2,arg3);
26577
26578 wxPyEndAllowThreads(__tstate);
26579 if (PyErr_Occurred()) SWIG_fail;
26580 }
26581 Py_INCREF(Py_None); resultobj = Py_None;
26582 return resultobj;
26583 fail:
26584 return NULL;
26585}
26586
26587
c32bde28 26588static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26589 PyObject *resultobj = NULL;
d55e5bfc
RD
26590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26591 bool result;
26592 PyObject * obj0 = 0 ;
26593 char *kwnames[] = {
26594 (char *) "self", NULL
26595 };
26596
26597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
26598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26600 {
26601 PyThreadState* __tstate = wxPyBeginAllowThreads();
26602 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
26603
26604 wxPyEndAllowThreads(__tstate);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 }
26607 {
26608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26609 }
26610 return resultobj;
26611 fail:
26612 return NULL;
26613}
26614
26615
c32bde28 26616static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26617 PyObject *resultobj = NULL;
d55e5bfc
RD
26618 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26619 bool result;
26620 PyObject * obj0 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
26626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26628 {
26629 PyThreadState* __tstate = wxPyBeginAllowThreads();
26630 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
26631
26632 wxPyEndAllowThreads(__tstate);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
26635 {
26636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26637 }
26638 return resultobj;
26639 fail:
26640 return NULL;
26641}
26642
26643
c32bde28 26644static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26645 PyObject *resultobj = NULL;
d55e5bfc
RD
26646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26647 long arg2 ;
26648 PyObject * obj0 = 0 ;
26649 PyObject * obj1 = 0 ;
26650 char *kwnames[] = {
26651 (char *) "self",(char *) "item", NULL
26652 };
26653
26654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26656 if (SWIG_arg_fail(1)) SWIG_fail;
26657 {
7449af73 26658 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26659 if (SWIG_arg_fail(2)) SWIG_fail;
26660 }
d55e5bfc
RD
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->RefreshItem(arg2);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 Py_INCREF(Py_None); resultobj = Py_None;
26669 return resultobj;
26670 fail:
26671 return NULL;
26672}
26673
26674
c32bde28 26675static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26676 PyObject *resultobj = NULL;
d55e5bfc
RD
26677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26678 long arg2 ;
26679 long arg3 ;
26680 PyObject * obj0 = 0 ;
26681 PyObject * obj1 = 0 ;
26682 PyObject * obj2 = 0 ;
26683 char *kwnames[] = {
26684 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26685 };
26686
26687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail;
26690 {
7449af73 26691 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26692 if (SWIG_arg_fail(2)) SWIG_fail;
26693 }
26694 {
7449af73 26695 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
26696 if (SWIG_arg_fail(3)) SWIG_fail;
26697 }
d55e5bfc
RD
26698 {
26699 PyThreadState* __tstate = wxPyBeginAllowThreads();
26700 (arg1)->RefreshItems(arg2,arg3);
26701
26702 wxPyEndAllowThreads(__tstate);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 }
26705 Py_INCREF(Py_None); resultobj = Py_None;
26706 return resultobj;
26707 fail:
26708 return NULL;
26709}
26710
26711
c32bde28 26712static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26713 PyObject *resultobj = NULL;
d55e5bfc
RD
26714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26715 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
26716 bool result;
26717 PyObject * obj0 = 0 ;
26718 PyObject * obj1 = 0 ;
26719 char *kwnames[] = {
26720 (char *) "self",(char *) "flag", NULL
26721 };
26722
26723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26726 if (obj1) {
093d3ff1 26727 {
7449af73 26728 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26729 if (SWIG_arg_fail(2)) SWIG_fail;
26730 }
d55e5bfc
RD
26731 }
26732 {
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 result = (bool)(arg1)->Arrange(arg2);
26735
26736 wxPyEndAllowThreads(__tstate);
26737 if (PyErr_Occurred()) SWIG_fail;
26738 }
26739 {
26740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26741 }
26742 return resultobj;
26743 fail:
26744 return NULL;
26745}
26746
26747
c32bde28 26748static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26749 PyObject *resultobj = NULL;
d55e5bfc
RD
26750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26751 long arg2 ;
26752 bool result;
26753 PyObject * obj0 = 0 ;
26754 PyObject * obj1 = 0 ;
26755 char *kwnames[] = {
26756 (char *) "self",(char *) "item", NULL
26757 };
26758
26759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail;
26762 {
7449af73 26763 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26764 if (SWIG_arg_fail(2)) SWIG_fail;
26765 }
d55e5bfc
RD
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (bool)(arg1)->DeleteItem(arg2);
26769
26770 wxPyEndAllowThreads(__tstate);
26771 if (PyErr_Occurred()) SWIG_fail;
26772 }
26773 {
26774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26775 }
26776 return resultobj;
26777 fail:
26778 return NULL;
26779}
26780
26781
c32bde28 26782static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26783 PyObject *resultobj = NULL;
d55e5bfc
RD
26784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26785 bool result;
26786 PyObject * obj0 = 0 ;
26787 char *kwnames[] = {
26788 (char *) "self", NULL
26789 };
26790
26791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
26792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (bool)(arg1)->DeleteAllItems();
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 {
26802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26803 }
26804 return resultobj;
26805 fail:
26806 return NULL;
26807}
26808
26809
c32bde28 26810static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26811 PyObject *resultobj = NULL;
d55e5bfc
RD
26812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26813 int arg2 ;
26814 bool result;
26815 PyObject * obj0 = 0 ;
26816 PyObject * obj1 = 0 ;
26817 char *kwnames[] = {
26818 (char *) "self",(char *) "col", NULL
26819 };
26820
26821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26823 if (SWIG_arg_fail(1)) SWIG_fail;
26824 {
7449af73 26825 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26826 if (SWIG_arg_fail(2)) SWIG_fail;
26827 }
d55e5bfc
RD
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 result = (bool)(arg1)->DeleteColumn(arg2);
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 {
26836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26837 }
26838 return resultobj;
26839 fail:
26840 return NULL;
26841}
26842
26843
c32bde28 26844static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26845 PyObject *resultobj = NULL;
d55e5bfc
RD
26846 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26847 bool result;
26848 PyObject * obj0 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
26854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26856 {
26857 PyThreadState* __tstate = wxPyBeginAllowThreads();
26858 result = (bool)(arg1)->DeleteAllColumns();
26859
26860 wxPyEndAllowThreads(__tstate);
26861 if (PyErr_Occurred()) SWIG_fail;
26862 }
26863 {
26864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26865 }
26866 return resultobj;
26867 fail:
26868 return NULL;
26869}
26870
26871
c32bde28 26872static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26873 PyObject *resultobj = NULL;
d55e5bfc
RD
26874 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26875 PyObject * obj0 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
26881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 (arg1)->ClearAll();
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 Py_INCREF(Py_None); resultobj = Py_None;
26891 return resultobj;
26892 fail:
26893 return NULL;
26894}
26895
26896
c32bde28 26897static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26898 PyObject *resultobj = NULL;
d55e5bfc
RD
26899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26900 long arg2 ;
26901 wxTextCtrl *result;
26902 PyObject * obj0 = 0 ;
26903 PyObject * obj1 = 0 ;
26904 char *kwnames[] = {
26905 (char *) "self",(char *) "item", NULL
26906 };
26907
26908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail;
26911 {
7449af73 26912 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26913 if (SWIG_arg_fail(2)) SWIG_fail;
26914 }
d55e5bfc
RD
26915 {
26916 PyThreadState* __tstate = wxPyBeginAllowThreads();
26917 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
26918
26919 wxPyEndAllowThreads(__tstate);
26920 if (PyErr_Occurred()) SWIG_fail;
26921 }
26922 {
412d302d 26923 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26924 }
26925 return resultobj;
26926 fail:
26927 return NULL;
26928}
26929
26930
c32bde28 26931static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26932 PyObject *resultobj = NULL;
d55e5bfc
RD
26933 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26934 bool arg2 ;
26935 bool result;
26936 PyObject * obj0 = 0 ;
26937 PyObject * obj1 = 0 ;
26938 char *kwnames[] = {
26939 (char *) "self",(char *) "cancel", NULL
26940 };
26941
26942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26944 if (SWIG_arg_fail(1)) SWIG_fail;
26945 {
7449af73 26946 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
26947 if (SWIG_arg_fail(2)) SWIG_fail;
26948 }
d55e5bfc
RD
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (bool)(arg1)->EndEditLabel(arg2);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 {
26957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26958 }
26959 return resultobj;
26960 fail:
26961 return NULL;
26962}
26963
26964
c32bde28 26965static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26966 PyObject *resultobj = NULL;
d55e5bfc
RD
26967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26968 long arg2 ;
26969 bool result;
26970 PyObject * obj0 = 0 ;
26971 PyObject * obj1 = 0 ;
26972 char *kwnames[] = {
26973 (char *) "self",(char *) "item", NULL
26974 };
26975
26976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26978 if (SWIG_arg_fail(1)) SWIG_fail;
26979 {
7449af73 26980 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
26981 if (SWIG_arg_fail(2)) SWIG_fail;
26982 }
d55e5bfc
RD
26983 {
26984 PyThreadState* __tstate = wxPyBeginAllowThreads();
26985 result = (bool)(arg1)->EnsureVisible(arg2);
26986
26987 wxPyEndAllowThreads(__tstate);
26988 if (PyErr_Occurred()) SWIG_fail;
26989 }
26990 {
26991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26992 }
26993 return resultobj;
26994 fail:
26995 return NULL;
26996}
26997
26998
c32bde28 26999static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27000 PyObject *resultobj = NULL;
d55e5bfc
RD
27001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27002 long arg2 ;
27003 wxString *arg3 = 0 ;
ae8162c8 27004 bool arg4 = (bool) false ;
d55e5bfc 27005 long result;
ae8162c8 27006 bool temp3 = false ;
d55e5bfc
RD
27007 PyObject * obj0 = 0 ;
27008 PyObject * obj1 = 0 ;
27009 PyObject * obj2 = 0 ;
27010 PyObject * obj3 = 0 ;
27011 char *kwnames[] = {
27012 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
27013 };
27014
27015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail;
27018 {
7449af73 27019 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27020 if (SWIG_arg_fail(2)) SWIG_fail;
27021 }
d55e5bfc
RD
27022 {
27023 arg3 = wxString_in_helper(obj2);
27024 if (arg3 == NULL) SWIG_fail;
ae8162c8 27025 temp3 = true;
d55e5bfc
RD
27026 }
27027 if (obj3) {
093d3ff1 27028 {
7449af73 27029 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
27030 if (SWIG_arg_fail(4)) SWIG_fail;
27031 }
d55e5bfc
RD
27032 }
27033 {
27034 PyThreadState* __tstate = wxPyBeginAllowThreads();
27035 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
27036
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
093d3ff1 27040 {
7449af73 27041 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27042 }
d55e5bfc
RD
27043 {
27044 if (temp3)
27045 delete arg3;
27046 }
27047 return resultobj;
27048 fail:
27049 {
27050 if (temp3)
27051 delete arg3;
27052 }
27053 return NULL;
27054}
27055
27056
c32bde28 27057static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27058 PyObject *resultobj = NULL;
d55e5bfc
RD
27059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27060 long arg2 ;
27061 long arg3 ;
27062 long result;
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 PyObject * obj2 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self",(char *) "start",(char *) "data", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail;
27073 {
7449af73 27074 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27075 if (SWIG_arg_fail(2)) SWIG_fail;
27076 }
27077 {
7449af73 27078 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
27079 if (SWIG_arg_fail(3)) SWIG_fail;
27080 }
d55e5bfc
RD
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
27083 result = (long)(arg1)->FindItem(arg2,arg3);
27084
27085 wxPyEndAllowThreads(__tstate);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
093d3ff1 27088 {
7449af73 27089 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27090 }
d55e5bfc
RD
27091 return resultobj;
27092 fail:
27093 return NULL;
27094}
27095
27096
c32bde28 27097static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27098 PyObject *resultobj = NULL;
d55e5bfc
RD
27099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27100 long arg2 ;
27101 wxPoint *arg3 = 0 ;
27102 int arg4 ;
27103 long result;
27104 wxPoint temp3 ;
27105 PyObject * obj0 = 0 ;
27106 PyObject * obj1 = 0 ;
27107 PyObject * obj2 = 0 ;
27108 PyObject * obj3 = 0 ;
27109 char *kwnames[] = {
27110 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27111 };
27112
27113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27115 if (SWIG_arg_fail(1)) SWIG_fail;
27116 {
7449af73 27117 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27118 if (SWIG_arg_fail(2)) SWIG_fail;
27119 }
d55e5bfc
RD
27120 {
27121 arg3 = &temp3;
27122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27123 }
093d3ff1 27124 {
7449af73 27125 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27126 if (SWIG_arg_fail(4)) SWIG_fail;
27127 }
d55e5bfc
RD
27128 {
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
27131
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
093d3ff1 27135 {
7449af73 27136 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27137 }
d55e5bfc
RD
27138 return resultobj;
27139 fail:
27140 return NULL;
27141}
27142
27143
c32bde28 27144static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27145 PyObject *resultobj = NULL;
d55e5bfc
RD
27146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27147 wxPoint *arg2 = 0 ;
27148 int *arg3 = 0 ;
27149 long result;
27150 wxPoint temp2 ;
27151 int temp3 ;
c32bde28 27152 int res3 = 0 ;
d55e5bfc
RD
27153 PyObject * obj0 = 0 ;
27154 PyObject * obj1 = 0 ;
27155 char *kwnames[] = {
27156 (char *) "self",(char *) "point", NULL
27157 };
27158
c32bde28 27159 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 27160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27163 {
27164 arg2 = &temp2;
27165 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27166 }
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27170
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
093d3ff1 27174 {
7449af73 27175 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27176 }
c32bde28
RD
27177 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27178 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27179 return resultobj;
27180 fail:
27181 return NULL;
27182}
27183
27184
c32bde28 27185static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27186 PyObject *resultobj = NULL;
d55e5bfc
RD
27187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27188 wxListItem *arg2 = 0 ;
27189 long result;
27190 PyObject * obj0 = 0 ;
27191 PyObject * obj1 = 0 ;
27192 char *kwnames[] = {
27193 (char *) "self",(char *) "info", NULL
27194 };
27195
27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail;
27199 {
27200 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27201 if (SWIG_arg_fail(2)) SWIG_fail;
27202 if (arg2 == NULL) {
27203 SWIG_null_ref("wxListItem");
27204 }
27205 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27206 }
27207 {
27208 PyThreadState* __tstate = wxPyBeginAllowThreads();
27209 result = (long)(arg1)->InsertItem(*arg2);
27210
27211 wxPyEndAllowThreads(__tstate);
27212 if (PyErr_Occurred()) SWIG_fail;
27213 }
093d3ff1 27214 {
7449af73 27215 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27216 }
d55e5bfc
RD
27217 return resultobj;
27218 fail:
27219 return NULL;
27220}
27221
27222
c32bde28 27223static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27224 PyObject *resultobj = NULL;
d55e5bfc
RD
27225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27226 long arg2 ;
27227 wxString *arg3 = 0 ;
7449af73 27228 int arg4 = (int) -1 ;
d55e5bfc 27229 long result;
ae8162c8 27230 bool temp3 = false ;
d55e5bfc
RD
27231 PyObject * obj0 = 0 ;
27232 PyObject * obj1 = 0 ;
27233 PyObject * obj2 = 0 ;
7449af73 27234 PyObject * obj3 = 0 ;
d55e5bfc 27235 char *kwnames[] = {
7449af73 27236 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
d55e5bfc
RD
27237 };
27238
7449af73 27239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail;
27242 {
7449af73 27243 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27244 if (SWIG_arg_fail(2)) SWIG_fail;
27245 }
d55e5bfc
RD
27246 {
27247 arg3 = wxString_in_helper(obj2);
27248 if (arg3 == NULL) SWIG_fail;
ae8162c8 27249 temp3 = true;
d55e5bfc 27250 }
7449af73
RD
27251 if (obj3) {
27252 {
27253 arg4 = static_cast<int >(SWIG_As_int(obj3));
27254 if (SWIG_arg_fail(4)) SWIG_fail;
27255 }
27256 }
d55e5bfc
RD
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27259 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
27260
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
093d3ff1 27264 {
7449af73 27265 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27266 }
d55e5bfc
RD
27267 {
27268 if (temp3)
27269 delete arg3;
27270 }
27271 return resultobj;
27272 fail:
27273 {
27274 if (temp3)
27275 delete arg3;
27276 }
27277 return NULL;
27278}
27279
27280
c32bde28 27281static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27282 PyObject *resultobj = NULL;
d55e5bfc
RD
27283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27284 long arg2 ;
27285 int arg3 ;
27286 long result;
27287 PyObject * obj0 = 0 ;
27288 PyObject * obj1 = 0 ;
27289 PyObject * obj2 = 0 ;
27290 char *kwnames[] = {
27291 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27292 };
27293
27294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27296 if (SWIG_arg_fail(1)) SWIG_fail;
27297 {
7449af73 27298 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27299 if (SWIG_arg_fail(2)) SWIG_fail;
27300 }
27301 {
7449af73 27302 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27303 if (SWIG_arg_fail(3)) SWIG_fail;
27304 }
d55e5bfc
RD
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 result = (long)(arg1)->InsertItem(arg2,arg3);
27308
27309 wxPyEndAllowThreads(__tstate);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 }
093d3ff1 27312 {
7449af73 27313 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27314 }
d55e5bfc
RD
27315 return resultobj;
27316 fail:
27317 return NULL;
27318}
27319
27320
c32bde28 27321static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27322 PyObject *resultobj = NULL;
d55e5bfc
RD
27323 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27324 long arg2 ;
27325 wxString *arg3 = 0 ;
27326 int arg4 ;
27327 long result;
ae8162c8 27328 bool temp3 = false ;
d55e5bfc
RD
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 PyObject * obj2 = 0 ;
27332 PyObject * obj3 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail;
27340 {
7449af73 27341 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27342 if (SWIG_arg_fail(2)) SWIG_fail;
27343 }
d55e5bfc
RD
27344 {
27345 arg3 = wxString_in_helper(obj2);
27346 if (arg3 == NULL) SWIG_fail;
ae8162c8 27347 temp3 = true;
d55e5bfc 27348 }
093d3ff1 27349 {
7449af73 27350 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27351 if (SWIG_arg_fail(4)) SWIG_fail;
27352 }
d55e5bfc
RD
27353 {
27354 PyThreadState* __tstate = wxPyBeginAllowThreads();
27355 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27356
27357 wxPyEndAllowThreads(__tstate);
27358 if (PyErr_Occurred()) SWIG_fail;
27359 }
093d3ff1 27360 {
7449af73 27361 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27362 }
d55e5bfc
RD
27363 {
27364 if (temp3)
27365 delete arg3;
27366 }
27367 return resultobj;
27368 fail:
27369 {
27370 if (temp3)
27371 delete arg3;
27372 }
27373 return NULL;
27374}
27375
27376
a3957d3d 27377static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27378 PyObject *resultobj = NULL;
d55e5bfc
RD
27379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27380 long arg2 ;
27381 wxListItem *arg3 = 0 ;
27382 long result;
27383 PyObject * obj0 = 0 ;
27384 PyObject * obj1 = 0 ;
27385 PyObject * obj2 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self",(char *) "col",(char *) "info", NULL
27388 };
27389
a3957d3d 27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
27393 {
7449af73 27394 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27395 if (SWIG_arg_fail(2)) SWIG_fail;
27396 }
27397 {
27398 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27399 if (SWIG_arg_fail(3)) SWIG_fail;
27400 if (arg3 == NULL) {
27401 SWIG_null_ref("wxListItem");
27402 }
27403 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27404 }
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 result = (long)(arg1)->InsertColumn(arg2,*arg3);
27408
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
093d3ff1 27412 {
7449af73 27413 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27414 }
d55e5bfc
RD
27415 return resultobj;
27416 fail:
27417 return NULL;
27418}
27419
27420
c32bde28 27421static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27422 PyObject *resultobj = NULL;
d55e5bfc
RD
27423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27424 long arg2 ;
27425 wxString *arg3 = 0 ;
27426 int arg4 = (int) wxLIST_FORMAT_LEFT ;
27427 int arg5 = (int) -1 ;
27428 long result;
ae8162c8 27429 bool temp3 = false ;
d55e5bfc
RD
27430 PyObject * obj0 = 0 ;
27431 PyObject * obj1 = 0 ;
27432 PyObject * obj2 = 0 ;
27433 PyObject * obj3 = 0 ;
27434 PyObject * obj4 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
27440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail;
27442 {
7449af73 27443 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27444 if (SWIG_arg_fail(2)) SWIG_fail;
27445 }
d55e5bfc
RD
27446 {
27447 arg3 = wxString_in_helper(obj2);
27448 if (arg3 == NULL) SWIG_fail;
ae8162c8 27449 temp3 = true;
d55e5bfc
RD
27450 }
27451 if (obj3) {
093d3ff1 27452 {
7449af73 27453 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27454 if (SWIG_arg_fail(4)) SWIG_fail;
27455 }
d55e5bfc
RD
27456 }
27457 if (obj4) {
093d3ff1 27458 {
7449af73 27459 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
27460 if (SWIG_arg_fail(5)) SWIG_fail;
27461 }
d55e5bfc
RD
27462 }
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
27465 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
27466
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
093d3ff1 27470 {
7449af73 27471 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27472 }
d55e5bfc
RD
27473 {
27474 if (temp3)
27475 delete arg3;
27476 }
27477 return resultobj;
27478 fail:
27479 {
27480 if (temp3)
27481 delete arg3;
27482 }
27483 return NULL;
27484}
27485
27486
c32bde28 27487static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27488 PyObject *resultobj = NULL;
d55e5bfc
RD
27489 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27490 long arg2 ;
27491 PyObject * obj0 = 0 ;
27492 PyObject * obj1 = 0 ;
27493 char *kwnames[] = {
27494 (char *) "self",(char *) "count", NULL
27495 };
27496
27497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail;
27500 {
7449af73 27501 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27502 if (SWIG_arg_fail(2)) SWIG_fail;
27503 }
d55e5bfc
RD
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
27506 (arg1)->SetItemCount(arg2);
27507
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 Py_INCREF(Py_None); resultobj = Py_None;
27512 return resultobj;
27513 fail:
27514 return NULL;
27515}
27516
27517
c32bde28 27518static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27519 PyObject *resultobj = NULL;
d55e5bfc
RD
27520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27521 int arg2 ;
27522 int arg3 ;
27523 bool result;
27524 PyObject * obj0 = 0 ;
27525 PyObject * obj1 = 0 ;
27526 PyObject * obj2 = 0 ;
27527 char *kwnames[] = {
27528 (char *) "self",(char *) "dx",(char *) "dy", NULL
27529 };
27530
27531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27533 if (SWIG_arg_fail(1)) SWIG_fail;
27534 {
7449af73 27535 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27536 if (SWIG_arg_fail(2)) SWIG_fail;
27537 }
27538 {
7449af73 27539 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27540 if (SWIG_arg_fail(3)) SWIG_fail;
27541 }
d55e5bfc
RD
27542 {
27543 PyThreadState* __tstate = wxPyBeginAllowThreads();
27544 result = (bool)(arg1)->ScrollList(arg2,arg3);
27545
27546 wxPyEndAllowThreads(__tstate);
27547 if (PyErr_Occurred()) SWIG_fail;
27548 }
27549 {
27550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27551 }
27552 return resultobj;
27553 fail:
27554 return NULL;
27555}
27556
27557
c32bde28 27558static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27559 PyObject *resultobj = NULL;
d55e5bfc
RD
27560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27561 long arg2 ;
27562 wxColour *arg3 = 0 ;
27563 wxColour temp3 ;
27564 PyObject * obj0 = 0 ;
27565 PyObject * obj1 = 0 ;
27566 PyObject * obj2 = 0 ;
27567 char *kwnames[] = {
27568 (char *) "self",(char *) "item",(char *) "col", NULL
27569 };
27570
27571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27573 if (SWIG_arg_fail(1)) SWIG_fail;
27574 {
7449af73 27575 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27576 if (SWIG_arg_fail(2)) SWIG_fail;
27577 }
d55e5bfc
RD
27578 {
27579 arg3 = &temp3;
27580 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27581 }
27582 {
27583 PyThreadState* __tstate = wxPyBeginAllowThreads();
27584 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
27585
27586 wxPyEndAllowThreads(__tstate);
27587 if (PyErr_Occurred()) SWIG_fail;
27588 }
27589 Py_INCREF(Py_None); resultobj = Py_None;
27590 return resultobj;
27591 fail:
27592 return NULL;
27593}
27594
27595
c32bde28 27596static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27597 PyObject *resultobj = NULL;
d55e5bfc
RD
27598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27599 long arg2 ;
27600 wxColour result;
27601 PyObject * obj0 = 0 ;
27602 PyObject * obj1 = 0 ;
27603 char *kwnames[] = {
27604 (char *) "self",(char *) "item", NULL
27605 };
27606
27607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail;
27610 {
7449af73 27611 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27612 if (SWIG_arg_fail(2)) SWIG_fail;
27613 }
d55e5bfc
RD
27614 {
27615 PyThreadState* __tstate = wxPyBeginAllowThreads();
27616 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
27617
27618 wxPyEndAllowThreads(__tstate);
27619 if (PyErr_Occurred()) SWIG_fail;
27620 }
27621 {
27622 wxColour * resultptr;
7449af73 27623 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
27624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27625 }
27626 return resultobj;
27627 fail:
27628 return NULL;
27629}
27630
27631
c32bde28 27632static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27633 PyObject *resultobj = NULL;
d55e5bfc
RD
27634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27635 long arg2 ;
27636 wxColour *arg3 = 0 ;
27637 wxColour temp3 ;
27638 PyObject * obj0 = 0 ;
27639 PyObject * obj1 = 0 ;
27640 PyObject * obj2 = 0 ;
27641 char *kwnames[] = {
27642 (char *) "self",(char *) "item",(char *) "col", NULL
27643 };
27644
27645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail;
27648 {
7449af73 27649 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27650 if (SWIG_arg_fail(2)) SWIG_fail;
27651 }
d55e5bfc
RD
27652 {
27653 arg3 = &temp3;
27654 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27655 }
27656 {
27657 PyThreadState* __tstate = wxPyBeginAllowThreads();
27658 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
27659
27660 wxPyEndAllowThreads(__tstate);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 }
27663 Py_INCREF(Py_None); resultobj = Py_None;
27664 return resultobj;
27665 fail:
27666 return NULL;
27667}
27668
27669
c32bde28 27670static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27671 PyObject *resultobj = NULL;
d55e5bfc
RD
27672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27673 long arg2 ;
27674 wxColour result;
27675 PyObject * obj0 = 0 ;
27676 PyObject * obj1 = 0 ;
27677 char *kwnames[] = {
27678 (char *) "self",(char *) "item", NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27683 if (SWIG_arg_fail(1)) SWIG_fail;
27684 {
7449af73 27685 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27686 if (SWIG_arg_fail(2)) SWIG_fail;
27687 }
d55e5bfc
RD
27688 {
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
27691
27692 wxPyEndAllowThreads(__tstate);
27693 if (PyErr_Occurred()) SWIG_fail;
27694 }
27695 {
27696 wxColour * resultptr;
7449af73 27697 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
27698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27699 }
27700 return resultobj;
27701 fail:
27702 return NULL;
27703}
27704
27705
9d7dfdff 27706static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27707 PyObject *resultobj = NULL;
9d7dfdff
RD
27708 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27709 long arg2 ;
27710 wxFont *arg3 = 0 ;
27711 PyObject * obj0 = 0 ;
27712 PyObject * obj1 = 0 ;
27713 PyObject * obj2 = 0 ;
27714 char *kwnames[] = {
27715 (char *) "self",(char *) "item",(char *) "f", NULL
27716 };
27717
27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
27719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail;
27721 {
7449af73 27722 arg2 = static_cast<long >(SWIG_As_long(obj1));
9d7dfdff
RD
27723 if (SWIG_arg_fail(2)) SWIG_fail;
27724 }
27725 {
27726 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
27727 if (SWIG_arg_fail(3)) SWIG_fail;
27728 if (arg3 == NULL) {
27729 SWIG_null_ref("wxFont");
27730 }
27731 if (SWIG_arg_fail(3)) SWIG_fail;
27732 }
27733 {
27734 PyThreadState* __tstate = wxPyBeginAllowThreads();
27735 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
27736
27737 wxPyEndAllowThreads(__tstate);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 Py_INCREF(Py_None); resultobj = Py_None;
27741 return resultobj;
27742 fail:
27743 return NULL;
27744}
27745
27746
27747static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27748 PyObject *resultobj = NULL;
9d7dfdff
RD
27749 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27750 long arg2 ;
27751 wxFont result;
27752 PyObject * obj0 = 0 ;
27753 PyObject * obj1 = 0 ;
27754 char *kwnames[] = {
27755 (char *) "self",(char *) "item", NULL
27756 };
27757
27758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
27759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27760 if (SWIG_arg_fail(1)) SWIG_fail;
27761 {
7449af73 27762 arg2 = static_cast<long >(SWIG_As_long(obj1));
9d7dfdff
RD
27763 if (SWIG_arg_fail(2)) SWIG_fail;
27764 }
27765 {
27766 PyThreadState* __tstate = wxPyBeginAllowThreads();
27767 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
27768
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
27772 {
27773 wxFont * resultptr;
7449af73 27774 resultptr = new wxFont(static_cast<wxFont & >(result));
9d7dfdff
RD
27775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
27776 }
27777 return resultobj;
27778 fail:
27779 return NULL;
27780}
27781
27782
c32bde28 27783static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27784 PyObject *resultobj = NULL;
d55e5bfc
RD
27785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27786 PyObject *arg2 = (PyObject *) 0 ;
27787 bool result;
27788 PyObject * obj0 = 0 ;
27789 PyObject * obj1 = 0 ;
27790 char *kwnames[] = {
27791 (char *) "self",(char *) "func", NULL
27792 };
27793
27794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27797 arg2 = obj1;
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 {
27806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27807 }
27808 return resultobj;
27809 fail:
27810 return NULL;
27811}
27812
27813
c32bde28 27814static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27815 PyObject *resultobj = NULL;
d55e5bfc
RD
27816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27817 wxWindow *result;
27818 PyObject * obj0 = 0 ;
27819 char *kwnames[] = {
27820 (char *) "self", NULL
27821 };
27822
27823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
27824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
27829
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 {
412d302d 27834 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
27835 }
27836 return resultobj;
27837 fail:
27838 return NULL;
27839}
27840
27841
c32bde28 27842static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27843 PyObject *resultobj = NULL;
093d3ff1 27844 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
27845 wxVisualAttributes result;
27846 PyObject * obj0 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "variant", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27852 if (obj0) {
093d3ff1 27853 {
7449af73 27854 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
27855 if (SWIG_arg_fail(1)) SWIG_fail;
27856 }
d55e5bfc
RD
27857 }
27858 {
19272049 27859 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27861 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
27862
27863 wxPyEndAllowThreads(__tstate);
110da5b0 27864 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27865 }
27866 {
27867 wxVisualAttributes * resultptr;
7449af73 27868 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
27869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27870 }
27871 return resultobj;
27872 fail:
27873 return NULL;
27874}
27875
27876
c32bde28 27877static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27878 PyObject *obj;
27879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27880 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
27881 Py_INCREF(obj);
27882 return Py_BuildValue((char *)"");
27883}
c32bde28 27884static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27885 PyObject *resultobj = NULL;
d55e5bfc
RD
27886 wxWindow *arg1 = (wxWindow *) 0 ;
27887 int arg2 = (int) -1 ;
27888 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27889 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27890 wxSize const &arg4_defvalue = wxDefaultSize ;
27891 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27892 long arg5 = (long) wxLC_REPORT ;
27893 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27894 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27895 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
27896 wxString *arg7 = (wxString *) &arg7_defvalue ;
27897 wxListView *result;
27898 wxPoint temp3 ;
27899 wxSize temp4 ;
ae8162c8 27900 bool temp7 = false ;
d55e5bfc
RD
27901 PyObject * obj0 = 0 ;
27902 PyObject * obj1 = 0 ;
27903 PyObject * obj2 = 0 ;
27904 PyObject * obj3 = 0 ;
27905 PyObject * obj4 = 0 ;
27906 PyObject * obj5 = 0 ;
27907 PyObject * obj6 = 0 ;
27908 char *kwnames[] = {
27909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27910 };
27911
27912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27915 if (obj1) {
093d3ff1 27916 {
7449af73 27917 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27918 if (SWIG_arg_fail(2)) SWIG_fail;
27919 }
d55e5bfc
RD
27920 }
27921 if (obj2) {
27922 {
27923 arg3 = &temp3;
27924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27925 }
27926 }
27927 if (obj3) {
27928 {
27929 arg4 = &temp4;
27930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27931 }
27932 }
27933 if (obj4) {
093d3ff1 27934 {
7449af73 27935 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
27936 if (SWIG_arg_fail(5)) SWIG_fail;
27937 }
d55e5bfc
RD
27938 }
27939 if (obj5) {
093d3ff1
RD
27940 {
27941 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27942 if (SWIG_arg_fail(6)) SWIG_fail;
27943 if (arg6 == NULL) {
27944 SWIG_null_ref("wxValidator");
27945 }
27946 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
27947 }
27948 }
27949 if (obj6) {
27950 {
27951 arg7 = wxString_in_helper(obj6);
27952 if (arg7 == NULL) SWIG_fail;
ae8162c8 27953 temp7 = true;
d55e5bfc
RD
27954 }
27955 }
27956 {
0439c23b 27957 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27958 PyThreadState* __tstate = wxPyBeginAllowThreads();
27959 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27960
27961 wxPyEndAllowThreads(__tstate);
110da5b0 27962 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27963 }
27964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27965 {
27966 if (temp7)
27967 delete arg7;
27968 }
27969 return resultobj;
27970 fail:
27971 {
27972 if (temp7)
27973 delete arg7;
27974 }
27975 return NULL;
27976}
27977
27978
c32bde28 27979static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27980 PyObject *resultobj = NULL;
d55e5bfc
RD
27981 wxListView *result;
27982 char *kwnames[] = {
27983 NULL
27984 };
27985
27986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
27987 {
0439c23b 27988 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 result = (wxListView *)new wxListView();
27991
27992 wxPyEndAllowThreads(__tstate);
110da5b0 27993 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27994 }
27995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27996 return resultobj;
27997 fail:
27998 return NULL;
27999}
28000
28001
c32bde28 28002static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28003 PyObject *resultobj = NULL;
d55e5bfc
RD
28004 wxListView *arg1 = (wxListView *) 0 ;
28005 wxWindow *arg2 = (wxWindow *) 0 ;
28006 int arg3 = (int) -1 ;
28007 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28008 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28009 wxSize const &arg5_defvalue = wxDefaultSize ;
28010 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28011 long arg6 = (long) wxLC_REPORT ;
28012 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28013 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28014 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28015 wxString *arg8 = (wxString *) &arg8_defvalue ;
28016 bool result;
28017 wxPoint temp4 ;
28018 wxSize temp5 ;
ae8162c8 28019 bool temp8 = false ;
d55e5bfc
RD
28020 PyObject * obj0 = 0 ;
28021 PyObject * obj1 = 0 ;
28022 PyObject * obj2 = 0 ;
28023 PyObject * obj3 = 0 ;
28024 PyObject * obj4 = 0 ;
28025 PyObject * obj5 = 0 ;
28026 PyObject * obj6 = 0 ;
28027 PyObject * obj7 = 0 ;
28028 char *kwnames[] = {
28029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28030 };
28031
28032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail;
28035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28036 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28037 if (obj2) {
093d3ff1 28038 {
7449af73 28039 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
28040 if (SWIG_arg_fail(3)) SWIG_fail;
28041 }
d55e5bfc
RD
28042 }
28043 if (obj3) {
28044 {
28045 arg4 = &temp4;
28046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28047 }
28048 }
28049 if (obj4) {
28050 {
28051 arg5 = &temp5;
28052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28053 }
28054 }
28055 if (obj5) {
093d3ff1 28056 {
7449af73 28057 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
28058 if (SWIG_arg_fail(6)) SWIG_fail;
28059 }
d55e5bfc
RD
28060 }
28061 if (obj6) {
093d3ff1
RD
28062 {
28063 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28064 if (SWIG_arg_fail(7)) SWIG_fail;
28065 if (arg7 == NULL) {
28066 SWIG_null_ref("wxValidator");
28067 }
28068 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28069 }
28070 }
28071 if (obj7) {
28072 {
28073 arg8 = wxString_in_helper(obj7);
28074 if (arg8 == NULL) SWIG_fail;
ae8162c8 28075 temp8 = true;
d55e5bfc
RD
28076 }
28077 }
28078 {
28079 PyThreadState* __tstate = wxPyBeginAllowThreads();
28080 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28081
28082 wxPyEndAllowThreads(__tstate);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 {
28086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28087 }
28088 {
28089 if (temp8)
28090 delete arg8;
28091 }
28092 return resultobj;
28093 fail:
28094 {
28095 if (temp8)
28096 delete arg8;
28097 }
28098 return NULL;
28099}
28100
28101
c32bde28 28102static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28103 PyObject *resultobj = NULL;
d55e5bfc
RD
28104 wxListView *arg1 = (wxListView *) 0 ;
28105 long arg2 ;
ae8162c8 28106 bool arg3 = (bool) true ;
d55e5bfc
RD
28107 PyObject * obj0 = 0 ;
28108 PyObject * obj1 = 0 ;
28109 PyObject * obj2 = 0 ;
28110 char *kwnames[] = {
28111 (char *) "self",(char *) "n",(char *) "on", NULL
28112 };
28113
28114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28116 if (SWIG_arg_fail(1)) SWIG_fail;
28117 {
7449af73 28118 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28119 if (SWIG_arg_fail(2)) SWIG_fail;
28120 }
d55e5bfc 28121 if (obj2) {
093d3ff1 28122 {
7449af73 28123 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
28124 if (SWIG_arg_fail(3)) SWIG_fail;
28125 }
d55e5bfc
RD
28126 }
28127 {
28128 PyThreadState* __tstate = wxPyBeginAllowThreads();
28129 (arg1)->Select(arg2,arg3);
28130
28131 wxPyEndAllowThreads(__tstate);
28132 if (PyErr_Occurred()) SWIG_fail;
28133 }
28134 Py_INCREF(Py_None); resultobj = Py_None;
28135 return resultobj;
28136 fail:
28137 return NULL;
28138}
28139
28140
c32bde28 28141static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28142 PyObject *resultobj = NULL;
d55e5bfc
RD
28143 wxListView *arg1 = (wxListView *) 0 ;
28144 long arg2 ;
28145 PyObject * obj0 = 0 ;
28146 PyObject * obj1 = 0 ;
28147 char *kwnames[] = {
28148 (char *) "self",(char *) "index", NULL
28149 };
28150
28151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail;
28154 {
7449af73 28155 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28156 if (SWIG_arg_fail(2)) SWIG_fail;
28157 }
d55e5bfc
RD
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 (arg1)->Focus(arg2);
28161
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 Py_INCREF(Py_None); resultobj = Py_None;
28166 return resultobj;
28167 fail:
28168 return NULL;
28169}
28170
28171
c32bde28 28172static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28173 PyObject *resultobj = NULL;
d55e5bfc
RD
28174 wxListView *arg1 = (wxListView *) 0 ;
28175 long result;
28176 PyObject * obj0 = 0 ;
28177 char *kwnames[] = {
28178 (char *) "self", NULL
28179 };
28180
28181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28184 {
28185 PyThreadState* __tstate = wxPyBeginAllowThreads();
28186 result = (long)((wxListView const *)arg1)->GetFocusedItem();
28187
28188 wxPyEndAllowThreads(__tstate);
28189 if (PyErr_Occurred()) SWIG_fail;
28190 }
093d3ff1 28191 {
7449af73 28192 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28193 }
d55e5bfc
RD
28194 return resultobj;
28195 fail:
28196 return NULL;
28197}
28198
28199
c32bde28 28200static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28201 PyObject *resultobj = NULL;
d55e5bfc
RD
28202 wxListView *arg1 = (wxListView *) 0 ;
28203 long arg2 ;
28204 long result;
28205 PyObject * obj0 = 0 ;
28206 PyObject * obj1 = 0 ;
28207 char *kwnames[] = {
28208 (char *) "self",(char *) "item", NULL
28209 };
28210
28211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail;
28214 {
7449af73 28215 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28216 if (SWIG_arg_fail(2)) SWIG_fail;
28217 }
d55e5bfc
RD
28218 {
28219 PyThreadState* __tstate = wxPyBeginAllowThreads();
28220 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
28221
28222 wxPyEndAllowThreads(__tstate);
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
093d3ff1 28225 {
7449af73 28226 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28227 }
d55e5bfc
RD
28228 return resultobj;
28229 fail:
28230 return NULL;
28231}
28232
28233
c32bde28 28234static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28235 PyObject *resultobj = NULL;
d55e5bfc
RD
28236 wxListView *arg1 = (wxListView *) 0 ;
28237 long result;
28238 PyObject * obj0 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
28244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28246 {
28247 PyThreadState* __tstate = wxPyBeginAllowThreads();
28248 result = (long)((wxListView const *)arg1)->GetFirstSelected();
28249
28250 wxPyEndAllowThreads(__tstate);
28251 if (PyErr_Occurred()) SWIG_fail;
28252 }
093d3ff1 28253 {
7449af73 28254 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28255 }
d55e5bfc
RD
28256 return resultobj;
28257 fail:
28258 return NULL;
28259}
28260
28261
c32bde28 28262static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28263 PyObject *resultobj = NULL;
d55e5bfc
RD
28264 wxListView *arg1 = (wxListView *) 0 ;
28265 long arg2 ;
28266 bool result;
28267 PyObject * obj0 = 0 ;
28268 PyObject * obj1 = 0 ;
28269 char *kwnames[] = {
28270 (char *) "self",(char *) "index", NULL
28271 };
28272
28273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28275 if (SWIG_arg_fail(1)) SWIG_fail;
28276 {
7449af73 28277 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28278 if (SWIG_arg_fail(2)) SWIG_fail;
28279 }
d55e5bfc
RD
28280 {
28281 PyThreadState* __tstate = wxPyBeginAllowThreads();
28282 result = (bool)(arg1)->IsSelected(arg2);
28283
28284 wxPyEndAllowThreads(__tstate);
28285 if (PyErr_Occurred()) SWIG_fail;
28286 }
28287 {
28288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28289 }
28290 return resultobj;
28291 fail:
28292 return NULL;
28293}
28294
28295
c32bde28 28296static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28297 PyObject *resultobj = NULL;
d55e5bfc
RD
28298 wxListView *arg1 = (wxListView *) 0 ;
28299 int arg2 ;
28300 int arg3 ;
28301 PyObject * obj0 = 0 ;
28302 PyObject * obj1 = 0 ;
28303 PyObject * obj2 = 0 ;
28304 char *kwnames[] = {
28305 (char *) "self",(char *) "col",(char *) "image", NULL
28306 };
28307
28308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail;
28311 {
7449af73 28312 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28313 if (SWIG_arg_fail(2)) SWIG_fail;
28314 }
28315 {
7449af73 28316 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
28317 if (SWIG_arg_fail(3)) SWIG_fail;
28318 }
d55e5bfc
RD
28319 {
28320 PyThreadState* __tstate = wxPyBeginAllowThreads();
28321 (arg1)->SetColumnImage(arg2,arg3);
28322
28323 wxPyEndAllowThreads(__tstate);
28324 if (PyErr_Occurred()) SWIG_fail;
28325 }
28326 Py_INCREF(Py_None); resultobj = Py_None;
28327 return resultobj;
28328 fail:
28329 return NULL;
28330}
28331
28332
c32bde28 28333static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28334 PyObject *resultobj = NULL;
d55e5bfc
RD
28335 wxListView *arg1 = (wxListView *) 0 ;
28336 int arg2 ;
28337 PyObject * obj0 = 0 ;
28338 PyObject * obj1 = 0 ;
28339 char *kwnames[] = {
28340 (char *) "self",(char *) "col", NULL
28341 };
28342
28343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28345 if (SWIG_arg_fail(1)) SWIG_fail;
28346 {
7449af73 28347 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28348 if (SWIG_arg_fail(2)) SWIG_fail;
28349 }
d55e5bfc
RD
28350 {
28351 PyThreadState* __tstate = wxPyBeginAllowThreads();
28352 (arg1)->ClearColumnImage(arg2);
28353
28354 wxPyEndAllowThreads(__tstate);
28355 if (PyErr_Occurred()) SWIG_fail;
28356 }
28357 Py_INCREF(Py_None); resultobj = Py_None;
28358 return resultobj;
28359 fail:
28360 return NULL;
28361}
28362
28363
c32bde28 28364static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28365 PyObject *obj;
28366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28367 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
28368 Py_INCREF(obj);
28369 return Py_BuildValue((char *)"");
28370}
c32bde28 28371static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
28372 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
28373 return 1;
28374}
28375
28376
093d3ff1 28377static PyObject *_wrap_TreeCtrlNameStr_get(void) {
7449af73 28378 PyObject *pyobj = NULL;
d55e5bfc
RD
28379
28380 {
28381#if wxUSE_UNICODE
28382 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28383#else
28384 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28385#endif
28386 }
28387 return pyobj;
28388}
28389
28390
c32bde28 28391static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28392 PyObject *resultobj = NULL;
d55e5bfc
RD
28393 wxTreeItemId *result;
28394 char *kwnames[] = {
28395 NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
28399 {
28400 PyThreadState* __tstate = wxPyBeginAllowThreads();
28401 result = (wxTreeItemId *)new wxTreeItemId();
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
28407 return resultobj;
28408 fail:
28409 return NULL;
28410}
28411
28412
c32bde28 28413static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28414 PyObject *resultobj = NULL;
d55e5bfc
RD
28415 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28416 PyObject * obj0 = 0 ;
28417 char *kwnames[] = {
28418 (char *) "self", NULL
28419 };
28420
28421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 delete arg1;
28427
28428 wxPyEndAllowThreads(__tstate);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 Py_INCREF(Py_None); resultobj = Py_None;
28432 return resultobj;
28433 fail:
28434 return NULL;
28435}
28436
28437
c32bde28 28438static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28439 PyObject *resultobj = NULL;
d55e5bfc
RD
28440 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28441 bool result;
28442 PyObject * obj0 = 0 ;
28443 char *kwnames[] = {
28444 (char *) "self", NULL
28445 };
28446
28447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
28448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28450 {
28451 PyThreadState* __tstate = wxPyBeginAllowThreads();
28452 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
28453
28454 wxPyEndAllowThreads(__tstate);
28455 if (PyErr_Occurred()) SWIG_fail;
28456 }
28457 {
28458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28459 }
28460 return resultobj;
28461 fail:
28462 return NULL;
28463}
28464
28465
c32bde28 28466static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28467 PyObject *resultobj = NULL;
d55e5bfc
RD
28468 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28469 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28470 bool result;
28471 PyObject * obj0 = 0 ;
28472 PyObject * obj1 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self",(char *) "other", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail;
28480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 {
28490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28491 }
28492 return resultobj;
28493 fail:
28494 return NULL;
28495}
28496
28497
c32bde28 28498static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28499 PyObject *resultobj = NULL;
d55e5bfc
RD
28500 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28501 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28502 bool result;
28503 PyObject * obj0 = 0 ;
28504 PyObject * obj1 = 0 ;
28505 char *kwnames[] = {
28506 (char *) "self",(char *) "other", NULL
28507 };
28508
28509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28511 if (SWIG_arg_fail(1)) SWIG_fail;
28512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28513 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 {
28522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28523 }
28524 return resultobj;
28525 fail:
28526 return NULL;
28527}
28528
28529
c32bde28 28530static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28531 PyObject *resultobj = NULL;
d55e5bfc
RD
28532 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28533 void *arg2 = (void *) 0 ;
28534 PyObject * obj0 = 0 ;
28535 PyObject * obj1 = 0 ;
28536 char *kwnames[] = {
28537 (char *) "self",(char *) "m_pItem", NULL
28538 };
28539
28540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28542 if (SWIG_arg_fail(1)) SWIG_fail;
28543 {
7449af73 28544 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
093d3ff1
RD
28545 SWIG_arg_fail(2);SWIG_fail;
28546 }
28547 }
d55e5bfc
RD
28548 if (arg1) (arg1)->m_pItem = arg2;
28549
28550 Py_INCREF(Py_None); resultobj = Py_None;
28551 return resultobj;
28552 fail:
28553 return NULL;
28554}
28555
28556
c32bde28 28557static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28558 PyObject *resultobj = NULL;
d55e5bfc
RD
28559 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28560 void *result;
28561 PyObject * obj0 = 0 ;
28562 char *kwnames[] = {
28563 (char *) "self", NULL
28564 };
28565
28566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
28567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28569 result = (void *) ((arg1)->m_pItem);
28570
28571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
28572 return resultobj;
28573 fail:
28574 return NULL;
28575}
28576
28577
c32bde28 28578static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28579 PyObject *obj;
28580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28581 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
28582 Py_INCREF(obj);
28583 return Py_BuildValue((char *)"");
28584}
c32bde28 28585static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28586 PyObject *resultobj = NULL;
d55e5bfc
RD
28587 PyObject *arg1 = (PyObject *) NULL ;
28588 wxPyTreeItemData *result;
28589 PyObject * obj0 = 0 ;
28590 char *kwnames[] = {
28591 (char *) "obj", NULL
28592 };
28593
28594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
28595 if (obj0) {
28596 arg1 = obj0;
28597 }
28598 {
28599 PyThreadState* __tstate = wxPyBeginAllowThreads();
28600 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
28601
28602 wxPyEndAllowThreads(__tstate);
28603 if (PyErr_Occurred()) SWIG_fail;
28604 }
28605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
28606 return resultobj;
28607 fail:
28608 return NULL;
28609}
28610
28611
7e08d4ef
RD
28612static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28613 PyObject *resultobj = NULL;
28614 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28615 PyObject * obj0 = 0 ;
28616 char *kwnames[] = {
28617 (char *) "self", NULL
28618 };
28619
28620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail;
28621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail;
28623 {
28624 PyThreadState* __tstate = wxPyBeginAllowThreads();
28625 delete arg1;
28626
28627 wxPyEndAllowThreads(__tstate);
28628 if (PyErr_Occurred()) SWIG_fail;
28629 }
28630 Py_INCREF(Py_None); resultobj = Py_None;
28631 return resultobj;
28632 fail:
28633 return NULL;
28634}
28635
28636
c32bde28 28637static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28638 PyObject *resultobj = NULL;
d55e5bfc
RD
28639 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28640 PyObject *result;
28641 PyObject * obj0 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "self", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
28647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 result = (PyObject *)(arg1)->GetData();
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 resultobj = result;
28657 return resultobj;
28658 fail:
28659 return NULL;
28660}
28661
28662
c32bde28 28663static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28664 PyObject *resultobj = NULL;
d55e5bfc
RD
28665 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28666 PyObject *arg2 = (PyObject *) 0 ;
28667 PyObject * obj0 = 0 ;
28668 PyObject * obj1 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "obj", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28676 arg2 = obj1;
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 (arg1)->SetData(arg2);
28680
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 Py_INCREF(Py_None); resultobj = Py_None;
28685 return resultobj;
28686 fail:
28687 return NULL;
28688}
28689
28690
c32bde28 28691static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28692 PyObject *resultobj = NULL;
d55e5bfc
RD
28693 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28694 wxTreeItemId *result;
28695 PyObject * obj0 = 0 ;
28696 char *kwnames[] = {
28697 (char *) "self", NULL
28698 };
28699
28700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28703 {
28704 PyThreadState* __tstate = wxPyBeginAllowThreads();
28705 {
28706 wxTreeItemId const &_result_ref = (arg1)->GetId();
28707 result = (wxTreeItemId *) &_result_ref;
28708 }
28709
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
28714 return resultobj;
28715 fail:
28716 return NULL;
28717}
28718
28719
c32bde28 28720static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28721 PyObject *resultobj = NULL;
d55e5bfc
RD
28722 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28723 wxTreeItemId *arg2 = 0 ;
28724 PyObject * obj0 = 0 ;
28725 PyObject * obj1 = 0 ;
28726 char *kwnames[] = {
28727 (char *) "self",(char *) "id", NULL
28728 };
28729
28730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28732 if (SWIG_arg_fail(1)) SWIG_fail;
28733 {
28734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28735 if (SWIG_arg_fail(2)) SWIG_fail;
28736 if (arg2 == NULL) {
28737 SWIG_null_ref("wxTreeItemId");
28738 }
28739 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28740 }
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 (arg1)->SetId((wxTreeItemId const &)*arg2);
28744
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 Py_INCREF(Py_None); resultobj = Py_None;
28749 return resultobj;
28750 fail:
28751 return NULL;
28752}
28753
28754
c32bde28 28755static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28756 PyObject *resultobj = NULL;
d55e5bfc
RD
28757 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28758 PyObject * obj0 = 0 ;
28759 char *kwnames[] = {
28760 (char *) "self", NULL
28761 };
28762
28763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
28764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28766 {
28767 PyThreadState* __tstate = wxPyBeginAllowThreads();
28768 wxPyTreeItemData_Destroy(arg1);
28769
28770 wxPyEndAllowThreads(__tstate);
28771 if (PyErr_Occurred()) SWIG_fail;
28772 }
28773 Py_INCREF(Py_None); resultobj = Py_None;
28774 return resultobj;
28775 fail:
28776 return NULL;
28777}
28778
28779
c32bde28 28780static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28781 PyObject *obj;
28782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28783 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
28784 Py_INCREF(obj);
28785 return Py_BuildValue((char *)"");
28786}
c32bde28 28787static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28788 PyObject *resultobj = NULL;
d55e5bfc
RD
28789 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28790 int arg2 = (int) 0 ;
28791 wxTreeEvent *result;
28792 PyObject * obj0 = 0 ;
28793 PyObject * obj1 = 0 ;
28794 char *kwnames[] = {
28795 (char *) "commandType",(char *) "id", NULL
28796 };
28797
28798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
28799 if (obj0) {
093d3ff1 28800 {
7449af73 28801 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
28802 if (SWIG_arg_fail(1)) SWIG_fail;
28803 }
d55e5bfc
RD
28804 }
28805 if (obj1) {
093d3ff1 28806 {
7449af73 28807 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28808 if (SWIG_arg_fail(2)) SWIG_fail;
28809 }
d55e5bfc
RD
28810 }
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
28814
28815 wxPyEndAllowThreads(__tstate);
28816 if (PyErr_Occurred()) SWIG_fail;
28817 }
28818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
28819 return resultobj;
28820 fail:
28821 return NULL;
28822}
28823
28824
c32bde28 28825static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28826 PyObject *resultobj = NULL;
d55e5bfc
RD
28827 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28828 wxTreeItemId result;
28829 PyObject * obj0 = 0 ;
28830 char *kwnames[] = {
28831 (char *) "self", NULL
28832 };
28833
28834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28836 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
28839 result = ((wxTreeEvent const *)arg1)->GetItem();
28840
28841 wxPyEndAllowThreads(__tstate);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
28844 {
28845 wxTreeItemId * resultptr;
7449af73 28846 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
28847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28848 }
28849 return resultobj;
28850 fail:
28851 return NULL;
28852}
28853
28854
c32bde28 28855static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28856 PyObject *resultobj = NULL;
d55e5bfc
RD
28857 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28858 wxTreeItemId *arg2 = 0 ;
28859 PyObject * obj0 = 0 ;
28860 PyObject * obj1 = 0 ;
28861 char *kwnames[] = {
28862 (char *) "self",(char *) "item", NULL
28863 };
28864
28865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail;
28868 {
28869 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28870 if (SWIG_arg_fail(2)) SWIG_fail;
28871 if (arg2 == NULL) {
28872 SWIG_null_ref("wxTreeItemId");
28873 }
28874 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28875 }
28876 {
28877 PyThreadState* __tstate = wxPyBeginAllowThreads();
28878 (arg1)->SetItem((wxTreeItemId const &)*arg2);
28879
28880 wxPyEndAllowThreads(__tstate);
28881 if (PyErr_Occurred()) SWIG_fail;
28882 }
28883 Py_INCREF(Py_None); resultobj = Py_None;
28884 return resultobj;
28885 fail:
28886 return NULL;
28887}
28888
28889
c32bde28 28890static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28891 PyObject *resultobj = NULL;
d55e5bfc
RD
28892 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28893 wxTreeItemId result;
28894 PyObject * obj0 = 0 ;
28895 char *kwnames[] = {
28896 (char *) "self", NULL
28897 };
28898
28899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28902 {
28903 PyThreadState* __tstate = wxPyBeginAllowThreads();
28904 result = ((wxTreeEvent const *)arg1)->GetOldItem();
28905
28906 wxPyEndAllowThreads(__tstate);
28907 if (PyErr_Occurred()) SWIG_fail;
28908 }
28909 {
28910 wxTreeItemId * resultptr;
7449af73 28911 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
28912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28913 }
28914 return resultobj;
28915 fail:
28916 return NULL;
28917}
28918
28919
c32bde28 28920static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28921 PyObject *resultobj = NULL;
d55e5bfc
RD
28922 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28923 wxTreeItemId *arg2 = 0 ;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 char *kwnames[] = {
28927 (char *) "self",(char *) "item", NULL
28928 };
28929
28930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28932 if (SWIG_arg_fail(1)) SWIG_fail;
28933 {
28934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28935 if (SWIG_arg_fail(2)) SWIG_fail;
28936 if (arg2 == NULL) {
28937 SWIG_null_ref("wxTreeItemId");
28938 }
28939 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28940 }
28941 {
28942 PyThreadState* __tstate = wxPyBeginAllowThreads();
28943 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
28944
28945 wxPyEndAllowThreads(__tstate);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 }
28948 Py_INCREF(Py_None); resultobj = Py_None;
28949 return resultobj;
28950 fail:
28951 return NULL;
28952}
28953
28954
c32bde28 28955static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28956 PyObject *resultobj = NULL;
d55e5bfc
RD
28957 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28958 wxPoint result;
28959 PyObject * obj0 = 0 ;
28960 char *kwnames[] = {
28961 (char *) "self", NULL
28962 };
28963
28964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
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 = ((wxTreeEvent const *)arg1)->GetPoint();
28970
28971 wxPyEndAllowThreads(__tstate);
28972 if (PyErr_Occurred()) SWIG_fail;
28973 }
28974 {
28975 wxPoint * resultptr;
7449af73 28976 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
28977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28978 }
28979 return resultobj;
28980 fail:
28981 return NULL;
28982}
28983
28984
c32bde28 28985static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28986 PyObject *resultobj = NULL;
d55e5bfc
RD
28987 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28988 wxPoint *arg2 = 0 ;
28989 wxPoint temp2 ;
28990 PyObject * obj0 = 0 ;
28991 PyObject * obj1 = 0 ;
28992 char *kwnames[] = {
28993 (char *) "self",(char *) "pt", NULL
28994 };
28995
28996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28999 {
29000 arg2 = &temp2;
29001 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29002 }
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 (arg1)->SetPoint((wxPoint const &)*arg2);
29006
29007 wxPyEndAllowThreads(__tstate);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 Py_INCREF(Py_None); resultobj = Py_None;
29011 return resultobj;
29012 fail:
29013 return NULL;
29014}
29015
29016
c32bde28 29017static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29018 PyObject *resultobj = NULL;
d55e5bfc
RD
29019 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29020 wxKeyEvent *result;
29021 PyObject * obj0 = 0 ;
29022 char *kwnames[] = {
29023 (char *) "self", NULL
29024 };
29025
29026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 {
29032 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
29033 result = (wxKeyEvent *) &_result_ref;
29034 }
29035
29036 wxPyEndAllowThreads(__tstate);
29037 if (PyErr_Occurred()) SWIG_fail;
29038 }
29039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
29040 return resultobj;
29041 fail:
29042 return NULL;
29043}
29044
29045
c32bde28 29046static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29047 PyObject *resultobj = NULL;
d55e5bfc
RD
29048 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29049 int result;
29050 PyObject * obj0 = 0 ;
29051 char *kwnames[] = {
29052 (char *) "self", NULL
29053 };
29054
29055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
29056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
093d3ff1 29065 {
7449af73 29066 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 29067 }
d55e5bfc
RD
29068 return resultobj;
29069 fail:
29070 return NULL;
29071}
29072
29073
c32bde28 29074static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29075 PyObject *resultobj = NULL;
d55e5bfc
RD
29076 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29077 wxKeyEvent *arg2 = 0 ;
29078 PyObject * obj0 = 0 ;
29079 PyObject * obj1 = 0 ;
29080 char *kwnames[] = {
29081 (char *) "self",(char *) "evt", NULL
29082 };
29083
29084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29086 if (SWIG_arg_fail(1)) SWIG_fail;
29087 {
29088 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
29089 if (SWIG_arg_fail(2)) SWIG_fail;
29090 if (arg2 == NULL) {
29091 SWIG_null_ref("wxKeyEvent");
29092 }
29093 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29094 }
29095 {
29096 PyThreadState* __tstate = wxPyBeginAllowThreads();
29097 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
29098
29099 wxPyEndAllowThreads(__tstate);
29100 if (PyErr_Occurred()) SWIG_fail;
29101 }
29102 Py_INCREF(Py_None); resultobj = Py_None;
29103 return resultobj;
29104 fail:
29105 return NULL;
29106}
29107
29108
c32bde28 29109static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29110 PyObject *resultobj = NULL;
d55e5bfc
RD
29111 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29112 wxString *result;
29113 PyObject * obj0 = 0 ;
29114 char *kwnames[] = {
29115 (char *) "self", NULL
29116 };
29117
29118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
29119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 {
29124 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
29125 result = (wxString *) &_result_ref;
29126 }
29127
29128 wxPyEndAllowThreads(__tstate);
29129 if (PyErr_Occurred()) SWIG_fail;
29130 }
29131 {
29132#if wxUSE_UNICODE
29133 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29134#else
29135 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29136#endif
29137 }
29138 return resultobj;
29139 fail:
29140 return NULL;
29141}
29142
29143
c32bde28 29144static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29145 PyObject *resultobj = NULL;
d55e5bfc
RD
29146 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29147 wxString *arg2 = 0 ;
ae8162c8 29148 bool temp2 = false ;
d55e5bfc
RD
29149 PyObject * obj0 = 0 ;
29150 PyObject * obj1 = 0 ;
29151 char *kwnames[] = {
29152 (char *) "self",(char *) "label", NULL
29153 };
29154
29155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29158 {
29159 arg2 = wxString_in_helper(obj1);
29160 if (arg2 == NULL) SWIG_fail;
ae8162c8 29161 temp2 = true;
d55e5bfc
RD
29162 }
29163 {
29164 PyThreadState* __tstate = wxPyBeginAllowThreads();
29165 (arg1)->SetLabel((wxString const &)*arg2);
29166
29167 wxPyEndAllowThreads(__tstate);
29168 if (PyErr_Occurred()) SWIG_fail;
29169 }
29170 Py_INCREF(Py_None); resultobj = Py_None;
29171 {
29172 if (temp2)
29173 delete arg2;
29174 }
29175 return resultobj;
29176 fail:
29177 {
29178 if (temp2)
29179 delete arg2;
29180 }
29181 return NULL;
29182}
29183
29184
c32bde28 29185static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29186 PyObject *resultobj = NULL;
d55e5bfc
RD
29187 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29188 bool result;
29189 PyObject * obj0 = 0 ;
29190 char *kwnames[] = {
29191 (char *) "self", NULL
29192 };
29193
29194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
29195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 {
29205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29206 }
29207 return resultobj;
29208 fail:
29209 return NULL;
29210}
29211
29212
c32bde28 29213static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29214 PyObject *resultobj = NULL;
d55e5bfc
RD
29215 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29216 bool arg2 ;
29217 PyObject * obj0 = 0 ;
29218 PyObject * obj1 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self",(char *) "editCancelled", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29225 if (SWIG_arg_fail(1)) SWIG_fail;
29226 {
7449af73 29227 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
29228 if (SWIG_arg_fail(2)) SWIG_fail;
29229 }
d55e5bfc
RD
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 (arg1)->SetEditCanceled(arg2);
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 Py_INCREF(Py_None); resultobj = Py_None;
29238 return resultobj;
29239 fail:
29240 return NULL;
29241}
29242
29243
c32bde28 29244static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29245 PyObject *resultobj = NULL;
d55e5bfc
RD
29246 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29247 wxString *arg2 = 0 ;
ae8162c8 29248 bool temp2 = false ;
d55e5bfc
RD
29249 PyObject * obj0 = 0 ;
29250 PyObject * obj1 = 0 ;
29251 char *kwnames[] = {
29252 (char *) "self",(char *) "toolTip", NULL
29253 };
29254
29255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29258 {
29259 arg2 = wxString_in_helper(obj1);
29260 if (arg2 == NULL) SWIG_fail;
ae8162c8 29261 temp2 = true;
d55e5bfc
RD
29262 }
29263 {
29264 PyThreadState* __tstate = wxPyBeginAllowThreads();
29265 (arg1)->SetToolTip((wxString const &)*arg2);
29266
29267 wxPyEndAllowThreads(__tstate);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 }
29270 Py_INCREF(Py_None); resultobj = Py_None;
29271 {
29272 if (temp2)
29273 delete arg2;
29274 }
29275 return resultobj;
29276 fail:
29277 {
29278 if (temp2)
29279 delete arg2;
29280 }
29281 return NULL;
29282}
29283
29284
dcb8fc74 29285static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29286 PyObject *resultobj = NULL;
dcb8fc74
RD
29287 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29288 wxString result;
29289 PyObject * obj0 = 0 ;
29290 char *kwnames[] = {
29291 (char *) "self", NULL
29292 };
29293
29294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
29295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29296 if (SWIG_arg_fail(1)) SWIG_fail;
29297 {
29298 PyThreadState* __tstate = wxPyBeginAllowThreads();
29299 result = (arg1)->GetToolTip();
29300
29301 wxPyEndAllowThreads(__tstate);
29302 if (PyErr_Occurred()) SWIG_fail;
29303 }
29304 {
29305#if wxUSE_UNICODE
29306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29307#else
29308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29309#endif
29310 }
29311 return resultobj;
29312 fail:
29313 return NULL;
29314}
29315
29316
c32bde28 29317static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29318 PyObject *obj;
29319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29320 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
29321 Py_INCREF(obj);
29322 return Py_BuildValue((char *)"");
29323}
c32bde28 29324static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29325 PyObject *resultobj = NULL;
d55e5bfc
RD
29326 wxWindow *arg1 = (wxWindow *) 0 ;
29327 int arg2 = (int) -1 ;
29328 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29329 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29330 wxSize const &arg4_defvalue = wxDefaultSize ;
29331 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29332 long arg5 = (long) wxTR_DEFAULT_STYLE ;
29333 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29334 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29335 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
29336 wxString *arg7 = (wxString *) &arg7_defvalue ;
29337 wxPyTreeCtrl *result;
29338 wxPoint temp3 ;
29339 wxSize temp4 ;
ae8162c8 29340 bool temp7 = false ;
d55e5bfc
RD
29341 PyObject * obj0 = 0 ;
29342 PyObject * obj1 = 0 ;
29343 PyObject * obj2 = 0 ;
29344 PyObject * obj3 = 0 ;
29345 PyObject * obj4 = 0 ;
29346 PyObject * obj5 = 0 ;
29347 PyObject * obj6 = 0 ;
29348 char *kwnames[] = {
29349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29350 };
29351
29352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
29353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29355 if (obj1) {
093d3ff1 29356 {
7449af73 29357 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
29358 if (SWIG_arg_fail(2)) SWIG_fail;
29359 }
d55e5bfc
RD
29360 }
29361 if (obj2) {
29362 {
29363 arg3 = &temp3;
29364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29365 }
29366 }
29367 if (obj3) {
29368 {
29369 arg4 = &temp4;
29370 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29371 }
29372 }
29373 if (obj4) {
093d3ff1 29374 {
7449af73 29375 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
29376 if (SWIG_arg_fail(5)) SWIG_fail;
29377 }
d55e5bfc
RD
29378 }
29379 if (obj5) {
093d3ff1
RD
29380 {
29381 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29382 if (SWIG_arg_fail(6)) SWIG_fail;
29383 if (arg6 == NULL) {
29384 SWIG_null_ref("wxValidator");
29385 }
29386 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
29387 }
29388 }
29389 if (obj6) {
29390 {
29391 arg7 = wxString_in_helper(obj6);
29392 if (arg7 == NULL) SWIG_fail;
ae8162c8 29393 temp7 = true;
d55e5bfc
RD
29394 }
29395 }
29396 {
0439c23b 29397 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29398 PyThreadState* __tstate = wxPyBeginAllowThreads();
29399 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29400
29401 wxPyEndAllowThreads(__tstate);
110da5b0 29402 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 29403 }
b0f7404b 29404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
29405 {
29406 if (temp7)
29407 delete arg7;
29408 }
29409 return resultobj;
29410 fail:
29411 {
29412 if (temp7)
29413 delete arg7;
29414 }
29415 return NULL;
29416}
29417
29418
c32bde28 29419static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29420 PyObject *resultobj = NULL;
d55e5bfc
RD
29421 wxPyTreeCtrl *result;
29422 char *kwnames[] = {
29423 NULL
29424 };
29425
29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
29427 {
0439c23b 29428 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
29431
29432 wxPyEndAllowThreads(__tstate);
110da5b0 29433 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 29434 }
b0f7404b 29435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
29436 return resultobj;
29437 fail:
29438 return NULL;
29439}
29440
29441
c32bde28 29442static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29443 PyObject *resultobj = NULL;
d55e5bfc
RD
29444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29445 wxWindow *arg2 = (wxWindow *) 0 ;
29446 int arg3 = (int) -1 ;
29447 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29448 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29449 wxSize const &arg5_defvalue = wxDefaultSize ;
29450 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29451 long arg6 = (long) wxTR_DEFAULT_STYLE ;
29452 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29453 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29454 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
29455 wxString *arg8 = (wxString *) &arg8_defvalue ;
29456 bool result;
29457 wxPoint temp4 ;
29458 wxSize temp5 ;
ae8162c8 29459 bool temp8 = false ;
d55e5bfc
RD
29460 PyObject * obj0 = 0 ;
29461 PyObject * obj1 = 0 ;
29462 PyObject * obj2 = 0 ;
29463 PyObject * obj3 = 0 ;
29464 PyObject * obj4 = 0 ;
29465 PyObject * obj5 = 0 ;
29466 PyObject * obj6 = 0 ;
29467 PyObject * obj7 = 0 ;
29468 char *kwnames[] = {
29469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29470 };
29471
29472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
29473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29474 if (SWIG_arg_fail(1)) SWIG_fail;
29475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29476 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29477 if (obj2) {
093d3ff1 29478 {
7449af73 29479 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
29480 if (SWIG_arg_fail(3)) SWIG_fail;
29481 }
d55e5bfc
RD
29482 }
29483 if (obj3) {
29484 {
29485 arg4 = &temp4;
29486 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29487 }
29488 }
29489 if (obj4) {
29490 {
29491 arg5 = &temp5;
29492 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29493 }
29494 }
29495 if (obj5) {
093d3ff1 29496 {
7449af73 29497 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
29498 if (SWIG_arg_fail(6)) SWIG_fail;
29499 }
d55e5bfc
RD
29500 }
29501 if (obj6) {
093d3ff1
RD
29502 {
29503 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29504 if (SWIG_arg_fail(7)) SWIG_fail;
29505 if (arg7 == NULL) {
29506 SWIG_null_ref("wxValidator");
29507 }
29508 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
29509 }
29510 }
29511 if (obj7) {
29512 {
29513 arg8 = wxString_in_helper(obj7);
29514 if (arg8 == NULL) SWIG_fail;
ae8162c8 29515 temp8 = true;
d55e5bfc
RD
29516 }
29517 }
29518 {
29519 PyThreadState* __tstate = wxPyBeginAllowThreads();
29520 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29521
29522 wxPyEndAllowThreads(__tstate);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 }
29525 {
29526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29527 }
29528 {
29529 if (temp8)
29530 delete arg8;
29531 }
29532 return resultobj;
29533 fail:
29534 {
29535 if (temp8)
29536 delete arg8;
29537 }
29538 return NULL;
29539}
29540
29541
c32bde28 29542static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29543 PyObject *resultobj = NULL;
d55e5bfc
RD
29544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29545 PyObject *arg2 = (PyObject *) 0 ;
29546 PyObject *arg3 = (PyObject *) 0 ;
29547 PyObject * obj0 = 0 ;
29548 PyObject * obj1 = 0 ;
29549 PyObject * obj2 = 0 ;
29550 char *kwnames[] = {
29551 (char *) "self",(char *) "self",(char *) "_class", NULL
29552 };
29553
29554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29556 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29557 arg2 = obj1;
29558 arg3 = obj2;
29559 {
29560 PyThreadState* __tstate = wxPyBeginAllowThreads();
29561 (arg1)->_setCallbackInfo(arg2,arg3);
29562
29563 wxPyEndAllowThreads(__tstate);
29564 if (PyErr_Occurred()) SWIG_fail;
29565 }
29566 Py_INCREF(Py_None); resultobj = Py_None;
29567 return resultobj;
29568 fail:
29569 return NULL;
29570}
29571
29572
c32bde28 29573static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29574 PyObject *resultobj = NULL;
d55e5bfc
RD
29575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29576 size_t result;
29577 PyObject * obj0 = 0 ;
29578 char *kwnames[] = {
29579 (char *) "self", NULL
29580 };
29581
29582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
29583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29585 {
29586 PyThreadState* __tstate = wxPyBeginAllowThreads();
29587 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
29588
29589 wxPyEndAllowThreads(__tstate);
29590 if (PyErr_Occurred()) SWIG_fail;
29591 }
093d3ff1 29592 {
7449af73 29593 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 29594 }
d55e5bfc
RD
29595 return resultobj;
29596 fail:
29597 return NULL;
29598}
29599
29600
c32bde28 29601static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29602 PyObject *resultobj = NULL;
d55e5bfc
RD
29603 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29604 unsigned int result;
29605 PyObject * obj0 = 0 ;
29606 char *kwnames[] = {
29607 (char *) "self", NULL
29608 };
29609
29610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29613 {
29614 PyThreadState* __tstate = wxPyBeginAllowThreads();
29615 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
29616
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
093d3ff1 29620 {
7449af73 29621 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 29622 }
d55e5bfc
RD
29623 return resultobj;
29624 fail:
29625 return NULL;
29626}
29627
29628
c32bde28 29629static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29630 PyObject *resultobj = NULL;
d55e5bfc
RD
29631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29632 unsigned int arg2 ;
29633 PyObject * obj0 = 0 ;
29634 PyObject * obj1 = 0 ;
29635 char *kwnames[] = {
29636 (char *) "self",(char *) "indent", NULL
29637 };
29638
29639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail;
29642 {
7449af73 29643 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
29644 if (SWIG_arg_fail(2)) SWIG_fail;
29645 }
d55e5bfc
RD
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 (arg1)->SetIndent(arg2);
29649
29650 wxPyEndAllowThreads(__tstate);
29651 if (PyErr_Occurred()) SWIG_fail;
29652 }
29653 Py_INCREF(Py_None); resultobj = Py_None;
29654 return resultobj;
29655 fail:
29656 return NULL;
29657}
29658
29659
c32bde28 29660static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29661 PyObject *resultobj = NULL;
d55e5bfc
RD
29662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29663 unsigned int result;
29664 PyObject * obj0 = 0 ;
29665 char *kwnames[] = {
29666 (char *) "self", NULL
29667 };
29668
29669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
29670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29672 {
29673 PyThreadState* __tstate = wxPyBeginAllowThreads();
29674 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
29675
29676 wxPyEndAllowThreads(__tstate);
29677 if (PyErr_Occurred()) SWIG_fail;
29678 }
093d3ff1 29679 {
7449af73 29680 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 29681 }
d55e5bfc
RD
29682 return resultobj;
29683 fail:
29684 return NULL;
29685}
29686
29687
c32bde28 29688static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29689 PyObject *resultobj = NULL;
d55e5bfc
RD
29690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29691 unsigned int arg2 ;
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 char *kwnames[] = {
29695 (char *) "self",(char *) "spacing", NULL
29696 };
29697
29698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29700 if (SWIG_arg_fail(1)) SWIG_fail;
29701 {
7449af73 29702 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
29703 if (SWIG_arg_fail(2)) SWIG_fail;
29704 }
d55e5bfc
RD
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 (arg1)->SetSpacing(arg2);
29708
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 Py_INCREF(Py_None); resultobj = Py_None;
29713 return resultobj;
29714 fail:
29715 return NULL;
29716}
29717
29718
c32bde28 29719static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29720 PyObject *resultobj = NULL;
d55e5bfc
RD
29721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29722 wxImageList *result;
29723 PyObject * obj0 = 0 ;
29724 char *kwnames[] = {
29725 (char *) "self", NULL
29726 };
29727
29728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
29729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29731 {
29732 PyThreadState* __tstate = wxPyBeginAllowThreads();
29733 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
29734
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 {
7e08d4ef 29739 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
29740 }
29741 return resultobj;
29742 fail:
29743 return NULL;
29744}
29745
29746
c32bde28 29747static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29748 PyObject *resultobj = NULL;
d55e5bfc
RD
29749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29750 wxImageList *result;
29751 PyObject * obj0 = 0 ;
29752 char *kwnames[] = {
29753 (char *) "self", NULL
29754 };
29755
29756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
29757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29758 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29759 {
29760 PyThreadState* __tstate = wxPyBeginAllowThreads();
29761 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
29762
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 {
7e08d4ef 29767 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
29768 }
29769 return resultobj;
29770 fail:
29771 return NULL;
29772}
29773
29774
c32bde28 29775static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29776 PyObject *resultobj = NULL;
d55e5bfc
RD
29777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29778 wxImageList *arg2 = (wxImageList *) 0 ;
29779 PyObject * obj0 = 0 ;
29780 PyObject * obj1 = 0 ;
29781 char *kwnames[] = {
29782 (char *) "self",(char *) "imageList", NULL
29783 };
29784
29785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29787 if (SWIG_arg_fail(1)) SWIG_fail;
29788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29789 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29790 {
29791 PyThreadState* __tstate = wxPyBeginAllowThreads();
29792 (arg1)->SetImageList(arg2);
29793
29794 wxPyEndAllowThreads(__tstate);
29795 if (PyErr_Occurred()) SWIG_fail;
29796 }
29797 Py_INCREF(Py_None); resultobj = Py_None;
29798 return resultobj;
29799 fail:
29800 return NULL;
29801}
29802
29803
c32bde28 29804static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29805 PyObject *resultobj = NULL;
d55e5bfc
RD
29806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29807 wxImageList *arg2 = (wxImageList *) 0 ;
29808 PyObject * obj0 = 0 ;
29809 PyObject * obj1 = 0 ;
29810 char *kwnames[] = {
29811 (char *) "self",(char *) "imageList", NULL
29812 };
29813
29814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29816 if (SWIG_arg_fail(1)) SWIG_fail;
29817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29818 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29819 {
29820 PyThreadState* __tstate = wxPyBeginAllowThreads();
29821 (arg1)->SetStateImageList(arg2);
29822
29823 wxPyEndAllowThreads(__tstate);
29824 if (PyErr_Occurred()) SWIG_fail;
29825 }
29826 Py_INCREF(Py_None); resultobj = Py_None;
29827 return resultobj;
29828 fail:
29829 return NULL;
29830}
29831
29832
c32bde28 29833static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29834 PyObject *resultobj = NULL;
d55e5bfc
RD
29835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29836 wxImageList *arg2 = (wxImageList *) 0 ;
29837 PyObject * obj0 = 0 ;
29838 PyObject * obj1 = 0 ;
29839 char *kwnames[] = {
29840 (char *) "self",(char *) "imageList", NULL
29841 };
29842
29843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29845 if (SWIG_arg_fail(1)) SWIG_fail;
29846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29847 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 (arg1)->AssignImageList(arg2);
29851
29852 wxPyEndAllowThreads(__tstate);
29853 if (PyErr_Occurred()) SWIG_fail;
29854 }
29855 Py_INCREF(Py_None); resultobj = Py_None;
29856 return resultobj;
29857 fail:
29858 return NULL;
29859}
29860
29861
c32bde28 29862static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29863 PyObject *resultobj = NULL;
d55e5bfc
RD
29864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29865 wxImageList *arg2 = (wxImageList *) 0 ;
29866 PyObject * obj0 = 0 ;
29867 PyObject * obj1 = 0 ;
29868 char *kwnames[] = {
29869 (char *) "self",(char *) "imageList", NULL
29870 };
29871
29872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29874 if (SWIG_arg_fail(1)) SWIG_fail;
29875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29876 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29877 {
29878 PyThreadState* __tstate = wxPyBeginAllowThreads();
29879 (arg1)->AssignStateImageList(arg2);
29880
29881 wxPyEndAllowThreads(__tstate);
29882 if (PyErr_Occurred()) SWIG_fail;
29883 }
29884 Py_INCREF(Py_None); resultobj = Py_None;
29885 return resultobj;
29886 fail:
29887 return NULL;
29888}
29889
29890
c32bde28 29891static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29892 PyObject *resultobj = NULL;
d55e5bfc
RD
29893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29894 wxTreeItemId *arg2 = 0 ;
29895 wxString result;
29896 PyObject * obj0 = 0 ;
29897 PyObject * obj1 = 0 ;
29898 char *kwnames[] = {
29899 (char *) "self",(char *) "item", NULL
29900 };
29901
29902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail;
29905 {
29906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29907 if (SWIG_arg_fail(2)) SWIG_fail;
29908 if (arg2 == NULL) {
29909 SWIG_null_ref("wxTreeItemId");
29910 }
29911 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29912 }
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
29916
29917 wxPyEndAllowThreads(__tstate);
29918 if (PyErr_Occurred()) SWIG_fail;
29919 }
29920 {
29921#if wxUSE_UNICODE
29922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29923#else
29924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29925#endif
29926 }
29927 return resultobj;
29928 fail:
29929 return NULL;
29930}
29931
29932
c32bde28 29933static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29934 PyObject *resultobj = NULL;
d55e5bfc
RD
29935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29936 wxTreeItemId *arg2 = 0 ;
093d3ff1 29937 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
29938 int result;
29939 PyObject * obj0 = 0 ;
29940 PyObject * obj1 = 0 ;
29941 PyObject * obj2 = 0 ;
29942 char *kwnames[] = {
29943 (char *) "self",(char *) "item",(char *) "which", NULL
29944 };
29945
29946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29948 if (SWIG_arg_fail(1)) SWIG_fail;
29949 {
29950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29951 if (SWIG_arg_fail(2)) SWIG_fail;
29952 if (arg2 == NULL) {
29953 SWIG_null_ref("wxTreeItemId");
29954 }
29955 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29956 }
29957 if (obj2) {
093d3ff1 29958 {
7449af73 29959 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
093d3ff1
RD
29960 if (SWIG_arg_fail(3)) SWIG_fail;
29961 }
d55e5bfc
RD
29962 }
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 29965 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
d55e5bfc
RD
29966
29967 wxPyEndAllowThreads(__tstate);
29968 if (PyErr_Occurred()) SWIG_fail;
29969 }
093d3ff1 29970 {
7449af73 29971 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 29972 }
d55e5bfc
RD
29973 return resultobj;
29974 fail:
29975 return NULL;
29976}
29977
29978
c32bde28 29979static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29980 PyObject *resultobj = NULL;
d55e5bfc
RD
29981 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29982 wxTreeItemId *arg2 = 0 ;
29983 wxPyTreeItemData *result;
29984 PyObject * obj0 = 0 ;
29985 PyObject * obj1 = 0 ;
29986 char *kwnames[] = {
29987 (char *) "self",(char *) "item", NULL
29988 };
29989
29990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29992 if (SWIG_arg_fail(1)) SWIG_fail;
29993 {
29994 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29995 if (SWIG_arg_fail(2)) SWIG_fail;
29996 if (arg2 == NULL) {
29997 SWIG_null_ref("wxTreeItemId");
29998 }
29999 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30000 }
30001 {
30002 PyThreadState* __tstate = wxPyBeginAllowThreads();
30003 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
30004
30005 wxPyEndAllowThreads(__tstate);
30006 if (PyErr_Occurred()) SWIG_fail;
30007 }
30008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
30009 return resultobj;
30010 fail:
30011 return NULL;
30012}
30013
30014
c32bde28 30015static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30016 PyObject *resultobj = NULL;
d55e5bfc
RD
30017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30018 wxTreeItemId *arg2 = 0 ;
30019 PyObject *result;
30020 PyObject * obj0 = 0 ;
30021 PyObject * obj1 = 0 ;
30022 char *kwnames[] = {
30023 (char *) "self",(char *) "item", NULL
30024 };
30025
30026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30028 if (SWIG_arg_fail(1)) SWIG_fail;
30029 {
30030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30031 if (SWIG_arg_fail(2)) SWIG_fail;
30032 if (arg2 == NULL) {
30033 SWIG_null_ref("wxTreeItemId");
30034 }
30035 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30036 }
30037 {
30038 PyThreadState* __tstate = wxPyBeginAllowThreads();
30039 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
30040
30041 wxPyEndAllowThreads(__tstate);
30042 if (PyErr_Occurred()) SWIG_fail;
30043 }
30044 resultobj = result;
30045 return resultobj;
30046 fail:
30047 return NULL;
30048}
30049
30050
c32bde28 30051static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30052 PyObject *resultobj = NULL;
d55e5bfc
RD
30053 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30054 wxTreeItemId *arg2 = 0 ;
30055 wxColour result;
30056 PyObject * obj0 = 0 ;
30057 PyObject * obj1 = 0 ;
30058 char *kwnames[] = {
30059 (char *) "self",(char *) "item", NULL
30060 };
30061
30062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30064 if (SWIG_arg_fail(1)) SWIG_fail;
30065 {
30066 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30067 if (SWIG_arg_fail(2)) SWIG_fail;
30068 if (arg2 == NULL) {
30069 SWIG_null_ref("wxTreeItemId");
30070 }
30071 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30072 }
30073 {
30074 PyThreadState* __tstate = wxPyBeginAllowThreads();
30075 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
30076
30077 wxPyEndAllowThreads(__tstate);
30078 if (PyErr_Occurred()) SWIG_fail;
30079 }
30080 {
30081 wxColour * resultptr;
7449af73 30082 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
30083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30084 }
30085 return resultobj;
30086 fail:
30087 return NULL;
30088}
30089
30090
c32bde28 30091static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30092 PyObject *resultobj = NULL;
d55e5bfc
RD
30093 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30094 wxTreeItemId *arg2 = 0 ;
30095 wxColour result;
30096 PyObject * obj0 = 0 ;
30097 PyObject * obj1 = 0 ;
30098 char *kwnames[] = {
30099 (char *) "self",(char *) "item", NULL
30100 };
30101
30102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30104 if (SWIG_arg_fail(1)) SWIG_fail;
30105 {
30106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30107 if (SWIG_arg_fail(2)) SWIG_fail;
30108 if (arg2 == NULL) {
30109 SWIG_null_ref("wxTreeItemId");
30110 }
30111 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30112 }
30113 {
30114 PyThreadState* __tstate = wxPyBeginAllowThreads();
30115 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
30116
30117 wxPyEndAllowThreads(__tstate);
30118 if (PyErr_Occurred()) SWIG_fail;
30119 }
30120 {
30121 wxColour * resultptr;
7449af73 30122 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
30123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30124 }
30125 return resultobj;
30126 fail:
30127 return NULL;
30128}
30129
30130
c32bde28 30131static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30132 PyObject *resultobj = NULL;
d55e5bfc
RD
30133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30134 wxTreeItemId *arg2 = 0 ;
30135 wxFont result;
30136 PyObject * obj0 = 0 ;
30137 PyObject * obj1 = 0 ;
30138 char *kwnames[] = {
30139 (char *) "self",(char *) "item", NULL
30140 };
30141
30142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30144 if (SWIG_arg_fail(1)) SWIG_fail;
30145 {
30146 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30147 if (SWIG_arg_fail(2)) SWIG_fail;
30148 if (arg2 == NULL) {
30149 SWIG_null_ref("wxTreeItemId");
30150 }
30151 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30152 }
30153 {
30154 PyThreadState* __tstate = wxPyBeginAllowThreads();
30155 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
30156
30157 wxPyEndAllowThreads(__tstate);
30158 if (PyErr_Occurred()) SWIG_fail;
30159 }
30160 {
30161 wxFont * resultptr;
7449af73 30162 resultptr = new wxFont(static_cast<wxFont & >(result));
d55e5bfc
RD
30163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
30164 }
30165 return resultobj;
30166 fail:
30167 return NULL;
30168}
30169
30170
c32bde28 30171static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30172 PyObject *resultobj = NULL;
d55e5bfc
RD
30173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30174 wxTreeItemId *arg2 = 0 ;
30175 wxString *arg3 = 0 ;
ae8162c8 30176 bool temp3 = false ;
d55e5bfc
RD
30177 PyObject * obj0 = 0 ;
30178 PyObject * obj1 = 0 ;
30179 PyObject * obj2 = 0 ;
30180 char *kwnames[] = {
30181 (char *) "self",(char *) "item",(char *) "text", NULL
30182 };
30183
30184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail;
30187 {
30188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30189 if (SWIG_arg_fail(2)) SWIG_fail;
30190 if (arg2 == NULL) {
30191 SWIG_null_ref("wxTreeItemId");
30192 }
30193 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30194 }
30195 {
30196 arg3 = wxString_in_helper(obj2);
30197 if (arg3 == NULL) SWIG_fail;
ae8162c8 30198 temp3 = true;
d55e5bfc
RD
30199 }
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
30203
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 Py_INCREF(Py_None); resultobj = Py_None;
30208 {
30209 if (temp3)
30210 delete arg3;
30211 }
30212 return resultobj;
30213 fail:
30214 {
30215 if (temp3)
30216 delete arg3;
30217 }
30218 return NULL;
30219}
30220
30221
c32bde28 30222static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30223 PyObject *resultobj = NULL;
d55e5bfc
RD
30224 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30225 wxTreeItemId *arg2 = 0 ;
30226 int arg3 ;
093d3ff1 30227 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
30228 PyObject * obj0 = 0 ;
30229 PyObject * obj1 = 0 ;
30230 PyObject * obj2 = 0 ;
30231 PyObject * obj3 = 0 ;
30232 char *kwnames[] = {
30233 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30234 };
30235
30236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30238 if (SWIG_arg_fail(1)) SWIG_fail;
30239 {
30240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30241 if (SWIG_arg_fail(2)) SWIG_fail;
30242 if (arg2 == NULL) {
30243 SWIG_null_ref("wxTreeItemId");
30244 }
30245 if (SWIG_arg_fail(2)) SWIG_fail;
30246 }
30247 {
7449af73 30248 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30249 if (SWIG_arg_fail(3)) SWIG_fail;
30250 }
d55e5bfc 30251 if (obj3) {
093d3ff1 30252 {
7449af73 30253 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
093d3ff1
RD
30254 if (SWIG_arg_fail(4)) SWIG_fail;
30255 }
d55e5bfc
RD
30256 }
30257 {
30258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 30259 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
d55e5bfc
RD
30260
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 Py_INCREF(Py_None); resultobj = Py_None;
30265 return resultobj;
30266 fail:
30267 return NULL;
30268}
30269
30270
c32bde28 30271static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30272 PyObject *resultobj = NULL;
d55e5bfc
RD
30273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30274 wxTreeItemId *arg2 = 0 ;
30275 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
30276 PyObject * obj0 = 0 ;
30277 PyObject * obj1 = 0 ;
30278 PyObject * obj2 = 0 ;
30279 char *kwnames[] = {
30280 (char *) "self",(char *) "item",(char *) "data", NULL
30281 };
30282
30283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30285 if (SWIG_arg_fail(1)) SWIG_fail;
30286 {
30287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30288 if (SWIG_arg_fail(2)) SWIG_fail;
30289 if (arg2 == NULL) {
30290 SWIG_null_ref("wxTreeItemId");
30291 }
30292 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 30293 }
7e08d4ef 30294 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 30295 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30296 {
30297 PyThreadState* __tstate = wxPyBeginAllowThreads();
30298 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
30299
30300 wxPyEndAllowThreads(__tstate);
30301 if (PyErr_Occurred()) SWIG_fail;
30302 }
30303 Py_INCREF(Py_None); resultobj = Py_None;
30304 return resultobj;
30305 fail:
30306 return NULL;
30307}
30308
30309
c32bde28 30310static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30311 PyObject *resultobj = NULL;
d55e5bfc
RD
30312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30313 wxTreeItemId *arg2 = 0 ;
30314 PyObject *arg3 = (PyObject *) 0 ;
30315 PyObject * obj0 = 0 ;
30316 PyObject * obj1 = 0 ;
30317 PyObject * obj2 = 0 ;
30318 char *kwnames[] = {
30319 (char *) "self",(char *) "item",(char *) "obj", NULL
30320 };
30321
30322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30324 if (SWIG_arg_fail(1)) SWIG_fail;
30325 {
30326 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30327 if (SWIG_arg_fail(2)) SWIG_fail;
30328 if (arg2 == NULL) {
30329 SWIG_null_ref("wxTreeItemId");
30330 }
30331 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30332 }
30333 arg3 = obj2;
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
30337
30338 wxPyEndAllowThreads(__tstate);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 }
30341 Py_INCREF(Py_None); resultobj = Py_None;
30342 return resultobj;
30343 fail:
30344 return NULL;
30345}
30346
30347
c32bde28 30348static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30349 PyObject *resultobj = NULL;
d55e5bfc
RD
30350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30351 wxTreeItemId *arg2 = 0 ;
ae8162c8 30352 bool arg3 = (bool) true ;
d55e5bfc
RD
30353 PyObject * obj0 = 0 ;
30354 PyObject * obj1 = 0 ;
30355 PyObject * obj2 = 0 ;
30356 char *kwnames[] = {
30357 (char *) "self",(char *) "item",(char *) "has", NULL
30358 };
30359
30360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30362 if (SWIG_arg_fail(1)) SWIG_fail;
30363 {
30364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30365 if (SWIG_arg_fail(2)) SWIG_fail;
30366 if (arg2 == NULL) {
30367 SWIG_null_ref("wxTreeItemId");
30368 }
30369 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30370 }
30371 if (obj2) {
093d3ff1 30372 {
7449af73 30373 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30374 if (SWIG_arg_fail(3)) SWIG_fail;
30375 }
d55e5bfc
RD
30376 }
30377 {
30378 PyThreadState* __tstate = wxPyBeginAllowThreads();
30379 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
30380
30381 wxPyEndAllowThreads(__tstate);
30382 if (PyErr_Occurred()) SWIG_fail;
30383 }
30384 Py_INCREF(Py_None); resultobj = Py_None;
30385 return resultobj;
30386 fail:
30387 return NULL;
30388}
30389
30390
c32bde28 30391static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30392 PyObject *resultobj = NULL;
d55e5bfc
RD
30393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30394 wxTreeItemId *arg2 = 0 ;
ae8162c8 30395 bool arg3 = (bool) true ;
d55e5bfc
RD
30396 PyObject * obj0 = 0 ;
30397 PyObject * obj1 = 0 ;
30398 PyObject * obj2 = 0 ;
30399 char *kwnames[] = {
30400 (char *) "self",(char *) "item",(char *) "bold", NULL
30401 };
30402
30403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30405 if (SWIG_arg_fail(1)) SWIG_fail;
30406 {
30407 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30408 if (SWIG_arg_fail(2)) SWIG_fail;
30409 if (arg2 == NULL) {
30410 SWIG_null_ref("wxTreeItemId");
30411 }
30412 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30413 }
30414 if (obj2) {
093d3ff1 30415 {
7449af73 30416 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30417 if (SWIG_arg_fail(3)) SWIG_fail;
30418 }
d55e5bfc
RD
30419 }
30420 {
30421 PyThreadState* __tstate = wxPyBeginAllowThreads();
30422 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
30423
30424 wxPyEndAllowThreads(__tstate);
30425 if (PyErr_Occurred()) SWIG_fail;
30426 }
30427 Py_INCREF(Py_None); resultobj = Py_None;
30428 return resultobj;
30429 fail:
30430 return NULL;
30431}
30432
30433
c32bde28 30434static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30435 PyObject *resultobj = NULL;
d55e5bfc
RD
30436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30437 wxTreeItemId *arg2 = 0 ;
ae8162c8 30438 bool arg3 = (bool) true ;
d55e5bfc
RD
30439 PyObject * obj0 = 0 ;
30440 PyObject * obj1 = 0 ;
30441 PyObject * obj2 = 0 ;
30442 char *kwnames[] = {
30443 (char *) "self",(char *) "item",(char *) "highlight", NULL
30444 };
30445
30446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30448 if (SWIG_arg_fail(1)) SWIG_fail;
30449 {
30450 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30451 if (SWIG_arg_fail(2)) SWIG_fail;
30452 if (arg2 == NULL) {
30453 SWIG_null_ref("wxTreeItemId");
30454 }
30455 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30456 }
30457 if (obj2) {
093d3ff1 30458 {
7449af73 30459 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30460 if (SWIG_arg_fail(3)) SWIG_fail;
30461 }
d55e5bfc
RD
30462 }
30463 {
30464 PyThreadState* __tstate = wxPyBeginAllowThreads();
30465 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
30466
30467 wxPyEndAllowThreads(__tstate);
30468 if (PyErr_Occurred()) SWIG_fail;
30469 }
30470 Py_INCREF(Py_None); resultobj = Py_None;
30471 return resultobj;
30472 fail:
30473 return NULL;
30474}
30475
30476
c32bde28 30477static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30478 PyObject *resultobj = NULL;
d55e5bfc
RD
30479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30480 wxTreeItemId *arg2 = 0 ;
30481 wxColour *arg3 = 0 ;
30482 wxColour temp3 ;
30483 PyObject * obj0 = 0 ;
30484 PyObject * obj1 = 0 ;
30485 PyObject * obj2 = 0 ;
30486 char *kwnames[] = {
30487 (char *) "self",(char *) "item",(char *) "col", NULL
30488 };
30489
30490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail;
30493 {
30494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30495 if (SWIG_arg_fail(2)) SWIG_fail;
30496 if (arg2 == NULL) {
30497 SWIG_null_ref("wxTreeItemId");
30498 }
30499 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30500 }
30501 {
30502 arg3 = &temp3;
30503 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30504 }
30505 {
30506 PyThreadState* __tstate = wxPyBeginAllowThreads();
30507 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30508
30509 wxPyEndAllowThreads(__tstate);
30510 if (PyErr_Occurred()) SWIG_fail;
30511 }
30512 Py_INCREF(Py_None); resultobj = Py_None;
30513 return resultobj;
30514 fail:
30515 return NULL;
30516}
30517
30518
c32bde28 30519static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30520 PyObject *resultobj = NULL;
d55e5bfc
RD
30521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30522 wxTreeItemId *arg2 = 0 ;
30523 wxColour *arg3 = 0 ;
30524 wxColour temp3 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 PyObject * obj2 = 0 ;
30528 char *kwnames[] = {
30529 (char *) "self",(char *) "item",(char *) "col", NULL
30530 };
30531
30532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30534 if (SWIG_arg_fail(1)) SWIG_fail;
30535 {
30536 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30537 if (SWIG_arg_fail(2)) SWIG_fail;
30538 if (arg2 == NULL) {
30539 SWIG_null_ref("wxTreeItemId");
30540 }
30541 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30542 }
30543 {
30544 arg3 = &temp3;
30545 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30546 }
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30550
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 Py_INCREF(Py_None); resultobj = Py_None;
30555 return resultobj;
30556 fail:
30557 return NULL;
30558}
30559
30560
c32bde28 30561static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30562 PyObject *resultobj = NULL;
d55e5bfc
RD
30563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30564 wxTreeItemId *arg2 = 0 ;
30565 wxFont *arg3 = 0 ;
30566 PyObject * obj0 = 0 ;
30567 PyObject * obj1 = 0 ;
30568 PyObject * obj2 = 0 ;
30569 char *kwnames[] = {
30570 (char *) "self",(char *) "item",(char *) "font", NULL
30571 };
30572
30573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30575 if (SWIG_arg_fail(1)) SWIG_fail;
30576 {
30577 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30578 if (SWIG_arg_fail(2)) SWIG_fail;
30579 if (arg2 == NULL) {
30580 SWIG_null_ref("wxTreeItemId");
30581 }
30582 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 30583 }
093d3ff1
RD
30584 {
30585 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30586 if (SWIG_arg_fail(3)) SWIG_fail;
30587 if (arg3 == NULL) {
30588 SWIG_null_ref("wxFont");
30589 }
30590 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30591 }
30592 {
30593 PyThreadState* __tstate = wxPyBeginAllowThreads();
30594 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
30595
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
30599 Py_INCREF(Py_None); resultobj = Py_None;
30600 return resultobj;
30601 fail:
30602 return NULL;
30603}
30604
30605
c32bde28 30606static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30607 PyObject *resultobj = NULL;
d55e5bfc
RD
30608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30609 wxTreeItemId *arg2 = 0 ;
30610 bool result;
30611 PyObject * obj0 = 0 ;
30612 PyObject * obj1 = 0 ;
30613 char *kwnames[] = {
30614 (char *) "self",(char *) "item", NULL
30615 };
30616
30617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail;
30620 {
30621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30622 if (SWIG_arg_fail(2)) SWIG_fail;
30623 if (arg2 == NULL) {
30624 SWIG_null_ref("wxTreeItemId");
30625 }
30626 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30627 }
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
30631
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 {
30636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30637 }
30638 return resultobj;
30639 fail:
30640 return NULL;
30641}
30642
30643
c32bde28 30644static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30645 PyObject *resultobj = NULL;
d55e5bfc
RD
30646 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30647 wxTreeItemId *arg2 = 0 ;
30648 bool result;
30649 PyObject * obj0 = 0 ;
30650 PyObject * obj1 = 0 ;
30651 char *kwnames[] = {
30652 (char *) "self",(char *) "item", NULL
30653 };
30654
30655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail;
30658 {
30659 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30660 if (SWIG_arg_fail(2)) SWIG_fail;
30661 if (arg2 == NULL) {
30662 SWIG_null_ref("wxTreeItemId");
30663 }
30664 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30665 }
30666 {
30667 PyThreadState* __tstate = wxPyBeginAllowThreads();
30668 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
30669
30670 wxPyEndAllowThreads(__tstate);
30671 if (PyErr_Occurred()) SWIG_fail;
30672 }
30673 {
30674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30675 }
30676 return resultobj;
30677 fail:
30678 return NULL;
30679}
30680
30681
c32bde28 30682static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30683 PyObject *resultobj = NULL;
d55e5bfc
RD
30684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30685 wxTreeItemId *arg2 = 0 ;
30686 bool result;
30687 PyObject * obj0 = 0 ;
30688 PyObject * obj1 = 0 ;
30689 char *kwnames[] = {
30690 (char *) "self",(char *) "item", NULL
30691 };
30692
30693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30695 if (SWIG_arg_fail(1)) SWIG_fail;
30696 {
30697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30698 if (SWIG_arg_fail(2)) SWIG_fail;
30699 if (arg2 == NULL) {
30700 SWIG_null_ref("wxTreeItemId");
30701 }
30702 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30703 }
30704 {
30705 PyThreadState* __tstate = wxPyBeginAllowThreads();
30706 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
30707
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 {
30712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30713 }
30714 return resultobj;
30715 fail:
30716 return NULL;
30717}
30718
30719
c32bde28 30720static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30721 PyObject *resultobj = NULL;
d55e5bfc
RD
30722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30723 wxTreeItemId *arg2 = 0 ;
30724 bool result;
30725 PyObject * obj0 = 0 ;
30726 PyObject * obj1 = 0 ;
30727 char *kwnames[] = {
30728 (char *) "self",(char *) "item", NULL
30729 };
30730
30731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30733 if (SWIG_arg_fail(1)) SWIG_fail;
30734 {
30735 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30736 if (SWIG_arg_fail(2)) SWIG_fail;
30737 if (arg2 == NULL) {
30738 SWIG_null_ref("wxTreeItemId");
30739 }
30740 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30741 }
30742 {
30743 PyThreadState* __tstate = wxPyBeginAllowThreads();
30744 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
30745
30746 wxPyEndAllowThreads(__tstate);
30747 if (PyErr_Occurred()) SWIG_fail;
30748 }
30749 {
30750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30751 }
30752 return resultobj;
30753 fail:
30754 return NULL;
30755}
30756
30757
c32bde28 30758static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30759 PyObject *resultobj = NULL;
d55e5bfc
RD
30760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30761 wxTreeItemId *arg2 = 0 ;
30762 bool result;
30763 PyObject * obj0 = 0 ;
30764 PyObject * obj1 = 0 ;
30765 char *kwnames[] = {
30766 (char *) "self",(char *) "item", NULL
30767 };
30768
30769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail;
30772 {
30773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30774 if (SWIG_arg_fail(2)) SWIG_fail;
30775 if (arg2 == NULL) {
30776 SWIG_null_ref("wxTreeItemId");
30777 }
30778 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30779 }
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
30782 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
30783
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 {
30788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30789 }
30790 return resultobj;
30791 fail:
30792 return NULL;
30793}
30794
30795
c32bde28 30796static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30797 PyObject *resultobj = NULL;
d55e5bfc
RD
30798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30799 wxTreeItemId *arg2 = 0 ;
ae8162c8 30800 bool arg3 = (bool) true ;
d55e5bfc
RD
30801 size_t result;
30802 PyObject * obj0 = 0 ;
30803 PyObject * obj1 = 0 ;
30804 PyObject * obj2 = 0 ;
30805 char *kwnames[] = {
30806 (char *) "self",(char *) "item",(char *) "recursively", NULL
30807 };
30808
30809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30811 if (SWIG_arg_fail(1)) SWIG_fail;
30812 {
30813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30814 if (SWIG_arg_fail(2)) SWIG_fail;
30815 if (arg2 == NULL) {
30816 SWIG_null_ref("wxTreeItemId");
30817 }
30818 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30819 }
30820 if (obj2) {
093d3ff1 30821 {
7449af73 30822 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
30823 if (SWIG_arg_fail(3)) SWIG_fail;
30824 }
d55e5bfc
RD
30825 }
30826 {
30827 PyThreadState* __tstate = wxPyBeginAllowThreads();
30828 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
30829
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
093d3ff1 30833 {
7449af73 30834 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 30835 }
d55e5bfc
RD
30836 return resultobj;
30837 fail:
30838 return NULL;
30839}
30840
30841
c32bde28 30842static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30843 PyObject *resultobj = NULL;
d55e5bfc
RD
30844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30845 wxTreeItemId result;
30846 PyObject * obj0 = 0 ;
30847 char *kwnames[] = {
30848 (char *) "self", NULL
30849 };
30850
30851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
30852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
30857
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 {
30862 wxTreeItemId * resultptr;
7449af73 30863 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30865 }
30866 return resultobj;
30867 fail:
30868 return NULL;
30869}
30870
30871
c32bde28 30872static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30873 PyObject *resultobj = NULL;
d55e5bfc
RD
30874 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30875 wxTreeItemId result;
30876 PyObject * obj0 = 0 ;
30877 char *kwnames[] = {
30878 (char *) "self", NULL
30879 };
30880
30881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
30882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30884 {
30885 PyThreadState* __tstate = wxPyBeginAllowThreads();
30886 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
30887
30888 wxPyEndAllowThreads(__tstate);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 {
30892 wxTreeItemId * resultptr;
7449af73 30893 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30895 }
30896 return resultobj;
30897 fail:
30898 return NULL;
30899}
30900
30901
c32bde28 30902static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30903 PyObject *resultobj = NULL;
d55e5bfc
RD
30904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30905 PyObject *result;
30906 PyObject * obj0 = 0 ;
30907 char *kwnames[] = {
30908 (char *) "self", NULL
30909 };
30910
30911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
30912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30914 {
30915 PyThreadState* __tstate = wxPyBeginAllowThreads();
30916 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
30917
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 resultobj = result;
30922 return resultobj;
30923 fail:
30924 return NULL;
30925}
30926
30927
c32bde28 30928static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30929 PyObject *resultobj = NULL;
d55e5bfc
RD
30930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30931 wxTreeItemId *arg2 = 0 ;
30932 wxTreeItemId result;
30933 PyObject * obj0 = 0 ;
30934 PyObject * obj1 = 0 ;
30935 char *kwnames[] = {
30936 (char *) "self",(char *) "item", NULL
30937 };
30938
30939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30941 if (SWIG_arg_fail(1)) SWIG_fail;
30942 {
30943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30944 if (SWIG_arg_fail(2)) SWIG_fail;
30945 if (arg2 == NULL) {
30946 SWIG_null_ref("wxTreeItemId");
30947 }
30948 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30949 }
30950 {
30951 PyThreadState* __tstate = wxPyBeginAllowThreads();
30952 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
30953
30954 wxPyEndAllowThreads(__tstate);
30955 if (PyErr_Occurred()) SWIG_fail;
30956 }
30957 {
30958 wxTreeItemId * resultptr;
7449af73 30959 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
30960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30961 }
30962 return resultobj;
30963 fail:
30964 return NULL;
30965}
30966
30967
c32bde28 30968static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30969 PyObject *resultobj = NULL;
d55e5bfc
RD
30970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30971 wxTreeItemId *arg2 = 0 ;
30972 PyObject *result;
30973 PyObject * obj0 = 0 ;
30974 PyObject * obj1 = 0 ;
30975 char *kwnames[] = {
30976 (char *) "self",(char *) "item", NULL
30977 };
30978
30979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail;
30982 {
30983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30984 if (SWIG_arg_fail(2)) SWIG_fail;
30985 if (arg2 == NULL) {
30986 SWIG_null_ref("wxTreeItemId");
30987 }
30988 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30989 }
30990 {
30991 PyThreadState* __tstate = wxPyBeginAllowThreads();
30992 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
30993
30994 wxPyEndAllowThreads(__tstate);
30995 if (PyErr_Occurred()) SWIG_fail;
30996 }
30997 resultobj = result;
30998 return resultobj;
30999 fail:
31000 return NULL;
31001}
31002
31003
c32bde28 31004static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31005 PyObject *resultobj = NULL;
d55e5bfc
RD
31006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31007 wxTreeItemId *arg2 = 0 ;
31008 void *arg3 = (void *) 0 ;
31009 PyObject *result;
31010 PyObject * obj0 = 0 ;
31011 PyObject * obj1 = 0 ;
31012 PyObject * obj2 = 0 ;
31013 char *kwnames[] = {
31014 (char *) "self",(char *) "item",(char *) "cookie", NULL
31015 };
31016
31017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail;
31020 {
31021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31022 if (SWIG_arg_fail(2)) SWIG_fail;
31023 if (arg2 == NULL) {
31024 SWIG_null_ref("wxTreeItemId");
31025 }
31026 if (SWIG_arg_fail(2)) SWIG_fail;
31027 }
31028 {
7449af73 31029 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
093d3ff1
RD
31030 SWIG_arg_fail(3);SWIG_fail;
31031 }
d55e5bfc 31032 }
d55e5bfc
RD
31033 {
31034 PyThreadState* __tstate = wxPyBeginAllowThreads();
31035 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
31036
31037 wxPyEndAllowThreads(__tstate);
31038 if (PyErr_Occurred()) SWIG_fail;
31039 }
31040 resultobj = result;
31041 return resultobj;
31042 fail:
31043 return NULL;
31044}
31045
31046
c32bde28 31047static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31048 PyObject *resultobj = NULL;
d55e5bfc
RD
31049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31050 wxTreeItemId *arg2 = 0 ;
31051 wxTreeItemId result;
31052 PyObject * obj0 = 0 ;
31053 PyObject * obj1 = 0 ;
31054 char *kwnames[] = {
31055 (char *) "self",(char *) "item", NULL
31056 };
31057
31058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31060 if (SWIG_arg_fail(1)) SWIG_fail;
31061 {
31062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31063 if (SWIG_arg_fail(2)) SWIG_fail;
31064 if (arg2 == NULL) {
31065 SWIG_null_ref("wxTreeItemId");
31066 }
31067 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31068 }
31069 {
31070 PyThreadState* __tstate = wxPyBeginAllowThreads();
31071 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
31072
31073 wxPyEndAllowThreads(__tstate);
31074 if (PyErr_Occurred()) SWIG_fail;
31075 }
31076 {
31077 wxTreeItemId * resultptr;
7449af73 31078 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31080 }
31081 return resultobj;
31082 fail:
31083 return NULL;
31084}
31085
31086
c32bde28 31087static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31088 PyObject *resultobj = NULL;
d55e5bfc
RD
31089 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31090 wxTreeItemId *arg2 = 0 ;
31091 wxTreeItemId result;
31092 PyObject * obj0 = 0 ;
31093 PyObject * obj1 = 0 ;
31094 char *kwnames[] = {
31095 (char *) "self",(char *) "item", NULL
31096 };
31097
31098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail;
31101 {
31102 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31103 if (SWIG_arg_fail(2)) SWIG_fail;
31104 if (arg2 == NULL) {
31105 SWIG_null_ref("wxTreeItemId");
31106 }
31107 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31108 }
31109 {
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
31112
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 {
31117 wxTreeItemId * resultptr;
7449af73 31118 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31120 }
31121 return resultobj;
31122 fail:
31123 return NULL;
31124}
31125
31126
c32bde28 31127static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31128 PyObject *resultobj = NULL;
d55e5bfc
RD
31129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31130 wxTreeItemId *arg2 = 0 ;
31131 wxTreeItemId result;
31132 PyObject * obj0 = 0 ;
31133 PyObject * obj1 = 0 ;
31134 char *kwnames[] = {
31135 (char *) "self",(char *) "item", NULL
31136 };
31137
31138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail;
31141 {
31142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31143 if (SWIG_arg_fail(2)) SWIG_fail;
31144 if (arg2 == NULL) {
31145 SWIG_null_ref("wxTreeItemId");
31146 }
31147 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31148 }
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
31156 {
31157 wxTreeItemId * resultptr;
7449af73 31158 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31160 }
31161 return resultobj;
31162 fail:
31163 return NULL;
31164}
31165
31166
c32bde28 31167static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31168 PyObject *resultobj = NULL;
d55e5bfc
RD
31169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31170 wxTreeItemId result;
31171 PyObject * obj0 = 0 ;
31172 char *kwnames[] = {
31173 (char *) "self", NULL
31174 };
31175
31176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
31177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31179 {
31180 PyThreadState* __tstate = wxPyBeginAllowThreads();
31181 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
31182
31183 wxPyEndAllowThreads(__tstate);
31184 if (PyErr_Occurred()) SWIG_fail;
31185 }
31186 {
31187 wxTreeItemId * resultptr;
7449af73 31188 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31190 }
31191 return resultobj;
31192 fail:
31193 return NULL;
31194}
31195
31196
c32bde28 31197static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31198 PyObject *resultobj = NULL;
d55e5bfc
RD
31199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31200 wxTreeItemId *arg2 = 0 ;
31201 wxTreeItemId result;
31202 PyObject * obj0 = 0 ;
31203 PyObject * obj1 = 0 ;
31204 char *kwnames[] = {
31205 (char *) "self",(char *) "item", NULL
31206 };
31207
31208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31210 if (SWIG_arg_fail(1)) SWIG_fail;
31211 {
31212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31213 if (SWIG_arg_fail(2)) SWIG_fail;
31214 if (arg2 == NULL) {
31215 SWIG_null_ref("wxTreeItemId");
31216 }
31217 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31218 }
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 {
31227 wxTreeItemId * resultptr;
7449af73 31228 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31230 }
31231 return resultobj;
31232 fail:
31233 return NULL;
31234}
31235
31236
c32bde28 31237static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31238 PyObject *resultobj = NULL;
d55e5bfc
RD
31239 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31240 wxTreeItemId *arg2 = 0 ;
31241 wxTreeItemId result;
31242 PyObject * obj0 = 0 ;
31243 PyObject * obj1 = 0 ;
31244 char *kwnames[] = {
31245 (char *) "self",(char *) "item", NULL
31246 };
31247
31248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31250 if (SWIG_arg_fail(1)) SWIG_fail;
31251 {
31252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31253 if (SWIG_arg_fail(2)) SWIG_fail;
31254 if (arg2 == NULL) {
31255 SWIG_null_ref("wxTreeItemId");
31256 }
31257 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31258 }
31259 {
31260 PyThreadState* __tstate = wxPyBeginAllowThreads();
31261 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
31262
31263 wxPyEndAllowThreads(__tstate);
31264 if (PyErr_Occurred()) SWIG_fail;
31265 }
31266 {
31267 wxTreeItemId * resultptr;
7449af73 31268 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31270 }
31271 return resultobj;
31272 fail:
31273 return NULL;
31274}
31275
31276
c32bde28 31277static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31278 PyObject *resultobj = NULL;
d55e5bfc
RD
31279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31280 wxString *arg2 = 0 ;
31281 int arg3 = (int) -1 ;
31282 int arg4 = (int) -1 ;
31283 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
31284 wxTreeItemId result;
ae8162c8 31285 bool temp2 = false ;
d55e5bfc
RD
31286 PyObject * obj0 = 0 ;
31287 PyObject * obj1 = 0 ;
31288 PyObject * obj2 = 0 ;
31289 PyObject * obj3 = 0 ;
31290 PyObject * obj4 = 0 ;
31291 char *kwnames[] = {
31292 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31293 };
31294
31295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
31296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31298 {
31299 arg2 = wxString_in_helper(obj1);
31300 if (arg2 == NULL) SWIG_fail;
ae8162c8 31301 temp2 = true;
d55e5bfc
RD
31302 }
31303 if (obj2) {
093d3ff1 31304 {
7449af73 31305 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31306 if (SWIG_arg_fail(3)) SWIG_fail;
31307 }
d55e5bfc
RD
31308 }
31309 if (obj3) {
093d3ff1 31310 {
7449af73 31311 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31312 if (SWIG_arg_fail(4)) SWIG_fail;
31313 }
d55e5bfc
RD
31314 }
31315 if (obj4) {
7e08d4ef 31316 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31317 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
31318 }
31319 {
31320 PyThreadState* __tstate = wxPyBeginAllowThreads();
31321 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
31322
31323 wxPyEndAllowThreads(__tstate);
31324 if (PyErr_Occurred()) SWIG_fail;
31325 }
31326 {
31327 wxTreeItemId * resultptr;
7449af73 31328 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31330 }
31331 {
31332 if (temp2)
31333 delete arg2;
31334 }
31335 return resultobj;
31336 fail:
31337 {
31338 if (temp2)
31339 delete arg2;
31340 }
31341 return NULL;
31342}
31343
31344
c32bde28 31345static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31346 PyObject *resultobj = NULL;
d55e5bfc
RD
31347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31348 wxTreeItemId *arg2 = 0 ;
31349 wxString *arg3 = 0 ;
31350 int arg4 = (int) -1 ;
31351 int arg5 = (int) -1 ;
31352 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31353 wxTreeItemId result;
ae8162c8 31354 bool temp3 = false ;
d55e5bfc
RD
31355 PyObject * obj0 = 0 ;
31356 PyObject * obj1 = 0 ;
31357 PyObject * obj2 = 0 ;
31358 PyObject * obj3 = 0 ;
31359 PyObject * obj4 = 0 ;
31360 PyObject * obj5 = 0 ;
31361 char *kwnames[] = {
31362 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31363 };
31364
31365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31367 if (SWIG_arg_fail(1)) SWIG_fail;
31368 {
31369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31370 if (SWIG_arg_fail(2)) SWIG_fail;
31371 if (arg2 == NULL) {
31372 SWIG_null_ref("wxTreeItemId");
31373 }
31374 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31375 }
31376 {
31377 arg3 = wxString_in_helper(obj2);
31378 if (arg3 == NULL) SWIG_fail;
ae8162c8 31379 temp3 = true;
d55e5bfc
RD
31380 }
31381 if (obj3) {
093d3ff1 31382 {
7449af73 31383 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31384 if (SWIG_arg_fail(4)) SWIG_fail;
31385 }
d55e5bfc
RD
31386 }
31387 if (obj4) {
093d3ff1 31388 {
7449af73 31389 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31390 if (SWIG_arg_fail(5)) SWIG_fail;
31391 }
d55e5bfc
RD
31392 }
31393 if (obj5) {
7e08d4ef 31394 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31395 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
31396 }
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31400
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 {
31405 wxTreeItemId * resultptr;
7449af73 31406 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31408 }
31409 {
31410 if (temp3)
31411 delete arg3;
31412 }
31413 return resultobj;
31414 fail:
31415 {
31416 if (temp3)
31417 delete arg3;
31418 }
31419 return NULL;
31420}
31421
31422
c32bde28 31423static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31424 PyObject *resultobj = NULL;
d55e5bfc
RD
31425 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31426 wxTreeItemId *arg2 = 0 ;
31427 wxTreeItemId *arg3 = 0 ;
31428 wxString *arg4 = 0 ;
31429 int arg5 = (int) -1 ;
31430 int arg6 = (int) -1 ;
31431 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31432 wxTreeItemId result;
ae8162c8 31433 bool temp4 = false ;
d55e5bfc
RD
31434 PyObject * obj0 = 0 ;
31435 PyObject * obj1 = 0 ;
31436 PyObject * obj2 = 0 ;
31437 PyObject * obj3 = 0 ;
31438 PyObject * obj4 = 0 ;
31439 PyObject * obj5 = 0 ;
31440 PyObject * obj6 = 0 ;
31441 char *kwnames[] = {
31442 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31443 };
31444
31445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
31446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31447 if (SWIG_arg_fail(1)) SWIG_fail;
31448 {
31449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31450 if (SWIG_arg_fail(2)) SWIG_fail;
31451 if (arg2 == NULL) {
31452 SWIG_null_ref("wxTreeItemId");
31453 }
31454 if (SWIG_arg_fail(2)) SWIG_fail;
31455 }
31456 {
31457 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31458 if (SWIG_arg_fail(3)) SWIG_fail;
31459 if (arg3 == NULL) {
31460 SWIG_null_ref("wxTreeItemId");
31461 }
31462 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
31463 }
31464 {
31465 arg4 = wxString_in_helper(obj3);
31466 if (arg4 == NULL) SWIG_fail;
ae8162c8 31467 temp4 = true;
d55e5bfc
RD
31468 }
31469 if (obj4) {
093d3ff1 31470 {
7449af73 31471 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31472 if (SWIG_arg_fail(5)) SWIG_fail;
31473 }
d55e5bfc
RD
31474 }
31475 if (obj5) {
093d3ff1 31476 {
7449af73 31477 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
31478 if (SWIG_arg_fail(6)) SWIG_fail;
31479 }
d55e5bfc
RD
31480 }
31481 if (obj6) {
7e08d4ef 31482 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31483 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
31484 }
31485 {
31486 PyThreadState* __tstate = wxPyBeginAllowThreads();
31487 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31488
31489 wxPyEndAllowThreads(__tstate);
31490 if (PyErr_Occurred()) SWIG_fail;
31491 }
31492 {
31493 wxTreeItemId * resultptr;
7449af73 31494 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31496 }
31497 {
31498 if (temp4)
31499 delete arg4;
31500 }
31501 return resultobj;
31502 fail:
31503 {
31504 if (temp4)
31505 delete arg4;
31506 }
31507 return NULL;
31508}
31509
31510
c32bde28 31511static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31512 PyObject *resultobj = NULL;
d55e5bfc
RD
31513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31514 wxTreeItemId *arg2 = 0 ;
31515 size_t arg3 ;
31516 wxString *arg4 = 0 ;
31517 int arg5 = (int) -1 ;
31518 int arg6 = (int) -1 ;
31519 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31520 wxTreeItemId result;
ae8162c8 31521 bool temp4 = false ;
d55e5bfc
RD
31522 PyObject * obj0 = 0 ;
31523 PyObject * obj1 = 0 ;
31524 PyObject * obj2 = 0 ;
31525 PyObject * obj3 = 0 ;
31526 PyObject * obj4 = 0 ;
31527 PyObject * obj5 = 0 ;
31528 PyObject * obj6 = 0 ;
31529 char *kwnames[] = {
31530 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31531 };
31532
31533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
31534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail;
31536 {
31537 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31538 if (SWIG_arg_fail(2)) SWIG_fail;
31539 if (arg2 == NULL) {
31540 SWIG_null_ref("wxTreeItemId");
31541 }
31542 if (SWIG_arg_fail(2)) SWIG_fail;
31543 }
31544 {
7449af73 31545 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
31546 if (SWIG_arg_fail(3)) SWIG_fail;
31547 }
d55e5bfc
RD
31548 {
31549 arg4 = wxString_in_helper(obj3);
31550 if (arg4 == NULL) SWIG_fail;
ae8162c8 31551 temp4 = true;
d55e5bfc
RD
31552 }
31553 if (obj4) {
093d3ff1 31554 {
7449af73 31555 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31556 if (SWIG_arg_fail(5)) SWIG_fail;
31557 }
d55e5bfc
RD
31558 }
31559 if (obj5) {
093d3ff1 31560 {
7449af73 31561 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
31562 if (SWIG_arg_fail(6)) SWIG_fail;
31563 }
d55e5bfc
RD
31564 }
31565 if (obj6) {
7e08d4ef 31566 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31567 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
31568 }
31569 {
31570 PyThreadState* __tstate = wxPyBeginAllowThreads();
31571 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31572
31573 wxPyEndAllowThreads(__tstate);
31574 if (PyErr_Occurred()) SWIG_fail;
31575 }
31576 {
31577 wxTreeItemId * resultptr;
7449af73 31578 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31580 }
31581 {
31582 if (temp4)
31583 delete arg4;
31584 }
31585 return resultobj;
31586 fail:
31587 {
31588 if (temp4)
31589 delete arg4;
31590 }
31591 return NULL;
31592}
31593
31594
c32bde28 31595static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31596 PyObject *resultobj = NULL;
d55e5bfc
RD
31597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31598 wxTreeItemId *arg2 = 0 ;
31599 wxString *arg3 = 0 ;
31600 int arg4 = (int) -1 ;
31601 int arg5 = (int) -1 ;
31602 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31603 wxTreeItemId result;
ae8162c8 31604 bool temp3 = false ;
d55e5bfc
RD
31605 PyObject * obj0 = 0 ;
31606 PyObject * obj1 = 0 ;
31607 PyObject * obj2 = 0 ;
31608 PyObject * obj3 = 0 ;
31609 PyObject * obj4 = 0 ;
31610 PyObject * obj5 = 0 ;
31611 char *kwnames[] = {
31612 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31613 };
31614
31615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31617 if (SWIG_arg_fail(1)) SWIG_fail;
31618 {
31619 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31620 if (SWIG_arg_fail(2)) SWIG_fail;
31621 if (arg2 == NULL) {
31622 SWIG_null_ref("wxTreeItemId");
31623 }
31624 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31625 }
31626 {
31627 arg3 = wxString_in_helper(obj2);
31628 if (arg3 == NULL) SWIG_fail;
ae8162c8 31629 temp3 = true;
d55e5bfc
RD
31630 }
31631 if (obj3) {
093d3ff1 31632 {
7449af73 31633 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31634 if (SWIG_arg_fail(4)) SWIG_fail;
31635 }
d55e5bfc
RD
31636 }
31637 if (obj4) {
093d3ff1 31638 {
7449af73 31639 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31640 if (SWIG_arg_fail(5)) SWIG_fail;
31641 }
d55e5bfc
RD
31642 }
31643 if (obj5) {
7e08d4ef 31644 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31645 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
31646 }
31647 {
31648 PyThreadState* __tstate = wxPyBeginAllowThreads();
31649 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31650
31651 wxPyEndAllowThreads(__tstate);
31652 if (PyErr_Occurred()) SWIG_fail;
31653 }
31654 {
31655 wxTreeItemId * resultptr;
7449af73 31656 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
31657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31658 }
31659 {
31660 if (temp3)
31661 delete arg3;
31662 }
31663 return resultobj;
31664 fail:
31665 {
31666 if (temp3)
31667 delete arg3;
31668 }
31669 return NULL;
31670}
31671
31672
c32bde28 31673static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31674 PyObject *resultobj = NULL;
d55e5bfc
RD
31675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31676 wxTreeItemId *arg2 = 0 ;
31677 PyObject * obj0 = 0 ;
31678 PyObject * obj1 = 0 ;
31679 char *kwnames[] = {
31680 (char *) "self",(char *) "item", NULL
31681 };
31682
31683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31685 if (SWIG_arg_fail(1)) SWIG_fail;
31686 {
31687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31688 if (SWIG_arg_fail(2)) SWIG_fail;
31689 if (arg2 == NULL) {
31690 SWIG_null_ref("wxTreeItemId");
31691 }
31692 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31693 }
31694 {
31695 PyThreadState* __tstate = wxPyBeginAllowThreads();
31696 (arg1)->Delete((wxTreeItemId const &)*arg2);
31697
31698 wxPyEndAllowThreads(__tstate);
31699 if (PyErr_Occurred()) SWIG_fail;
31700 }
31701 Py_INCREF(Py_None); resultobj = Py_None;
31702 return resultobj;
31703 fail:
31704 return NULL;
31705}
31706
31707
c32bde28 31708static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31709 PyObject *resultobj = NULL;
d55e5bfc
RD
31710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31711 wxTreeItemId *arg2 = 0 ;
31712 PyObject * obj0 = 0 ;
31713 PyObject * obj1 = 0 ;
31714 char *kwnames[] = {
31715 (char *) "self",(char *) "item", NULL
31716 };
31717
31718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31720 if (SWIG_arg_fail(1)) SWIG_fail;
31721 {
31722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31723 if (SWIG_arg_fail(2)) SWIG_fail;
31724 if (arg2 == NULL) {
31725 SWIG_null_ref("wxTreeItemId");
31726 }
31727 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31728 }
31729 {
31730 PyThreadState* __tstate = wxPyBeginAllowThreads();
31731 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
31732
31733 wxPyEndAllowThreads(__tstate);
31734 if (PyErr_Occurred()) SWIG_fail;
31735 }
31736 Py_INCREF(Py_None); resultobj = Py_None;
31737 return resultobj;
31738 fail:
31739 return NULL;
31740}
31741
31742
c32bde28 31743static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31744 PyObject *resultobj = NULL;
d55e5bfc
RD
31745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31746 PyObject * obj0 = 0 ;
31747 char *kwnames[] = {
31748 (char *) "self", NULL
31749 };
31750
31751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
31752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31753 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31754 {
31755 PyThreadState* __tstate = wxPyBeginAllowThreads();
31756 (arg1)->DeleteAllItems();
31757
31758 wxPyEndAllowThreads(__tstate);
31759 if (PyErr_Occurred()) SWIG_fail;
31760 }
31761 Py_INCREF(Py_None); resultobj = Py_None;
31762 return resultobj;
31763 fail:
31764 return NULL;
31765}
31766
31767
c32bde28 31768static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31769 PyObject *resultobj = NULL;
d55e5bfc
RD
31770 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31771 wxTreeItemId *arg2 = 0 ;
31772 PyObject * obj0 = 0 ;
31773 PyObject * obj1 = 0 ;
31774 char *kwnames[] = {
31775 (char *) "self",(char *) "item", NULL
31776 };
31777
31778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail;
31781 {
31782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31783 if (SWIG_arg_fail(2)) SWIG_fail;
31784 if (arg2 == NULL) {
31785 SWIG_null_ref("wxTreeItemId");
31786 }
31787 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31788 }
31789 {
31790 PyThreadState* __tstate = wxPyBeginAllowThreads();
31791 (arg1)->Expand((wxTreeItemId const &)*arg2);
31792
31793 wxPyEndAllowThreads(__tstate);
31794 if (PyErr_Occurred()) SWIG_fail;
31795 }
31796 Py_INCREF(Py_None); resultobj = Py_None;
31797 return resultobj;
31798 fail:
31799 return NULL;
31800}
31801
31802
c32bde28 31803static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31804 PyObject *resultobj = NULL;
d55e5bfc
RD
31805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31806 wxTreeItemId *arg2 = 0 ;
31807 PyObject * obj0 = 0 ;
31808 PyObject * obj1 = 0 ;
31809 char *kwnames[] = {
31810 (char *) "self",(char *) "item", NULL
31811 };
31812
31813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31815 if (SWIG_arg_fail(1)) SWIG_fail;
31816 {
31817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31818 if (SWIG_arg_fail(2)) SWIG_fail;
31819 if (arg2 == NULL) {
31820 SWIG_null_ref("wxTreeItemId");
31821 }
31822 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31823 }
31824 {
31825 PyThreadState* __tstate = wxPyBeginAllowThreads();
31826 (arg1)->Collapse((wxTreeItemId const &)*arg2);
31827
31828 wxPyEndAllowThreads(__tstate);
31829 if (PyErr_Occurred()) SWIG_fail;
31830 }
31831 Py_INCREF(Py_None); resultobj = Py_None;
31832 return resultobj;
31833 fail:
31834 return NULL;
31835}
31836
31837
c32bde28 31838static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31839 PyObject *resultobj = NULL;
d55e5bfc
RD
31840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31841 wxTreeItemId *arg2 = 0 ;
31842 PyObject * obj0 = 0 ;
31843 PyObject * obj1 = 0 ;
31844 char *kwnames[] = {
31845 (char *) "self",(char *) "item", NULL
31846 };
31847
31848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail;
31851 {
31852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31853 if (SWIG_arg_fail(2)) SWIG_fail;
31854 if (arg2 == NULL) {
31855 SWIG_null_ref("wxTreeItemId");
31856 }
31857 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31858 }
31859 {
31860 PyThreadState* __tstate = wxPyBeginAllowThreads();
31861 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
31862
31863 wxPyEndAllowThreads(__tstate);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 }
31866 Py_INCREF(Py_None); resultobj = Py_None;
31867 return resultobj;
31868 fail:
31869 return NULL;
31870}
31871
31872
c32bde28 31873static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31874 PyObject *resultobj = NULL;
d55e5bfc
RD
31875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31876 wxTreeItemId *arg2 = 0 ;
31877 PyObject * obj0 = 0 ;
31878 PyObject * obj1 = 0 ;
31879 char *kwnames[] = {
31880 (char *) "self",(char *) "item", NULL
31881 };
31882
31883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31885 if (SWIG_arg_fail(1)) SWIG_fail;
31886 {
31887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31888 if (SWIG_arg_fail(2)) SWIG_fail;
31889 if (arg2 == NULL) {
31890 SWIG_null_ref("wxTreeItemId");
31891 }
31892 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31893 }
31894 {
31895 PyThreadState* __tstate = wxPyBeginAllowThreads();
31896 (arg1)->Toggle((wxTreeItemId const &)*arg2);
31897
31898 wxPyEndAllowThreads(__tstate);
31899 if (PyErr_Occurred()) SWIG_fail;
31900 }
31901 Py_INCREF(Py_None); resultobj = Py_None;
31902 return resultobj;
31903 fail:
31904 return NULL;
31905}
31906
31907
c32bde28 31908static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31909 PyObject *resultobj = NULL;
d55e5bfc
RD
31910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31911 PyObject * obj0 = 0 ;
31912 char *kwnames[] = {
31913 (char *) "self", NULL
31914 };
31915
31916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
31917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31918 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31919 {
31920 PyThreadState* __tstate = wxPyBeginAllowThreads();
31921 (arg1)->Unselect();
31922
31923 wxPyEndAllowThreads(__tstate);
31924 if (PyErr_Occurred()) SWIG_fail;
31925 }
31926 Py_INCREF(Py_None); resultobj = Py_None;
31927 return resultobj;
31928 fail:
31929 return NULL;
31930}
31931
31932
c32bde28 31933static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31934 PyObject *resultobj = NULL;
d55e5bfc
RD
31935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31936 wxTreeItemId *arg2 = 0 ;
31937 PyObject * obj0 = 0 ;
31938 PyObject * obj1 = 0 ;
31939 char *kwnames[] = {
31940 (char *) "self",(char *) "item", NULL
31941 };
31942
31943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31945 if (SWIG_arg_fail(1)) SWIG_fail;
31946 {
31947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31948 if (SWIG_arg_fail(2)) SWIG_fail;
31949 if (arg2 == NULL) {
31950 SWIG_null_ref("wxTreeItemId");
31951 }
31952 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31953 }
31954 {
31955 PyThreadState* __tstate = wxPyBeginAllowThreads();
31956 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
31957
31958 wxPyEndAllowThreads(__tstate);
31959 if (PyErr_Occurred()) SWIG_fail;
31960 }
31961 Py_INCREF(Py_None); resultobj = Py_None;
31962 return resultobj;
31963 fail:
31964 return NULL;
31965}
31966
31967
c32bde28 31968static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31969 PyObject *resultobj = NULL;
d55e5bfc
RD
31970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31971 PyObject * obj0 = 0 ;
31972 char *kwnames[] = {
31973 (char *) "self", NULL
31974 };
31975
31976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
31977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31979 {
31980 PyThreadState* __tstate = wxPyBeginAllowThreads();
31981 (arg1)->UnselectAll();
31982
31983 wxPyEndAllowThreads(__tstate);
31984 if (PyErr_Occurred()) SWIG_fail;
31985 }
31986 Py_INCREF(Py_None); resultobj = Py_None;
31987 return resultobj;
31988 fail:
31989 return NULL;
31990}
31991
31992
c32bde28 31993static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31994 PyObject *resultobj = NULL;
d55e5bfc
RD
31995 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31996 wxTreeItemId *arg2 = 0 ;
ae8162c8 31997 bool arg3 = (bool) true ;
d55e5bfc
RD
31998 PyObject * obj0 = 0 ;
31999 PyObject * obj1 = 0 ;
32000 PyObject * obj2 = 0 ;
32001 char *kwnames[] = {
32002 (char *) "self",(char *) "item",(char *) "select", NULL
32003 };
32004
32005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32007 if (SWIG_arg_fail(1)) SWIG_fail;
32008 {
32009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32010 if (SWIG_arg_fail(2)) SWIG_fail;
32011 if (arg2 == NULL) {
32012 SWIG_null_ref("wxTreeItemId");
32013 }
32014 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32015 }
32016 if (obj2) {
093d3ff1 32017 {
7449af73 32018 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32019 if (SWIG_arg_fail(3)) SWIG_fail;
32020 }
d55e5bfc
RD
32021 }
32022 {
32023 PyThreadState* __tstate = wxPyBeginAllowThreads();
32024 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
32025
32026 wxPyEndAllowThreads(__tstate);
32027 if (PyErr_Occurred()) SWIG_fail;
32028 }
32029 Py_INCREF(Py_None); resultobj = Py_None;
32030 return resultobj;
32031 fail:
32032 return NULL;
32033}
32034
32035
c32bde28 32036static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32037 PyObject *resultobj = NULL;
d55e5bfc
RD
32038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32039 wxTreeItemId *arg2 = 0 ;
32040 PyObject * obj0 = 0 ;
32041 PyObject * obj1 = 0 ;
32042 char *kwnames[] = {
32043 (char *) "self",(char *) "item", NULL
32044 };
32045
32046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32048 if (SWIG_arg_fail(1)) SWIG_fail;
32049 {
32050 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32051 if (SWIG_arg_fail(2)) SWIG_fail;
32052 if (arg2 == NULL) {
32053 SWIG_null_ref("wxTreeItemId");
32054 }
32055 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32056 }
32057 {
32058 PyThreadState* __tstate = wxPyBeginAllowThreads();
32059 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
32060
32061 wxPyEndAllowThreads(__tstate);
32062 if (PyErr_Occurred()) SWIG_fail;
32063 }
32064 Py_INCREF(Py_None); resultobj = Py_None;
32065 return resultobj;
32066 fail:
32067 return NULL;
32068}
32069
32070
c32bde28 32071static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32072 PyObject *resultobj = NULL;
d55e5bfc
RD
32073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32074 wxTreeItemId *arg2 = 0 ;
32075 PyObject * obj0 = 0 ;
32076 PyObject * obj1 = 0 ;
32077 char *kwnames[] = {
32078 (char *) "self",(char *) "item", NULL
32079 };
32080
32081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32083 if (SWIG_arg_fail(1)) SWIG_fail;
32084 {
32085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32086 if (SWIG_arg_fail(2)) SWIG_fail;
32087 if (arg2 == NULL) {
32088 SWIG_null_ref("wxTreeItemId");
32089 }
32090 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32091 }
32092 {
32093 PyThreadState* __tstate = wxPyBeginAllowThreads();
32094 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
32095
32096 wxPyEndAllowThreads(__tstate);
32097 if (PyErr_Occurred()) SWIG_fail;
32098 }
32099 Py_INCREF(Py_None); resultobj = Py_None;
32100 return resultobj;
32101 fail:
32102 return NULL;
32103}
32104
32105
c32bde28 32106static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32107 PyObject *resultobj = NULL;
d55e5bfc
RD
32108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32109 wxTreeItemId *arg2 = 0 ;
32110 PyObject * obj0 = 0 ;
32111 PyObject * obj1 = 0 ;
32112 char *kwnames[] = {
32113 (char *) "self",(char *) "item", NULL
32114 };
32115
32116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32118 if (SWIG_arg_fail(1)) SWIG_fail;
32119 {
32120 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32121 if (SWIG_arg_fail(2)) SWIG_fail;
32122 if (arg2 == NULL) {
32123 SWIG_null_ref("wxTreeItemId");
32124 }
32125 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32126 }
32127 {
32128 PyThreadState* __tstate = wxPyBeginAllowThreads();
32129 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
32130
32131 wxPyEndAllowThreads(__tstate);
32132 if (PyErr_Occurred()) SWIG_fail;
32133 }
32134 Py_INCREF(Py_None); resultobj = Py_None;
32135 return resultobj;
32136 fail:
32137 return NULL;
32138}
32139
32140
c32bde28 32141static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32142 PyObject *resultobj = NULL;
d55e5bfc
RD
32143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32144 wxTreeItemId *arg2 = 0 ;
32145 PyObject * obj0 = 0 ;
32146 PyObject * obj1 = 0 ;
32147 char *kwnames[] = {
32148 (char *) "self",(char *) "item", NULL
32149 };
32150
32151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32153 if (SWIG_arg_fail(1)) SWIG_fail;
32154 {
32155 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32156 if (SWIG_arg_fail(2)) SWIG_fail;
32157 if (arg2 == NULL) {
32158 SWIG_null_ref("wxTreeItemId");
32159 }
32160 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32161 }
32162 {
32163 PyThreadState* __tstate = wxPyBeginAllowThreads();
32164 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
32165
32166 wxPyEndAllowThreads(__tstate);
32167 if (PyErr_Occurred()) SWIG_fail;
32168 }
32169 Py_INCREF(Py_None); resultobj = Py_None;
32170 return resultobj;
32171 fail:
32172 return NULL;
32173}
32174
32175
c32bde28 32176static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32177 PyObject *resultobj = NULL;
d55e5bfc
RD
32178 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32179 wxTextCtrl *result;
32180 PyObject * obj0 = 0 ;
32181 char *kwnames[] = {
32182 (char *) "self", NULL
32183 };
32184
32185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
32186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32188 {
32189 PyThreadState* __tstate = wxPyBeginAllowThreads();
32190 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
32191
32192 wxPyEndAllowThreads(__tstate);
32193 if (PyErr_Occurred()) SWIG_fail;
32194 }
32195 {
412d302d 32196 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32197 }
32198 return resultobj;
32199 fail:
32200 return NULL;
32201}
32202
32203
c32bde28 32204static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32205 PyObject *resultobj = NULL;
d55e5bfc
RD
32206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32207 wxTreeItemId *arg2 = 0 ;
ae8162c8 32208 bool arg3 = (bool) false ;
d55e5bfc
RD
32209 PyObject * obj0 = 0 ;
32210 PyObject * obj1 = 0 ;
32211 PyObject * obj2 = 0 ;
32212 char *kwnames[] = {
32213 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
32214 };
32215
32216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32218 if (SWIG_arg_fail(1)) SWIG_fail;
32219 {
32220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32221 if (SWIG_arg_fail(2)) SWIG_fail;
32222 if (arg2 == NULL) {
32223 SWIG_null_ref("wxTreeItemId");
32224 }
32225 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32226 }
32227 if (obj2) {
093d3ff1 32228 {
7449af73 32229 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32230 if (SWIG_arg_fail(3)) SWIG_fail;
32231 }
d55e5bfc
RD
32232 }
32233 {
32234 PyThreadState* __tstate = wxPyBeginAllowThreads();
32235 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
32236
32237 wxPyEndAllowThreads(__tstate);
32238 if (PyErr_Occurred()) SWIG_fail;
32239 }
32240 Py_INCREF(Py_None); resultobj = Py_None;
32241 return resultobj;
32242 fail:
32243 return NULL;
32244}
32245
32246
c32bde28 32247static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32248 PyObject *resultobj = NULL;
d55e5bfc
RD
32249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32250 wxTreeItemId *arg2 = 0 ;
32251 PyObject * obj0 = 0 ;
32252 PyObject * obj1 = 0 ;
32253 char *kwnames[] = {
32254 (char *) "self",(char *) "item", NULL
32255 };
32256
32257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail;
32260 {
32261 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32262 if (SWIG_arg_fail(2)) SWIG_fail;
32263 if (arg2 == NULL) {
32264 SWIG_null_ref("wxTreeItemId");
32265 }
32266 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32267 }
32268 {
32269 PyThreadState* __tstate = wxPyBeginAllowThreads();
32270 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
32271
32272 wxPyEndAllowThreads(__tstate);
32273 if (PyErr_Occurred()) SWIG_fail;
32274 }
32275 Py_INCREF(Py_None); resultobj = Py_None;
32276 return resultobj;
32277 fail:
32278 return NULL;
32279}
32280
32281
c32bde28 32282static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32283 PyObject *resultobj = NULL;
d55e5bfc
RD
32284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32285 wxPoint *arg2 = 0 ;
32286 int *arg3 = 0 ;
32287 wxTreeItemId result;
32288 wxPoint temp2 ;
32289 int temp3 ;
c32bde28 32290 int res3 = 0 ;
d55e5bfc
RD
32291 PyObject * obj0 = 0 ;
32292 PyObject * obj1 = 0 ;
32293 char *kwnames[] = {
32294 (char *) "self",(char *) "point", NULL
32295 };
32296
c32bde28 32297 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32301 {
32302 arg2 = &temp2;
32303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32304 }
32305 {
32306 PyThreadState* __tstate = wxPyBeginAllowThreads();
32307 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
32308
32309 wxPyEndAllowThreads(__tstate);
32310 if (PyErr_Occurred()) SWIG_fail;
32311 }
32312 {
32313 wxTreeItemId * resultptr;
7449af73 32314 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
32315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32316 }
c32bde28
RD
32317 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32318 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32319 return resultobj;
32320 fail:
32321 return NULL;
32322}
32323
32324
c32bde28 32325static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32326 PyObject *resultobj = NULL;
d55e5bfc
RD
32327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32328 wxTreeItemId *arg2 = 0 ;
ae8162c8 32329 bool arg3 = (bool) false ;
d55e5bfc
RD
32330 PyObject *result;
32331 PyObject * obj0 = 0 ;
32332 PyObject * obj1 = 0 ;
32333 PyObject * obj2 = 0 ;
32334 char *kwnames[] = {
32335 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32336 };
32337
32338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32340 if (SWIG_arg_fail(1)) SWIG_fail;
32341 {
32342 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32343 if (SWIG_arg_fail(2)) SWIG_fail;
32344 if (arg2 == NULL) {
32345 SWIG_null_ref("wxTreeItemId");
32346 }
32347 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32348 }
32349 if (obj2) {
093d3ff1 32350 {
7449af73 32351 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32352 if (SWIG_arg_fail(3)) SWIG_fail;
32353 }
d55e5bfc
RD
32354 }
32355 {
32356 PyThreadState* __tstate = wxPyBeginAllowThreads();
32357 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
32358
32359 wxPyEndAllowThreads(__tstate);
32360 if (PyErr_Occurred()) SWIG_fail;
32361 }
32362 resultobj = result;
32363 return resultobj;
32364 fail:
32365 return NULL;
32366}
32367
32368
c32bde28 32369static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32370 PyObject *resultobj = NULL;
110da5b0
RD
32371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32372 wxTreeItemId *arg2 = 0 ;
32373 int arg3 ;
32374 PyObject * obj0 = 0 ;
32375 PyObject * obj1 = 0 ;
32376 PyObject * obj2 = 0 ;
32377 char *kwnames[] = {
32378 (char *) "self",(char *) "node",(char *) "state", NULL
32379 };
32380
32381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32383 if (SWIG_arg_fail(1)) SWIG_fail;
32384 {
32385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32386 if (SWIG_arg_fail(2)) SWIG_fail;
32387 if (arg2 == NULL) {
32388 SWIG_null_ref("wxTreeItemId");
32389 }
32390 if (SWIG_arg_fail(2)) SWIG_fail;
32391 }
32392 {
7449af73 32393 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 32394 if (SWIG_arg_fail(3)) SWIG_fail;
110da5b0 32395 }
110da5b0
RD
32396 {
32397 PyThreadState* __tstate = wxPyBeginAllowThreads();
32398 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
32399
32400 wxPyEndAllowThreads(__tstate);
32401 if (PyErr_Occurred()) SWIG_fail;
32402 }
32403 Py_INCREF(Py_None); resultobj = Py_None;
32404 return resultobj;
32405 fail:
32406 return NULL;
32407}
32408
32409
c32bde28 32410static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32411 PyObject *resultobj = NULL;
110da5b0
RD
32412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32413 wxTreeItemId *arg2 = 0 ;
32414 int result;
32415 PyObject * obj0 = 0 ;
32416 PyObject * obj1 = 0 ;
32417 char *kwnames[] = {
32418 (char *) "self",(char *) "node", NULL
32419 };
32420
32421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail;
32424 {
32425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32426 if (SWIG_arg_fail(2)) SWIG_fail;
32427 if (arg2 == NULL) {
32428 SWIG_null_ref("wxTreeItemId");
32429 }
32430 if (SWIG_arg_fail(2)) SWIG_fail;
110da5b0
RD
32431 }
32432 {
32433 PyThreadState* __tstate = wxPyBeginAllowThreads();
32434 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
32435
32436 wxPyEndAllowThreads(__tstate);
32437 if (PyErr_Occurred()) SWIG_fail;
32438 }
093d3ff1 32439 {
7449af73 32440 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32441 }
110da5b0
RD
32442 return resultobj;
32443 fail:
32444 return NULL;
32445}
32446
32447
c32bde28 32448static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32449 PyObject *resultobj = NULL;
093d3ff1 32450 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
32451 wxVisualAttributes result;
32452 PyObject * obj0 = 0 ;
32453 char *kwnames[] = {
32454 (char *) "variant", NULL
32455 };
32456
32457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32458 if (obj0) {
093d3ff1 32459 {
7449af73 32460 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
32461 if (SWIG_arg_fail(1)) SWIG_fail;
32462 }
d55e5bfc
RD
32463 }
32464 {
19272049 32465 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 32466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 32467 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
d55e5bfc
RD
32468
32469 wxPyEndAllowThreads(__tstate);
110da5b0 32470 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32471 }
32472 {
32473 wxVisualAttributes * resultptr;
7449af73 32474 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
d55e5bfc
RD
32475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32476 }
32477 return resultobj;
32478 fail:
32479 return NULL;
32480}
32481
32482
c32bde28 32483static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32484 PyObject *obj;
32485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32486 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
32487 Py_INCREF(obj);
32488 return Py_BuildValue((char *)"");
32489}
c32bde28 32490static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
32491 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
32492 return 1;
32493}
32494
32495
093d3ff1 32496static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
7449af73 32497 PyObject *pyobj = NULL;
d55e5bfc
RD
32498
32499 {
32500#if wxUSE_UNICODE
32501 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32502#else
32503 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32504#endif
32505 }
32506 return pyobj;
32507}
32508
32509
c32bde28 32510static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32511 PyObject *resultobj = NULL;
d55e5bfc
RD
32512 wxWindow *arg1 = (wxWindow *) 0 ;
32513 int arg2 = (int) (int)-1 ;
32514 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
32515 wxString *arg3 = (wxString *) &arg3_defvalue ;
32516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32518 wxSize const &arg5_defvalue = wxDefaultSize ;
32519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32520 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32521 wxString const &arg7_defvalue = wxPyEmptyString ;
32522 wxString *arg7 = (wxString *) &arg7_defvalue ;
32523 int arg8 = (int) 0 ;
32524 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
32525 wxString *arg9 = (wxString *) &arg9_defvalue ;
32526 wxGenericDirCtrl *result;
ae8162c8 32527 bool temp3 = false ;
d55e5bfc
RD
32528 wxPoint temp4 ;
32529 wxSize temp5 ;
ae8162c8
RD
32530 bool temp7 = false ;
32531 bool temp9 = false ;
d55e5bfc
RD
32532 PyObject * obj0 = 0 ;
32533 PyObject * obj1 = 0 ;
32534 PyObject * obj2 = 0 ;
32535 PyObject * obj3 = 0 ;
32536 PyObject * obj4 = 0 ;
32537 PyObject * obj5 = 0 ;
32538 PyObject * obj6 = 0 ;
32539 PyObject * obj7 = 0 ;
32540 PyObject * obj8 = 0 ;
32541 char *kwnames[] = {
32542 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32543 };
32544
32545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
32546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32547 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32548 if (obj1) {
093d3ff1 32549 {
7449af73 32550 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
32551 if (SWIG_arg_fail(2)) SWIG_fail;
32552 }
d55e5bfc
RD
32553 }
32554 if (obj2) {
32555 {
32556 arg3 = wxString_in_helper(obj2);
32557 if (arg3 == NULL) SWIG_fail;
ae8162c8 32558 temp3 = true;
d55e5bfc
RD
32559 }
32560 }
32561 if (obj3) {
32562 {
32563 arg4 = &temp4;
32564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32565 }
32566 }
32567 if (obj4) {
32568 {
32569 arg5 = &temp5;
32570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32571 }
32572 }
32573 if (obj5) {
093d3ff1 32574 {
7449af73 32575 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
32576 if (SWIG_arg_fail(6)) SWIG_fail;
32577 }
d55e5bfc
RD
32578 }
32579 if (obj6) {
32580 {
32581 arg7 = wxString_in_helper(obj6);
32582 if (arg7 == NULL) SWIG_fail;
ae8162c8 32583 temp7 = true;
d55e5bfc
RD
32584 }
32585 }
32586 if (obj7) {
093d3ff1 32587 {
7449af73 32588 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
32589 if (SWIG_arg_fail(8)) SWIG_fail;
32590 }
d55e5bfc
RD
32591 }
32592 if (obj8) {
32593 {
32594 arg9 = wxString_in_helper(obj8);
32595 if (arg9 == NULL) SWIG_fail;
ae8162c8 32596 temp9 = true;
d55e5bfc
RD
32597 }
32598 }
32599 {
0439c23b 32600 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32601 PyThreadState* __tstate = wxPyBeginAllowThreads();
32602 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
32603
32604 wxPyEndAllowThreads(__tstate);
110da5b0 32605 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32606 }
32607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32608 {
32609 if (temp3)
32610 delete arg3;
32611 }
32612 {
32613 if (temp7)
32614 delete arg7;
32615 }
32616 {
32617 if (temp9)
32618 delete arg9;
32619 }
32620 return resultobj;
32621 fail:
32622 {
32623 if (temp3)
32624 delete arg3;
32625 }
32626 {
32627 if (temp7)
32628 delete arg7;
32629 }
32630 {
32631 if (temp9)
32632 delete arg9;
32633 }
32634 return NULL;
32635}
32636
32637
c32bde28 32638static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32639 PyObject *resultobj = NULL;
d55e5bfc
RD
32640 wxGenericDirCtrl *result;
32641 char *kwnames[] = {
32642 NULL
32643 };
32644
32645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
32646 {
0439c23b 32647 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32648 PyThreadState* __tstate = wxPyBeginAllowThreads();
32649 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
32650
32651 wxPyEndAllowThreads(__tstate);
110da5b0 32652 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32653 }
32654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32655 return resultobj;
32656 fail:
32657 return NULL;
32658}
32659
32660
c32bde28 32661static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32662 PyObject *resultobj = NULL;
d55e5bfc
RD
32663 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32664 wxWindow *arg2 = (wxWindow *) 0 ;
32665 int arg3 = (int) (int)-1 ;
32666 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
32667 wxString *arg4 = (wxString *) &arg4_defvalue ;
32668 wxPoint const &arg5_defvalue = wxDefaultPosition ;
32669 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
32670 wxSize const &arg6_defvalue = wxDefaultSize ;
32671 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
32672 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32673 wxString const &arg8_defvalue = wxPyEmptyString ;
32674 wxString *arg8 = (wxString *) &arg8_defvalue ;
32675 int arg9 = (int) 0 ;
32676 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
32677 wxString *arg10 = (wxString *) &arg10_defvalue ;
32678 bool result;
ae8162c8 32679 bool temp4 = false ;
d55e5bfc
RD
32680 wxPoint temp5 ;
32681 wxSize temp6 ;
ae8162c8
RD
32682 bool temp8 = false ;
32683 bool temp10 = false ;
d55e5bfc
RD
32684 PyObject * obj0 = 0 ;
32685 PyObject * obj1 = 0 ;
32686 PyObject * obj2 = 0 ;
32687 PyObject * obj3 = 0 ;
32688 PyObject * obj4 = 0 ;
32689 PyObject * obj5 = 0 ;
32690 PyObject * obj6 = 0 ;
32691 PyObject * obj7 = 0 ;
32692 PyObject * obj8 = 0 ;
32693 PyObject * obj9 = 0 ;
32694 char *kwnames[] = {
32695 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32696 };
32697
32698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
32699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32700 if (SWIG_arg_fail(1)) SWIG_fail;
32701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32702 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 32703 if (obj2) {
093d3ff1 32704 {
7449af73 32705 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
32706 if (SWIG_arg_fail(3)) SWIG_fail;
32707 }
d55e5bfc
RD
32708 }
32709 if (obj3) {
32710 {
32711 arg4 = wxString_in_helper(obj3);
32712 if (arg4 == NULL) SWIG_fail;
ae8162c8 32713 temp4 = true;
d55e5bfc
RD
32714 }
32715 }
32716 if (obj4) {
32717 {
32718 arg5 = &temp5;
32719 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
32720 }
32721 }
32722 if (obj5) {
32723 {
32724 arg6 = &temp6;
32725 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
32726 }
32727 }
32728 if (obj6) {
093d3ff1 32729 {
7449af73 32730 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
32731 if (SWIG_arg_fail(7)) SWIG_fail;
32732 }
d55e5bfc
RD
32733 }
32734 if (obj7) {
32735 {
32736 arg8 = wxString_in_helper(obj7);
32737 if (arg8 == NULL) SWIG_fail;
ae8162c8 32738 temp8 = true;
d55e5bfc
RD
32739 }
32740 }
32741 if (obj8) {
093d3ff1 32742 {
7449af73 32743 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
32744 if (SWIG_arg_fail(9)) SWIG_fail;
32745 }
d55e5bfc
RD
32746 }
32747 if (obj9) {
32748 {
32749 arg10 = wxString_in_helper(obj9);
32750 if (arg10 == NULL) SWIG_fail;
ae8162c8 32751 temp10 = true;
d55e5bfc
RD
32752 }
32753 }
32754 {
32755 PyThreadState* __tstate = wxPyBeginAllowThreads();
32756 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
32757
32758 wxPyEndAllowThreads(__tstate);
32759 if (PyErr_Occurred()) SWIG_fail;
32760 }
32761 {
32762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32763 }
32764 {
32765 if (temp4)
32766 delete arg4;
32767 }
32768 {
32769 if (temp8)
32770 delete arg8;
32771 }
32772 {
32773 if (temp10)
32774 delete arg10;
32775 }
32776 return resultobj;
32777 fail:
32778 {
32779 if (temp4)
32780 delete arg4;
32781 }
32782 {
32783 if (temp8)
32784 delete arg8;
32785 }
32786 {
32787 if (temp10)
32788 delete arg10;
32789 }
32790 return NULL;
32791}
32792
32793
c32bde28 32794static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32795 PyObject *resultobj = NULL;
d55e5bfc
RD
32796 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32797 wxString *arg2 = 0 ;
32798 bool result;
ae8162c8 32799 bool temp2 = false ;
d55e5bfc
RD
32800 PyObject * obj0 = 0 ;
32801 PyObject * obj1 = 0 ;
32802 char *kwnames[] = {
32803 (char *) "self",(char *) "path", NULL
32804 };
32805
32806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32809 {
32810 arg2 = wxString_in_helper(obj1);
32811 if (arg2 == NULL) SWIG_fail;
ae8162c8 32812 temp2 = true;
d55e5bfc
RD
32813 }
32814 {
32815 PyThreadState* __tstate = wxPyBeginAllowThreads();
32816 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
32817
32818 wxPyEndAllowThreads(__tstate);
32819 if (PyErr_Occurred()) SWIG_fail;
32820 }
32821 {
32822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32823 }
32824 {
32825 if (temp2)
32826 delete arg2;
32827 }
32828 return resultobj;
32829 fail:
32830 {
32831 if (temp2)
32832 delete arg2;
32833 }
32834 return NULL;
32835}
32836
32837
c32bde28 32838static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32839 PyObject *resultobj = NULL;
d55e5bfc
RD
32840 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32841 wxString result;
32842 PyObject * obj0 = 0 ;
32843 char *kwnames[] = {
32844 (char *) "self", NULL
32845 };
32846
32847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
32848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32850 {
32851 PyThreadState* __tstate = wxPyBeginAllowThreads();
32852 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
32853
32854 wxPyEndAllowThreads(__tstate);
32855 if (PyErr_Occurred()) SWIG_fail;
32856 }
32857 {
32858#if wxUSE_UNICODE
32859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32860#else
32861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32862#endif
32863 }
32864 return resultobj;
32865 fail:
32866 return NULL;
32867}
32868
32869
c32bde28 32870static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32871 PyObject *resultobj = NULL;
d55e5bfc
RD
32872 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32873 wxString *arg2 = 0 ;
ae8162c8 32874 bool temp2 = false ;
d55e5bfc
RD
32875 PyObject * obj0 = 0 ;
32876 PyObject * obj1 = 0 ;
32877 char *kwnames[] = {
32878 (char *) "self",(char *) "path", NULL
32879 };
32880
32881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32884 {
32885 arg2 = wxString_in_helper(obj1);
32886 if (arg2 == NULL) SWIG_fail;
ae8162c8 32887 temp2 = true;
d55e5bfc
RD
32888 }
32889 {
32890 PyThreadState* __tstate = wxPyBeginAllowThreads();
32891 (arg1)->SetDefaultPath((wxString const &)*arg2);
32892
32893 wxPyEndAllowThreads(__tstate);
32894 if (PyErr_Occurred()) SWIG_fail;
32895 }
32896 Py_INCREF(Py_None); resultobj = Py_None;
32897 {
32898 if (temp2)
32899 delete arg2;
32900 }
32901 return resultobj;
32902 fail:
32903 {
32904 if (temp2)
32905 delete arg2;
32906 }
32907 return NULL;
32908}
32909
32910
c32bde28 32911static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32912 PyObject *resultobj = NULL;
d55e5bfc
RD
32913 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32914 wxString result;
32915 PyObject * obj0 = 0 ;
32916 char *kwnames[] = {
32917 (char *) "self", NULL
32918 };
32919
32920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
32921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32923 {
32924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32925 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
32926
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
32930 {
32931#if wxUSE_UNICODE
32932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32933#else
32934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32935#endif
32936 }
32937 return resultobj;
32938 fail:
32939 return NULL;
32940}
32941
32942
c32bde28 32943static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32944 PyObject *resultobj = NULL;
d55e5bfc
RD
32945 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32946 wxString result;
32947 PyObject * obj0 = 0 ;
32948 char *kwnames[] = {
32949 (char *) "self", NULL
32950 };
32951
32952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
32953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32955 {
32956 PyThreadState* __tstate = wxPyBeginAllowThreads();
32957 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
32958
32959 wxPyEndAllowThreads(__tstate);
32960 if (PyErr_Occurred()) SWIG_fail;
32961 }
32962 {
32963#if wxUSE_UNICODE
32964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32965#else
32966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32967#endif
32968 }
32969 return resultobj;
32970 fail:
32971 return NULL;
32972}
32973
32974
c32bde28 32975static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32976 PyObject *resultobj = NULL;
d55e5bfc
RD
32977 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32978 wxString *arg2 = 0 ;
ae8162c8 32979 bool temp2 = false ;
d55e5bfc
RD
32980 PyObject * obj0 = 0 ;
32981 PyObject * obj1 = 0 ;
32982 char *kwnames[] = {
32983 (char *) "self",(char *) "path", NULL
32984 };
32985
32986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32989 {
32990 arg2 = wxString_in_helper(obj1);
32991 if (arg2 == NULL) SWIG_fail;
ae8162c8 32992 temp2 = true;
d55e5bfc
RD
32993 }
32994 {
32995 PyThreadState* __tstate = wxPyBeginAllowThreads();
32996 (arg1)->SetPath((wxString const &)*arg2);
32997
32998 wxPyEndAllowThreads(__tstate);
32999 if (PyErr_Occurred()) SWIG_fail;
33000 }
33001 Py_INCREF(Py_None); resultobj = Py_None;
33002 {
33003 if (temp2)
33004 delete arg2;
33005 }
33006 return resultobj;
33007 fail:
33008 {
33009 if (temp2)
33010 delete arg2;
33011 }
33012 return NULL;
33013}
33014
33015
c32bde28 33016static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33017 PyObject *resultobj = NULL;
d55e5bfc
RD
33018 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33019 bool arg2 ;
33020 PyObject * obj0 = 0 ;
33021 PyObject * obj1 = 0 ;
33022 char *kwnames[] = {
33023 (char *) "self",(char *) "show", NULL
33024 };
33025
33026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33028 if (SWIG_arg_fail(1)) SWIG_fail;
33029 {
7449af73 33030 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
33031 if (SWIG_arg_fail(2)) SWIG_fail;
33032 }
d55e5bfc
RD
33033 {
33034 PyThreadState* __tstate = wxPyBeginAllowThreads();
33035 (arg1)->ShowHidden(arg2);
33036
33037 wxPyEndAllowThreads(__tstate);
33038 if (PyErr_Occurred()) SWIG_fail;
33039 }
33040 Py_INCREF(Py_None); resultobj = Py_None;
33041 return resultobj;
33042 fail:
33043 return NULL;
33044}
33045
33046
c32bde28 33047static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33048 PyObject *resultobj = NULL;
d55e5bfc
RD
33049 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33050 bool result;
33051 PyObject * obj0 = 0 ;
33052 char *kwnames[] = {
33053 (char *) "self", NULL
33054 };
33055
33056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
33057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33059 {
33060 PyThreadState* __tstate = wxPyBeginAllowThreads();
33061 result = (bool)(arg1)->GetShowHidden();
33062
33063 wxPyEndAllowThreads(__tstate);
33064 if (PyErr_Occurred()) SWIG_fail;
33065 }
33066 {
33067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33068 }
33069 return resultobj;
33070 fail:
33071 return NULL;
33072}
33073
33074
c32bde28 33075static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33076 PyObject *resultobj = NULL;
d55e5bfc
RD
33077 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33078 wxString result;
33079 PyObject * obj0 = 0 ;
33080 char *kwnames[] = {
33081 (char *) "self", NULL
33082 };
33083
33084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
33085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33087 {
33088 PyThreadState* __tstate = wxPyBeginAllowThreads();
33089 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
33090
33091 wxPyEndAllowThreads(__tstate);
33092 if (PyErr_Occurred()) SWIG_fail;
33093 }
33094 {
33095#if wxUSE_UNICODE
33096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33097#else
33098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33099#endif
33100 }
33101 return resultobj;
33102 fail:
33103 return NULL;
33104}
33105
33106
c32bde28 33107static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33108 PyObject *resultobj = NULL;
d55e5bfc
RD
33109 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33110 wxString *arg2 = 0 ;
ae8162c8 33111 bool temp2 = false ;
d55e5bfc
RD
33112 PyObject * obj0 = 0 ;
33113 PyObject * obj1 = 0 ;
33114 char *kwnames[] = {
33115 (char *) "self",(char *) "filter", NULL
33116 };
33117
33118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33121 {
33122 arg2 = wxString_in_helper(obj1);
33123 if (arg2 == NULL) SWIG_fail;
ae8162c8 33124 temp2 = true;
d55e5bfc
RD
33125 }
33126 {
33127 PyThreadState* __tstate = wxPyBeginAllowThreads();
33128 (arg1)->SetFilter((wxString const &)*arg2);
33129
33130 wxPyEndAllowThreads(__tstate);
33131 if (PyErr_Occurred()) SWIG_fail;
33132 }
33133 Py_INCREF(Py_None); resultobj = Py_None;
33134 {
33135 if (temp2)
33136 delete arg2;
33137 }
33138 return resultobj;
33139 fail:
33140 {
33141 if (temp2)
33142 delete arg2;
33143 }
33144 return NULL;
33145}
33146
33147
c32bde28 33148static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33149 PyObject *resultobj = NULL;
d55e5bfc
RD
33150 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33151 int result;
33152 PyObject * obj0 = 0 ;
33153 char *kwnames[] = {
33154 (char *) "self", NULL
33155 };
33156
33157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
33158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33159 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33160 {
33161 PyThreadState* __tstate = wxPyBeginAllowThreads();
33162 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
33163
33164 wxPyEndAllowThreads(__tstate);
33165 if (PyErr_Occurred()) SWIG_fail;
33166 }
093d3ff1 33167 {
7449af73 33168 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 33169 }
d55e5bfc
RD
33170 return resultobj;
33171 fail:
33172 return NULL;
33173}
33174
33175
c32bde28 33176static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33177 PyObject *resultobj = NULL;
d55e5bfc
RD
33178 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33179 int arg2 ;
33180 PyObject * obj0 = 0 ;
33181 PyObject * obj1 = 0 ;
33182 char *kwnames[] = {
33183 (char *) "self",(char *) "n", NULL
33184 };
33185
33186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail;
33189 {
7449af73 33190 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33191 if (SWIG_arg_fail(2)) SWIG_fail;
33192 }
d55e5bfc
RD
33193 {
33194 PyThreadState* __tstate = wxPyBeginAllowThreads();
33195 (arg1)->SetFilterIndex(arg2);
33196
33197 wxPyEndAllowThreads(__tstate);
33198 if (PyErr_Occurred()) SWIG_fail;
33199 }
33200 Py_INCREF(Py_None); resultobj = Py_None;
33201 return resultobj;
33202 fail:
33203 return NULL;
33204}
33205
33206
c32bde28 33207static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33208 PyObject *resultobj = NULL;
d55e5bfc
RD
33209 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33210 wxTreeItemId result;
33211 PyObject * obj0 = 0 ;
33212 char *kwnames[] = {
33213 (char *) "self", NULL
33214 };
33215
33216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
33217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33219 {
33220 PyThreadState* __tstate = wxPyBeginAllowThreads();
33221 result = (arg1)->GetRootId();
33222
33223 wxPyEndAllowThreads(__tstate);
33224 if (PyErr_Occurred()) SWIG_fail;
33225 }
33226 {
33227 wxTreeItemId * resultptr;
7449af73 33228 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
33229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33230 }
33231 return resultobj;
33232 fail:
33233 return NULL;
33234}
33235
33236
c32bde28 33237static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33238 PyObject *resultobj = NULL;
d55e5bfc
RD
33239 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33240 wxPyTreeCtrl *result;
33241 PyObject * obj0 = 0 ;
33242 char *kwnames[] = {
33243 (char *) "self", NULL
33244 };
33245
33246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
33247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33249 {
33250 PyThreadState* __tstate = wxPyBeginAllowThreads();
33251 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
33252
33253 wxPyEndAllowThreads(__tstate);
33254 if (PyErr_Occurred()) SWIG_fail;
33255 }
33256 {
412d302d 33257 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33258 }
33259 return resultobj;
33260 fail:
33261 return NULL;
33262}
33263
33264
c32bde28 33265static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33266 PyObject *resultobj = NULL;
d55e5bfc
RD
33267 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33268 wxDirFilterListCtrl *result;
33269 PyObject * obj0 = 0 ;
33270 char *kwnames[] = {
33271 (char *) "self", NULL
33272 };
33273
33274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
33275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33277 {
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
33280
33281 wxPyEndAllowThreads(__tstate);
33282 if (PyErr_Occurred()) SWIG_fail;
33283 }
33284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
33285 return resultobj;
33286 fail:
33287 return NULL;
33288}
33289
33290
c32bde28 33291static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33292 PyObject *resultobj = NULL;
d55e5bfc
RD
33293 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33294 wxTreeItemId arg2 ;
33295 wxString *arg3 = 0 ;
33296 bool *arg4 = 0 ;
33297 wxTreeItemId result;
ae8162c8 33298 bool temp3 = false ;
d55e5bfc 33299 bool temp4 ;
c32bde28 33300 int res4 = 0 ;
d55e5bfc
RD
33301 PyObject * obj0 = 0 ;
33302 PyObject * obj1 = 0 ;
33303 PyObject * obj2 = 0 ;
33304 char *kwnames[] = {
33305 (char *) "self",(char *) "parentId",(char *) "path", NULL
33306 };
33307
c32bde28 33308 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 33309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33311 if (SWIG_arg_fail(1)) SWIG_fail;
33312 {
33313 wxTreeItemId * argp;
33314 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
33315 if (SWIG_arg_fail(2)) SWIG_fail;
33316 if (argp == NULL) {
33317 SWIG_null_ref("wxTreeItemId");
33318 }
33319 if (SWIG_arg_fail(2)) SWIG_fail;
33320 arg2 = *argp;
33321 }
d55e5bfc
RD
33322 {
33323 arg3 = wxString_in_helper(obj2);
33324 if (arg3 == NULL) SWIG_fail;
ae8162c8 33325 temp3 = true;
d55e5bfc
RD
33326 }
33327 {
33328 PyThreadState* __tstate = wxPyBeginAllowThreads();
33329 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
33330
33331 wxPyEndAllowThreads(__tstate);
33332 if (PyErr_Occurred()) SWIG_fail;
33333 }
33334 {
33335 wxTreeItemId * resultptr;
7449af73 33336 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
d55e5bfc
RD
33337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33338 }
c32bde28
RD
33339 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
33340 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
33341 {
33342 if (temp3)
33343 delete arg3;
33344 }
33345 return resultobj;
33346 fail:
33347 {
33348 if (temp3)
33349 delete arg3;
33350 }
33351 return NULL;
33352}
33353
33354
c32bde28 33355static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33356 PyObject *resultobj = NULL;
d55e5bfc
RD
33357 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33358 PyObject * obj0 = 0 ;
33359 char *kwnames[] = {
33360 (char *) "self", NULL
33361 };
33362
33363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
33364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33366 {
33367 PyThreadState* __tstate = wxPyBeginAllowThreads();
33368 (arg1)->DoResize();
33369
33370 wxPyEndAllowThreads(__tstate);
33371 if (PyErr_Occurred()) SWIG_fail;
33372 }
33373 Py_INCREF(Py_None); resultobj = Py_None;
33374 return resultobj;
33375 fail:
33376 return NULL;
33377}
33378
33379
c32bde28 33380static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33381 PyObject *resultobj = NULL;
d55e5bfc
RD
33382 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33383 PyObject * obj0 = 0 ;
33384 char *kwnames[] = {
33385 (char *) "self", NULL
33386 };
33387
33388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
33389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33391 {
33392 PyThreadState* __tstate = wxPyBeginAllowThreads();
33393 (arg1)->ReCreateTree();
33394
33395 wxPyEndAllowThreads(__tstate);
33396 if (PyErr_Occurred()) SWIG_fail;
33397 }
33398 Py_INCREF(Py_None); resultobj = Py_None;
33399 return resultobj;
33400 fail:
33401 return NULL;
33402}
33403
33404
c32bde28 33405static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33406 PyObject *obj;
33407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33408 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
33409 Py_INCREF(obj);
33410 return Py_BuildValue((char *)"");
33411}
c32bde28 33412static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33413 PyObject *resultobj = NULL;
d55e5bfc
RD
33414 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33415 int arg2 = (int) (int)-1 ;
33416 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33417 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33418 wxSize const &arg4_defvalue = wxDefaultSize ;
33419 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33420 long arg5 = (long) 0 ;
33421 wxDirFilterListCtrl *result;
33422 wxPoint temp3 ;
33423 wxSize temp4 ;
33424 PyObject * obj0 = 0 ;
33425 PyObject * obj1 = 0 ;
33426 PyObject * obj2 = 0 ;
33427 PyObject * obj3 = 0 ;
33428 PyObject * obj4 = 0 ;
33429 char *kwnames[] = {
33430 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33431 };
33432
33433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33436 if (obj1) {
093d3ff1 33437 {
7449af73 33438 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
33439 if (SWIG_arg_fail(2)) SWIG_fail;
33440 }
d55e5bfc
RD
33441 }
33442 if (obj2) {
33443 {
33444 arg3 = &temp3;
33445 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33446 }
33447 }
33448 if (obj3) {
33449 {
33450 arg4 = &temp4;
33451 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33452 }
33453 }
33454 if (obj4) {
093d3ff1 33455 {
7449af73 33456 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
33457 if (SWIG_arg_fail(5)) SWIG_fail;
33458 }
d55e5bfc
RD
33459 }
33460 {
0439c23b 33461 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33462 PyThreadState* __tstate = wxPyBeginAllowThreads();
33463 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33464
33465 wxPyEndAllowThreads(__tstate);
110da5b0 33466 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33467 }
33468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33469 return resultobj;
33470 fail:
33471 return NULL;
33472}
33473
33474
c32bde28 33475static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33476 PyObject *resultobj = NULL;
d55e5bfc
RD
33477 wxDirFilterListCtrl *result;
33478 char *kwnames[] = {
33479 NULL
33480 };
33481
33482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
33483 {
0439c23b 33484 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33485 PyThreadState* __tstate = wxPyBeginAllowThreads();
33486 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
33487
33488 wxPyEndAllowThreads(__tstate);
110da5b0 33489 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33490 }
33491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33492 return resultobj;
33493 fail:
33494 return NULL;
33495}
33496
33497
c32bde28 33498static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33499 PyObject *resultobj = NULL;
d55e5bfc
RD
33500 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33501 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
33502 int arg3 = (int) (int)-1 ;
33503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33505 wxSize const &arg5_defvalue = wxDefaultSize ;
33506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33507 long arg6 = (long) 0 ;
33508 bool result;
33509 wxPoint temp4 ;
33510 wxSize temp5 ;
33511 PyObject * obj0 = 0 ;
33512 PyObject * obj1 = 0 ;
33513 PyObject * obj2 = 0 ;
33514 PyObject * obj3 = 0 ;
33515 PyObject * obj4 = 0 ;
33516 PyObject * obj5 = 0 ;
33517 char *kwnames[] = {
33518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33519 };
33520
33521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33523 if (SWIG_arg_fail(1)) SWIG_fail;
33524 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33525 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 33526 if (obj2) {
093d3ff1 33527 {
7449af73 33528 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
33529 if (SWIG_arg_fail(3)) SWIG_fail;
33530 }
d55e5bfc
RD
33531 }
33532 if (obj3) {
33533 {
33534 arg4 = &temp4;
33535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33536 }
33537 }
33538 if (obj4) {
33539 {
33540 arg5 = &temp5;
33541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33542 }
33543 }
33544 if (obj5) {
093d3ff1 33545 {
7449af73 33546 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
33547 if (SWIG_arg_fail(6)) SWIG_fail;
33548 }
d55e5bfc
RD
33549 }
33550 {
33551 PyThreadState* __tstate = wxPyBeginAllowThreads();
33552 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
33553
33554 wxPyEndAllowThreads(__tstate);
33555 if (PyErr_Occurred()) SWIG_fail;
33556 }
33557 {
33558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33559 }
33560 return resultobj;
33561 fail:
33562 return NULL;
33563}
33564
33565
c32bde28 33566static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33567 PyObject *resultobj = NULL;
d55e5bfc
RD
33568 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33569 wxString *arg2 = 0 ;
33570 int arg3 ;
ae8162c8 33571 bool temp2 = false ;
d55e5bfc
RD
33572 PyObject * obj0 = 0 ;
33573 PyObject * obj1 = 0 ;
33574 PyObject * obj2 = 0 ;
33575 char *kwnames[] = {
33576 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33577 };
33578
33579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33582 {
33583 arg2 = wxString_in_helper(obj1);
33584 if (arg2 == NULL) SWIG_fail;
ae8162c8 33585 temp2 = true;
d55e5bfc 33586 }
093d3ff1 33587 {
7449af73 33588 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33589 if (SWIG_arg_fail(3)) SWIG_fail;
33590 }
d55e5bfc
RD
33591 {
33592 PyThreadState* __tstate = wxPyBeginAllowThreads();
33593 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
33594
33595 wxPyEndAllowThreads(__tstate);
33596 if (PyErr_Occurred()) SWIG_fail;
33597 }
33598 Py_INCREF(Py_None); resultobj = Py_None;
33599 {
33600 if (temp2)
33601 delete arg2;
33602 }
33603 return resultobj;
33604 fail:
33605 {
33606 if (temp2)
33607 delete arg2;
33608 }
33609 return NULL;
33610}
33611
33612
c32bde28 33613static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33614 PyObject *obj;
33615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33616 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
33617 Py_INCREF(obj);
33618 return Py_BuildValue((char *)"");
33619}
c32bde28 33620static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33621 PyObject *resultobj = NULL;
d55e5bfc 33622 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 33623 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
33624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33626 wxSize const &arg4_defvalue = wxDefaultSize ;
33627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33628 long arg5 = (long) 0 ;
33629 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33630 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33631 wxString const &arg7_defvalue = wxPyControlNameStr ;
33632 wxString *arg7 = (wxString *) &arg7_defvalue ;
33633 wxPyControl *result;
33634 wxPoint temp3 ;
33635 wxSize temp4 ;
ae8162c8 33636 bool temp7 = false ;
d55e5bfc
RD
33637 PyObject * obj0 = 0 ;
33638 PyObject * obj1 = 0 ;
33639 PyObject * obj2 = 0 ;
33640 PyObject * obj3 = 0 ;
33641 PyObject * obj4 = 0 ;
33642 PyObject * obj5 = 0 ;
33643 PyObject * obj6 = 0 ;
33644 char *kwnames[] = {
33645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33646 };
33647
248ed943 33648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
33649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33650 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 33651 if (obj1) {
093d3ff1 33652 {
7449af73 33653 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
33654 if (SWIG_arg_fail(2)) SWIG_fail;
33655 }
248ed943 33656 }
d55e5bfc
RD
33657 if (obj2) {
33658 {
33659 arg3 = &temp3;
33660 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33661 }
33662 }
33663 if (obj3) {
33664 {
33665 arg4 = &temp4;
33666 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33667 }
33668 }
33669 if (obj4) {
093d3ff1 33670 {
7449af73 33671 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
33672 if (SWIG_arg_fail(5)) SWIG_fail;
33673 }
d55e5bfc
RD
33674 }
33675 if (obj5) {
093d3ff1
RD
33676 {
33677 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33678 if (SWIG_arg_fail(6)) SWIG_fail;
33679 if (arg6 == NULL) {
33680 SWIG_null_ref("wxValidator");
33681 }
33682 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
33683 }
33684 }
33685 if (obj6) {
33686 {
33687 arg7 = wxString_in_helper(obj6);
33688 if (arg7 == NULL) SWIG_fail;
ae8162c8 33689 temp7 = true;
d55e5bfc
RD
33690 }
33691 }
33692 {
0439c23b 33693 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33694 PyThreadState* __tstate = wxPyBeginAllowThreads();
33695 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33696
33697 wxPyEndAllowThreads(__tstate);
110da5b0 33698 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33699 }
33700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33701 {
33702 if (temp7)
33703 delete arg7;
33704 }
33705 return resultobj;
33706 fail:
33707 {
33708 if (temp7)
33709 delete arg7;
33710 }
33711 return NULL;
33712}
33713
33714
c32bde28 33715static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33716 PyObject *resultobj = NULL;
d55e5bfc
RD
33717 wxPyControl *result;
33718 char *kwnames[] = {
33719 NULL
33720 };
33721
33722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
33723 {
0439c23b 33724 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33725 PyThreadState* __tstate = wxPyBeginAllowThreads();
33726 result = (wxPyControl *)new wxPyControl();
33727
33728 wxPyEndAllowThreads(__tstate);
110da5b0 33729 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33730 }
33731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33732 return resultobj;
33733 fail:
33734 return NULL;
33735}
33736
33737
c32bde28 33738static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33739 PyObject *resultobj = NULL;
d55e5bfc
RD
33740 wxPyControl *arg1 = (wxPyControl *) 0 ;
33741 PyObject *arg2 = (PyObject *) 0 ;
33742 PyObject *arg3 = (PyObject *) 0 ;
33743 PyObject * obj0 = 0 ;
33744 PyObject * obj1 = 0 ;
33745 PyObject * obj2 = 0 ;
33746 char *kwnames[] = {
33747 (char *) "self",(char *) "self",(char *) "_class", NULL
33748 };
33749
33750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33752 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33753 arg2 = obj1;
33754 arg3 = obj2;
33755 {
33756 PyThreadState* __tstate = wxPyBeginAllowThreads();
33757 (arg1)->_setCallbackInfo(arg2,arg3);
33758
33759 wxPyEndAllowThreads(__tstate);
33760 if (PyErr_Occurred()) SWIG_fail;
33761 }
33762 Py_INCREF(Py_None); resultobj = Py_None;
33763 return resultobj;
33764 fail:
33765 return NULL;
33766}
33767
33768
c32bde28 33769static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33770 PyObject *resultobj = NULL;
caef1a4d
RD
33771 wxPyControl *arg1 = (wxPyControl *) 0 ;
33772 wxSize *arg2 = 0 ;
33773 wxSize temp2 ;
33774 PyObject * obj0 = 0 ;
33775 PyObject * obj1 = 0 ;
33776 char *kwnames[] = {
33777 (char *) "self",(char *) "size", NULL
33778 };
33779
33780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33782 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
33783 {
33784 arg2 = &temp2;
33785 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33786 }
33787 {
33788 PyThreadState* __tstate = wxPyBeginAllowThreads();
33789 (arg1)->SetBestSize((wxSize const &)*arg2);
33790
33791 wxPyEndAllowThreads(__tstate);
33792 if (PyErr_Occurred()) SWIG_fail;
33793 }
33794 Py_INCREF(Py_None); resultobj = Py_None;
33795 return resultobj;
33796 fail:
33797 return NULL;
33798}
33799
33800
60d5fcc1 33801static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33802 PyObject *resultobj = NULL;
60d5fcc1
RD
33803 wxPyControl *arg1 = (wxPyControl *) 0 ;
33804 wxDC *arg2 = (wxDC *) 0 ;
33805 bool result;
33806 PyObject * obj0 = 0 ;
33807 PyObject * obj1 = 0 ;
33808 char *kwnames[] = {
33809 (char *) "self",(char *) "dc", NULL
33810 };
33811
33812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
33813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33814 if (SWIG_arg_fail(1)) SWIG_fail;
33815 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33816 if (SWIG_arg_fail(2)) SWIG_fail;
33817 {
33818 PyThreadState* __tstate = wxPyBeginAllowThreads();
33819 result = (bool)(arg1)->DoEraseBackground(arg2);
33820
33821 wxPyEndAllowThreads(__tstate);
33822 if (PyErr_Occurred()) SWIG_fail;
33823 }
33824 {
33825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33826 }
33827 return resultobj;
33828 fail:
33829 return NULL;
33830}
33831
33832
b06b3e70 33833static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33834 PyObject *resultobj = NULL;
d55e5bfc
RD
33835 wxPyControl *arg1 = (wxPyControl *) 0 ;
33836 int arg2 ;
33837 int arg3 ;
33838 int arg4 ;
33839 int arg5 ;
33840 PyObject * obj0 = 0 ;
33841 PyObject * obj1 = 0 ;
33842 PyObject * obj2 = 0 ;
33843 PyObject * obj3 = 0 ;
33844 PyObject * obj4 = 0 ;
33845 char *kwnames[] = {
33846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33847 };
33848
b06b3e70 33849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33851 if (SWIG_arg_fail(1)) SWIG_fail;
33852 {
7449af73 33853 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33854 if (SWIG_arg_fail(2)) SWIG_fail;
33855 }
33856 {
7449af73 33857 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33858 if (SWIG_arg_fail(3)) SWIG_fail;
33859 }
33860 {
7449af73 33861 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
33862 if (SWIG_arg_fail(4)) SWIG_fail;
33863 }
33864 {
7449af73 33865 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
33866 if (SWIG_arg_fail(5)) SWIG_fail;
33867 }
d55e5bfc
RD
33868 {
33869 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 33870 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
d55e5bfc
RD
33871
33872 wxPyEndAllowThreads(__tstate);
33873 if (PyErr_Occurred()) SWIG_fail;
33874 }
33875 Py_INCREF(Py_None); resultobj = Py_None;
33876 return resultobj;
33877 fail:
33878 return NULL;
33879}
33880
33881
b06b3e70 33882static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33883 PyObject *resultobj = NULL;
d55e5bfc
RD
33884 wxPyControl *arg1 = (wxPyControl *) 0 ;
33885 int arg2 ;
33886 int arg3 ;
33887 int arg4 ;
33888 int arg5 ;
33889 int arg6 = (int) wxSIZE_AUTO ;
33890 PyObject * obj0 = 0 ;
33891 PyObject * obj1 = 0 ;
33892 PyObject * obj2 = 0 ;
33893 PyObject * obj3 = 0 ;
33894 PyObject * obj4 = 0 ;
33895 PyObject * obj5 = 0 ;
33896 char *kwnames[] = {
33897 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33898 };
33899
b06b3e70 33900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail;
33903 {
7449af73 33904 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33905 if (SWIG_arg_fail(2)) SWIG_fail;
33906 }
33907 {
7449af73 33908 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33909 if (SWIG_arg_fail(3)) SWIG_fail;
33910 }
33911 {
7449af73 33912 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
33913 if (SWIG_arg_fail(4)) SWIG_fail;
33914 }
33915 {
7449af73 33916 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
33917 if (SWIG_arg_fail(5)) SWIG_fail;
33918 }
d55e5bfc 33919 if (obj5) {
093d3ff1 33920 {
7449af73 33921 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
33922 if (SWIG_arg_fail(6)) SWIG_fail;
33923 }
d55e5bfc
RD
33924 }
33925 {
33926 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 33927 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
33928
33929 wxPyEndAllowThreads(__tstate);
33930 if (PyErr_Occurred()) SWIG_fail;
33931 }
33932 Py_INCREF(Py_None); resultobj = Py_None;
33933 return resultobj;
33934 fail:
33935 return NULL;
33936}
33937
33938
b06b3e70 33939static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33940 PyObject *resultobj = NULL;
d55e5bfc
RD
33941 wxPyControl *arg1 = (wxPyControl *) 0 ;
33942 int arg2 ;
33943 int arg3 ;
33944 PyObject * obj0 = 0 ;
33945 PyObject * obj1 = 0 ;
33946 PyObject * obj2 = 0 ;
33947 char *kwnames[] = {
33948 (char *) "self",(char *) "width",(char *) "height", NULL
33949 };
33950
b06b3e70 33951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33953 if (SWIG_arg_fail(1)) SWIG_fail;
33954 {
7449af73 33955 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33956 if (SWIG_arg_fail(2)) SWIG_fail;
33957 }
33958 {
7449af73 33959 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33960 if (SWIG_arg_fail(3)) SWIG_fail;
33961 }
d55e5bfc
RD
33962 {
33963 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 33964 (arg1)->DoSetClientSize(arg2,arg3);
d55e5bfc
RD
33965
33966 wxPyEndAllowThreads(__tstate);
33967 if (PyErr_Occurred()) SWIG_fail;
33968 }
33969 Py_INCREF(Py_None); resultobj = Py_None;
33970 return resultobj;
33971 fail:
33972 return NULL;
33973}
33974
33975
b06b3e70 33976static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 33977 PyObject *resultobj = NULL;
d55e5bfc
RD
33978 wxPyControl *arg1 = (wxPyControl *) 0 ;
33979 int arg2 ;
33980 int arg3 ;
33981 PyObject * obj0 = 0 ;
33982 PyObject * obj1 = 0 ;
33983 PyObject * obj2 = 0 ;
33984 char *kwnames[] = {
33985 (char *) "self",(char *) "x",(char *) "y", NULL
33986 };
33987
b06b3e70 33988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33990 if (SWIG_arg_fail(1)) SWIG_fail;
33991 {
7449af73 33992 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33993 if (SWIG_arg_fail(2)) SWIG_fail;
33994 }
33995 {
7449af73 33996 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
33997 if (SWIG_arg_fail(3)) SWIG_fail;
33998 }
d55e5bfc
RD
33999 {
34000 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34001 (arg1)->DoSetVirtualSize(arg2,arg3);
d55e5bfc
RD
34002
34003 wxPyEndAllowThreads(__tstate);
34004 if (PyErr_Occurred()) SWIG_fail;
34005 }
34006 Py_INCREF(Py_None); resultobj = Py_None;
34007 return resultobj;
34008 fail:
34009 return NULL;
34010}
34011
34012
b06b3e70 34013static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34014 PyObject *resultobj = NULL;
d55e5bfc
RD
34015 wxPyControl *arg1 = (wxPyControl *) 0 ;
34016 int *arg2 = (int *) 0 ;
34017 int *arg3 = (int *) 0 ;
34018 int temp2 ;
c32bde28 34019 int res2 = 0 ;
d55e5bfc 34020 int temp3 ;
c32bde28 34021 int res3 = 0 ;
d55e5bfc
RD
34022 PyObject * obj0 = 0 ;
34023 char *kwnames[] = {
34024 (char *) "self", NULL
34025 };
34026
c32bde28
RD
34027 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34028 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 34029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34032 {
34033 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34034 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
d55e5bfc
RD
34035
34036 wxPyEndAllowThreads(__tstate);
34037 if (PyErr_Occurred()) SWIG_fail;
34038 }
34039 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
34040 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34041 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34042 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34043 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
34044 return resultobj;
34045 fail:
34046 return NULL;
34047}
34048
34049
b06b3e70 34050static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34051 PyObject *resultobj = NULL;
d55e5bfc
RD
34052 wxPyControl *arg1 = (wxPyControl *) 0 ;
34053 int *arg2 = (int *) 0 ;
34054 int *arg3 = (int *) 0 ;
34055 int temp2 ;
c32bde28 34056 int res2 = 0 ;
d55e5bfc 34057 int temp3 ;
c32bde28 34058 int res3 = 0 ;
d55e5bfc
RD
34059 PyObject * obj0 = 0 ;
34060 char *kwnames[] = {
34061 (char *) "self", NULL
34062 };
34063
c32bde28
RD
34064 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34065 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 34066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34069 {
34070 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34071 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
d55e5bfc
RD
34072
34073 wxPyEndAllowThreads(__tstate);
34074 if (PyErr_Occurred()) SWIG_fail;
34075 }
34076 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
34077 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34078 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34079 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34080 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
34081 return resultobj;
34082 fail:
34083 return NULL;
34084}
34085
34086
b06b3e70 34087static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34088 PyObject *resultobj = NULL;
d55e5bfc
RD
34089 wxPyControl *arg1 = (wxPyControl *) 0 ;
34090 int *arg2 = (int *) 0 ;
34091 int *arg3 = (int *) 0 ;
34092 int temp2 ;
c32bde28 34093 int res2 = 0 ;
d55e5bfc 34094 int temp3 ;
c32bde28 34095 int res3 = 0 ;
d55e5bfc
RD
34096 PyObject * obj0 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self", NULL
34099 };
34100
c32bde28
RD
34101 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34102 arg3 = &temp3; res3 = SWIG_NEWOBJ;
b06b3e70 34103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
34104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34106 {
34107 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34108 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
d55e5bfc
RD
34109
34110 wxPyEndAllowThreads(__tstate);
34111 if (PyErr_Occurred()) SWIG_fail;
34112 }
34113 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
34114 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34115 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34116 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34117 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
34118 return resultobj;
34119 fail:
34120 return NULL;
34121}
34122
34123
b06b3e70 34124static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34125 PyObject *resultobj = NULL;
d55e5bfc
RD
34126 wxPyControl *arg1 = (wxPyControl *) 0 ;
34127 wxSize result;
34128 PyObject * obj0 = 0 ;
34129 char *kwnames[] = {
34130 (char *) "self", NULL
34131 };
34132
b06b3e70 34133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34135 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34136 {
34137 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34138 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
d55e5bfc
RD
34139
34140 wxPyEndAllowThreads(__tstate);
34141 if (PyErr_Occurred()) SWIG_fail;
34142 }
34143 {
34144 wxSize * resultptr;
7449af73 34145 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
34146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34147 }
34148 return resultobj;
34149 fail:
34150 return NULL;
34151}
34152
34153
b06b3e70 34154static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34155 PyObject *resultobj = NULL;
d55e5bfc
RD
34156 wxPyControl *arg1 = (wxPyControl *) 0 ;
34157 wxSize result;
34158 PyObject * obj0 = 0 ;
34159 char *kwnames[] = {
34160 (char *) "self", NULL
34161 };
34162
b06b3e70 34163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34165 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34166 {
34167 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34168 result = ((wxPyControl const *)arg1)->DoGetBestSize();
d55e5bfc
RD
34169
34170 wxPyEndAllowThreads(__tstate);
34171 if (PyErr_Occurred()) SWIG_fail;
34172 }
34173 {
34174 wxSize * resultptr;
7449af73 34175 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
34176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34177 }
34178 return resultobj;
34179 fail:
34180 return NULL;
34181}
34182
34183
b06b3e70 34184static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34185 PyObject *resultobj = NULL;
d55e5bfc
RD
34186 wxPyControl *arg1 = (wxPyControl *) 0 ;
34187 PyObject * obj0 = 0 ;
34188 char *kwnames[] = {
34189 (char *) "self", NULL
34190 };
34191
b06b3e70 34192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
34193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34195 {
34196 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34197 (arg1)->InitDialog();
d55e5bfc
RD
34198
34199 wxPyEndAllowThreads(__tstate);
34200 if (PyErr_Occurred()) SWIG_fail;
34201 }
34202 Py_INCREF(Py_None); resultobj = Py_None;
34203 return resultobj;
34204 fail:
34205 return NULL;
34206}
34207
34208
b06b3e70 34209static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34210 PyObject *resultobj = NULL;
d55e5bfc
RD
34211 wxPyControl *arg1 = (wxPyControl *) 0 ;
34212 bool result;
34213 PyObject * obj0 = 0 ;
34214 char *kwnames[] = {
34215 (char *) "self", NULL
34216 };
34217
b06b3e70 34218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
34219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34221 {
34222 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34223 result = (bool)(arg1)->TransferDataToWindow();
d55e5bfc
RD
34224
34225 wxPyEndAllowThreads(__tstate);
34226 if (PyErr_Occurred()) SWIG_fail;
34227 }
34228 {
34229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34230 }
34231 return resultobj;
34232 fail:
34233 return NULL;
34234}
34235
34236
b06b3e70 34237static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34238 PyObject *resultobj = NULL;
d55e5bfc
RD
34239 wxPyControl *arg1 = (wxPyControl *) 0 ;
34240 bool result;
34241 PyObject * obj0 = 0 ;
34242 char *kwnames[] = {
34243 (char *) "self", NULL
34244 };
34245
b06b3e70 34246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
34247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34249 {
34250 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34251 result = (bool)(arg1)->TransferDataFromWindow();
d55e5bfc
RD
34252
34253 wxPyEndAllowThreads(__tstate);
34254 if (PyErr_Occurred()) SWIG_fail;
34255 }
34256 {
34257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34258 }
34259 return resultobj;
34260 fail:
34261 return NULL;
34262}
34263
34264
b06b3e70 34265static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34266 PyObject *resultobj = NULL;
d55e5bfc
RD
34267 wxPyControl *arg1 = (wxPyControl *) 0 ;
34268 bool result;
34269 PyObject * obj0 = 0 ;
34270 char *kwnames[] = {
34271 (char *) "self", NULL
34272 };
34273
b06b3e70 34274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
34275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34277 {
34278 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34279 result = (bool)(arg1)->Validate();
d55e5bfc
RD
34280
34281 wxPyEndAllowThreads(__tstate);
34282 if (PyErr_Occurred()) SWIG_fail;
34283 }
34284 {
34285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34286 }
34287 return resultobj;
34288 fail:
34289 return NULL;
34290}
34291
34292
b06b3e70 34293static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34294 PyObject *resultobj = NULL;
d55e5bfc
RD
34295 wxPyControl *arg1 = (wxPyControl *) 0 ;
34296 bool result;
34297 PyObject * obj0 = 0 ;
34298 char *kwnames[] = {
34299 (char *) "self", NULL
34300 };
34301
b06b3e70 34302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
34303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34305 {
34306 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34307 result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
d55e5bfc
RD
34308
34309 wxPyEndAllowThreads(__tstate);
34310 if (PyErr_Occurred()) SWIG_fail;
34311 }
34312 {
34313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34314 }
34315 return resultobj;
34316 fail:
34317 return NULL;
34318}
34319
34320
b06b3e70 34321static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34322 PyObject *resultobj = NULL;
d55e5bfc
RD
34323 wxPyControl *arg1 = (wxPyControl *) 0 ;
34324 bool result;
34325 PyObject * obj0 = 0 ;
34326 char *kwnames[] = {
34327 (char *) "self", NULL
34328 };
34329
b06b3e70 34330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
34331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34333 {
34334 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34335 result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
d55e5bfc
RD
34336
34337 wxPyEndAllowThreads(__tstate);
34338 if (PyErr_Occurred()) SWIG_fail;
34339 }
34340 {
34341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34342 }
34343 return resultobj;
34344 fail:
34345 return NULL;
34346}
34347
34348
b06b3e70 34349static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34350 PyObject *resultobj = NULL;
d55e5bfc
RD
34351 wxPyControl *arg1 = (wxPyControl *) 0 ;
34352 wxSize result;
34353 PyObject * obj0 = 0 ;
34354 char *kwnames[] = {
34355 (char *) "self", NULL
34356 };
34357
b06b3e70 34358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
34359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34361 {
34362 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34363 result = ((wxPyControl const *)arg1)->GetMaxSize();
d55e5bfc
RD
34364
34365 wxPyEndAllowThreads(__tstate);
34366 if (PyErr_Occurred()) SWIG_fail;
34367 }
34368 {
34369 wxSize * resultptr;
7449af73 34370 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
34371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34372 }
34373 return resultobj;
34374 fail:
34375 return NULL;
34376}
34377
34378
b06b3e70 34379static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34380 PyObject *resultobj = NULL;
d55e5bfc
RD
34381 wxPyControl *arg1 = (wxPyControl *) 0 ;
34382 wxWindow *arg2 = (wxWindow *) 0 ;
34383 PyObject * obj0 = 0 ;
34384 PyObject * obj1 = 0 ;
34385 char *kwnames[] = {
34386 (char *) "self",(char *) "child", NULL
34387 };
34388
b06b3e70 34389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34391 if (SWIG_arg_fail(1)) SWIG_fail;
34392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34393 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34394 {
34395 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34396 (arg1)->AddChild(arg2);
d55e5bfc
RD
34397
34398 wxPyEndAllowThreads(__tstate);
34399 if (PyErr_Occurred()) SWIG_fail;
34400 }
34401 Py_INCREF(Py_None); resultobj = Py_None;
34402 return resultobj;
34403 fail:
34404 return NULL;
34405}
34406
34407
b06b3e70 34408static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34409 PyObject *resultobj = NULL;
d55e5bfc
RD
34410 wxPyControl *arg1 = (wxPyControl *) 0 ;
34411 wxWindow *arg2 = (wxWindow *) 0 ;
34412 PyObject * obj0 = 0 ;
34413 PyObject * obj1 = 0 ;
34414 char *kwnames[] = {
34415 (char *) "self",(char *) "child", NULL
34416 };
34417
b06b3e70 34418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34420 if (SWIG_arg_fail(1)) SWIG_fail;
34421 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34422 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34423 {
34424 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34425 (arg1)->RemoveChild(arg2);
d55e5bfc
RD
34426
34427 wxPyEndAllowThreads(__tstate);
34428 if (PyErr_Occurred()) SWIG_fail;
34429 }
34430 Py_INCREF(Py_None); resultobj = Py_None;
34431 return resultobj;
34432 fail:
34433 return NULL;
34434}
34435
34436
b06b3e70 34437static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34438 PyObject *resultobj = NULL;
d55e5bfc
RD
34439 wxPyControl *arg1 = (wxPyControl *) 0 ;
34440 bool result;
34441 PyObject * obj0 = 0 ;
34442 char *kwnames[] = {
34443 (char *) "self", NULL
34444 };
34445
b06b3e70 34446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
34447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34449 {
34450 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34451 result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
d55e5bfc
RD
34452
34453 wxPyEndAllowThreads(__tstate);
34454 if (PyErr_Occurred()) SWIG_fail;
34455 }
34456 {
34457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34458 }
34459 return resultobj;
34460 fail:
34461 return NULL;
34462}
34463
34464
b06b3e70 34465static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34466 PyObject *resultobj = NULL;
caef1a4d
RD
34467 wxPyControl *arg1 = (wxPyControl *) 0 ;
34468 wxVisualAttributes result;
34469 PyObject * obj0 = 0 ;
34470 char *kwnames[] = {
34471 (char *) "self", NULL
34472 };
34473
b06b3e70 34474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
34475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34476 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
34477 {
34478 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34479 result = (arg1)->GetDefaultAttributes();
caef1a4d
RD
34480
34481 wxPyEndAllowThreads(__tstate);
34482 if (PyErr_Occurred()) SWIG_fail;
34483 }
34484 {
34485 wxVisualAttributes * resultptr;
7449af73 34486 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
caef1a4d
RD
34487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34488 }
34489 return resultobj;
34490 fail:
34491 return NULL;
34492}
34493
34494
b06b3e70 34495static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34496 PyObject *resultobj = NULL;
8d38bd1d
RD
34497 wxPyControl *arg1 = (wxPyControl *) 0 ;
34498 PyObject * obj0 = 0 ;
34499 char *kwnames[] = {
34500 (char *) "self", NULL
34501 };
34502
b06b3e70 34503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
8d38bd1d
RD
34504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34505 if (SWIG_arg_fail(1)) SWIG_fail;
34506 {
34507 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 34508 (arg1)->OnInternalIdle();
8d38bd1d
RD
34509
34510 wxPyEndAllowThreads(__tstate);
34511 if (PyErr_Occurred()) SWIG_fail;
34512 }
34513 Py_INCREF(Py_None); resultobj = Py_None;
34514 return resultobj;
34515 fail:
34516 return NULL;
34517}
34518
34519
c32bde28 34520static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34521 PyObject *obj;
34522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34523 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
34524 Py_INCREF(obj);
34525 return Py_BuildValue((char *)"");
34526}
c32bde28 34527static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34528 PyObject *resultobj = NULL;
d55e5bfc
RD
34529 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
34530 int arg2 = (int) 0 ;
34531 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34532 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34533 wxHelpEvent *result;
34534 wxPoint temp3 ;
34535 PyObject * obj0 = 0 ;
34536 PyObject * obj1 = 0 ;
34537 PyObject * obj2 = 0 ;
34538 char *kwnames[] = {
34539 (char *) "type",(char *) "winid",(char *) "pt", NULL
34540 };
34541
34542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
34543 if (obj0) {
093d3ff1 34544 {
7449af73 34545 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
34546 if (SWIG_arg_fail(1)) SWIG_fail;
34547 }
d55e5bfc
RD
34548 }
34549 if (obj1) {
093d3ff1 34550 {
7449af73 34551 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34552 if (SWIG_arg_fail(2)) SWIG_fail;
34553 }
d55e5bfc
RD
34554 }
34555 if (obj2) {
34556 {
34557 arg3 = &temp3;
34558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34559 }
34560 }
34561 {
34562 PyThreadState* __tstate = wxPyBeginAllowThreads();
34563 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
34564
34565 wxPyEndAllowThreads(__tstate);
34566 if (PyErr_Occurred()) SWIG_fail;
34567 }
34568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
34569 return resultobj;
34570 fail:
34571 return NULL;
34572}
34573
34574
c32bde28 34575static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34576 PyObject *resultobj = NULL;
d55e5bfc
RD
34577 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34578 wxPoint result;
34579 PyObject * obj0 = 0 ;
34580 char *kwnames[] = {
34581 (char *) "self", NULL
34582 };
34583
34584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
34585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34587 {
34588 PyThreadState* __tstate = wxPyBeginAllowThreads();
34589 result = ((wxHelpEvent const *)arg1)->GetPosition();
34590
34591 wxPyEndAllowThreads(__tstate);
34592 if (PyErr_Occurred()) SWIG_fail;
34593 }
34594 {
34595 wxPoint * resultptr;
7449af73 34596 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
d55e5bfc
RD
34597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34598 }
34599 return resultobj;
34600 fail:
34601 return NULL;
34602}
34603
34604
c32bde28 34605static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34606 PyObject *resultobj = NULL;
d55e5bfc
RD
34607 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34608 wxPoint *arg2 = 0 ;
34609 wxPoint temp2 ;
34610 PyObject * obj0 = 0 ;
34611 PyObject * obj1 = 0 ;
34612 char *kwnames[] = {
34613 (char *) "self",(char *) "pos", NULL
34614 };
34615
34616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34619 {
34620 arg2 = &temp2;
34621 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34622 }
34623 {
34624 PyThreadState* __tstate = wxPyBeginAllowThreads();
34625 (arg1)->SetPosition((wxPoint const &)*arg2);
34626
34627 wxPyEndAllowThreads(__tstate);
34628 if (PyErr_Occurred()) SWIG_fail;
34629 }
34630 Py_INCREF(Py_None); resultobj = Py_None;
34631 return resultobj;
34632 fail:
34633 return NULL;
34634}
34635
34636
c32bde28 34637static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34638 PyObject *resultobj = NULL;
d55e5bfc
RD
34639 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34640 wxString *result;
34641 PyObject * obj0 = 0 ;
34642 char *kwnames[] = {
34643 (char *) "self", NULL
34644 };
34645
34646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
34647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34649 {
34650 PyThreadState* __tstate = wxPyBeginAllowThreads();
34651 {
34652 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
34653 result = (wxString *) &_result_ref;
34654 }
34655
34656 wxPyEndAllowThreads(__tstate);
34657 if (PyErr_Occurred()) SWIG_fail;
34658 }
34659 {
34660#if wxUSE_UNICODE
34661 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34662#else
34663 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34664#endif
34665 }
34666 return resultobj;
34667 fail:
34668 return NULL;
34669}
34670
34671
c32bde28 34672static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34673 PyObject *resultobj = NULL;
d55e5bfc
RD
34674 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34675 wxString *arg2 = 0 ;
ae8162c8 34676 bool temp2 = false ;
d55e5bfc
RD
34677 PyObject * obj0 = 0 ;
34678 PyObject * obj1 = 0 ;
34679 char *kwnames[] = {
34680 (char *) "self",(char *) "link", NULL
34681 };
34682
34683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34686 {
34687 arg2 = wxString_in_helper(obj1);
34688 if (arg2 == NULL) SWIG_fail;
ae8162c8 34689 temp2 = true;
d55e5bfc
RD
34690 }
34691 {
34692 PyThreadState* __tstate = wxPyBeginAllowThreads();
34693 (arg1)->SetLink((wxString const &)*arg2);
34694
34695 wxPyEndAllowThreads(__tstate);
34696 if (PyErr_Occurred()) SWIG_fail;
34697 }
34698 Py_INCREF(Py_None); resultobj = Py_None;
34699 {
34700 if (temp2)
34701 delete arg2;
34702 }
34703 return resultobj;
34704 fail:
34705 {
34706 if (temp2)
34707 delete arg2;
34708 }
34709 return NULL;
34710}
34711
34712
c32bde28 34713static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34714 PyObject *resultobj = NULL;
d55e5bfc
RD
34715 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34716 wxString *result;
34717 PyObject * obj0 = 0 ;
34718 char *kwnames[] = {
34719 (char *) "self", NULL
34720 };
34721
34722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
34723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34724 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34725 {
34726 PyThreadState* __tstate = wxPyBeginAllowThreads();
34727 {
34728 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
34729 result = (wxString *) &_result_ref;
34730 }
34731
34732 wxPyEndAllowThreads(__tstate);
34733 if (PyErr_Occurred()) SWIG_fail;
34734 }
34735 {
34736#if wxUSE_UNICODE
34737 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34738#else
34739 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34740#endif
34741 }
34742 return resultobj;
34743 fail:
34744 return NULL;
34745}
34746
34747
c32bde28 34748static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34749 PyObject *resultobj = NULL;
d55e5bfc
RD
34750 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34751 wxString *arg2 = 0 ;
ae8162c8 34752 bool temp2 = false ;
d55e5bfc
RD
34753 PyObject * obj0 = 0 ;
34754 PyObject * obj1 = 0 ;
34755 char *kwnames[] = {
34756 (char *) "self",(char *) "target", NULL
34757 };
34758
34759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34761 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34762 {
34763 arg2 = wxString_in_helper(obj1);
34764 if (arg2 == NULL) SWIG_fail;
ae8162c8 34765 temp2 = true;
d55e5bfc
RD
34766 }
34767 {
34768 PyThreadState* __tstate = wxPyBeginAllowThreads();
34769 (arg1)->SetTarget((wxString const &)*arg2);
34770
34771 wxPyEndAllowThreads(__tstate);
34772 if (PyErr_Occurred()) SWIG_fail;
34773 }
34774 Py_INCREF(Py_None); resultobj = Py_None;
34775 {
34776 if (temp2)
34777 delete arg2;
34778 }
34779 return resultobj;
34780 fail:
34781 {
34782 if (temp2)
34783 delete arg2;
34784 }
34785 return NULL;
34786}
34787
34788
c32bde28 34789static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34790 PyObject *obj;
34791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34792 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
34793 Py_INCREF(obj);
34794 return Py_BuildValue((char *)"");
34795}
c32bde28 34796static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34797 PyObject *resultobj = NULL;
d55e5bfc 34798 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 34799 bool arg2 = (bool) true ;
d55e5bfc
RD
34800 wxContextHelp *result;
34801 PyObject * obj0 = 0 ;
34802 PyObject * obj1 = 0 ;
34803 char *kwnames[] = {
34804 (char *) "window",(char *) "doNow", NULL
34805 };
34806
34807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
34808 if (obj0) {
093d3ff1
RD
34809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34810 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34811 }
34812 if (obj1) {
093d3ff1 34813 {
7449af73 34814 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
34815 if (SWIG_arg_fail(2)) SWIG_fail;
34816 }
d55e5bfc
RD
34817 }
34818 {
0439c23b 34819 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34820 PyThreadState* __tstate = wxPyBeginAllowThreads();
34821 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
34822
34823 wxPyEndAllowThreads(__tstate);
110da5b0 34824 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34825 }
34826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
34827 return resultobj;
34828 fail:
34829 return NULL;
34830}
34831
34832
c32bde28 34833static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34834 PyObject *resultobj = NULL;
d55e5bfc
RD
34835 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34836 PyObject * obj0 = 0 ;
34837 char *kwnames[] = {
34838 (char *) "self", NULL
34839 };
34840
34841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
34842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34844 {
34845 PyThreadState* __tstate = wxPyBeginAllowThreads();
34846 delete arg1;
34847
34848 wxPyEndAllowThreads(__tstate);
34849 if (PyErr_Occurred()) SWIG_fail;
34850 }
34851 Py_INCREF(Py_None); resultobj = Py_None;
34852 return resultobj;
34853 fail:
34854 return NULL;
34855}
34856
34857
c32bde28 34858static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34859 PyObject *resultobj = NULL;
d55e5bfc
RD
34860 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34861 wxWindow *arg2 = (wxWindow *) NULL ;
34862 bool result;
34863 PyObject * obj0 = 0 ;
34864 PyObject * obj1 = 0 ;
34865 char *kwnames[] = {
34866 (char *) "self",(char *) "window", NULL
34867 };
34868
34869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34872 if (obj1) {
093d3ff1
RD
34873 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34874 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34875 }
34876 {
34877 PyThreadState* __tstate = wxPyBeginAllowThreads();
34878 result = (bool)(arg1)->BeginContextHelp(arg2);
34879
34880 wxPyEndAllowThreads(__tstate);
34881 if (PyErr_Occurred()) SWIG_fail;
34882 }
34883 {
34884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34885 }
34886 return resultobj;
34887 fail:
34888 return NULL;
34889}
34890
34891
c32bde28 34892static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34893 PyObject *resultobj = NULL;
d55e5bfc
RD
34894 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34895 bool result;
34896 PyObject * obj0 = 0 ;
34897 char *kwnames[] = {
34898 (char *) "self", NULL
34899 };
34900
34901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
34902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34904 {
34905 PyThreadState* __tstate = wxPyBeginAllowThreads();
34906 result = (bool)(arg1)->EndContextHelp();
34907
34908 wxPyEndAllowThreads(__tstate);
34909 if (PyErr_Occurred()) SWIG_fail;
34910 }
34911 {
34912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34913 }
34914 return resultobj;
34915 fail:
34916 return NULL;
34917}
34918
34919
c32bde28 34920static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34921 PyObject *obj;
34922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34923 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
34924 Py_INCREF(obj);
34925 return Py_BuildValue((char *)"");
34926}
c32bde28 34927static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34928 PyObject *resultobj = NULL;
d55e5bfc
RD
34929 wxWindow *arg1 = (wxWindow *) 0 ;
34930 int arg2 = (int) wxID_CONTEXT_HELP ;
34931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34933 wxSize const &arg4_defvalue = wxDefaultSize ;
34934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34935 long arg5 = (long) wxBU_AUTODRAW ;
34936 wxContextHelpButton *result;
34937 wxPoint temp3 ;
34938 wxSize temp4 ;
34939 PyObject * obj0 = 0 ;
34940 PyObject * obj1 = 0 ;
34941 PyObject * obj2 = 0 ;
34942 PyObject * obj3 = 0 ;
34943 PyObject * obj4 = 0 ;
34944 char *kwnames[] = {
34945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34946 };
34947
34948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34951 if (obj1) {
093d3ff1 34952 {
7449af73 34953 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34954 if (SWIG_arg_fail(2)) SWIG_fail;
34955 }
d55e5bfc
RD
34956 }
34957 if (obj2) {
34958 {
34959 arg3 = &temp3;
34960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34961 }
34962 }
34963 if (obj3) {
34964 {
34965 arg4 = &temp4;
34966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34967 }
34968 }
34969 if (obj4) {
093d3ff1 34970 {
7449af73 34971 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
34972 if (SWIG_arg_fail(5)) SWIG_fail;
34973 }
d55e5bfc
RD
34974 }
34975 {
0439c23b 34976 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34977 PyThreadState* __tstate = wxPyBeginAllowThreads();
34978 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
34979
34980 wxPyEndAllowThreads(__tstate);
110da5b0 34981 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34982 }
34983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
34984 return resultobj;
34985 fail:
34986 return NULL;
34987}
34988
34989
c32bde28 34990static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34991 PyObject *obj;
34992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34993 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
34994 Py_INCREF(obj);
34995 return Py_BuildValue((char *)"");
34996}
c32bde28 34997static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 34998 PyObject *resultobj = NULL;
d55e5bfc
RD
34999 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35000 wxHelpProvider *result;
35001 PyObject * obj0 = 0 ;
35002 char *kwnames[] = {
35003 (char *) "helpProvider", NULL
35004 };
35005
35006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
7e08d4ef 35007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 35008 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35009 {
35010 PyThreadState* __tstate = wxPyBeginAllowThreads();
35011 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
35012
35013 wxPyEndAllowThreads(__tstate);
35014 if (PyErr_Occurred()) SWIG_fail;
35015 }
7e08d4ef 35016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1);
d55e5bfc
RD
35017 return resultobj;
35018 fail:
35019 return NULL;
35020}
35021
35022
c32bde28 35023static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35024 PyObject *resultobj = NULL;
d55e5bfc
RD
35025 wxHelpProvider *result;
35026 char *kwnames[] = {
35027 NULL
35028 };
35029
35030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
35031 {
35032 PyThreadState* __tstate = wxPyBeginAllowThreads();
35033 result = (wxHelpProvider *)wxHelpProvider::Get();
35034
35035 wxPyEndAllowThreads(__tstate);
35036 if (PyErr_Occurred()) SWIG_fail;
35037 }
35038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
35039 return resultobj;
35040 fail:
35041 return NULL;
35042}
35043
35044
c32bde28 35045static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35046 PyObject *resultobj = NULL;
d55e5bfc
RD
35047 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35048 wxWindow *arg2 = (wxWindow *) 0 ;
35049 wxString result;
35050 PyObject * obj0 = 0 ;
35051 PyObject * obj1 = 0 ;
35052 char *kwnames[] = {
35053 (char *) "self",(char *) "window", NULL
35054 };
35055
35056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35058 if (SWIG_arg_fail(1)) SWIG_fail;
35059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35060 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35061 {
35062 PyThreadState* __tstate = wxPyBeginAllowThreads();
35063 result = (arg1)->GetHelp((wxWindow const *)arg2);
35064
35065 wxPyEndAllowThreads(__tstate);
35066 if (PyErr_Occurred()) SWIG_fail;
35067 }
35068 {
35069#if wxUSE_UNICODE
35070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35071#else
35072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35073#endif
35074 }
35075 return resultobj;
35076 fail:
35077 return NULL;
35078}
35079
35080
c32bde28 35081static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35082 PyObject *resultobj = NULL;
d55e5bfc
RD
35083 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35084 wxWindow *arg2 = (wxWindow *) 0 ;
35085 bool result;
35086 PyObject * obj0 = 0 ;
35087 PyObject * obj1 = 0 ;
35088 char *kwnames[] = {
35089 (char *) "self",(char *) "window", NULL
35090 };
35091
35092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35094 if (SWIG_arg_fail(1)) SWIG_fail;
35095 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35096 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35097 {
35098 PyThreadState* __tstate = wxPyBeginAllowThreads();
35099 result = (bool)(arg1)->ShowHelp(arg2);
35100
35101 wxPyEndAllowThreads(__tstate);
35102 if (PyErr_Occurred()) SWIG_fail;
35103 }
35104 {
35105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35106 }
35107 return resultobj;
35108 fail:
35109 return NULL;
35110}
35111
35112
c32bde28 35113static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35114 PyObject *resultobj = NULL;
d55e5bfc
RD
35115 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35116 wxWindow *arg2 = (wxWindow *) 0 ;
35117 wxString *arg3 = 0 ;
ae8162c8 35118 bool temp3 = false ;
d55e5bfc
RD
35119 PyObject * obj0 = 0 ;
35120 PyObject * obj1 = 0 ;
35121 PyObject * obj2 = 0 ;
35122 char *kwnames[] = {
35123 (char *) "self",(char *) "window",(char *) "text", NULL
35124 };
35125
35126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35128 if (SWIG_arg_fail(1)) SWIG_fail;
35129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35130 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35131 {
35132 arg3 = wxString_in_helper(obj2);
35133 if (arg3 == NULL) SWIG_fail;
ae8162c8 35134 temp3 = true;
d55e5bfc
RD
35135 }
35136 {
35137 PyThreadState* __tstate = wxPyBeginAllowThreads();
35138 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35139
35140 wxPyEndAllowThreads(__tstate);
35141 if (PyErr_Occurred()) SWIG_fail;
35142 }
35143 Py_INCREF(Py_None); resultobj = Py_None;
35144 {
35145 if (temp3)
35146 delete arg3;
35147 }
35148 return resultobj;
35149 fail:
35150 {
35151 if (temp3)
35152 delete arg3;
35153 }
35154 return NULL;
35155}
35156
35157
c32bde28 35158static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35159 PyObject *resultobj = NULL;
d55e5bfc
RD
35160 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35161 int arg2 ;
35162 wxString *arg3 = 0 ;
ae8162c8 35163 bool temp3 = false ;
d55e5bfc
RD
35164 PyObject * obj0 = 0 ;
35165 PyObject * obj1 = 0 ;
35166 PyObject * obj2 = 0 ;
35167 char *kwnames[] = {
35168 (char *) "self",(char *) "id",(char *) "text", NULL
35169 };
35170
35171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35173 if (SWIG_arg_fail(1)) SWIG_fail;
35174 {
7449af73 35175 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35176 if (SWIG_arg_fail(2)) SWIG_fail;
35177 }
d55e5bfc
RD
35178 {
35179 arg3 = wxString_in_helper(obj2);
35180 if (arg3 == NULL) SWIG_fail;
ae8162c8 35181 temp3 = true;
d55e5bfc
RD
35182 }
35183 {
35184 PyThreadState* __tstate = wxPyBeginAllowThreads();
35185 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35186
35187 wxPyEndAllowThreads(__tstate);
35188 if (PyErr_Occurred()) SWIG_fail;
35189 }
35190 Py_INCREF(Py_None); resultobj = Py_None;
35191 {
35192 if (temp3)
35193 delete arg3;
35194 }
35195 return resultobj;
35196 fail:
35197 {
35198 if (temp3)
35199 delete arg3;
35200 }
35201 return NULL;
35202}
35203
35204
c32bde28 35205static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35206 PyObject *resultobj = NULL;
d55e5bfc
RD
35207 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35208 wxWindow *arg2 = (wxWindow *) 0 ;
35209 PyObject * obj0 = 0 ;
35210 PyObject * obj1 = 0 ;
35211 char *kwnames[] = {
35212 (char *) "self",(char *) "window", NULL
35213 };
35214
35215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35217 if (SWIG_arg_fail(1)) SWIG_fail;
35218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35219 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35220 {
35221 PyThreadState* __tstate = wxPyBeginAllowThreads();
35222 (arg1)->RemoveHelp(arg2);
35223
35224 wxPyEndAllowThreads(__tstate);
35225 if (PyErr_Occurred()) SWIG_fail;
35226 }
35227 Py_INCREF(Py_None); resultobj = Py_None;
35228 return resultobj;
35229 fail:
35230 return NULL;
35231}
35232
35233
c32bde28 35234static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35235 PyObject *resultobj = NULL;
d55e5bfc
RD
35236 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35237 PyObject * obj0 = 0 ;
35238 char *kwnames[] = {
35239 (char *) "self", NULL
35240 };
35241
35242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
35243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35245 {
35246 PyThreadState* __tstate = wxPyBeginAllowThreads();
35247 wxHelpProvider_Destroy(arg1);
35248
35249 wxPyEndAllowThreads(__tstate);
35250 if (PyErr_Occurred()) SWIG_fail;
35251 }
35252 Py_INCREF(Py_None); resultobj = Py_None;
35253 return resultobj;
35254 fail:
35255 return NULL;
35256}
35257
35258
c32bde28 35259static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35260 PyObject *obj;
35261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35262 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
35263 Py_INCREF(obj);
35264 return Py_BuildValue((char *)"");
35265}
c32bde28 35266static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35267 PyObject *resultobj = NULL;
d55e5bfc
RD
35268 wxSimpleHelpProvider *result;
35269 char *kwnames[] = {
35270 NULL
35271 };
35272
35273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
35274 {
35275 PyThreadState* __tstate = wxPyBeginAllowThreads();
35276 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
35277
35278 wxPyEndAllowThreads(__tstate);
35279 if (PyErr_Occurred()) SWIG_fail;
35280 }
35281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
35282 return resultobj;
35283 fail:
35284 return NULL;
35285}
35286
35287
c32bde28 35288static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35289 PyObject *obj;
35290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35291 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
35292 Py_INCREF(obj);
35293 return Py_BuildValue((char *)"");
35294}
c32bde28 35295static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35296 PyObject *resultobj = NULL;
d55e5bfc
RD
35297 wxBitmap *arg1 = 0 ;
35298 wxCursor const &arg2_defvalue = wxNullCursor ;
35299 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35300 wxGenericDragImage *result;
35301 PyObject * obj0 = 0 ;
35302 PyObject * obj1 = 0 ;
35303 char *kwnames[] = {
35304 (char *) "image",(char *) "cursor", NULL
35305 };
35306
35307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35308 {
35309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35310 if (SWIG_arg_fail(1)) SWIG_fail;
35311 if (arg1 == NULL) {
35312 SWIG_null_ref("wxBitmap");
35313 }
35314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35315 }
35316 if (obj1) {
093d3ff1
RD
35317 {
35318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35319 if (SWIG_arg_fail(2)) SWIG_fail;
35320 if (arg2 == NULL) {
35321 SWIG_null_ref("wxCursor");
35322 }
35323 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35324 }
35325 }
35326 {
0439c23b 35327 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35328 PyThreadState* __tstate = wxPyBeginAllowThreads();
35329 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
35330
35331 wxPyEndAllowThreads(__tstate);
110da5b0 35332 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35333 }
35334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35335 return resultobj;
35336 fail:
35337 return NULL;
35338}
35339
35340
c32bde28 35341static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35342 PyObject *resultobj = NULL;
d55e5bfc
RD
35343 wxIcon *arg1 = 0 ;
35344 wxCursor const &arg2_defvalue = wxNullCursor ;
35345 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35346 wxGenericDragImage *result;
35347 PyObject * obj0 = 0 ;
35348 PyObject * obj1 = 0 ;
35349 char *kwnames[] = {
35350 (char *) "image",(char *) "cursor", NULL
35351 };
35352
35353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35354 {
35355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
35356 if (SWIG_arg_fail(1)) SWIG_fail;
35357 if (arg1 == NULL) {
35358 SWIG_null_ref("wxIcon");
35359 }
35360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35361 }
35362 if (obj1) {
093d3ff1
RD
35363 {
35364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35365 if (SWIG_arg_fail(2)) SWIG_fail;
35366 if (arg2 == NULL) {
35367 SWIG_null_ref("wxCursor");
35368 }
35369 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35370 }
35371 }
35372 {
0439c23b 35373 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35374 PyThreadState* __tstate = wxPyBeginAllowThreads();
35375 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
35376
35377 wxPyEndAllowThreads(__tstate);
110da5b0 35378 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35379 }
35380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35381 return resultobj;
35382 fail:
35383 return NULL;
35384}
35385
35386
c32bde28 35387static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35388 PyObject *resultobj = NULL;
d55e5bfc
RD
35389 wxString *arg1 = 0 ;
35390 wxCursor const &arg2_defvalue = wxNullCursor ;
35391 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35392 wxGenericDragImage *result;
ae8162c8 35393 bool temp1 = false ;
d55e5bfc
RD
35394 PyObject * obj0 = 0 ;
35395 PyObject * obj1 = 0 ;
35396 char *kwnames[] = {
35397 (char *) "str",(char *) "cursor", NULL
35398 };
35399
35400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
35401 {
35402 arg1 = wxString_in_helper(obj0);
35403 if (arg1 == NULL) SWIG_fail;
ae8162c8 35404 temp1 = true;
d55e5bfc
RD
35405 }
35406 if (obj1) {
093d3ff1
RD
35407 {
35408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35409 if (SWIG_arg_fail(2)) SWIG_fail;
35410 if (arg2 == NULL) {
35411 SWIG_null_ref("wxCursor");
35412 }
35413 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35414 }
35415 }
35416 {
0439c23b 35417 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35418 PyThreadState* __tstate = wxPyBeginAllowThreads();
35419 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
35420
35421 wxPyEndAllowThreads(__tstate);
110da5b0 35422 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35423 }
35424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35425 {
35426 if (temp1)
35427 delete arg1;
35428 }
35429 return resultobj;
35430 fail:
35431 {
35432 if (temp1)
35433 delete arg1;
35434 }
35435 return NULL;
35436}
35437
35438
c32bde28 35439static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35440 PyObject *resultobj = NULL;
d55e5bfc
RD
35441 wxPyTreeCtrl *arg1 = 0 ;
35442 wxTreeItemId *arg2 = 0 ;
35443 wxGenericDragImage *result;
35444 PyObject * obj0 = 0 ;
35445 PyObject * obj1 = 0 ;
35446 char *kwnames[] = {
35447 (char *) "treeCtrl",(char *) "id", NULL
35448 };
35449
35450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35451 {
35452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
35453 if (SWIG_arg_fail(1)) SWIG_fail;
35454 if (arg1 == NULL) {
35455 SWIG_null_ref("wxPyTreeCtrl");
35456 }
35457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 35458 }
093d3ff1
RD
35459 {
35460 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
35461 if (SWIG_arg_fail(2)) SWIG_fail;
35462 if (arg2 == NULL) {
35463 SWIG_null_ref("wxTreeItemId");
35464 }
35465 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35466 }
35467 {
0439c23b 35468 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35469 PyThreadState* __tstate = wxPyBeginAllowThreads();
35470 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
35471
35472 wxPyEndAllowThreads(__tstate);
110da5b0 35473 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35474 }
35475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35476 return resultobj;
35477 fail:
35478 return NULL;
35479}
35480
35481
c32bde28 35482static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35483 PyObject *resultobj = NULL;
d55e5bfc
RD
35484 wxPyListCtrl *arg1 = 0 ;
35485 long arg2 ;
35486 wxGenericDragImage *result;
35487 PyObject * obj0 = 0 ;
35488 PyObject * obj1 = 0 ;
35489 char *kwnames[] = {
35490 (char *) "listCtrl",(char *) "id", NULL
35491 };
35492
35493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35494 {
35495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
35496 if (SWIG_arg_fail(1)) SWIG_fail;
35497 if (arg1 == NULL) {
35498 SWIG_null_ref("wxPyListCtrl");
35499 }
35500 if (SWIG_arg_fail(1)) SWIG_fail;
35501 }
35502 {
7449af73 35503 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1 35504 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 35505 }
d55e5bfc 35506 {
0439c23b 35507 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
35508 PyThreadState* __tstate = wxPyBeginAllowThreads();
35509 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
35510
35511 wxPyEndAllowThreads(__tstate);
110da5b0 35512 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
35513 }
35514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35515 return resultobj;
35516 fail:
35517 return NULL;
35518}
35519
35520
c32bde28 35521static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35522 PyObject *resultobj = NULL;
d55e5bfc
RD
35523 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35524 PyObject * obj0 = 0 ;
35525 char *kwnames[] = {
35526 (char *) "self", NULL
35527 };
35528
35529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
35530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35532 {
35533 PyThreadState* __tstate = wxPyBeginAllowThreads();
35534 delete arg1;
35535
35536 wxPyEndAllowThreads(__tstate);
35537 if (PyErr_Occurred()) SWIG_fail;
35538 }
35539 Py_INCREF(Py_None); resultobj = Py_None;
35540 return resultobj;
35541 fail:
35542 return NULL;
35543}
35544
35545
c32bde28 35546static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35547 PyObject *resultobj = NULL;
d55e5bfc
RD
35548 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35549 wxBitmap *arg2 = (wxBitmap *) 0 ;
35550 PyObject * obj0 = 0 ;
35551 PyObject * obj1 = 0 ;
35552 char *kwnames[] = {
35553 (char *) "self",(char *) "bitmap", NULL
35554 };
35555
35556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35558 if (SWIG_arg_fail(1)) SWIG_fail;
35559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35560 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35561 {
35562 PyThreadState* __tstate = wxPyBeginAllowThreads();
35563 (arg1)->SetBackingBitmap(arg2);
35564
35565 wxPyEndAllowThreads(__tstate);
35566 if (PyErr_Occurred()) SWIG_fail;
35567 }
35568 Py_INCREF(Py_None); resultobj = Py_None;
35569 return resultobj;
35570 fail:
35571 return NULL;
35572}
35573
35574
c32bde28 35575static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35576 PyObject *resultobj = NULL;
d55e5bfc
RD
35577 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35578 wxPoint *arg2 = 0 ;
35579 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 35580 bool arg4 = (bool) false ;
d55e5bfc
RD
35581 wxRect *arg5 = (wxRect *) NULL ;
35582 bool result;
35583 wxPoint temp2 ;
35584 PyObject * obj0 = 0 ;
35585 PyObject * obj1 = 0 ;
35586 PyObject * obj2 = 0 ;
35587 PyObject * obj3 = 0 ;
35588 PyObject * obj4 = 0 ;
35589 char *kwnames[] = {
35590 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35591 };
35592
35593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35596 {
35597 arg2 = &temp2;
35598 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35599 }
093d3ff1
RD
35600 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35601 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 35602 if (obj3) {
093d3ff1 35603 {
7449af73 35604 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
35605 if (SWIG_arg_fail(4)) SWIG_fail;
35606 }
d55e5bfc
RD
35607 }
35608 if (obj4) {
093d3ff1
RD
35609 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
35610 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
35611 }
35612 {
35613 PyThreadState* __tstate = wxPyBeginAllowThreads();
35614 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
35615
35616 wxPyEndAllowThreads(__tstate);
35617 if (PyErr_Occurred()) SWIG_fail;
35618 }
35619 {
35620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35621 }
35622 return resultobj;
35623 fail:
35624 return NULL;
35625}
35626
35627
c32bde28 35628static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35629 PyObject *resultobj = NULL;
d55e5bfc
RD
35630 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35631 wxPoint *arg2 = 0 ;
35632 wxWindow *arg3 = (wxWindow *) 0 ;
35633 wxWindow *arg4 = (wxWindow *) 0 ;
35634 bool result;
35635 wxPoint temp2 ;
35636 PyObject * obj0 = 0 ;
35637 PyObject * obj1 = 0 ;
35638 PyObject * obj2 = 0 ;
35639 PyObject * obj3 = 0 ;
35640 char *kwnames[] = {
35641 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35642 };
35643
35644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
35645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35647 {
35648 arg2 = &temp2;
35649 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35650 }
093d3ff1
RD
35651 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35652 if (SWIG_arg_fail(3)) SWIG_fail;
35653 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35654 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
35655 {
35656 PyThreadState* __tstate = wxPyBeginAllowThreads();
35657 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
35658
35659 wxPyEndAllowThreads(__tstate);
35660 if (PyErr_Occurred()) SWIG_fail;
35661 }
35662 {
35663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35664 }
35665 return resultobj;
35666 fail:
35667 return NULL;
35668}
35669
35670
c32bde28 35671static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35672 PyObject *resultobj = NULL;
d55e5bfc
RD
35673 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35674 bool result;
35675 PyObject * obj0 = 0 ;
35676 char *kwnames[] = {
35677 (char *) "self", NULL
35678 };
35679
35680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
35681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35683 {
35684 PyThreadState* __tstate = wxPyBeginAllowThreads();
35685 result = (bool)(arg1)->EndDrag();
35686
35687 wxPyEndAllowThreads(__tstate);
35688 if (PyErr_Occurred()) SWIG_fail;
35689 }
35690 {
35691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35692 }
35693 return resultobj;
35694 fail:
35695 return NULL;
35696}
35697
35698
c32bde28 35699static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35700 PyObject *resultobj = NULL;
d55e5bfc
RD
35701 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35702 wxPoint *arg2 = 0 ;
35703 bool result;
35704 wxPoint temp2 ;
35705 PyObject * obj0 = 0 ;
35706 PyObject * obj1 = 0 ;
35707 char *kwnames[] = {
35708 (char *) "self",(char *) "pt", NULL
35709 };
35710
35711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35714 {
35715 arg2 = &temp2;
35716 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35717 }
35718 {
35719 PyThreadState* __tstate = wxPyBeginAllowThreads();
35720 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
35721
35722 wxPyEndAllowThreads(__tstate);
35723 if (PyErr_Occurred()) SWIG_fail;
35724 }
35725 {
35726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35727 }
35728 return resultobj;
35729 fail:
35730 return NULL;
35731}
35732
35733
c32bde28 35734static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35735 PyObject *resultobj = NULL;
d55e5bfc
RD
35736 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35737 bool result;
35738 PyObject * obj0 = 0 ;
35739 char *kwnames[] = {
35740 (char *) "self", NULL
35741 };
35742
35743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
35744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35746 {
35747 PyThreadState* __tstate = wxPyBeginAllowThreads();
35748 result = (bool)(arg1)->Show();
35749
35750 wxPyEndAllowThreads(__tstate);
35751 if (PyErr_Occurred()) SWIG_fail;
35752 }
35753 {
35754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35755 }
35756 return resultobj;
35757 fail:
35758 return NULL;
35759}
35760
35761
c32bde28 35762static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35763 PyObject *resultobj = NULL;
d55e5bfc
RD
35764 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35765 bool result;
35766 PyObject * obj0 = 0 ;
35767 char *kwnames[] = {
35768 (char *) "self", NULL
35769 };
35770
35771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
35772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35774 {
35775 PyThreadState* __tstate = wxPyBeginAllowThreads();
35776 result = (bool)(arg1)->Hide();
35777
35778 wxPyEndAllowThreads(__tstate);
35779 if (PyErr_Occurred()) SWIG_fail;
35780 }
35781 {
35782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35783 }
35784 return resultobj;
35785 fail:
35786 return NULL;
35787}
35788
35789
c32bde28 35790static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35791 PyObject *resultobj = NULL;
d55e5bfc
RD
35792 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35793 wxPoint *arg2 = 0 ;
35794 wxRect result;
35795 wxPoint temp2 ;
35796 PyObject * obj0 = 0 ;
35797 PyObject * obj1 = 0 ;
35798 char *kwnames[] = {
35799 (char *) "self",(char *) "pos", NULL
35800 };
35801
35802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35805 {
35806 arg2 = &temp2;
35807 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35808 }
35809 {
35810 PyThreadState* __tstate = wxPyBeginAllowThreads();
35811 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
35812
35813 wxPyEndAllowThreads(__tstate);
35814 if (PyErr_Occurred()) SWIG_fail;
35815 }
35816 {
35817 wxRect * resultptr;
7449af73 35818 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
35819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
35820 }
35821 return resultobj;
35822 fail:
35823 return NULL;
35824}
35825
35826
c32bde28 35827static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35828 PyObject *resultobj = NULL;
d55e5bfc
RD
35829 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35830 wxDC *arg2 = 0 ;
35831 wxPoint *arg3 = 0 ;
35832 bool result;
35833 wxPoint temp3 ;
35834 PyObject * obj0 = 0 ;
35835 PyObject * obj1 = 0 ;
35836 PyObject * obj2 = 0 ;
35837 char *kwnames[] = {
35838 (char *) "self",(char *) "dc",(char *) "pos", NULL
35839 };
35840
35841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35843 if (SWIG_arg_fail(1)) SWIG_fail;
35844 {
35845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35846 if (SWIG_arg_fail(2)) SWIG_fail;
35847 if (arg2 == NULL) {
35848 SWIG_null_ref("wxDC");
35849 }
35850 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35851 }
35852 {
35853 arg3 = &temp3;
35854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35855 }
35856 {
35857 PyThreadState* __tstate = wxPyBeginAllowThreads();
35858 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
35859
35860 wxPyEndAllowThreads(__tstate);
35861 if (PyErr_Occurred()) SWIG_fail;
35862 }
35863 {
35864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35865 }
35866 return resultobj;
35867 fail:
35868 return NULL;
35869}
35870
35871
c32bde28 35872static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35873 PyObject *resultobj = NULL;
d55e5bfc
RD
35874 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35875 wxDC *arg2 = 0 ;
35876 wxMemoryDC *arg3 = 0 ;
35877 wxRect *arg4 = 0 ;
35878 wxRect *arg5 = 0 ;
35879 bool result;
35880 wxRect temp4 ;
35881 wxRect temp5 ;
35882 PyObject * obj0 = 0 ;
35883 PyObject * obj1 = 0 ;
35884 PyObject * obj2 = 0 ;
35885 PyObject * obj3 = 0 ;
35886 PyObject * obj4 = 0 ;
35887 char *kwnames[] = {
35888 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35889 };
35890
35891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35893 if (SWIG_arg_fail(1)) SWIG_fail;
35894 {
35895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35896 if (SWIG_arg_fail(2)) SWIG_fail;
35897 if (arg2 == NULL) {
35898 SWIG_null_ref("wxDC");
35899 }
35900 if (SWIG_arg_fail(2)) SWIG_fail;
35901 }
35902 {
35903 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
35904 if (SWIG_arg_fail(3)) SWIG_fail;
35905 if (arg3 == NULL) {
35906 SWIG_null_ref("wxMemoryDC");
35907 }
35908 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
35909 }
35910 {
35911 arg4 = &temp4;
35912 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
35913 }
35914 {
35915 arg5 = &temp5;
35916 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
35917 }
35918 {
35919 PyThreadState* __tstate = wxPyBeginAllowThreads();
35920 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
35921
35922 wxPyEndAllowThreads(__tstate);
35923 if (PyErr_Occurred()) SWIG_fail;
35924 }
35925 {
35926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35927 }
35928 return resultobj;
35929 fail:
35930 return NULL;
35931}
35932
35933
c32bde28 35934static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 35935 PyObject *resultobj = NULL;
d55e5bfc
RD
35936 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35937 wxPoint *arg2 = 0 ;
35938 wxPoint *arg3 = 0 ;
35939 bool arg4 ;
35940 bool arg5 ;
35941 bool result;
35942 wxPoint temp2 ;
35943 wxPoint temp3 ;
35944 PyObject * obj0 = 0 ;
35945 PyObject * obj1 = 0 ;
35946 PyObject * obj2 = 0 ;
35947 PyObject * obj3 = 0 ;
35948 PyObject * obj4 = 0 ;
35949 char *kwnames[] = {
35950 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35951 };
35952
35953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
35954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35956 {
35957 arg2 = &temp2;
35958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35959 }
35960 {
35961 arg3 = &temp3;
35962 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35963 }
093d3ff1 35964 {
7449af73 35965 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
35966 if (SWIG_arg_fail(4)) SWIG_fail;
35967 }
35968 {
7449af73 35969 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
35970 if (SWIG_arg_fail(5)) SWIG_fail;
35971 }
d55e5bfc
RD
35972 {
35973 PyThreadState* __tstate = wxPyBeginAllowThreads();
35974 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
35975
35976 wxPyEndAllowThreads(__tstate);
35977 if (PyErr_Occurred()) SWIG_fail;
35978 }
35979 {
35980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35981 }
35982 return resultobj;
35983 fail:
35984 return NULL;
35985}
35986
35987
c32bde28 35988static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35989 PyObject *obj;
35990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35991 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
35992 Py_INCREF(obj);
35993 return Py_BuildValue((char *)"");
35994}
53aa7709
RD
35995static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
35996 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
35997 return 1;
35998}
35999
36000
36001static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
7449af73 36002 PyObject *pyobj = NULL;
53aa7709
RD
36003
36004 {
36005#if wxUSE_UNICODE
36006 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
36007#else
36008 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
36009#endif
36010 }
36011 return pyobj;
36012}
36013
36014
36015static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36016 PyObject *resultobj = NULL;
53aa7709
RD
36017 wxWindow *arg1 = (wxWindow *) 0 ;
36018 int arg2 = (int) -1 ;
36019 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
36020 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
36021 wxPoint const &arg4_defvalue = wxDefaultPosition ;
36022 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
36023 wxSize const &arg5_defvalue = wxDefaultSize ;
36024 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
36025 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36026 wxValidator const &arg7_defvalue = wxDefaultValidator ;
36027 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
36028 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
36029 wxString *arg8 = (wxString *) &arg8_defvalue ;
36030 wxDatePickerCtrl *result;
36031 wxPoint temp4 ;
36032 wxSize temp5 ;
36033 bool temp8 = false ;
36034 PyObject * obj0 = 0 ;
36035 PyObject * obj1 = 0 ;
36036 PyObject * obj2 = 0 ;
36037 PyObject * obj3 = 0 ;
36038 PyObject * obj4 = 0 ;
36039 PyObject * obj5 = 0 ;
36040 PyObject * obj6 = 0 ;
36041 PyObject * obj7 = 0 ;
36042 char *kwnames[] = {
36043 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36044 };
36045
36046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36048 if (SWIG_arg_fail(1)) SWIG_fail;
36049 if (obj1) {
36050 {
7449af73 36051 arg2 = static_cast<int >(SWIG_As_int(obj1));
53aa7709
RD
36052 if (SWIG_arg_fail(2)) SWIG_fail;
36053 }
36054 }
36055 if (obj2) {
36056 {
36057 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36058 if (SWIG_arg_fail(3)) SWIG_fail;
36059 if (arg3 == NULL) {
36060 SWIG_null_ref("wxDateTime");
36061 }
36062 if (SWIG_arg_fail(3)) SWIG_fail;
36063 }
36064 }
36065 if (obj3) {
36066 {
36067 arg4 = &temp4;
36068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36069 }
36070 }
36071 if (obj4) {
36072 {
36073 arg5 = &temp5;
36074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36075 }
36076 }
36077 if (obj5) {
36078 {
7449af73 36079 arg6 = static_cast<long >(SWIG_As_long(obj5));
53aa7709
RD
36080 if (SWIG_arg_fail(6)) SWIG_fail;
36081 }
36082 }
36083 if (obj6) {
36084 {
36085 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36086 if (SWIG_arg_fail(7)) SWIG_fail;
36087 if (arg7 == NULL) {
36088 SWIG_null_ref("wxValidator");
36089 }
36090 if (SWIG_arg_fail(7)) SWIG_fail;
36091 }
36092 }
36093 if (obj7) {
36094 {
36095 arg8 = wxString_in_helper(obj7);
36096 if (arg8 == NULL) SWIG_fail;
36097 temp8 = true;
36098 }
36099 }
36100 {
36101 if (!wxPyCheckForApp()) SWIG_fail;
36102 PyThreadState* __tstate = wxPyBeginAllowThreads();
36103 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
36104
36105 wxPyEndAllowThreads(__tstate);
36106 if (PyErr_Occurred()) SWIG_fail;
36107 }
36108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
36109 {
36110 if (temp8)
36111 delete arg8;
36112 }
36113 return resultobj;
36114 fail:
36115 {
36116 if (temp8)
36117 delete arg8;
36118 }
36119 return NULL;
36120}
36121
36122
36123static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36124 PyObject *resultobj = NULL;
53aa7709
RD
36125 wxDatePickerCtrl *result;
36126 char *kwnames[] = {
36127 NULL
36128 };
36129
36130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
36131 {
36132 if (!wxPyCheckForApp()) SWIG_fail;
36133 PyThreadState* __tstate = wxPyBeginAllowThreads();
36134 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
36135
36136 wxPyEndAllowThreads(__tstate);
36137 if (PyErr_Occurred()) SWIG_fail;
36138 }
36139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
36140 return resultobj;
36141 fail:
36142 return NULL;
36143}
36144
36145
36146static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36147 PyObject *resultobj = NULL;
53aa7709
RD
36148 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36149 wxWindow *arg2 = (wxWindow *) 0 ;
36150 int arg3 = (int) -1 ;
36151 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
36152 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
36153 wxPoint const &arg5_defvalue = wxDefaultPosition ;
36154 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
36155 wxSize const &arg6_defvalue = wxDefaultSize ;
36156 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
36157 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36158 wxValidator const &arg8_defvalue = wxDefaultValidator ;
36159 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
36160 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
36161 wxString *arg9 = (wxString *) &arg9_defvalue ;
36162 bool result;
36163 wxPoint temp5 ;
36164 wxSize temp6 ;
36165 bool temp9 = false ;
36166 PyObject * obj0 = 0 ;
36167 PyObject * obj1 = 0 ;
36168 PyObject * obj2 = 0 ;
36169 PyObject * obj3 = 0 ;
36170 PyObject * obj4 = 0 ;
36171 PyObject * obj5 = 0 ;
36172 PyObject * obj6 = 0 ;
36173 PyObject * obj7 = 0 ;
36174 PyObject * obj8 = 0 ;
36175 char *kwnames[] = {
36176 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36177 };
36178
36179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36181 if (SWIG_arg_fail(1)) SWIG_fail;
36182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36183 if (SWIG_arg_fail(2)) SWIG_fail;
36184 if (obj2) {
36185 {
7449af73 36186 arg3 = static_cast<int >(SWIG_As_int(obj2));
53aa7709
RD
36187 if (SWIG_arg_fail(3)) SWIG_fail;
36188 }
36189 }
36190 if (obj3) {
36191 {
36192 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36193 if (SWIG_arg_fail(4)) SWIG_fail;
36194 if (arg4 == NULL) {
36195 SWIG_null_ref("wxDateTime");
36196 }
36197 if (SWIG_arg_fail(4)) SWIG_fail;
36198 }
36199 }
36200 if (obj4) {
36201 {
36202 arg5 = &temp5;
36203 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36204 }
36205 }
36206 if (obj5) {
36207 {
36208 arg6 = &temp6;
36209 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36210 }
36211 }
36212 if (obj6) {
36213 {
7449af73 36214 arg7 = static_cast<long >(SWIG_As_long(obj6));
53aa7709
RD
36215 if (SWIG_arg_fail(7)) SWIG_fail;
36216 }
36217 }
36218 if (obj7) {
36219 {
36220 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36221 if (SWIG_arg_fail(8)) SWIG_fail;
36222 if (arg8 == NULL) {
36223 SWIG_null_ref("wxValidator");
36224 }
36225 if (SWIG_arg_fail(8)) SWIG_fail;
36226 }
36227 }
36228 if (obj8) {
36229 {
36230 arg9 = wxString_in_helper(obj8);
36231 if (arg9 == NULL) SWIG_fail;
36232 temp9 = true;
36233 }
36234 }
36235 {
36236 PyThreadState* __tstate = wxPyBeginAllowThreads();
36237 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
36238
36239 wxPyEndAllowThreads(__tstate);
36240 if (PyErr_Occurred()) SWIG_fail;
36241 }
36242 {
36243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36244 }
36245 {
36246 if (temp9)
36247 delete arg9;
36248 }
36249 return resultobj;
36250 fail:
36251 {
36252 if (temp9)
36253 delete arg9;
36254 }
36255 return NULL;
36256}
36257
36258
36259static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36260 PyObject *resultobj = NULL;
53aa7709
RD
36261 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36262 wxDateTime *arg2 = 0 ;
36263 PyObject * obj0 = 0 ;
36264 PyObject * obj1 = 0 ;
36265 char *kwnames[] = {
36266 (char *) "self",(char *) "dt", NULL
36267 };
36268
36269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36271 if (SWIG_arg_fail(1)) SWIG_fail;
36272 {
36273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36274 if (SWIG_arg_fail(2)) SWIG_fail;
36275 if (arg2 == NULL) {
36276 SWIG_null_ref("wxDateTime");
36277 }
36278 if (SWIG_arg_fail(2)) SWIG_fail;
36279 }
36280 {
36281 PyThreadState* __tstate = wxPyBeginAllowThreads();
36282 (arg1)->SetValue((wxDateTime const &)*arg2);
36283
36284 wxPyEndAllowThreads(__tstate);
36285 if (PyErr_Occurred()) SWIG_fail;
36286 }
36287 Py_INCREF(Py_None); resultobj = Py_None;
36288 return resultobj;
36289 fail:
36290 return NULL;
36291}
36292
36293
36294static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36295 PyObject *resultobj = NULL;
53aa7709
RD
36296 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36297 wxDateTime result;
36298 PyObject * obj0 = 0 ;
36299 char *kwnames[] = {
36300 (char *) "self", NULL
36301 };
36302
36303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
36304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36305 if (SWIG_arg_fail(1)) SWIG_fail;
36306 {
36307 PyThreadState* __tstate = wxPyBeginAllowThreads();
36308 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
36309
36310 wxPyEndAllowThreads(__tstate);
36311 if (PyErr_Occurred()) SWIG_fail;
36312 }
36313 {
36314 wxDateTime * resultptr;
7449af73 36315 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36317 }
36318 return resultobj;
36319 fail:
36320 return NULL;
36321}
36322
36323
36324static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36325 PyObject *resultobj = NULL;
53aa7709
RD
36326 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36327 wxDateTime *arg2 = 0 ;
36328 wxDateTime *arg3 = 0 ;
36329 PyObject * obj0 = 0 ;
36330 PyObject * obj1 = 0 ;
36331 PyObject * obj2 = 0 ;
36332 char *kwnames[] = {
36333 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36334 };
36335
36336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36338 if (SWIG_arg_fail(1)) SWIG_fail;
36339 {
36340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36341 if (SWIG_arg_fail(2)) SWIG_fail;
36342 if (arg2 == NULL) {
36343 SWIG_null_ref("wxDateTime");
36344 }
36345 if (SWIG_arg_fail(2)) SWIG_fail;
36346 }
36347 {
36348 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36349 if (SWIG_arg_fail(3)) SWIG_fail;
36350 if (arg3 == NULL) {
36351 SWIG_null_ref("wxDateTime");
36352 }
36353 if (SWIG_arg_fail(3)) SWIG_fail;
36354 }
36355 {
36356 PyThreadState* __tstate = wxPyBeginAllowThreads();
36357 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
36358
36359 wxPyEndAllowThreads(__tstate);
36360 if (PyErr_Occurred()) SWIG_fail;
36361 }
36362 Py_INCREF(Py_None); resultobj = Py_None;
36363 return resultobj;
36364 fail:
36365 return NULL;
36366}
36367
36368
36369static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36370 PyObject *resultobj = NULL;
53aa7709
RD
36371 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36372 wxDateTime result;
36373 PyObject * obj0 = 0 ;
36374 char *kwnames[] = {
36375 (char *) "self", NULL
36376 };
36377
36378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
36379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36380 if (SWIG_arg_fail(1)) SWIG_fail;
36381 {
36382 PyThreadState* __tstate = wxPyBeginAllowThreads();
36383 result = wxDatePickerCtrl_GetLowerLimit(arg1);
36384
36385 wxPyEndAllowThreads(__tstate);
36386 if (PyErr_Occurred()) SWIG_fail;
36387 }
36388 {
36389 wxDateTime * resultptr;
7449af73 36390 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36392 }
36393 return resultobj;
36394 fail:
36395 return NULL;
36396}
36397
36398
36399static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 36400 PyObject *resultobj = NULL;
53aa7709
RD
36401 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36402 wxDateTime result;
36403 PyObject * obj0 = 0 ;
36404 char *kwnames[] = {
36405 (char *) "self", NULL
36406 };
36407
36408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
36409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36410 if (SWIG_arg_fail(1)) SWIG_fail;
36411 {
36412 PyThreadState* __tstate = wxPyBeginAllowThreads();
36413 result = wxDatePickerCtrl_GetUpperLimit(arg1);
36414
36415 wxPyEndAllowThreads(__tstate);
36416 if (PyErr_Occurred()) SWIG_fail;
36417 }
36418 {
36419 wxDateTime * resultptr;
7449af73 36420 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
53aa7709
RD
36421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36422 }
36423 return resultobj;
36424 fail:
36425 return NULL;
36426}
36427
36428
36429static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
36430 PyObject *obj;
36431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36432 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
36433 Py_INCREF(obj);
36434 return Py_BuildValue((char *)"");
36435}
d55e5bfc 36436static PyMethodDef SwigMethods[] = {
093d3ff1
RD
36437 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
36438 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
36439 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36440 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36441 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36442 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36443 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
36444 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36445 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36446 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36447 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36448 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36449 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36450 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36451 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36452 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36453 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36454 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36455 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36456 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
36457 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
36458 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
36459 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36460 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36461 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36462 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36463 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36464 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36465 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36466 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36467 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
36468 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
36469 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36470 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
36471 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
36472 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
36473 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff 36474 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36475 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36476 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
36477 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36478 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36479 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36480 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36481 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36482 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36483 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36484 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36485 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36486 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36487 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36488 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36489 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36490 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
36491 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff 36492 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36493 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36494 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36495 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36496 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36497 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36498 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36499 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36500 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36501 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36502 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36503 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36504 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36505 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36506 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36507 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36508 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
36509 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
36510 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
36511 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36512 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36513 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36514 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36515 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36516 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36517 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36518 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36519 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36520 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36521 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36522 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
36523 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36524 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36525 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36526 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36527 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
36528 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36529 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36530 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36531 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36532 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36533 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36534 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
36535 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36536 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36537 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff 36538 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36539 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36540 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
36541 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36542 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36543 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36544 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36545 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36546 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36547 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36548 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
36549 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36550 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36551 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36552 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
36553 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
36554 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36555 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36556 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36557 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36558 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
36559 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36560 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36561 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36562 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
36563 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
36564 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36565 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36566 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
36567 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36568 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36569 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36570 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36571 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
36572 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36573 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36574 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36575 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36576 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
36577 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36578 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36579 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
36580 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
36581 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36582 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36583 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
36584 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36585 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36586 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36587 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36588 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36589 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36590 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36591 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36592 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36593 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36594 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36595 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36596 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36597 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36598 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36599 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36600 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36601 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36602 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36603 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36604 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36605 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36606 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36607 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36608 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36609 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36610 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
36611 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
36612 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36613 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36614 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36615 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36616 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36617 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36618 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
36619 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
36620 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
36621 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
36622 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36623 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36624 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
36625 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36626 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36630 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
36635 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
36637 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
36638 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36643 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36645 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36646 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
36647 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36648 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36654 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36656 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36657 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36660 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36663 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36664 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
36670 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36671 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36672 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36674 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
36675 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36676 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36678 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36679 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36681 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36683 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36686 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
36687 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36689 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36691 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
36700 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36702 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36705 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36707 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
36712 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36713 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36715 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
36716 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36720 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36726 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36727 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
36728 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
36734 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36736 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36737 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36738 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36740 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
36741 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36745 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36753 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36766 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
36767 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
36775 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36778 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36782 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef
RD
36788 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36790 { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
36791 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36792 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36793 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36796 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36797 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36798 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36800 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
36802 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36807 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
36808 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
36810 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 36816 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36817 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
36819 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
36821 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36824 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
36826 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
36828 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe 36831 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36832 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36833 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
36834 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
7e08d4ef
RD
36836 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL},
36838 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36841 { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
36846 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
36850 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
36852 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36854 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36857 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
36858 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36859 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
36860 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
36862 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
36868 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36870 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36871 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36874 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
36878 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36879 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36882 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36883 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36885 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36886 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36887 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36888 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36889 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
36890 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
36892 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36894 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
36897 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36898 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
36900 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
36902 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36904 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36912 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36913 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36914 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36916 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36918 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36920 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36924 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
36926 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
36935 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36936 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36937 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
36941 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36942 { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36943 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36946 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36947 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36948 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36949 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 36952 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
36953 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
36955 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36956 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36958 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36962 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
36965 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36966 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36969 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36974 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36979 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36982 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36983 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36984 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
36990 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
37001 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
37005 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
37006 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
37007 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37008 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
37009 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
37013 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
37014 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
37015 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
37016 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
37018 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
37019 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37021 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
37025 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
37027 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
37034 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37035 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37036 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37040 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37044 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
37045 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37054 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37055 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37056 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37057 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37058 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
37059 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37060 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37061 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
37062 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37063 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37064 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37065 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37066 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
37067 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
37068 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
37069 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
37070 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37071 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37072 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37073 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
37074 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
37075 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
37076 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
37077 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
37078 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
37079 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37080 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37081 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
37082 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
37083 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37084 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37085 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37086 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
37087 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37088 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
37089 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37090 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37091 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
37092 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
37093 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 37094 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37095 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37096 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37097 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
37098 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37099 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37100 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37101 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
37102 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37103 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37104 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
37105 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37106 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37107 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
37108 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
37109 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
37110 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37111 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
37112 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
37113 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
37114 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37115 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37116 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37117 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
37118 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
37119 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
37120 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
37121 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
37122 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
37123 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
37124 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
37125 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
37126 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
37127 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
37128 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 37129 { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37130 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
37131 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
37132 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
37133 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
37134 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37135 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
37136 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37137 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37138 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37139 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
37140 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
37141 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37142 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37143 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37144 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
37145 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37146 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37147 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37148 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37149 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37150 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74 37151 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37152 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
37153 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37154 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37155 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37156 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37157 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
37158 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37159 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37160 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37161 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37162 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37163 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37164 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37165 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37166 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37167 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37168 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37169 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37170 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37171 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37172 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37173 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37174 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37175 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37176 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37177 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37178 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37179 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37180 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
37181 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37182 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37183 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37184 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37185 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37186 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37187 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
37188 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37189 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
37190 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
37191 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
37192 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37193 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
37194 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
37195 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
37196 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
37197 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
37198 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37199 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37200 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
37201 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37202 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37203 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
37204 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
37205 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37206 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
37207 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
37208 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
37209 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37210 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37211 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
37212 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
37213 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
37214 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
37215 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
37216 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37217 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
37218 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37219 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37220 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37221 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
37222 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37223 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37224 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37225 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37226 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37227 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37228 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
37229 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
37230 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37231 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
37232 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37233 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37234 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37235 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
37236 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37237 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37238 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37239 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
37240 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37241 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37242 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37243 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37244 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37245 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37246 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37247 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
37248 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37249 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37250 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
37251 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
37252 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
37253 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
37254 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37255 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37256 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37257 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
37258 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
37259 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37260 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37261 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37262 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 37263 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
37264 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37265 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37266 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37267 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37268 { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37269 { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37270 { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37271 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37272 { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37273 { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
37274 { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37275 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37276 { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
37277 { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
37278 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
37279 { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
37280 { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
37281 { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
37282 { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
37283 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37284 { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
37285 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
37286 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37287 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37288 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37289 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37290 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37291 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37292 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37293 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
37294 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37295 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37296 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37297 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37298 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
37299 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
37300 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
37301 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
37302 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
37303 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37304 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37305 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37306 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
37307 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37308 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37309 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
37310 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
37311 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
37312 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37313 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
37314 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
37315 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
37316 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37317 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37318 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
37319 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37320 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
37321 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37322 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
37323 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
37324 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
37325 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
37326 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37327 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37328 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37329 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
37330 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37331 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37332 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37333 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37334 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37335 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
37336 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37337 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37338 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c32bde28 37339 { NULL, NULL, 0, NULL }
d55e5bfc
RD
37340};
37341
37342
37343/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37344
d55e5bfc
RD
37345static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37346 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37347}
37348static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37349 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37350}
37351static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37352 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37353}
37354static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37355 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37356}
37357static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37358 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37359}
8ac8dba0
RD
37360static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
37361 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37362}
d55e5bfc
RD
37363static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
37364 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37365}
37366static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37367 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37368}
37369static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37370 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37371}
37372static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37373 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37374}
37375static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
37376 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
37377}
d55e5bfc
RD
37378static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37379 return (void *)((wxEvent *) ((wxPyEvent *) x));
37380}
37381static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37382 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37383}
37384static void *_p_wxListEventTo_p_wxEvent(void *x) {
37385 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37386}
37387static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 37388 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
37389}
37390static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 37391 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 37392}
ae8162c8 37393static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 37394 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 37395}
7e08d4ef
RD
37396static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
37397 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37398}
37399static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
37400 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37401}
d55e5bfc
RD
37402static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
37403 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
37404}
37405static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37406 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37407}
37408static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37410}
37411static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37412 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37413}
37414static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37415 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37416}
37417static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37418 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37419}
37420static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37421 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37422}
37423static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37424 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37425}
37426static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37427 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37428}
53aa7709
RD
37429static void *_p_wxDateEventTo_p_wxEvent(void *x) {
37430 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
37431}
d55e5bfc
RD
37432static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37433 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37434}
37435static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37436 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37437}
37438static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37439 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37440}
37441static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37442 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37443}
37444static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37445 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37446}
37447static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37448 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37449}
37450static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37451 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37452}
37453static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37454 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37455}
37456static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37457 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37458}
37459static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37460 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37461}
37462static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37463 return (void *)((wxEvent *) ((wxShowEvent *) x));
37464}
37465static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37466 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37467}
37468static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37469 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37470}
37471static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37472 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37473}
37474static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37475 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37476}
37477static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37478 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37479}
37480static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37481 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37482}
37483static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
37484 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37485}
37486static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
37487 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
37488}
37489static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
37490 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37491}
37492static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
37493 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
37494}
37495static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37496 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37497}
37498static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
37499 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
37500}
37501static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
37502 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37503}
37504static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
37505 return (void *)((wxPyListCtrl *) ((wxListView *) x));
37506}
8ac8dba0
RD
37507static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
37508 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
37509}
37510static void *_p_wxToolBarTo_p_wxControl(void *x) {
37511 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
37512}
ae8162c8
RD
37513static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
37514 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 37515}
ae8162c8
RD
37516static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
37517 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 37518}
7e08d4ef
RD
37519static void *_p_wxToolbookTo_p_wxControl(void *x) {
37520 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
d55e5bfc 37521}
ae8162c8
RD
37522static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
37523 return (void *)((wxControl *) ((wxToolBarBase *) x));
37524}
37525static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
37526 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
37527}
37528static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
37529 return (void *)((wxControl *) ((wxPyListCtrl *) x));
37530}
ae8162c8
RD
37531static void *_p_wxComboBoxTo_p_wxControl(void *x) {
37532 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
d55e5bfc 37533}
7e08d4ef
RD
37534static void *_p_wxPyControlTo_p_wxControl(void *x) {
37535 return (void *)((wxControl *) ((wxPyControl *) x));
37536}
ae8162c8
RD
37537static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
37538 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
37539}
37540static void *_p_wxScrollBarTo_p_wxControl(void *x) {
37541 return (void *)((wxControl *) ((wxScrollBar *) x));
37542}
ae8162c8
RD
37543static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37544 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
37545}
37546static void *_p_wxGaugeTo_p_wxControl(void *x) {
37547 return (void *)((wxControl *) ((wxGauge *) x));
37548}
ae8162c8
RD
37549static void *_p_wxStaticLineTo_p_wxControl(void *x) {
37550 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 37551}
ae8162c8 37552static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 37553 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 37554}
ae8162c8 37555static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 37556 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 37557}
ae8162c8
RD
37558static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
37559 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 37560}
ae8162c8
RD
37561static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
37562 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
37563}
37564static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
37565 return (void *)((wxControl *) ((wxRadioBox *) x));
37566}
ae8162c8
RD
37567static void *_p_wxChoiceTo_p_wxControl(void *x) {
37568 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
37569}
37570static void *_p_wxListBoxTo_p_wxControl(void *x) {
37571 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
37572}
37573static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
37574 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37575}
37576static void *_p_wxListViewTo_p_wxControl(void *x) {
37577 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
37578}
d55e5bfc 37579static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 37580 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 37581}
ae8162c8
RD
37582static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
37583 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 37584}
ae8162c8
RD
37585static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
37586 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 37587}
ae8162c8
RD
37588static void *_p_wxStaticTextTo_p_wxControl(void *x) {
37589 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 37590}
ae8162c8
RD
37591static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
37592 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
37593}
37594static void *_p_wxSliderTo_p_wxControl(void *x) {
37595 return (void *)((wxControl *) ((wxSlider *) x));
37596}
7e08d4ef
RD
37597static void *_p_wxTreebookTo_p_wxControl(void *x) {
37598 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
d55e5bfc 37599}
ae8162c8
RD
37600static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
37601 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 37602}
ae8162c8
RD
37603static void *_p_wxButtonTo_p_wxControl(void *x) {
37604 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 37605}
ae8162c8
RD
37606static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
37607 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
37608}
7e08d4ef
RD
37609static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
37610 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37611}
53aa7709
RD
37612static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
37613 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
37614}
ae8162c8
RD
37615static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
37616 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
37617}
37618static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
37619 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
37620}
37621static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
37622 return (void *)((wxChoice *) ((wxComboBox *) x));
37623}
37624static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
37625 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
37626}
8ac8dba0
RD
37627static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
37628 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37629}
d55e5bfc
RD
37630static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
37631 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
37632}
d55e5bfc
RD
37633static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
37634 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
37635}
37636static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
37637 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
37638}
37639static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 37640 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
37641}
37642static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 37643 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 37644}
ae8162c8 37645static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
37646 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37647}
7e08d4ef
RD
37648static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
37649 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37650}
37651static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
37652 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37653}
8ac8dba0
RD
37654static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
37655 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
37656}
37657static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
37658 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
ae8162c8 37659}
7e08d4ef
RD
37660static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
37661 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
37662}
37663static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
37664 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
37665}
8ac8dba0
RD
37666static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
37667 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37668}
37669static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37671}
8ac8dba0
RD
37672static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
37673 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37674}
d55e5bfc
RD
37675static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37676 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37677}
37678static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37679 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37680}
37681static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
37682 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37683}
37684static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37685 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37686}
37687static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
37688 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
37689}
37690static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
37691 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
37692}
7e08d4ef
RD
37693static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
37694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37695}
d55e5bfc
RD
37696static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37697 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37698}
37699static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37700 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37701}
d55e5bfc
RD
37702static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
37703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
37704}
7e08d4ef
RD
37705static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
37706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37707}
ae8162c8
RD
37708static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
37709 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37710}
d55e5bfc
RD
37711static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
37712 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37713}
37714static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
37715 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
37716}
37717static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37718 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37719}
37720static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
37721 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37722}
37723static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
37724 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
37725}
37726static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37727 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37728}
37729static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
37730 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
37731}
37732static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
37733 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
37734}
ae8162c8 37735static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37736 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 37737}
d55e5bfc 37738static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37739 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
37740}
37741static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
37742 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37743}
37744static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
37745 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
37746}
37747static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
37748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
37749}
37750static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
37751 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37752}
37753static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
37754 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37755}
37756static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
37757 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37758}
37759static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 37760 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37761}
37762static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
37763 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37764}
37765static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
37766 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37767}
37768static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
37769 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37770}
37771static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
37772 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
37773}
37774static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
37775 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
37776}
37777static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
37778 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
37779}
7e08d4ef
RD
37780static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
37781 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37782}
d55e5bfc
RD
37783static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
37784 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
37785}
37786static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
37787 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
37788}
37789static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
37790 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37791}
37792static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
37793 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37794}
53aa7709
RD
37795static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
37796 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37797}
d55e5bfc
RD
37798static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
37799 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37800}
37801static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
37802 return (void *)((wxListBox *) ((wxCheckListBox *) x));
37803}
d55e5bfc
RD
37804static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
37805 return (void *)((wxButton *) ((wxBitmapButton *) x));
37806}
37807static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
37808 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
37809}
37810static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
37811 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
37812}
37813static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
37814 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
37815}
37816static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37817 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37818}
7e08d4ef
RD
37819static void *_p_wxToolbookTo_p_wxObject(void *x) {
37820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37821}
d55e5bfc
RD
37822static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37823 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37824}
37825static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37826 return (void *)((wxObject *) ((wxSizerItem *) x));
37827}
37828static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37830}
37831static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37832 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37833}
37834static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
37835 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
37836}
d55e5bfc
RD
37837static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37838 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37839}
37840static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37841 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37842}
37843static void *_p_wxSizerTo_p_wxObject(void *x) {
37844 return (void *)((wxObject *) ((wxSizer *) x));
37845}
37846static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37847 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37848}
37849static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
37850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
37851}
37852static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
37853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37854}
37855static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37856 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37857}
37858static void *_p_wxEventTo_p_wxObject(void *x) {
37859 return (void *)((wxObject *) ((wxEvent *) x));
37860}
37861static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37862 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37863}
37864static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37865 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37866}
37867static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37868 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37869}
37870static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
37871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37872}
37873static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
37874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37875}
37876static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
37877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37878}
37879static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37880 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37881}
37882static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37883 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37884}
37885static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37886 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37887}
37888static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37889 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37890}
37891static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37892 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37893}
37894static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37895 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37896}
37897static void *_p_wxStaticLineTo_p_wxObject(void *x) {
37898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
37899}
37900static void *_p_wxControlTo_p_wxObject(void *x) {
37901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37902}
37903static void *_p_wxPyControlTo_p_wxObject(void *x) {
37904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
37905}
37906static void *_p_wxGaugeTo_p_wxObject(void *x) {
37907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
37908}
37909static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
37910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
37911}
37912static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
37913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
37914}
37915static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
37916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37917}
37918static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37919 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37920}
37921static void *_p_wxChoiceTo_p_wxObject(void *x) {
37922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37923}
37924static void *_p_wxFSFileTo_p_wxObject(void *x) {
37925 return (void *)((wxObject *) ((wxFSFile *) x));
37926}
37927static void *_p_wxPySizerTo_p_wxObject(void *x) {
37928 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37929}
7e08d4ef
RD
37930static void *_p_wxTreebookTo_p_wxObject(void *x) {
37931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37932}
d55e5bfc
RD
37933static void *_p_wxListViewTo_p_wxObject(void *x) {
37934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37935}
37936static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
37937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37938}
37939static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 37940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
37941}
37942static void *_p_wxPyEventTo_p_wxObject(void *x) {
37943 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37944}
37945static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37946 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37947}
ae8162c8 37948static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 37949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 37950}
d55e5bfc 37951static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 37952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
37953}
37954static void *_p_wxShowEventTo_p_wxObject(void *x) {
37955 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37956}
37957static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
37958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37959}
37960static void *_p_wxSliderTo_p_wxObject(void *x) {
37961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
37962}
37963static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37964 return (void *)((wxObject *) ((wxMenuItem *) x));
37965}
53aa7709
RD
37966static void *_p_wxDateEventTo_p_wxObject(void *x) {
37967 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
37968}
d55e5bfc
RD
37969static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37970 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37971}
37972static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37974}
37975static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37976 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37977}
37978static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37979 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37980}
37981static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37982 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37983}
37984static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37985 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37986}
37987static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37988 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37989}
37990static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37991 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37992}
37993static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
37994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
37995}
37996static void *_p_wxContextHelpTo_p_wxObject(void *x) {
37997 return (void *)((wxObject *) ((wxContextHelp *) x));
37998}
8ac8dba0
RD
37999static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
38000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
38001}
d55e5bfc
RD
38002static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
38003 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
38004}
38005static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
38006 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
38007}
38008static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
38009 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
38010}
38011static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
38012 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
38013}
38014static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
38015 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
38016}
38017static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
38018 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
38019}
38020static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
38021 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
38022}
38023static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
38024 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
38025}
38026static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
38027 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
38028}
9d7dfdff
RD
38029static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
38030 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
38031}
d55e5bfc
RD
38032static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
38033 return (void *)((wxObject *) ((wxImageHandler *) x));
38034}
9d7dfdff
RD
38035static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
38036 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
38037}
d55e5bfc
RD
38038static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
38039 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
38040}
38041static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
38042 return (void *)((wxObject *) ((wxEvtHandler *) x));
38043}
38044static void *_p_wxListEventTo_p_wxObject(void *x) {
38045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
38046}
38047static void *_p_wxListBoxTo_p_wxObject(void *x) {
38048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38049}
38050static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
38051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38052}
d55e5bfc
RD
38053static void *_p_wxButtonTo_p_wxObject(void *x) {
38054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
38055}
38056static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
38057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
38058}
38059static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
38060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
38061}
38062static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
38063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38064}
62d32a5f
RD
38065static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
38066 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
38067}
d55e5bfc
RD
38068static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
38069 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
38070}
38071static void *_p_wxScrollBarTo_p_wxObject(void *x) {
38072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
38073}
38074static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
38075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
38076}
38077static void *_p_wxComboBoxTo_p_wxObject(void *x) {
38078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
38079}
38080static void *_p_wxHelpEventTo_p_wxObject(void *x) {
38081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
38082}
38083static void *_p_wxListItemTo_p_wxObject(void *x) {
38084 return (void *)((wxObject *) ((wxListItem *) x));
38085}
38086static void *_p_wxImageTo_p_wxObject(void *x) {
38087 return (void *)((wxObject *) ((wxImage *) x));
38088}
d55e5bfc
RD
38089static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
38090 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
38091}
38092static void *_p_wxSpinEventTo_p_wxObject(void *x) {
38093 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
38094}
38095static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
38096 return (void *)((wxObject *) ((wxGenericDragImage *) x));
38097}
38098static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
38099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
38100}
38101static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 38102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
38103}
38104static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 38105 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 38106}
ae8162c8 38107static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 38108 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 38109}
7e08d4ef
RD
38110static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
38111 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38112}
38113static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
38114 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38115}
d55e5bfc
RD
38116static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
38117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38118}
38119static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
38120 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
38121}
38122static void *_p_wxKeyEventTo_p_wxObject(void *x) {
38123 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
38124}
38125static void *_p_wxWindowTo_p_wxObject(void *x) {
38126 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
38127}
38128static void *_p_wxMenuTo_p_wxObject(void *x) {
38129 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
38130}
38131static void *_p_wxMenuBarTo_p_wxObject(void *x) {
38132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
38133}
38134static void *_p_wxFileSystemTo_p_wxObject(void *x) {
38135 return (void *)((wxObject *) ((wxFileSystem *) x));
38136}
38137static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
38138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
38139}
38140static void *_p_wxMenuEventTo_p_wxObject(void *x) {
38141 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
38142}
38143static void *_p_wxPyAppTo_p_wxObject(void *x) {
38144 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
38145}
38146static void *_p_wxCloseEventTo_p_wxObject(void *x) {
38147 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
38148}
38149static void *_p_wxMouseEventTo_p_wxObject(void *x) {
38150 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
38151}
38152static void *_p_wxEraseEventTo_p_wxObject(void *x) {
38153 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
38154}
8ac8dba0
RD
38155static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
38156 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38157}
d55e5bfc
RD
38158static void *_p_wxTreeEventTo_p_wxObject(void *x) {
38159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
38160}
38161static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
38162 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
38163}
38164static void *_p_wxCommandEventTo_p_wxObject(void *x) {
38165 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
38166}
38167static void *_p_wxStaticTextTo_p_wxObject(void *x) {
38168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
38169}
38170static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
38171 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
38172}
38173static void *_p_wxFocusEventTo_p_wxObject(void *x) {
38174 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
38175}
38176static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
38177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
38178}
53aa7709
RD
38179static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
38180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
38181}
d55e5bfc
RD
38182static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
38183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
38184}
38185static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
38186 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
38187}
38188static void *_p_wxToolBarTo_p_wxObject(void *x) {
38189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38190}
38191static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
38192 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
38193}
38194static void *_p_wxValidatorTo_p_wxObject(void *x) {
38195 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
38196}
d55e5bfc
RD
38197static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
38198 return (void *)((wxWindow *) ((wxMenuBar *) x));
38199}
8ac8dba0
RD
38200static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
38201 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
38202}
d55e5bfc
RD
38203static void *_p_wxToolBarTo_p_wxWindow(void *x) {
38204 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38205}
38206static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
38207 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
38208}
38209static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
38210 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
38211}
7e08d4ef
RD
38212static void *_p_wxToolbookTo_p_wxWindow(void *x) {
38213 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
38214}
d55e5bfc
RD
38215static void *_p_wxControlTo_p_wxWindow(void *x) {
38216 return (void *)((wxWindow *) ((wxControl *) x));
38217}
38218static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
38219 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
38220}
d55e5bfc
RD
38221static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
38222 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
38223}
38224static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
38225 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
38226}
7e08d4ef
RD
38227static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
38228 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
38229}
ae8162c8
RD
38230static void *_p_wxPyControlTo_p_wxWindow(void *x) {
38231 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
38232}
d55e5bfc
RD
38233static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
38234 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
38235}
38236static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
38237 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
38238}
38239static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
38240 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
38241}
38242static void *_p_wxGaugeTo_p_wxWindow(void *x) {
38243 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
38244}
38245static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
38246 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
38247}
ae8162c8 38248static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 38249 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 38250}
d55e5bfc 38251static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 38252 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
38253}
38254static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
38255 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
38256}
38257static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
38258 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
38259}
38260static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
38261 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
38262}
38263static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
38264 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38265}
38266static void *_p_wxChoiceTo_p_wxWindow(void *x) {
38267 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
38268}
38269static void *_p_wxListBoxTo_p_wxWindow(void *x) {
38270 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38271}
38272static void *_p_wxListViewTo_p_wxWindow(void *x) {
38273 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
38274}
38275static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 38276 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
38277}
38278static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
38279 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
38280}
38281static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
38282 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
38283}
38284static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
38285 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
38286}
38287static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
38288 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
38289}
38290static void *_p_wxSliderTo_p_wxWindow(void *x) {
38291 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
38292}
7e08d4ef
RD
38293static void *_p_wxTreebookTo_p_wxWindow(void *x) {
38294 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
38295}
d55e5bfc
RD
38296static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
38297 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
38298}
38299static void *_p_wxButtonTo_p_wxWindow(void *x) {
38300 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
38301}
38302static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
38303 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
38304}
38305static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
38306 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38307}
53aa7709
RD
38308static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
38309 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
38310}
d55e5bfc
RD
38311static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
38312 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
38313}
8ac8dba0
RD
38314static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38315 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38316}
38317static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38318 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38319}
38320static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38321 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38322}
7e08d4ef
RD
38323static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38324 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38325}
38326static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38327 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38328}
d55e5bfc
RD
38329static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
38330 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38331}
d55e5bfc
RD
38332static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
38333 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
38334}
38335static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
38336 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
38337}
38338static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
38339 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
38340}
38341static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
38342 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
38343}
38344static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
38345 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
38346}
38347static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 38348 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
38349}
38350static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 38351 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 38352}
53aa7709
RD
38353static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
38354 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38355}
7e08d4ef
RD
38356static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
38357 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38358}
38359static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
38360 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38361}
53aa7709
RD
38362static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
38363 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
38364}
d55e5bfc
RD
38365static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
38366 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
38367}
ae8162c8
RD
38368static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
38369 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
38370}
8ac8dba0
RD
38371static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
38372 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38373}
d55e5bfc
RD
38374static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
38375 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
38376}
38377static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
38378 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
38379}
38380static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
38381 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
38382}
38383static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
38384 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
38385}
38386static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
38387 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
38388}
38389static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
38390 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
38391}
38392static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
38393 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
38394}
38395static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
38396 return (void *)((wxControlWithItems *) ((wxChoice *) x));
38397}
38398static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
38399 return (void *)((wxControlWithItems *) ((wxListBox *) x));
38400}
38401static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
38402 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
38403}
38404static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
38405 return (void *)((wxValidator *) ((wxPyValidator *) x));
38406}
7449af73
RD
38407static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
38408static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
38409static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38410static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
38411static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
38412static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38413static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38414static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38415static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
38416static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38417static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38418static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38419static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38420static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38421static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38422static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
38423static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38424static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38425static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38426static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38427static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38428static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
38429static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38430static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38431static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38432static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
38433static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38434static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38435static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38436static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
38437static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38438static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38439static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38440static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38441static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
38442static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38443static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38444static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
38445static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38446static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38447static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38448static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38449static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38450static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
38451static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
38452static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
38453static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38454static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38455static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
38456static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
38457static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38458static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38459static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
38460static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
38461static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
38462static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
38463static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
38464static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
7e08d4ef 38465static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
7449af73
RD
38466static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38467static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
7449af73
RD
38468static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38469static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38470static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
38471static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
38472static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38473static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38474static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38475static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
38476static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
38477static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
38478static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
38479static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
38480static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38481static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38482static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38483static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38484static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38485static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38486static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38487static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38488static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38489static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38490static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38491static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38492static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38493static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
38494static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38495static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38496static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38497static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38498static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38499static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38500static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38501static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
38502static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38503static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
38504static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
38505static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38506static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38507static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
38508static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
38509static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
38510static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
38511static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38512static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
38513static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
38514static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
7449af73
RD
38515static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
38516static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
38517static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
38518static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
38519static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
38520static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
38521static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
38522static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
38523static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
38524static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
38525static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
7e08d4ef
RD
38526static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
38527static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
7449af73
RD
38528static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38529static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38530static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
38531static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
38532static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38533static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38534static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38535static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38536static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38537static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38538static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38539static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38540static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
38541static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38542static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38543static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
38544static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38545static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38546static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38547static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38548static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38549static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38550static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38551static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38552static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
38553static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38554static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38555static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38556static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38557static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38558static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38559static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
7e08d4ef
RD
38560static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38561static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38562static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
7449af73
RD
38563static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38564static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
7e08d4ef
RD
38565static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38566static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
7449af73
RD
38567static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38568static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38569static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38570static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38571static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38572static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38573
38574static swig_type_info *swig_type_initial[] = {
38575 &_swigt__p_bool,
38576 &_swigt__p_char,
38577 &_swigt__p_form_ops_t,
38578 &_swigt__p_int,
38579 &_swigt__p_long,
38580 &_swigt__p_unsigned_char,
38581 &_swigt__p_unsigned_int,
38582 &_swigt__p_unsigned_long,
38583 &_swigt__p_void,
38584 &_swigt__p_wxANIHandler,
38585 &_swigt__p_wxAcceleratorTable,
38586 &_swigt__p_wxActivateEvent,
38587 &_swigt__p_wxArrayInt,
38588 &_swigt__p_wxArrayString,
38589 &_swigt__p_wxBMPHandler,
38590 &_swigt__p_wxBitmap,
38591 &_swigt__p_wxBitmapButton,
38592 &_swigt__p_wxBookCtrlBase,
38593 &_swigt__p_wxBookCtrlBaseEvent,
38594 &_swigt__p_wxBoxSizer,
38595 &_swigt__p_wxButton,
38596 &_swigt__p_wxCURHandler,
38597 &_swigt__p_wxCheckBox,
38598 &_swigt__p_wxCheckListBox,
38599 &_swigt__p_wxChildFocusEvent,
38600 &_swigt__p_wxChoice,
38601 &_swigt__p_wxChoicebook,
38602 &_swigt__p_wxChoicebookEvent,
38603 &_swigt__p_wxCloseEvent,
38604 &_swigt__p_wxColour,
38605 &_swigt__p_wxComboBox,
38606 &_swigt__p_wxCommandEvent,
38607 &_swigt__p_wxContextHelp,
38608 &_swigt__p_wxContextHelpButton,
38609 &_swigt__p_wxContextMenuEvent,
38610 &_swigt__p_wxControl,
38611 &_swigt__p_wxControlWithItems,
38612 &_swigt__p_wxCursor,
38613 &_swigt__p_wxDC,
38614 &_swigt__p_wxDateEvent,
38615 &_swigt__p_wxDatePickerCtrl,
38616 &_swigt__p_wxDateTime,
38617 &_swigt__p_wxDirFilterListCtrl,
38618 &_swigt__p_wxDisplayChangedEvent,
38619 &_swigt__p_wxDropFilesEvent,
38620 &_swigt__p_wxDuplexMode,
38621 &_swigt__p_wxEraseEvent,
38622 &_swigt__p_wxEvent,
38623 &_swigt__p_wxEvtHandler,
38624 &_swigt__p_wxFSFile,
38625 &_swigt__p_wxFileSystem,
38626 &_swigt__p_wxFlexGridSizer,
38627 &_swigt__p_wxFocusEvent,
38628 &_swigt__p_wxFont,
38629 &_swigt__p_wxGBSizerItem,
38630 &_swigt__p_wxGIFHandler,
38631 &_swigt__p_wxGauge,
38632 &_swigt__p_wxGenericDirCtrl,
38633 &_swigt__p_wxGenericDragImage,
38634 &_swigt__p_wxGridBagSizer,
38635 &_swigt__p_wxGridSizer,
38636 &_swigt__p_wxHelpEvent,
38637 &_swigt__p_wxHelpProvider,
38638 &_swigt__p_wxICOHandler,
38639 &_swigt__p_wxIcon,
38640 &_swigt__p_wxIconizeEvent,
38641 &_swigt__p_wxIdleEvent,
38642 &_swigt__p_wxImage,
38643 &_swigt__p_wxImageHandler,
38644 &_swigt__p_wxImageList,
38645 &_swigt__p_wxIndividualLayoutConstraint,
38646 &_swigt__p_wxInitDialogEvent,
38647 &_swigt__p_wxItemContainer,
38648 &_swigt__p_wxJPEGHandler,
38649 &_swigt__p_wxKeyEvent,
38650 &_swigt__p_wxLayoutConstraints,
38651 &_swigt__p_wxListBox,
38652 &_swigt__p_wxListEvent,
38653 &_swigt__p_wxListItem,
38654 &_swigt__p_wxListItemAttr,
38655 &_swigt__p_wxListView,
38656 &_swigt__p_wxListbook,
38657 &_swigt__p_wxListbookEvent,
38658 &_swigt__p_wxMaximizeEvent,
38659 &_swigt__p_wxMemoryDC,
38660 &_swigt__p_wxMenu,
38661 &_swigt__p_wxMenuBar,
38662 &_swigt__p_wxMenuEvent,
38663 &_swigt__p_wxMenuItem,
38664 &_swigt__p_wxMouseCaptureChangedEvent,
38665 &_swigt__p_wxMouseEvent,
38666 &_swigt__p_wxMoveEvent,
38667 &_swigt__p_wxNavigationKeyEvent,
38668 &_swigt__p_wxNcPaintEvent,
38669 &_swigt__p_wxNotebook,
38670 &_swigt__p_wxNotebookEvent,
38671 &_swigt__p_wxNotifyEvent,
38672 &_swigt__p_wxObject,
38673 &_swigt__p_wxPCXHandler,
38674 &_swigt__p_wxPNGHandler,
38675 &_swigt__p_wxPNMHandler,
38676 &_swigt__p_wxPaintEvent,
38677 &_swigt__p_wxPaletteChangedEvent,
38678 &_swigt__p_wxPaperSize,
38679 &_swigt__p_wxPoint,
38680 &_swigt__p_wxPyApp,
38681 &_swigt__p_wxPyCommandEvent,
38682 &_swigt__p_wxPyControl,
38683 &_swigt__p_wxPyEvent,
38684 &_swigt__p_wxPyImageHandler,
38685 &_swigt__p_wxPyListCtrl,
38686 &_swigt__p_wxPySizer,
38687 &_swigt__p_wxPyTreeCtrl,
38688 &_swigt__p_wxPyTreeItemData,
38689 &_swigt__p_wxPyValidator,
38690 &_swigt__p_wxQueryNewPaletteEvent,
38691 &_swigt__p_wxRadioBox,
38692 &_swigt__p_wxRadioButton,
38693 &_swigt__p_wxRect,
38694 &_swigt__p_wxScrollBar,
38695 &_swigt__p_wxScrollEvent,
38696 &_swigt__p_wxScrollWinEvent,
38697 &_swigt__p_wxSetCursorEvent,
38698 &_swigt__p_wxShowEvent,
38699 &_swigt__p_wxSimpleHelpProvider,
38700 &_swigt__p_wxSize,
38701 &_swigt__p_wxSizeEvent,
38702 &_swigt__p_wxSizer,
38703 &_swigt__p_wxSizerItem,
38704 &_swigt__p_wxSlider,
38705 &_swigt__p_wxSpinButton,
38706 &_swigt__p_wxSpinCtrl,
38707 &_swigt__p_wxSpinEvent,
38708 &_swigt__p_wxStaticBitmap,
38709 &_swigt__p_wxStaticBox,
38710 &_swigt__p_wxStaticBoxSizer,
38711 &_swigt__p_wxStaticLine,
38712 &_swigt__p_wxStaticText,
38713 &_swigt__p_wxStdDialogButtonSizer,
38714 &_swigt__p_wxString,
38715 &_swigt__p_wxSysColourChangedEvent,
38716 &_swigt__p_wxTIFFHandler,
38717 &_swigt__p_wxTextAttr,
38718 &_swigt__p_wxTextCtrl,
38719 &_swigt__p_wxTextUrlEvent,
38720 &_swigt__p_wxToggleButton,
38721 &_swigt__p_wxToolBar,
38722 &_swigt__p_wxToolBarBase,
38723 &_swigt__p_wxToolBarToolBase,
7e08d4ef
RD
38724 &_swigt__p_wxToolbook,
38725 &_swigt__p_wxToolbookEvent,
38726 &_swigt__p_wxTreeCtrl,
7449af73
RD
38727 &_swigt__p_wxTreeEvent,
38728 &_swigt__p_wxTreeItemId,
7e08d4ef
RD
38729 &_swigt__p_wxTreebook,
38730 &_swigt__p_wxTreebookEvent,
7449af73
RD
38731 &_swigt__p_wxUpdateUIEvent,
38732 &_swigt__p_wxValidator,
38733 &_swigt__p_wxVisualAttributes,
38734 &_swigt__p_wxWindow,
38735 &_swigt__p_wxWindowCreateEvent,
38736 &_swigt__p_wxWindowDestroyEvent,
38737 &_swigt__p_wxXPMHandler,
38738 &_swigt__ptrdiff_t,
38739 &_swigt__std__ptrdiff_t,
38740 &_swigt__unsigned_int,
38741};
38742
38743static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
38744static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
38745static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
38746static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
38747static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
38748static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
38749static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38750static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
38751static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
38752static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
38753static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
38754static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
38755static 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
38756static 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}};
38757static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38758static 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}};
38759static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
38760static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
38761static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
38762static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
38763static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38764static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
38765static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
38766static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
38767static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
38768static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
38769static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38770static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38771static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
38772static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
38773static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38774static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38775static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
38776static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38777static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38778static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
38779static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
38780static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
38781static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
38782static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
38783static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
38784static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
38785static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38786static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
38787static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
38788static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
38789static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
38790static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
38791static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
38792static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
38793static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38794static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38795static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
38796static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38797static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
38798static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38799static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38800static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38801static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38802static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38803static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38804static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
38805static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38806static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
38807static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38808static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38809static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38810static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
38811static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
38812static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
38813static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38814static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38815static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
38816static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
38817static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
38818static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
38819static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
38820static 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}};
38821static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
38822static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
38823static 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}};
38824static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38825static 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}};
38826static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
38827static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
38828static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
38829static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
38830static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
38831static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38832static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
38833static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
38834static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
38835static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38836static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38837static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
38838static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38839static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38840static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
38841static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38842static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38843static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
38844static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
38845static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38846static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38847static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
38848static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
38849static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38850static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38851static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38852static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
38853static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
38854static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
38855static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
38856static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
38857static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
38858static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
38859static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
38860static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38861static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
38862static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38863static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
38864static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
38865static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
38866static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38867static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38868static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
38869static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
38870static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
38871static 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}};
38872static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38873static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
38874static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
38875static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
38876static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
38877static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
38878static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
38879static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
38880static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
38881static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
38882static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
38883static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
38884static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
38885static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
38886static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
38887static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
38888static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
38889static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
38890static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
38891static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
38892static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
38893static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
38894static 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}};
38895static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38896static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
38897static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38898static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38899static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
38900static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
38901static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
38902static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38903static 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}};
38904static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 38905static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
7449af73
RD
38906static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38907static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38908static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38909
38910static swig_cast_info *swig_cast_initial[] = {
38911 _swigc__p_bool,
38912 _swigc__p_char,
38913 _swigc__p_form_ops_t,
38914 _swigc__p_int,
38915 _swigc__p_long,
38916 _swigc__p_unsigned_char,
38917 _swigc__p_unsigned_int,
38918 _swigc__p_unsigned_long,
38919 _swigc__p_void,
38920 _swigc__p_wxANIHandler,
38921 _swigc__p_wxAcceleratorTable,
38922 _swigc__p_wxActivateEvent,
38923 _swigc__p_wxArrayInt,
38924 _swigc__p_wxArrayString,
38925 _swigc__p_wxBMPHandler,
38926 _swigc__p_wxBitmap,
38927 _swigc__p_wxBitmapButton,
38928 _swigc__p_wxBookCtrlBase,
38929 _swigc__p_wxBookCtrlBaseEvent,
38930 _swigc__p_wxBoxSizer,
38931 _swigc__p_wxButton,
38932 _swigc__p_wxCURHandler,
38933 _swigc__p_wxCheckBox,
38934 _swigc__p_wxCheckListBox,
38935 _swigc__p_wxChildFocusEvent,
38936 _swigc__p_wxChoice,
38937 _swigc__p_wxChoicebook,
38938 _swigc__p_wxChoicebookEvent,
38939 _swigc__p_wxCloseEvent,
38940 _swigc__p_wxColour,
38941 _swigc__p_wxComboBox,
38942 _swigc__p_wxCommandEvent,
38943 _swigc__p_wxContextHelp,
38944 _swigc__p_wxContextHelpButton,
38945 _swigc__p_wxContextMenuEvent,
38946 _swigc__p_wxControl,
38947 _swigc__p_wxControlWithItems,
38948 _swigc__p_wxCursor,
38949 _swigc__p_wxDC,
38950 _swigc__p_wxDateEvent,
38951 _swigc__p_wxDatePickerCtrl,
38952 _swigc__p_wxDateTime,
38953 _swigc__p_wxDirFilterListCtrl,
38954 _swigc__p_wxDisplayChangedEvent,
38955 _swigc__p_wxDropFilesEvent,
38956 _swigc__p_wxDuplexMode,
38957 _swigc__p_wxEraseEvent,
38958 _swigc__p_wxEvent,
38959 _swigc__p_wxEvtHandler,
38960 _swigc__p_wxFSFile,
38961 _swigc__p_wxFileSystem,
38962 _swigc__p_wxFlexGridSizer,
38963 _swigc__p_wxFocusEvent,
38964 _swigc__p_wxFont,
38965 _swigc__p_wxGBSizerItem,
38966 _swigc__p_wxGIFHandler,
38967 _swigc__p_wxGauge,
38968 _swigc__p_wxGenericDirCtrl,
38969 _swigc__p_wxGenericDragImage,
38970 _swigc__p_wxGridBagSizer,
38971 _swigc__p_wxGridSizer,
38972 _swigc__p_wxHelpEvent,
38973 _swigc__p_wxHelpProvider,
38974 _swigc__p_wxICOHandler,
38975 _swigc__p_wxIcon,
38976 _swigc__p_wxIconizeEvent,
38977 _swigc__p_wxIdleEvent,
38978 _swigc__p_wxImage,
38979 _swigc__p_wxImageHandler,
38980 _swigc__p_wxImageList,
38981 _swigc__p_wxIndividualLayoutConstraint,
38982 _swigc__p_wxInitDialogEvent,
38983 _swigc__p_wxItemContainer,
38984 _swigc__p_wxJPEGHandler,
38985 _swigc__p_wxKeyEvent,
38986 _swigc__p_wxLayoutConstraints,
38987 _swigc__p_wxListBox,
38988 _swigc__p_wxListEvent,
38989 _swigc__p_wxListItem,
38990 _swigc__p_wxListItemAttr,
38991 _swigc__p_wxListView,
38992 _swigc__p_wxListbook,
38993 _swigc__p_wxListbookEvent,
38994 _swigc__p_wxMaximizeEvent,
38995 _swigc__p_wxMemoryDC,
38996 _swigc__p_wxMenu,
38997 _swigc__p_wxMenuBar,
38998 _swigc__p_wxMenuEvent,
38999 _swigc__p_wxMenuItem,
39000 _swigc__p_wxMouseCaptureChangedEvent,
39001 _swigc__p_wxMouseEvent,
39002 _swigc__p_wxMoveEvent,
39003 _swigc__p_wxNavigationKeyEvent,
39004 _swigc__p_wxNcPaintEvent,
39005 _swigc__p_wxNotebook,
39006 _swigc__p_wxNotebookEvent,
39007 _swigc__p_wxNotifyEvent,
39008 _swigc__p_wxObject,
39009 _swigc__p_wxPCXHandler,
39010 _swigc__p_wxPNGHandler,
39011 _swigc__p_wxPNMHandler,
39012 _swigc__p_wxPaintEvent,
39013 _swigc__p_wxPaletteChangedEvent,
39014 _swigc__p_wxPaperSize,
39015 _swigc__p_wxPoint,
39016 _swigc__p_wxPyApp,
39017 _swigc__p_wxPyCommandEvent,
39018 _swigc__p_wxPyControl,
39019 _swigc__p_wxPyEvent,
39020 _swigc__p_wxPyImageHandler,
39021 _swigc__p_wxPyListCtrl,
39022 _swigc__p_wxPySizer,
39023 _swigc__p_wxPyTreeCtrl,
39024 _swigc__p_wxPyTreeItemData,
39025 _swigc__p_wxPyValidator,
39026 _swigc__p_wxQueryNewPaletteEvent,
39027 _swigc__p_wxRadioBox,
39028 _swigc__p_wxRadioButton,
39029 _swigc__p_wxRect,
39030 _swigc__p_wxScrollBar,
39031 _swigc__p_wxScrollEvent,
39032 _swigc__p_wxScrollWinEvent,
39033 _swigc__p_wxSetCursorEvent,
39034 _swigc__p_wxShowEvent,
39035 _swigc__p_wxSimpleHelpProvider,
39036 _swigc__p_wxSize,
39037 _swigc__p_wxSizeEvent,
39038 _swigc__p_wxSizer,
39039 _swigc__p_wxSizerItem,
39040 _swigc__p_wxSlider,
39041 _swigc__p_wxSpinButton,
39042 _swigc__p_wxSpinCtrl,
39043 _swigc__p_wxSpinEvent,
39044 _swigc__p_wxStaticBitmap,
39045 _swigc__p_wxStaticBox,
39046 _swigc__p_wxStaticBoxSizer,
39047 _swigc__p_wxStaticLine,
39048 _swigc__p_wxStaticText,
39049 _swigc__p_wxStdDialogButtonSizer,
39050 _swigc__p_wxString,
39051 _swigc__p_wxSysColourChangedEvent,
39052 _swigc__p_wxTIFFHandler,
39053 _swigc__p_wxTextAttr,
39054 _swigc__p_wxTextCtrl,
39055 _swigc__p_wxTextUrlEvent,
39056 _swigc__p_wxToggleButton,
39057 _swigc__p_wxToolBar,
39058 _swigc__p_wxToolBarBase,
39059 _swigc__p_wxToolBarToolBase,
7e08d4ef
RD
39060 _swigc__p_wxToolbook,
39061 _swigc__p_wxToolbookEvent,
39062 _swigc__p_wxTreeCtrl,
7449af73
RD
39063 _swigc__p_wxTreeEvent,
39064 _swigc__p_wxTreeItemId,
7e08d4ef
RD
39065 _swigc__p_wxTreebook,
39066 _swigc__p_wxTreebookEvent,
7449af73
RD
39067 _swigc__p_wxUpdateUIEvent,
39068 _swigc__p_wxValidator,
39069 _swigc__p_wxVisualAttributes,
39070 _swigc__p_wxWindow,
39071 _swigc__p_wxWindowCreateEvent,
39072 _swigc__p_wxWindowDestroyEvent,
39073 _swigc__p_wxXPMHandler,
39074 _swigc__ptrdiff_t,
39075 _swigc__std__ptrdiff_t,
39076 _swigc__unsigned_int,
d55e5bfc
RD
39077};
39078
39079
39080/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39081
39082static swig_const_info swig_const_table[] = {
c32bde28 39083{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
39084
39085#ifdef __cplusplus
39086}
39087#endif
7449af73
RD
39088/*************************************************************************
39089 * Type initialization:
39090 * This problem is tough by the requirement that no dynamic
39091 * memory is used. Also, since swig_type_info structures store pointers to
39092 * swig_cast_info structures and swig_cast_info structures store pointers back
39093 * to swig_type_info structures, we need some lookup code at initialization.
39094 * The idea is that swig generates all the structures that are needed.
39095 * The runtime then collects these partially filled structures.
39096 * The SWIG_InitializeModule function takes these initial arrays out of
39097 * swig_module, and does all the lookup, filling in the swig_module.types
39098 * array with the correct data and linking the correct swig_cast_info
39099 * structures together.
39100
39101 * The generated swig_type_info structures are assigned staticly to an initial
39102 * array. We just loop though that array, and handle each type individually.
39103 * First we lookup if this type has been already loaded, and if so, use the
39104 * loaded structure instead of the generated one. Then we have to fill in the
39105 * cast linked list. The cast data is initially stored in something like a
39106 * two-dimensional array. Each row corresponds to a type (there are the same
39107 * number of rows as there are in the swig_type_initial array). Each entry in
39108 * a column is one of the swig_cast_info structures for that type.
39109 * The cast_initial array is actually an array of arrays, because each row has
39110 * a variable number of columns. So to actually build the cast linked list,
39111 * we find the array of casts associated with the type, and loop through it
39112 * adding the casts to the list. The one last trick we need to do is making
39113 * sure the type pointer in the swig_cast_info struct is correct.
39114
39115 * First off, we lookup the cast->type name to see if it is already loaded.
39116 * There are three cases to handle:
39117 * 1) If the cast->type has already been loaded AND the type we are adding
39118 * casting info to has not been loaded (it is in this module), THEN we
39119 * replace the cast->type pointer with the type pointer that has already
39120 * been loaded.
39121 * 2) If BOTH types (the one we are adding casting info to, and the
39122 * cast->type) are loaded, THEN the cast info has already been loaded by
39123 * the previous module so we just ignore it.
39124 * 3) Finally, if cast->type has not already been loaded, then we add that
39125 * swig_cast_info to the linked list (because the cast->type) pointer will
39126 * be correct.
39127**/
39128
39129#ifdef __cplusplus
39130extern "C" {
39131#if 0
39132} /* c-mode */
39133#endif
39134#endif
39135
39136#if 0
39137#define SWIGRUNTIME_DEBUG
39138#endif
39139
39140SWIGRUNTIME void
39141SWIG_InitializeModule(void *clientdata) {
39142 size_t i;
39143 swig_module_info *module_head;
39144 static int init_run = 0;
39145
39146 clientdata = clientdata;
39147
39148 if (init_run) return;
39149 init_run = 1;
39150
39151 /* Initialize the swig_module */
39152 swig_module.type_initial = swig_type_initial;
39153 swig_module.cast_initial = swig_cast_initial;
39154
39155 /* Try and load any already created modules */
39156 module_head = SWIG_GetModule(clientdata);
39157 if (module_head) {
39158 swig_module.next = module_head->next;
39159 module_head->next = &swig_module;
39160 } else {
39161 /* This is the first module loaded */
39162 swig_module.next = &swig_module;
39163 SWIG_SetModule(clientdata, &swig_module);
39164 }
39165
39166 /* Now work on filling in swig_module.types */
39167#ifdef SWIGRUNTIME_DEBUG
39168 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
39169#endif
39170 for (i = 0; i < swig_module.size; ++i) {
39171 swig_type_info *type = 0;
39172 swig_type_info *ret;
39173 swig_cast_info *cast;
39174
39175#ifdef SWIGRUNTIME_DEBUG
39176 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39177#endif
39178
39179 /* if there is another module already loaded */
39180 if (swig_module.next != &swig_module) {
39181 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
39182 }
39183 if (type) {
39184 /* Overwrite clientdata field */
39185#ifdef SWIGRUNTIME_DEBUG
39186 printf("SWIG_InitializeModule: found type %s\n", type->name);
39187#endif
39188 if (swig_module.type_initial[i]->clientdata) {
39189 type->clientdata = swig_module.type_initial[i]->clientdata;
39190#ifdef SWIGRUNTIME_DEBUG
39191 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
39192#endif
39193 }
39194 } else {
39195 type = swig_module.type_initial[i];
39196 }
39197
39198 /* Insert casting types */
39199 cast = swig_module.cast_initial[i];
39200 while (cast->type) {
39201 /* Don't need to add information already in the list */
39202 ret = 0;
39203#ifdef SWIGRUNTIME_DEBUG
39204 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
39205#endif
39206 if (swig_module.next != &swig_module) {
39207 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
39208#ifdef SWIGRUNTIME_DEBUG
39209 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
39210#endif
39211 }
39212 if (ret) {
39213 if (type == swig_module.type_initial[i]) {
39214#ifdef SWIGRUNTIME_DEBUG
39215 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
39216#endif
39217 cast->type = ret;
39218 ret = 0;
39219 } else {
39220 /* Check for casting already in the list */
39221 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
39222#ifdef SWIGRUNTIME_DEBUG
39223 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
39224#endif
39225 if (!ocast) ret = 0;
39226 }
39227 }
39228
39229 if (!ret) {
39230#ifdef SWIGRUNTIME_DEBUG
39231 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
39232#endif
39233 if (type->cast) {
39234 type->cast->prev = cast;
39235 cast->next = type->cast;
39236 }
39237 type->cast = cast;
39238 }
39239 cast++;
39240 }
39241 /* Set entry in modules->types array equal to the type */
39242 swig_module.types[i] = type;
39243 }
39244 swig_module.types[i] = 0;
39245
39246#ifdef SWIGRUNTIME_DEBUG
39247 printf("**** SWIG_InitializeModule: Cast List ******\n");
39248 for (i = 0; i < swig_module.size; ++i) {
39249 int j = 0;
39250 swig_cast_info *cast = swig_module.cast_initial[i];
39251 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39252 while (cast->type) {
39253 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
39254 cast++;
39255 ++j;
39256 }
39257 printf("---- Total casts: %d\n",j);
39258 }
39259 printf("**** SWIG_InitializeModule: Cast List ******\n");
39260#endif
39261}
39262
39263/* This function will propagate the clientdata field of type to
39264* any new swig_type_info structures that have been added into the list
39265* of equivalent types. It is like calling
39266* SWIG_TypeClientData(type, clientdata) a second time.
39267*/
39268SWIGRUNTIME void
39269SWIG_PropagateClientData(void) {
39270 size_t i;
39271 swig_cast_info *equiv;
39272 static int init_run = 0;
39273
39274 if (init_run) return;
39275 init_run = 1;
39276
39277 for (i = 0; i < swig_module.size; i++) {
39278 if (swig_module.types[i]->clientdata) {
39279 equiv = swig_module.types[i]->cast;
39280 while (equiv) {
39281 if (!equiv->converter) {
39282 if (equiv->type && !equiv->type->clientdata)
39283 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
39284 }
39285 equiv = equiv->next;
39286 }
39287 }
39288 }
39289}
39290
39291#ifdef __cplusplus
39292#if 0
39293{
39294 /* c-mode */
39295#endif
39296}
39297#endif
39298
d55e5bfc 39299
093d3ff1
RD
39300
39301#ifdef __cplusplus
39302extern "C" {
39303#endif
39304
39305 /* Python-specific SWIG API */
39306#define SWIG_newvarlink() SWIG_Python_newvarlink()
39307#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39308#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39309
39310 /* -----------------------------------------------------------------------------
39311 * global variable support code.
39312 * ----------------------------------------------------------------------------- */
39313
39314 typedef struct swig_globalvar {
39315 char *name; /* Name of global variable */
7449af73 39316 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
39317 int (*set_attr)(PyObject *); /* Set the value */
39318 struct swig_globalvar *next;
39319 } swig_globalvar;
39320
39321 typedef struct swig_varlinkobject {
39322 PyObject_HEAD
39323 swig_globalvar *vars;
39324 } swig_varlinkobject;
39325
7449af73 39326 SWIGINTERN PyObject *
093d3ff1
RD
39327 swig_varlink_repr(swig_varlinkobject *v) {
39328 v = v;
39329 return PyString_FromString("<Swig global variables>");
39330 }
39331
7449af73 39332 SWIGINTERN int
093d3ff1
RD
39333 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
39334 swig_globalvar *var;
39335 flags = flags;
39336 fprintf(fp,"Swig global variables { ");
39337 for (var = v->vars; var; var=var->next) {
39338 fprintf(fp,"%s", var->name);
39339 if (var->next) fprintf(fp,", ");
39340 }
39341 fprintf(fp," }\n");
39342 return 0;
39343 }
39344
7449af73 39345 SWIGINTERN PyObject *
093d3ff1
RD
39346 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
39347 swig_globalvar *var = v->vars;
39348 while (var) {
39349 if (strcmp(var->name,n) == 0) {
39350 return (*var->get_attr)();
39351 }
39352 var = var->next;
39353 }
39354 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39355 return NULL;
39356 }
39357
7449af73 39358 SWIGINTERN int
093d3ff1
RD
39359 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
39360 swig_globalvar *var = v->vars;
39361 while (var) {
39362 if (strcmp(var->name,n) == 0) {
39363 return (*var->set_attr)(p);
39364 }
39365 var = var->next;
39366 }
39367 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39368 return 1;
39369 }
39370
7449af73
RD
39371 SWIGINTERN PyTypeObject*
39372 swig_varlink_type(void) {
39373 static char varlink__doc__[] = "Swig var link object";
39374 static PyTypeObject varlink_type
39375#if !defined(__cplusplus)
39376 ;
39377 static int type_init = 0;
39378 if (!type_init) {
39379 PyTypeObject tmp
39380#endif
39381 = {
39382 PyObject_HEAD_INIT(&PyType_Type)
39383 0, /* Number of items in variable part (ob_size) */
39384 (char *)"swigvarlink", /* Type name (tp_name) */
39385 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
39386 0, /* Itemsize (tp_itemsize) */
39387 0, /* Deallocator (tp_dealloc) */
39388 (printfunc) swig_varlink_print, /* Print (tp_print) */
39389 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
39390 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
39391 0, /* tp_compare */
39392 (reprfunc) swig_varlink_repr, /* tp_repr */
39393 0, /* tp_as_number */
39394 0, /* tp_as_sequence */
39395 0, /* tp_as_mapping */
39396 0, /* tp_hash */
39397 0, /* tp_call */
39398 0, /* tp_str */
39399 0, /* tp_getattro */
39400 0, /* tp_setattro */
39401 0, /* tp_as_buffer */
39402 0, /* tp_flags */
39403 varlink__doc__, /* tp_doc */
093d3ff1 39404#if PY_VERSION_HEX >= 0x02000000
7449af73
RD
39405 0, /* tp_traverse */
39406 0, /* tp_clear */
093d3ff1
RD
39407#endif
39408#if PY_VERSION_HEX >= 0x02010000
7449af73
RD
39409 0, /* tp_richcompare */
39410 0, /* tp_weaklistoffset */
093d3ff1
RD
39411#endif
39412#if PY_VERSION_HEX >= 0x02020000
7449af73 39413 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
093d3ff1
RD
39414#endif
39415#if PY_VERSION_HEX >= 0x02030000
7449af73 39416 0, /* tp_del */
093d3ff1
RD
39417#endif
39418#ifdef COUNT_ALLOCS
7449af73 39419 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 39420#endif
7449af73
RD
39421 };
39422#if !defined(__cplusplus)
39423 varlink_type = tmp;
39424 type_init = 1;
39425 }
39426#endif
39427 return &varlink_type;
39428 }
093d3ff1
RD
39429
39430 /* Create a variable linking object for use later */
7449af73 39431 SWIGINTERN PyObject *
093d3ff1 39432 SWIG_Python_newvarlink(void) {
7449af73
RD
39433 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
39434 if (result) {
39435 result->vars = 0;
39436 }
093d3ff1
RD
39437 return ((PyObject*) result);
39438 }
39439
7449af73 39440 SWIGINTERN void
093d3ff1 39441 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
7449af73
RD
39442 swig_varlinkobject *v = (swig_varlinkobject *) p;
39443 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
39444 if (gv) {
39445 size_t size = strlen(name)+1;
39446 gv->name = (char *)malloc(size);
39447 if (gv->name) {
39448 strncpy(gv->name,name,size);
39449 gv->get_attr = get_attr;
39450 gv->set_attr = set_attr;
39451 gv->next = v->vars;
39452 }
39453 }
093d3ff1
RD
39454 v->vars = gv;
39455 }
39456
39457 /* -----------------------------------------------------------------------------
39458 * constants/methods manipulation
39459 * ----------------------------------------------------------------------------- */
39460
39461 /* Install Constants */
7449af73 39462 SWIGINTERN void
093d3ff1
RD
39463 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
39464 PyObject *obj = 0;
39465 size_t i;
7449af73 39466 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
39467 switch(constants[i].type) {
39468 case SWIG_PY_INT:
39469 obj = PyInt_FromLong(constants[i].lvalue);
39470 break;
39471 case SWIG_PY_FLOAT:
39472 obj = PyFloat_FromDouble(constants[i].dvalue);
39473 break;
39474 case SWIG_PY_STRING:
39475 if (constants[i].pvalue) {
39476 obj = PyString_FromString((char *) constants[i].pvalue);
39477 } else {
39478 Py_INCREF(Py_None);
39479 obj = Py_None;
39480 }
39481 break;
39482 case SWIG_PY_POINTER:
39483 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
39484 break;
39485 case SWIG_PY_BINARY:
39486 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
39487 break;
39488 default:
39489 obj = 0;
39490 break;
39491 }
39492 if (obj) {
39493 PyDict_SetItemString(d,constants[i].name,obj);
39494 Py_DECREF(obj);
39495 }
39496 }
39497 }
39498
39499 /* -----------------------------------------------------------------------------*/
39500 /* Fix SwigMethods to carry the callback ptrs when needed */
39501 /* -----------------------------------------------------------------------------*/
39502
7449af73 39503 SWIGINTERN void
093d3ff1
RD
39504 SWIG_Python_FixMethods(PyMethodDef *methods,
39505 swig_const_info *const_table,
39506 swig_type_info **types,
39507 swig_type_info **types_initial) {
39508 size_t i;
39509 for (i = 0; methods[i].ml_name; ++i) {
39510 char *c = methods[i].ml_doc;
39511 if (c && (c = strstr(c, "swig_ptr: "))) {
39512 int j;
39513 swig_const_info *ci = 0;
39514 char *name = c + 10;
7449af73 39515 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
39516 if (strncmp(const_table[j].name, name,
39517 strlen(const_table[j].name)) == 0) {
39518 ci = &(const_table[j]);
39519 break;
39520 }
39521 }
39522 if (ci) {
39523 size_t shift = (ci->ptype) - types;
39524 swig_type_info *ty = types_initial[shift];
39525 size_t ldoc = (c - methods[i].ml_doc);
39526 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
39527 char *ndoc = (char*)malloc(ldoc + lptr + 10);
7449af73
RD
39528 if (ndoc) {
39529 char *buff = ndoc;
39530 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
39531 if (ptr) {
39532 strncpy(buff, methods[i].ml_doc, ldoc);
39533 buff += ldoc;
39534 strncpy(buff, "swig_ptr: ", 10);
39535 buff += 10;
39536 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
39537 methods[i].ml_doc = ndoc;
39538 }
39539 }
093d3ff1
RD
39540 }
39541 }
39542 }
39543 }
39544
39545 /* -----------------------------------------------------------------------------*
39546 * Initialize type list
39547 * -----------------------------------------------------------------------------*/
39548
093d3ff1
RD
39549#ifdef __cplusplus
39550}
39551#endif
39552
39553/* -----------------------------------------------------------------------------*
39554 * Partial Init method
39555 * -----------------------------------------------------------------------------*/
39556
d55e5bfc
RD
39557#ifdef __cplusplus
39558extern "C"
39559#endif
7449af73 39560SWIGEXPORT void SWIG_init(void) {
d55e5bfc 39561 static PyObject *SWIG_globals = 0;
d55e5bfc 39562 PyObject *m, *d;
d55e5bfc 39563 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
39564
39565 /* Fix SwigMethods to carry the callback ptrs when needed */
7449af73 39566 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 39567
d55e5bfc
RD
39568 m = Py_InitModule((char *) SWIG_name, SwigMethods);
39569 d = PyModule_GetDict(m);
39570
7449af73 39571 SWIG_InitializeModule(0);
d55e5bfc
RD
39572 SWIG_InstallConstants(d,swig_const_table);
39573
39574 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
39575 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1 39576 {
7449af73 39577 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
093d3ff1
RD
39578 }
39579 {
7449af73 39580 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
093d3ff1
RD
39581 }
39582 {
7449af73 39583 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
093d3ff1
RD
39584 }
39585 {
7449af73 39586 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
093d3ff1
RD
39587 }
39588 {
7449af73 39589 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
093d3ff1
RD
39590 }
39591 {
7449af73 39592 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
093d3ff1
RD
39593 }
39594 {
7449af73 39595 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
093d3ff1 39596 }
d55e5bfc 39597 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1 39598 {
7449af73 39599 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
093d3ff1
RD
39600 }
39601 {
7449af73 39602 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
093d3ff1
RD
39603 }
39604 {
7449af73 39605 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
093d3ff1
RD
39606 }
39607 {
7449af73 39608 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
093d3ff1
RD
39609 }
39610 {
7449af73 39611 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
093d3ff1
RD
39612 }
39613 {
7449af73 39614 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
093d3ff1 39615 }
d55e5bfc
RD
39616 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
39617 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
39618 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1 39619 {
7449af73 39620 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
093d3ff1
RD
39621 }
39622 {
7449af73 39623 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
093d3ff1
RD
39624 }
39625 {
7449af73 39626 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
093d3ff1
RD
39627 }
39628 {
7449af73 39629 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
093d3ff1 39630 }
d55e5bfc
RD
39631 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
39632 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
39633 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
39634 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
39635 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1 39636 {
7449af73 39637 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
093d3ff1
RD
39638 }
39639 {
7449af73 39640 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
093d3ff1
RD
39641 }
39642 {
7449af73 39643 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
093d3ff1
RD
39644 }
39645 {
7449af73 39646 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
093d3ff1
RD
39647 }
39648 {
7449af73 39649 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
093d3ff1
RD
39650 }
39651 {
7449af73 39652 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
093d3ff1
RD
39653 }
39654 {
7449af73 39655 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
093d3ff1
RD
39656 }
39657 {
7449af73 39658 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
093d3ff1
RD
39659 }
39660 {
7449af73 39661 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
093d3ff1
RD
39662 }
39663 {
7449af73 39664 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
093d3ff1
RD
39665 }
39666 {
7449af73 39667 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
093d3ff1
RD
39668 }
39669 {
7449af73 39670 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
093d3ff1
RD
39671 }
39672 {
7449af73 39673 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
093d3ff1
RD
39674 }
39675 {
7449af73 39676 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
093d3ff1
RD
39677 }
39678 {
7449af73 39679 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
093d3ff1
RD
39680 }
39681 {
7449af73 39682 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
093d3ff1
RD
39683 }
39684 {
7449af73 39685 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
093d3ff1 39686 }
08d9e66e 39687 {
7449af73 39688 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
08d9e66e
RD
39689 }
39690 {
7449af73 39691 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
08d9e66e 39692 }
093d3ff1 39693 {
7449af73 39694 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
093d3ff1 39695 }
88c6b281 39696 {
7449af73 39697 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
88c6b281 39698 }
093d3ff1 39699 {
7449af73 39700 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
093d3ff1
RD
39701 }
39702 {
7449af73 39703 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
093d3ff1
RD
39704 }
39705 {
7449af73 39706 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
093d3ff1
RD
39707 }
39708 {
7449af73 39709 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
093d3ff1
RD
39710 }
39711 {
7449af73 39712 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
093d3ff1
RD
39713 }
39714 {
7449af73 39715 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
093d3ff1
RD
39716 }
39717 {
7449af73 39718 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
093d3ff1
RD
39719 }
39720 {
7449af73 39721 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
093d3ff1
RD
39722 }
39723 {
7449af73 39724 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
093d3ff1
RD
39725 }
39726 {
7449af73 39727 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
093d3ff1
RD
39728 }
39729 {
7449af73 39730 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
093d3ff1
RD
39731 }
39732 {
7449af73 39733 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
093d3ff1
RD
39734 }
39735 {
7449af73 39736 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
093d3ff1
RD
39737 }
39738 {
7449af73 39739 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
093d3ff1
RD
39740 }
39741 {
7449af73 39742 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
093d3ff1
RD
39743 }
39744 {
7449af73 39745 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
093d3ff1
RD
39746 }
39747 {
7449af73 39748 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
093d3ff1
RD
39749 }
39750 {
7449af73 39751 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
093d3ff1
RD
39752 }
39753 {
7449af73 39754 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
093d3ff1
RD
39755 }
39756 {
7449af73 39757 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
093d3ff1
RD
39758 }
39759 {
7449af73 39760 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
093d3ff1
RD
39761 }
39762 {
7449af73 39763 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
093d3ff1
RD
39764 }
39765 {
7449af73 39766 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
093d3ff1 39767 }
fef4c27a 39768 {
7449af73 39769 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
fef4c27a
RD
39770 }
39771 {
7449af73 39772 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
fef4c27a 39773 }
d55e5bfc
RD
39774 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
39775 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
39776 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
39777 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
39778 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
39779 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
39780 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1 39781 {
7449af73 39782 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
093d3ff1
RD
39783 }
39784 {
7449af73 39785 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
093d3ff1
RD
39786 }
39787 {
7449af73 39788 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
093d3ff1
RD
39789 }
39790 {
7449af73 39791 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
093d3ff1 39792 }
d55e5bfc
RD
39793 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
39794 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
39795 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
39796 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a 39797 {
7449af73 39798 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
fef4c27a
RD
39799 }
39800 {
7449af73 39801 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
fef4c27a 39802 }
70b7a5fe 39803 {
7449af73 39804 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
70b7a5fe 39805 }
fef4c27a 39806 {
7449af73 39807 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
fef4c27a
RD
39808 }
39809 {
7449af73 39810 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
fef4c27a
RD
39811 }
39812 {
7449af73 39813 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
fef4c27a
RD
39814 }
39815 {
7449af73 39816 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
fef4c27a
RD
39817 }
39818 {
7449af73 39819 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
fef4c27a
RD
39820 }
39821 {
7449af73 39822 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
fef4c27a
RD
39823 }
39824 {
7449af73 39825 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
fef4c27a
RD
39826 }
39827 {
7449af73 39828 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
fef4c27a
RD
39829 }
39830 {
7449af73 39831 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
fef4c27a 39832 }
d55e5bfc
RD
39833 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
39834 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 39835 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
7e08d4ef
RD
39836 {
39837 PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
39838 }
39839 {
39840 PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
39841 }
39842 {
39843 PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
39844 }
39845 {
39846 PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
39847 }
39848 {
39849 PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
39850 }
39851 {
39852 PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
39853 }
093d3ff1 39854 {
7449af73 39855 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
093d3ff1
RD
39856 }
39857 {
7449af73 39858 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
093d3ff1
RD
39859 }
39860 {
7449af73 39861 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
093d3ff1
RD
39862 }
39863 {
7449af73 39864 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
093d3ff1
RD
39865 }
39866 {
7449af73 39867 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
093d3ff1
RD
39868 }
39869 {
7449af73 39870 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
093d3ff1 39871 }
091fdbfa 39872 {
7449af73 39873 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
091fdbfa 39874 }
093d3ff1 39875 {
7449af73 39876 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
093d3ff1
RD
39877 }
39878 {
7449af73 39879 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
093d3ff1
RD
39880 }
39881 {
7449af73 39882 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
093d3ff1
RD
39883 }
39884 {
7449af73 39885 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
093d3ff1 39886 }
d55e5bfc
RD
39887 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
39888 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1 39889 {
7449af73 39890 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
093d3ff1
RD
39891 }
39892 {
7449af73 39893 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
093d3ff1
RD
39894 }
39895 {
7449af73 39896 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
093d3ff1
RD
39897 }
39898 {
7449af73 39899 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
093d3ff1
RD
39900 }
39901 {
7449af73 39902 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
093d3ff1
RD
39903 }
39904 {
7449af73 39905 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
093d3ff1 39906 }
d55e5bfc
RD
39907 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
39908 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1 39909 {
7449af73 39910 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
093d3ff1
RD
39911 }
39912 {
7449af73 39913 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
093d3ff1
RD
39914 }
39915 {
7449af73 39916 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
093d3ff1
RD
39917 }
39918 {
7449af73 39919 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
093d3ff1
RD
39920 }
39921 {
7449af73 39922 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
093d3ff1
RD
39923 }
39924 {
7449af73 39925 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
093d3ff1 39926 }
ae8162c8
RD
39927 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
39928 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
7e08d4ef
RD
39929 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
39930 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
39931 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
39932 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
39933 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
39934 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
093d3ff1 39935 {
7449af73 39936 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
093d3ff1
RD
39937 }
39938 {
7449af73 39939 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
093d3ff1
RD
39940 }
39941 {
7449af73 39942 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
093d3ff1
RD
39943 }
39944 {
7449af73 39945 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
093d3ff1
RD
39946 }
39947 {
7449af73 39948 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
093d3ff1
RD
39949 }
39950 {
7449af73 39951 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
093d3ff1
RD
39952 }
39953 {
7449af73 39954 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
093d3ff1
RD
39955 }
39956 {
7449af73 39957 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
093d3ff1
RD
39958 }
39959 {
7449af73 39960 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
093d3ff1
RD
39961 }
39962 {
7449af73 39963 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
093d3ff1
RD
39964 }
39965 {
7449af73 39966 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
093d3ff1
RD
39967 }
39968 {
7449af73 39969 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
093d3ff1
RD
39970 }
39971 {
7449af73 39972 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
093d3ff1
RD
39973 }
39974 {
7449af73 39975 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
093d3ff1 39976 }
d55e5bfc 39977 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1 39978 {
7449af73 39979 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
093d3ff1
RD
39980 }
39981 {
7449af73 39982 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
093d3ff1
RD
39983 }
39984 {
7449af73 39985 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
093d3ff1
RD
39986 }
39987 {
7449af73 39988 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
093d3ff1
RD
39989 }
39990 {
7449af73 39991 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
093d3ff1
RD
39992 }
39993 {
7449af73 39994 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
093d3ff1
RD
39995 }
39996 {
7449af73 39997 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
093d3ff1
RD
39998 }
39999 {
7449af73 40000 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
093d3ff1
RD
40001 }
40002 {
7449af73 40003 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
093d3ff1
RD
40004 }
40005 {
7449af73 40006 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
093d3ff1
RD
40007 }
40008 {
7449af73 40009 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
093d3ff1
RD
40010 }
40011 {
7449af73 40012 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
093d3ff1
RD
40013 }
40014 {
7449af73 40015 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
093d3ff1
RD
40016 }
40017 {
7449af73 40018 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
093d3ff1
RD
40019 }
40020 {
7449af73 40021 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
093d3ff1
RD
40022 }
40023 {
7449af73 40024 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
093d3ff1
RD
40025 }
40026 {
7449af73 40027 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
093d3ff1
RD
40028 }
40029 {
7449af73 40030 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
093d3ff1
RD
40031 }
40032 {
7449af73 40033 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
093d3ff1
RD
40034 }
40035 {
7449af73 40036 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
093d3ff1
RD
40037 }
40038 {
7449af73 40039 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
093d3ff1
RD
40040 }
40041 {
7449af73 40042 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
093d3ff1
RD
40043 }
40044 {
7449af73 40045 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
093d3ff1
RD
40046 }
40047 {
7449af73 40048 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
093d3ff1
RD
40049 }
40050 {
7449af73 40051 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
093d3ff1
RD
40052 }
40053 {
7449af73 40054 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
093d3ff1
RD
40055 }
40056 {
7449af73 40057 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
093d3ff1
RD
40058 }
40059 {
7449af73 40060 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
093d3ff1
RD
40061 }
40062 {
7449af73 40063 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
093d3ff1
RD
40064 }
40065 {
7449af73 40066 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
093d3ff1
RD
40067 }
40068 {
7449af73 40069 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
093d3ff1
RD
40070 }
40071 {
7449af73 40072 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
093d3ff1
RD
40073 }
40074 {
7449af73 40075 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
093d3ff1
RD
40076 }
40077 {
7449af73 40078 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
093d3ff1
RD
40079 }
40080 {
7449af73 40081 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
093d3ff1
RD
40082 }
40083 {
7449af73 40084 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
093d3ff1
RD
40085 }
40086 {
7449af73 40087 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
093d3ff1
RD
40088 }
40089 {
7449af73 40090 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
093d3ff1
RD
40091 }
40092 {
7449af73 40093 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
093d3ff1
RD
40094 }
40095 {
7449af73 40096 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
093d3ff1
RD
40097 }
40098 {
7449af73 40099 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
093d3ff1
RD
40100 }
40101 {
7449af73 40102 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
093d3ff1
RD
40103 }
40104 {
7449af73 40105 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
093d3ff1
RD
40106 }
40107 {
7449af73 40108 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
093d3ff1
RD
40109 }
40110 {
7449af73 40111 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
093d3ff1
RD
40112 }
40113 {
7449af73 40114 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
093d3ff1
RD
40115 }
40116 {
7449af73 40117 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
093d3ff1
RD
40118 }
40119 {
7449af73 40120 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
093d3ff1
RD
40121 }
40122 {
7449af73 40123 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
093d3ff1
RD
40124 }
40125 {
7449af73 40126 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
093d3ff1
RD
40127 }
40128 {
7449af73 40129 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
093d3ff1
RD
40130 }
40131 {
7449af73 40132 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
093d3ff1
RD
40133 }
40134 {
7449af73 40135 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
093d3ff1
RD
40136 }
40137 {
7449af73 40138 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
093d3ff1
RD
40139 }
40140 {
7449af73 40141 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
093d3ff1
RD
40142 }
40143 {
7449af73 40144 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
093d3ff1
RD
40145 }
40146 {
7449af73 40147 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
093d3ff1
RD
40148 }
40149 {
7449af73 40150 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
093d3ff1
RD
40151 }
40152 {
7449af73 40153 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
093d3ff1
RD
40154 }
40155 {
7449af73 40156 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
093d3ff1
RD
40157 }
40158 {
7449af73 40159 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
093d3ff1
RD
40160 }
40161 {
7449af73 40162 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
093d3ff1
RD
40163 }
40164 {
7449af73 40165 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
093d3ff1
RD
40166 }
40167 {
7449af73 40168 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
093d3ff1
RD
40169 }
40170 {
7449af73 40171 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
093d3ff1
RD
40172 }
40173 {
7449af73 40174 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
093d3ff1
RD
40175 }
40176 {
7449af73 40177 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
093d3ff1
RD
40178 }
40179 {
7449af73 40180 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
093d3ff1 40181 }
d55e5bfc
RD
40182 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
40183 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
40184 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
40185 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
40186 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
40187 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
40188 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
40189 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
40190 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
40191 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
40192 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
40193 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
40194 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
40195 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
40196 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
40197 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
40198 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
40199 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
40200 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
40201 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
40202
40203 // Map renamed classes back to their common name for OOR
40204 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40205
40206 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1 40207 {
7449af73 40208 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
093d3ff1
RD
40209 }
40210 {
7449af73 40211 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
093d3ff1
RD
40212 }
40213 {
7449af73 40214 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
093d3ff1
RD
40215 }
40216 {
7449af73 40217 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
093d3ff1
RD
40218 }
40219 {
7449af73 40220 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
093d3ff1
RD
40221 }
40222 {
7449af73 40223 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
093d3ff1
RD
40224 }
40225 {
7449af73 40226 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
093d3ff1
RD
40227 }
40228 {
7449af73 40229 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
093d3ff1
RD
40230 }
40231 {
7449af73 40232 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
093d3ff1
RD
40233 }
40234 {
7449af73 40235 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
093d3ff1
RD
40236 }
40237 {
7449af73 40238 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
093d3ff1
RD
40239 }
40240 {
7449af73 40241 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
093d3ff1
RD
40242 }
40243 {
7449af73 40244 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
093d3ff1
RD
40245 }
40246 {
7449af73 40247 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
093d3ff1
RD
40248 }
40249 {
7449af73 40250 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
093d3ff1
RD
40251 }
40252 {
7449af73 40253 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
093d3ff1
RD
40254 }
40255 {
7449af73 40256 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
093d3ff1
RD
40257 }
40258 {
7449af73 40259 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
093d3ff1
RD
40260 }
40261 {
7449af73 40262 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
093d3ff1
RD
40263 }
40264 {
7449af73 40265 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
093d3ff1
RD
40266 }
40267 {
7449af73 40268 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
093d3ff1
RD
40269 }
40270 {
7449af73 40271 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
093d3ff1
RD
40272 }
40273 {
7449af73 40274 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
093d3ff1
RD
40275 }
40276 {
7449af73 40277 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
093d3ff1
RD
40278 }
40279 {
7449af73 40280 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
093d3ff1
RD
40281 }
40282 {
7449af73 40283 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
093d3ff1
RD
40284 }
40285 {
7449af73 40286 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
093d3ff1
RD
40287 }
40288 {
7449af73 40289 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
093d3ff1
RD
40290 }
40291 {
7449af73 40292 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
093d3ff1
RD
40293 }
40294 {
7449af73 40295 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
093d3ff1
RD
40296 }
40297 {
7449af73 40298 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
093d3ff1
RD
40299 }
40300 {
7449af73 40301 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
093d3ff1
RD
40302 }
40303 {
7449af73 40304 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
093d3ff1
RD
40305 }
40306 {
7449af73 40307 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
093d3ff1
RD
40308 }
40309 {
7449af73 40310 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
093d3ff1 40311 }
d55e5bfc
RD
40312 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
40313 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
40314 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
40315 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
40316 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
40317 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
40318 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
40319 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
40320 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
40321 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
40322 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
40323 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
40324 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
40325 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
40326 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
40327 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
40328 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
40329 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
40330 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
40331 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 40332 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
40333
40334 // Map renamed classes back to their common name for OOR
40335 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40336 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40337
40338 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1 40339 {
7449af73 40340 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
093d3ff1
RD
40341 }
40342 {
7449af73 40343 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
093d3ff1
RD
40344 }
40345 {
7449af73 40346 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
093d3ff1
RD
40347 }
40348 {
7449af73 40349 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
093d3ff1
RD
40350 }
40351 {
7449af73 40352 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
093d3ff1
RD
40353 }
40354 {
7449af73 40355 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
093d3ff1
RD
40356 }
40357 {
7449af73 40358 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
093d3ff1 40359 }
d55e5bfc
RD
40360 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
40361 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
40362
40363 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40364
53aa7709
RD
40365 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
40366 {
7449af73 40367 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
53aa7709
RD
40368 }
40369 {
7449af73 40370 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
53aa7709
RD
40371 }
40372 {
7449af73 40373 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
53aa7709
RD
40374 }
40375 {
7449af73 40376 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
53aa7709
RD
40377 }
40378 {
7449af73 40379 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
53aa7709 40380 }
d55e5bfc
RD
40381}
40382